| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | ·76d282e92828bd8a81452c63246bcf40·118968·libdevel·optional·libdune-functions-dev_2.11.0+dfsg-2_amd64.deb | 1 | ·76d282e92828bd8a81452c63246bcf40·118968·libdevel·optional·libdune-functions-dev_2.11.0+dfsg-2_amd64.deb |
| 2 | · | 2 | ·45e2ed0ef84c2168cc495569ea8124ef·5496096·doc·optional·libdune-functions-doc_2.11.0+dfsg-2_all.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2026-02-06·16:11:35.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2026-02-06·16:11:35.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0····229 | 2 | -rw-r--r--···0········0········0····22952·2026-02-06·16:11:35.000000·control.tar.xz |
| 3 | -rw-r--r--···0········0········0··547 | 3 | -rw-r--r--···0········0········0··5472952·2026-02-06·16:11:35.000000·data.tar.xz |
| Offset 1, 39 lines modified | Offset 1, 37 lines modified | ||
| 1 | usr/share/doc/libdune-functions-doc/changelog.Debian.gz | 1 | usr/share/doc/libdune-functions-doc/changelog.Debian.gz |
| 2 | usr/share/doc/libdune-functions-doc/changelog.gz | 2 | usr/share/doc/libdune-functions-doc/changelog.gz |
| 3 | usr/share/doc/libdune-functions-doc/copyright | 3 | usr/share/doc/libdune-functions-doc/copyright |
| 4 | usr/share/doc/libdune-functions-doc/doxygen/a00041.html | 4 | usr/share/doc/libdune-functions-doc/doxygen/a00041.html |
| 5 | usr/share/doc/libdune-functions-doc/doxygen/a00041.js | ||
| 6 | usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html | 5 | usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html |
| 7 | usr/share/doc/libdune-functions-doc/doxygen/a00044.html | 6 | usr/share/doc/libdune-functions-doc/doxygen/a00044.html |
| 8 | usr/share/doc/libdune-functions-doc/doxygen/a00044.js | 7 | usr/share/doc/libdune-functions-doc/doxygen/a00044.js |
| 9 | usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html | 8 | usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html |
| 10 | usr/share/doc/libdune-functions-doc/doxygen/a00047.html | 9 | usr/share/doc/libdune-functions-doc/doxygen/a00047.html |
| 11 | usr/share/doc/libdune-functions-doc/doxygen/a00047.js | 10 | usr/share/doc/libdune-functions-doc/doxygen/a00047.js |
| 12 | usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html | 11 | usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html |
| 13 | usr/share/doc/libdune-functions-doc/doxygen/a00050.html | 12 | usr/share/doc/libdune-functions-doc/doxygen/a00050.html |
| 14 | usr/share/doc/libdune-functions-doc/doxygen/a00050.js | ||
| 15 | usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html | 13 | usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html |
| 14 | usr/share/doc/libdune-functions-doc/doxygen/a00053.html | ||
| 15 | usr/share/doc/libdune-functions-doc/doxygen/a00053.js | ||
| 16 | usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html | ||
| 16 | usr/share/doc/libdune-functions-doc/doxygen/a00056.html | 17 | usr/share/doc/libdune-functions-doc/doxygen/a00056.html |
| 17 | usr/share/doc/libdune-functions-doc/doxygen/a00056.js | 18 | usr/share/doc/libdune-functions-doc/doxygen/a00056.js |
| 18 | usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html | 19 | usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html |
| 19 | usr/share/doc/libdune-functions-doc/doxygen/a00059.html | 20 | usr/share/doc/libdune-functions-doc/doxygen/a00059.html |
| 20 | usr/share/doc/libdune-functions-doc/doxygen/a00059.js | 21 | usr/share/doc/libdune-functions-doc/doxygen/a00059.js |
| 21 | usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html | 22 | usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html |
| 22 | usr/share/doc/libdune-functions-doc/doxygen/a00062.html | 23 | usr/share/doc/libdune-functions-doc/doxygen/a00062.html |
| 23 | usr/share/doc/libdune-functions-doc/doxygen/a00062.js | 24 | usr/share/doc/libdune-functions-doc/doxygen/a00062.js |
| 24 | usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html | 25 | usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html |
| 25 | usr/share/doc/libdune-functions-doc/doxygen/a00065.html | 26 | usr/share/doc/libdune-functions-doc/doxygen/a00065.html |
| 26 | usr/share/doc/libdune-functions-doc/doxygen/a00065.js | ||
| 27 | usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html | 27 | usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html |
| 28 | usr/share/doc/libdune-functions-doc/doxygen/a00068.html | 28 | usr/share/doc/libdune-functions-doc/doxygen/a00068.html |
| 29 | usr/share/doc/libdune-functions-doc/doxygen/a00068.js | ||
| 30 | usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html | 29 | usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html |
| 31 | usr/share/doc/libdune-functions-doc/doxygen/a00071.html | 30 | usr/share/doc/libdune-functions-doc/doxygen/a00071.html |
| 32 | usr/share/doc/libdune-functions-doc/doxygen/a00071.js | ||
| 33 | usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html | 31 | usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html |
| 34 | usr/share/doc/libdune-functions-doc/doxygen/a00074.html | 32 | usr/share/doc/libdune-functions-doc/doxygen/a00074.html |
| 35 | usr/share/doc/libdune-functions-doc/doxygen/a00074.js | 33 | usr/share/doc/libdune-functions-doc/doxygen/a00074.js |
| 36 | usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | 34 | usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html |
| 37 | usr/share/doc/libdune-functions-doc/doxygen/a00077.html | 35 | usr/share/doc/libdune-functions-doc/doxygen/a00077.html |
| 38 | usr/share/doc/libdune-functions-doc/doxygen/a00077.js | 36 | usr/share/doc/libdune-functions-doc/doxygen/a00077.js |
| 39 | usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html | 37 | usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html |
| Offset 51, 50 lines modified | Offset 49, 42 lines modified | ||
| 51 | usr/share/doc/libdune-functions-doc/doxygen/a00092.html | 49 | usr/share/doc/libdune-functions-doc/doxygen/a00092.html |
| 52 | usr/share/doc/libdune-functions-doc/doxygen/a00092.js | 50 | usr/share/doc/libdune-functions-doc/doxygen/a00092.js |
| 53 | usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html | 51 | usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html |
| 54 | usr/share/doc/libdune-functions-doc/doxygen/a00095.html | 52 | usr/share/doc/libdune-functions-doc/doxygen/a00095.html |
| 55 | usr/share/doc/libdune-functions-doc/doxygen/a00095.js | 53 | usr/share/doc/libdune-functions-doc/doxygen/a00095.js |
| 56 | usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html | 54 | usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html |
| 57 | usr/share/doc/libdune-functions-doc/doxygen/a00098.html | 55 | usr/share/doc/libdune-functions-doc/doxygen/a00098.html |
| 58 | usr/share/doc/libdune-functions-doc/doxygen/a00098.js | ||
| 59 | usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html | 56 | usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html |
| 60 | usr/share/doc/libdune-functions-doc/doxygen/a00101.html | 57 | usr/share/doc/libdune-functions-doc/doxygen/a00101.html |
| 61 | usr/share/doc/libdune-functions-doc/doxygen/a00101.js | ||
| 62 | usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html | 58 | usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html |
| 63 | usr/share/doc/libdune-functions-doc/doxygen/a00104.html | 59 | usr/share/doc/libdune-functions-doc/doxygen/a00104.html |
| 64 | usr/share/doc/libdune-functions-doc/doxygen/a00104.js | ||
| 65 | usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html | 60 | usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html |
| 66 | usr/share/doc/libdune-functions-doc/doxygen/a00107.html | 61 | usr/share/doc/libdune-functions-doc/doxygen/a00107.html |
| 67 | usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html | 62 | usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html |
| 68 | usr/share/doc/libdune-functions-doc/doxygen/a00110.html | 63 | usr/share/doc/libdune-functions-doc/doxygen/a00110.html |
| 69 | usr/share/doc/libdune-functions-doc/doxygen/a00110.js | ||
| 70 | usr/share/doc/libdune-functions-doc/doxygen/a00110_source.html | 64 | usr/share/doc/libdune-functions-doc/doxygen/a00110_source.html |
| 71 | usr/share/doc/libdune-functions-doc/doxygen/a00113.html | 65 | usr/share/doc/libdune-functions-doc/doxygen/a00113.html |
| 72 | usr/share/doc/libdune-functions-doc/doxygen/a00113.js | 66 | usr/share/doc/libdune-functions-doc/doxygen/a00113.js |
| 73 | usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html | 67 | usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html |
| 74 | usr/share/doc/libdune-functions-doc/doxygen/a00116.html | 68 | usr/share/doc/libdune-functions-doc/doxygen/a00116.html |
| 75 | usr/share/doc/libdune-functions-doc/doxygen/a00116.js | ||
| 76 | usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html | 69 | usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html |
| 77 | usr/share/doc/libdune-functions-doc/doxygen/a00119.html | 70 | usr/share/doc/libdune-functions-doc/doxygen/a00119.html |
| 78 | usr/share/doc/libdune-functions-doc/doxygen/a00119.js | 71 | usr/share/doc/libdune-functions-doc/doxygen/a00119.js |
| 79 | usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html | 72 | usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html |
| 80 | usr/share/doc/libdune-functions-doc/doxygen/a00122.html | 73 | usr/share/doc/libdune-functions-doc/doxygen/a00122.html |
| 81 | usr/share/doc/libdune-functions-doc/doxygen/a00122.js | 74 | usr/share/doc/libdune-functions-doc/doxygen/a00122.js |
| 82 | usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html | 75 | usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html |
| 83 | usr/share/doc/libdune-functions-doc/doxygen/a00125.html | 76 | usr/share/doc/libdune-functions-doc/doxygen/a00125.html |
| 84 | usr/share/doc/libdune-functions-doc/doxygen/a00125.js | 77 | usr/share/doc/libdune-functions-doc/doxygen/a00125.js |
| 85 | usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html | 78 | usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html |
| 86 | usr/share/doc/libdune-functions-doc/doxygen/a00128.html | 79 | usr/share/doc/libdune-functions-doc/doxygen/a00128.html |
| 87 | usr/share/doc/libdune-functions-doc/doxygen/a00128.js | ||
| 88 | usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html | 80 | usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html |
| 89 | usr/share/doc/libdune-functions-doc/doxygen/a00131.html | 81 | usr/share/doc/libdune-functions-doc/doxygen/a00131.html |
| 90 | usr/share/doc/libdune-functions-doc/doxygen/a00131.js | ||
| 91 | usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html | 82 | usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html |
| 92 | usr/share/doc/libdune-functions-doc/doxygen/a00134.html | 83 | usr/share/doc/libdune-functions-doc/doxygen/a00134.html |
| 93 | usr/share/doc/libdune-functions-doc/doxygen/a00134.js | ||
| 94 | usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html | 84 | usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html |
| 95 | usr/share/doc/libdune-functions-doc/doxygen/a00137.html | 85 | usr/share/doc/libdune-functions-doc/doxygen/a00137.html |
| 96 | usr/share/doc/libdune-functions-doc/doxygen/a00137.js | 86 | usr/share/doc/libdune-functions-doc/doxygen/a00137.js |
| 97 | usr/share/doc/libdune-functions-doc/doxygen/a00137_source.html | 87 | usr/share/doc/libdune-functions-doc/doxygen/a00137_source.html |
| 98 | usr/share/doc/libdune-functions-doc/doxygen/a00140.html | 88 | usr/share/doc/libdune-functions-doc/doxygen/a00140.html |
| 99 | usr/share/doc/libdune-functions-doc/doxygen/a00140.js | 89 | usr/share/doc/libdune-functions-doc/doxygen/a00140.js |
| 100 | usr/share/doc/libdune-functions-doc/doxygen/a00140_source.html | 90 | usr/share/doc/libdune-functions-doc/doxygen/a00140_source.html |
| Offset 116, 53 lines modified | Offset 106, 57 lines modified | ||
| 116 | usr/share/doc/libdune-functions-doc/doxygen/a00158.html | 106 | usr/share/doc/libdune-functions-doc/doxygen/a00158.html |
| 117 | usr/share/doc/libdune-functions-doc/doxygen/a00158.js | 107 | usr/share/doc/libdune-functions-doc/doxygen/a00158.js |
| 118 | usr/share/doc/libdune-functions-doc/doxygen/a00158_source.html | 108 | usr/share/doc/libdune-functions-doc/doxygen/a00158_source.html |
| 119 | usr/share/doc/libdune-functions-doc/doxygen/a00161.html | 109 | usr/share/doc/libdune-functions-doc/doxygen/a00161.html |
| 120 | usr/share/doc/libdune-functions-doc/doxygen/a00161.js | 110 | usr/share/doc/libdune-functions-doc/doxygen/a00161.js |
| 121 | usr/share/doc/libdune-functions-doc/doxygen/a00161_source.html | 111 | usr/share/doc/libdune-functions-doc/doxygen/a00161_source.html |
| 122 | usr/share/doc/libdune-functions-doc/doxygen/a00164.html | 112 | usr/share/doc/libdune-functions-doc/doxygen/a00164.html |
| 113 | usr/share/doc/libdune-functions-doc/doxygen/a00164.js | ||
| 123 | usr/share/doc/libdune-functions-doc/doxygen/a00164_source.html | 114 | usr/share/doc/libdune-functions-doc/doxygen/a00164_source.html |
| 124 | usr/share/doc/libdune-functions-doc/doxygen/a00167.html | 115 | usr/share/doc/libdune-functions-doc/doxygen/a00167.html |
| 125 | usr/share/doc/libdune-functions-doc/doxygen/a00167.js | ||
| 126 | usr/share/doc/libdune-functions-doc/doxygen/a00167_source.html | 116 | usr/share/doc/libdune-functions-doc/doxygen/a00167_source.html |
| 127 | usr/share/doc/libdune-functions-doc/doxygen/a00170.html | 117 | usr/share/doc/libdune-functions-doc/doxygen/a00170.html |
| 128 | usr/share/doc/libdune-functions-doc/doxygen/a00170.js | 118 | usr/share/doc/libdune-functions-doc/doxygen/a00170.js |
| 129 | usr/share/doc/libdune-functions-doc/doxygen/a00170_source.html | 119 | usr/share/doc/libdune-functions-doc/doxygen/a00170_source.html |
| 130 | usr/share/doc/libdune-functions-doc/doxygen/a00173.html | 120 | usr/share/doc/libdune-functions-doc/doxygen/a00173.html |
| 131 | usr/share/doc/libdune-functions-doc/doxygen/a00173.js | 121 | usr/share/doc/libdune-functions-doc/doxygen/a00173.js |
| 132 | usr/share/doc/libdune-functions-doc/doxygen/a00173_source.html | 122 | usr/share/doc/libdune-functions-doc/doxygen/a00173_source.html |
| 133 | usr/share/doc/libdune-functions-doc/doxygen/a00176.html | 123 | usr/share/doc/libdune-functions-doc/doxygen/a00176.html |
| 124 | usr/share/doc/libdune-functions-doc/doxygen/a00176.js | ||
| 134 | usr/share/doc/libdune-functions-doc/doxygen/a00176_source.html | 125 | usr/share/doc/libdune-functions-doc/doxygen/a00176_source.html |
| 135 | usr/share/doc/libdune-functions-doc/doxygen/a00179.html | 126 | usr/share/doc/libdune-functions-doc/doxygen/a00179.html |
| 136 | usr/share/doc/libdune-functions-doc/doxygen/a00179.js | ||
| 137 | usr/share/doc/libdune-functions-doc/doxygen/a00179_source.html | 127 | usr/share/doc/libdune-functions-doc/doxygen/a00179_source.html |
| 138 | usr/share/doc/libdune-functions-doc/doxygen/a00182.html | 128 | usr/share/doc/libdune-functions-doc/doxygen/a00182.html |
| 139 | usr/share/doc/libdune-functions-doc/doxygen/a00182.js | 129 | usr/share/doc/libdune-functions-doc/doxygen/a00182.js |
| 140 | usr/share/doc/libdune-functions-doc/doxygen/a00182_source.html | 130 | usr/share/doc/libdune-functions-doc/doxygen/a00182_source.html |
| 141 | usr/share/doc/libdune-functions-doc/doxygen/a00185.html | 131 | usr/share/doc/libdune-functions-doc/doxygen/a00185.html |
| 132 | usr/share/doc/libdune-functions-doc/doxygen/a00185.js | ||
| 142 | usr/share/doc/libdune-functions-doc/doxygen/a00185_source.html | 133 | usr/share/doc/libdune-functions-doc/doxygen/a00185_source.html |
| 143 | usr/share/doc/libdune-functions-doc/doxygen/a00188.html | 134 | usr/share/doc/libdune-functions-doc/doxygen/a00188.html |
| 144 | usr/share/doc/libdune-functions-doc/doxygen/a00188.js | ||
| 145 | usr/share/doc/libdune-functions-doc/doxygen/a00188_source.html | 135 | usr/share/doc/libdune-functions-doc/doxygen/a00188_source.html |
| Max diff block lines reached; 5411/12843 bytes (42.13%) of diff not shown. | |||
| Offset 3, 233 lines modified | Offset 3, 233 lines modified | ||
| 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/ |
| 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/doc/ |
| 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/ |
| 6 | -rw-r--r--···0·root·········(0)·root·········(0)······739·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)······739·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/changelog.Debian.gz |
| 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····7305·2026-01-28·07:53:54.000000·./usr/share/doc/libdune-functions-doc/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····7305·2026-01-28·07:53:54.000000·./usr/share/doc/libdune-functions-doc/changelog.gz |
| 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····3420·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····3420·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/copyright |
| 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/ |
| 10 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····6696·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041.html |
| 11 | -rw-r--r--···0·root·········(0)·root·········(0)······271·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041.js | ||
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 11 | -rw-r--r--···0·root·········(0)·root·········(0)····36929·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html |
| 13 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····8279·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.html |
| 14 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 13 | -rw-r--r--···0·root·········(0)·root·········(0)······229·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.js |
| 15 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 14 | -rw-r--r--···0·root·········(0)·root·········(0)····40776·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html |
| 16 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 15 | -rw-r--r--···0·root·········(0)·root·········(0)·····7664·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.html |
| 17 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 16 | -rw-r--r--···0·root·········(0)·root·········(0)······138·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.js |
| 18 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····32568·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html |
| 19 | -rw-r--r--···0·root·········(0)·root·········(0)····12771·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.html | ||
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.js | ||
| 21 | -rw-r--r--···0·root·········(0)·root·········(0)····67782·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html | ||
| 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····9294·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.html | ||
| 23 | -rw-r--r--···0·root·········(0)·root·········(0)······317·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.js | ||
| 24 | -rw-r--r--···0·root·········(0)·root·········(0)····51286·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html | ||
| 25 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 18 | -rw-r--r--···0·root·········(0)·root·········(0)·····5678·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.html |
| 26 | -rw-r--r--···0·root·········(0)·root·········(0)······398·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.js | ||
| 27 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····15530·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html |
| 28 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 20 | -rw-r--r--···0·root·········(0)·root·········(0)·····7350·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.html |
| 29 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 21 | -rw-r--r--···0·root·········(0)·root·········(0)······298·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.js |
| 30 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 22 | -rw-r--r--···0·root·········(0)·root·········(0)····14613·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html |
| 31 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····8905·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.html |
| 32 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 24 | -rw-r--r--···0·root·········(0)·root·········(0)······237·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.js |
| 33 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 25 | -rw-r--r--···0·root·········(0)·root·········(0)····52097·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html |
| 34 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 26 | -rw-r--r--···0·root·········(0)·root·········(0)····12021·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.html |
| 35 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 27 | -rw-r--r--···0·root·········(0)·root·········(0)······738·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.js |
| 36 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 28 | -rw-r--r--···0·root·········(0)·root·········(0)···140764·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html |
| 37 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 29 | -rw-r--r--···0·root·········(0)·root·········(0)·····9334·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.html |
| 38 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 30 | -rw-r--r--···0·root·········(0)·root·········(0)······349·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.js |
| 39 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····18796·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html |
| 40 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····6117·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065.html |
| 41 | -rw-r--r--···0·root·········(0)·root·········(0)······296·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.js | ||
| 42 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 33 | -rw-r--r--···0·root·········(0)·root·········(0)····23978·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html |
| 43 | -rw-r--r--···0·root·········(0)·root·········(0)·····6 | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····6948·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068.html |
| 44 | -rw-r--r--···0·root·········(0)·root·········(0)·······94·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.js | ||
| 45 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 35 | -rw-r--r--···0·root·········(0)·root·········(0)····46487·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html |
| 46 | -rw-r--r--···0·root·········(0)·root·········(0)·····7 | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····7006·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071.html |
| 47 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 37 | -rw-r--r--···0·root·········(0)·root·········(0)····58596·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html |
| 48 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 38 | -rw-r--r--···0·root·········(0)·root·········(0)·····7552·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.html |
| 49 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)······137·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.js |
| 50 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 40 | -rw-r--r--···0·root·········(0)·root·········(0)····26451·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html |
| 51 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····15105·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.html |
| 52 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 42 | -rw-r--r--···0·root·········(0)·root·········(0)·····1060·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.js |
| 53 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 43 | -rw-r--r--···0·root·········(0)·root·········(0)···151455·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html |
| 54 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····6493·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.html |
| 55 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 45 | -rw-r--r--···0·root·········(0)·root·········(0)······118·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.js |
| 56 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 46 | -rw-r--r--···0·root·········(0)·root·········(0)····13777·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html |
| 57 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 47 | -rw-r--r--···0·root·········(0)·root·········(0)····15502·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.html |
| 58 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····1126·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.js |
| 59 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 49 | -rw-r--r--···0·root·········(0)·root·········(0)····51887·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html |
| 60 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····5414·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086.html |
| 61 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 51 | -rw-r--r--···0·root·········(0)·root·········(0)····17485·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html |
| 62 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8759·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089.html |
| 63 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 53 | -rw-r--r--···0·root·········(0)·root·········(0)······231·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089.js |
| 64 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····29855·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089_source.html |
| 65 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····9175·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092.html |
| 66 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 56 | -rw-r--r--···0·root·········(0)·root·········(0)······316·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092.js |
| 67 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 57 | -rw-r--r--···0·root·········(0)·root·········(0)····14376·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html |
| 68 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····8998·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095.html |
| 69 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 59 | -rw-r--r--···0·root·········(0)·root·········(0)······140·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095.js |
| 70 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 60 | -rw-r--r--···0·root·········(0)·root·········(0)····32212·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html |
| 71 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····5558·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098.html |
| 72 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····15538·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html |
| 73 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 63 | -rw-r--r--···0·root·········(0)·root·········(0)·····9467·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101.html |
| 74 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 64 | -rw-r--r--···0·root·········(0)·root·········(0)····17577·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html |
| 75 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····6599·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104.html |
| 76 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 66 | -rw-r--r--···0·root·········(0)·root·········(0)····29167·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html |
| 77 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 67 | -rw-r--r--···0·root·········(0)·root·········(0)·····6317·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107.html |
| 78 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 68 | -rw-r--r--···0·root·········(0)·root·········(0)····32570·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html |
| 79 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····5574·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00110.html |
| 80 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 70 | -rw-r--r--···0·root·········(0)·root·········(0)····19897·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00110_source.html |
| 81 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7942·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113.html |
| 82 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·······92·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113.js |
| 83 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)····50086·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html |
| 84 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 74 | -rw-r--r--···0·root·········(0)·root·········(0)·····6079·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116.html |
| 85 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 75 | -rw-r--r--···0·root·········(0)·root·········(0)····12137·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html |
| 86 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····7449·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119.html |
| 87 | -rw-r--r--···0·root·········(0)·root·········(0)·····142 | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······142·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119.js |
| 88 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 78 | -rw-r--r--···0·root·········(0)·root·········(0)····31503·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html |
| 89 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 79 | -rw-r--r--···0·root·········(0)·root·········(0)·····8100·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122.html |
| 90 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······407·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122.js |
| 91 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 81 | -rw-r--r--···0·root·········(0)·root·········(0)····21546·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html |
| 92 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····6345·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125.html |
| 93 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······104·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125.js |
| 94 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 84 | -rw-r--r--···0·root·········(0)·root·········(0)····52853·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html |
| 95 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 85 | -rw-r--r--···0·root·········(0)·root·········(0)·····5594·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128.html |
| 96 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)····28498·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html |
| 97 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 87 | -rw-r--r--···0·root·········(0)·root·········(0)·····6174·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131.html |
| 98 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)····32004·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html |
| 99 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····5415·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134.html |
| 100 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 90 | -rw-r--r--···0·root·········(0)·root·········(0)····13734·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html |
| 101 | -rw-r--r--···0·root·········(0)·root·········(0)····10 | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····10503·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00137.html |
| 102 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 92 | -rw-r--r--···0·root·········(0)·root·········(0)······653·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00137.js |
| 103 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 93 | -rw-r--r--···0·root·········(0)·root·········(0)····53954·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00137_source.html |
| 104 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 94 | -rw-r--r--···0·root·········(0)·root·········(0)····24323·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00140.html |
| 105 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 95 | -rw-r--r--···0·root·········(0)·root·········(0)·····1473·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00140.js |
| 106 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 96 | -rw-r--r--···0·root·········(0)·root·········(0)····72574·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00140_source.html |
| 107 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 97 | -rw-r--r--···0·root·········(0)·root·········(0)·····9555·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00143.html |
| 108 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 98 | -rw-r--r--···0·root·········(0)·root·········(0)······312·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00143.js |
| 109 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 99 | -rw-r--r--···0·root·········(0)·root·········(0)····39397·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00143_source.html |
| 110 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 100 | -rw-r--r--···0·root·········(0)·root·········(0)·····9484·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00146.html |
| 111 | -rw-r--r--···0·root·········(0)·root·········(0)······3 | 101 | -rw-r--r--···0·root·········(0)·root·········(0)······326·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00146.js |
| 112 | -rw-r--r--···0·root·········(0)·root·········(0)····4 | 102 | -rw-r--r--···0·root·········(0)·root·········(0)····41581·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00146_source.html |
| 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 103 | -rw-r--r--···0·root·········(0)·root·········(0)·····9938·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00149.html |
| 114 | -rw-r--r--···0·root·········(0)·root·········(0)······32 | 104 | -rw-r--r--···0·root·········(0)·root·········(0)······232·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00149.js |
| 115 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 105 | -rw-r--r--···0·root·········(0)·root·········(0)····89656·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00149_source.html |
| 116 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 106 | -rw-r--r--···0·root·········(0)·root·········(0)·····6322·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00152.html |
| 117 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 107 | -rw-r--r--···0·root·········(0)·root·········(0)······104·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00152.js |
| 118 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 108 | -rw-r--r--···0·root·········(0)·root·········(0)····18777·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00152_source.html |
| 119 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····9358·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00155.html |
| 120 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······398·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00155.js |
| 121 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 111 | -rw-r--r--···0·root·········(0)·root·········(0)····73483·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00155_source.html |
| 122 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 112 | -rw-r--r--···0·root·········(0)·root·········(0)·····9317·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00158.html |
| 123 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 113 | -rw-r--r--···0·root·········(0)·root·········(0)······316·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00158.js |
| 124 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 114 | -rw-r--r--···0·root·········(0)·root·········(0)····99764·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00158_source.html |
| 125 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 115 | -rw-r--r--···0·root·········(0)·root·········(0)·····9983·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00161.html |
| 126 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 116 | -rw-r--r--···0·root·········(0)·root·········(0)······412·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00161.js |
| 127 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 117 | -rw-r--r--···0·root·········(0)·root·········(0)···119410·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00161_source.html |
| 128 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 118 | -rw-r--r--···0·root·········(0)·root·········(0)·····6382·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00164.html |
| 129 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 119 | -rw-r--r--···0·root·········(0)·root·········(0)······104·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00164.js |
| Max diff block lines reached; 3317/68290 bytes (4.86%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 33 lines modified | Offset 88, 32 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">facenormalgridfunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
| 99 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
| 100 | <code>#include·< | 98 | <code>#include·<optional></code><br·/> |
| 99 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 101 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | 101 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> |
| 102 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 102 | </div> | 105 | </div> |
| 103 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 104 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 106 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AFaceNormalGridFunction_3C_20GV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AFaceNormalGridFunction_3C_20GV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02238.html">Dune::Functions::FaceNormalGridFunction<·GV·></a></td></tr> | ||
| 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Grid·function·implementing·the·piecewise·element·face·normal.··<a·href="a02238.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AMonomialSet_3C_20RangeFieldType_2C_20dimension_2C_20maxDegree_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AMonomialSet_3C_20RangeFieldType_2C_20dimension_2C_20maxDegree_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01154.html">Dune::Functions::MonomialSet<·RangeFieldType,·dimension,·maxDegree·></a></td></tr> | ||
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Function,·which·evaluates·all·monomials·up·to·degree·<code·class="param">maxDegree</code>·in·a·given·coordinate.··<a·href="a01154.html#details">More...</a><br·/></td></tr> | ||
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AMonomialSet_3C_20RangeFieldType_2C_20dimension_2C_20maxDegree_20_3E_3A_3ADerivative"·id="r_Dune_3A_3AFunctions_3A_3AMonomialSet_3C_20RangeFieldType_2C_20dimension_2C_20maxDegree_20_3E_3A_3ADerivative"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01158.html">Dune::Functions::MonomialSet<·RangeFieldType,·dimension,·maxDegree·>::Derivative</a></td></tr> | ||
| 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Set·of·all·first·order·derivatives·of·monomials·up·to·degree·<code·class="param">maxDegree</code>·as·vector·of·vector·valued·functions.··<a·href="a01158.html#details">More...</a><br·/></td></tr> | ||
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AMonomialSet_3C_20RangeFieldType_2C_20dimension_2C_20maxDegree_20_3E_3A_3ADerivative_3A_3AHessian"·id="r_Dune_3A_3AFunctions_3A_3AMonomialSet_3C_20RangeFieldType_2C_20dimension_2C_20maxDegree_20_3E_3A_3ADerivative_3A_3AHessian"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01162.html">Dune::Functions::MonomialSet<·RangeFieldType,·dimension,·maxDegree·>::Derivative::Hessian</a></td></tr> | ||
| 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Set·of·all·second·order·derivatives·of·monomials·up·to·degree·<code·class="param">maxDegree</code>·as·vector·of·matrix·valued·functions.··<a·href="a01162.html#details">More...</a><br·/></td></tr> | ||
| 113 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 115 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
| 116 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 115 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 117 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 116 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 118 | </table> | 117 | </table> |
| 119 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| Offset 126, 13 lines modified | Offset 125, 13 lines modified | ||
| 126 | </div><!--·page-nav-contents·--> | 125 | </div><!--·page-nav-contents·--> |
| 127 | </div><!--·page-nav-tree·--> | 126 | </div><!--·page-nav-tree·--> |
| 128 | </div><!--·page-nav·--> | 127 | </div><!--·page-nav·--> |
| 129 | </div><!--·container·--> | 128 | </div><!--·container·--> |
| 130 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
| 131 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 132 | ··<ul> | 131 | ··<ul> |
| 133 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 132 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00041.html">facenormalgridfunction.hh</a></li> |
| 134 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 133 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 135 | ··</ul> | 134 | ··</ul> |
| 136 | </div> | 135 | </div> |
| 137 | </body> | 136 | </body> |
| 138 | </html> | 137 | </html> |
| Offset 1, 31 lines modified | Offset 1, 25 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | monomialset.hh·File·Reference | ||
| 6 | 5 | facenormalgridfunction.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 7 | #include·<optional> | ||
| 7 | #include·<dune/common/ | 8 | #include·<dune/common/exceptions.hh> |
| 8 | #include·<dune/common/fmatrix.hh> | ||
| 9 | #include·<dune/common/ | 9 | #include·<dune/common/typeutilities.hh> |
| 10 | #include·<dune/common/rangeutilities.hh> | 10 | #include·<dune/common/rangeutilities.hh> |
| 11 | #include·<dune/geometry/referenceelements.hh> | ||
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 15 | Classes |
| 16 | class· ·Dune::Functions::FaceNormalGridFunction<_GV_> | ||
| 17 | ·······Grid·function·implementing·the·piecewise·element·face·normal.·More... | ||
| 13 | struct· ·Dune::Functions::MonomialSet<_RangeFieldType,_dimension,_maxDegree_> | ||
| 14 | ········Function,·which·evaluates·all·monomials·up·to·degree·maxDegree·in·a | ||
| 15 | ·········given·coordinate.·More... | ||
| 16 | struct· ·Dune::Functions::MonomialSet<_RangeFieldType,_dimension,_maxDegree_>:: | ||
| 17 | ·········Derivative | ||
| 18 | ········Set·of·all·first·order·derivatives·of·monomials·up·to·degree·maxDegree | ||
| 19 | ·········as·vector·of·vector·valued·functions.·More... | ||
| 20 | struct· ·Dune::Functions::MonomialSet<_RangeFieldType,_dimension,_maxDegree_>:: | ||
| 21 | ·········Derivative::Hessian | ||
| 22 | ········Set·of·all·second·order·derivatives·of·monomials·up·to·degree | ||
| 23 | ·········maxDegree·as·vector·of·matrix·valued·functions.·More... | ||
| 24 | Namespaces | 18 | Namespaces |
| 25 | namespace· ·Dune | 19 | namespace· ·Dune |
| 26 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 27 | ····*·dune | 21 | ····*·dune |
| 28 | ····*·functions | 22 | ····*·functions |
| 29 | ····*· | 23 | ····*·gridfunctions |
| 30 | ····*· | 24 | ····*·facenormalgridfunction.hh |
| 31 | ····*·Generated·by·[doxygen]1.15.0 | 25 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 462 lines modified | Offset 88, 210 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">facenormalgridfunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 115 | <div·class="foldopen"·id="foldopen00019"·data-start="{"·data-end="}"> | ||
| 116 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00317.html">···19</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::Functions</a>·{</div> | ||
| 117 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 118 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">namespace·</span>Impl·{</div> | ||
| 119 | <div·class="line"><a·id="l0002 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::Functions</a>·{</div> | ||
| 120 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="comment">//·Computes·`y·=·[1,·x,·x^2,·x^3,·...,·x^maxDegree]`·with·`x`·a·single·coordinate</span></div> | ||
| 121 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">template</span><<span·class="keywordtype">int</span>·maxDegree,·<span·class="keyword">class</span>·DomainFieldType,·<span·class="keyword">class</span>·RangeType></div> | ||
| 122 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keywordtype">void</span>·computePowers(<span·class="keyword">const</span>·DomainFieldType&·x,·RangeType&·y)</div> | ||
| 123 | <div·class="line"><a·id="l0002 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 124 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>(maxDegree·>=·0)</div> | ||
| 125 | <div·class="line"><a·id="l0002 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 126 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>········y[0]·=·1;</div> | ||
| 127 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·k·:·Dune::range(maxDegree))</div> | ||
| 128 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··········y[k+1]·=·y[k]*x;</div> | ||
| 129 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····}</div> | ||
| 131 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 132 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·Compute·closest·face·to·point</span></div> |
| 133 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ReferenceElement,·<span·class="keyword">class</span>·Coordinate></div> |
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">auto</span>·closestFaceIndex(<span·class="keyword">const</span>·ReferenceElement&·re,·<span·class="keyword">const</span>·Coordinate&·x)</div> | ||
| 134 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
| 135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RangeFieldType,·<span·class="keywordtype">int</span>·dimension,·<span·class="keywordtype">int</span>·maxDegree></div> | ||
| 136 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="};"> | ||
| 137 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">auto</span>·closestFaceIndex·=·<span·class="keyword">decltype</span>(re.subEntity(0,1,0,1)){};</div> |
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keywordtype">double</span>·closestFaceDistance·=·std::numeric_limits<double>::max();</div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·faceIndex·:·Dune::range(re.size(1)))</div> | ||
| 138 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··{</div> |
| 139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01154.html#a02f6d827e5f7f97a3eda81bfa1fe9e52">···65</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01154.html#a02f6d827e5f7f97a3eda81bfa1fe9e52">dim</a>·=·dimension;</div> | ||
| 140 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01154.html#a926bfe369d499fcbf13ed31a935f03fc">···66</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01154.html#a926bfe369d499fcbf13ed31a935f03fc">size</a>·=·Dune::binomial(maxDegree·+·<a·class="code·hl_variable"·href="a01154.html#a02f6d827e5f7f97a3eda81bfa1fe9e52">dim</a>,·<a·class="code·hl_variable"·href="a01154.html#a02f6d827e5f7f97a3eda81bfa1fe9e52">dim</a>);</div> | ||
| 141 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="comment">//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection</span></div> |
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="comment">//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face</span></div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="comment">//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>.</span></div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">auto</span>·normal·=·re.integrationOuterNormal(faceIndex);</div> | ||
| 142 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····normal·/=·normal.two_norm();</div> |
| 143 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">auto</span>·c·=·re.position(faceIndex,1);</div> |
| 144 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····c·-=·x;</div> |
| 145 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> |
| 146 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> |
| 147 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> |
| 148 | <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="};"> | ||
| 149 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01158.html">···98</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01158.html">Derivative</a></div> | ||
| 150 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······closestFaceDistance·=·faceDistance;</div> |
| 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······closestFaceIndex·=·faceIndex;</div> | ||
| 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> | ||
| 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> | ||
| 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">return</span>·closestFaceIndex;</div> | ||
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> | ||
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}·<span·class="comment">//·end·namespace·Impl</span></div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span></div> | ||
| 151 | <div·class="line"><a·id="l00 | 152 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV></div> |
| 152 | <div·class=" | 153 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="};"> |
| 154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02238.html">···69</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02238.html#abc9d21b72e064c153dd02be2cce2f01c">FaceNormalGridFunction</a></div> | ||
| 155 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</div> | ||
| 156 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</div> | ||
| 157 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02238.html#a83c9500a49fbf25de2f8aaf04e422011">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02238.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV;</div> | ||
| 158 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02238.html#a0c37b830a7bbba309a4df30441de8b8e">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02238.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>·=·<a·class="code·hl_class"·href="a02278.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
| 159 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02238.html#abdec4f718f342e7b6ad20f26cc52a928">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02238.html#abdec4f718f342e7b6ad20f26cc52a928">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
| 160 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
| 161 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a02238.html#a219d5fdf7e937595a134a106bab1cefa">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02238.html#a219d5fdf7e937595a134a106bab1cefa">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
| 162 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a02238.html#a35676aaf895f54191ad4dda5ed0bcfdd">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02238.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| 163 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02238.html#a4d72e8da655bc11d728782fbd85b45f6">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02238.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| 164 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
| 165 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> | ||
| 166 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
| 167 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">using·</span>Traits·=·Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a02238.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>(<a·class="code·hl_typedef"·href="a02238.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>),·<a·class="code·hl_typedef"·href="a02238.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>,·<a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a>,·16>;</div> | ||
| 168 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 169 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">class·</span>LocalFunction</div> | ||
| 170 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··{</div> | ||
| 171 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">using·</span>Geometry·=·<span·class="keyword">typename</span>·Element::Geometry;</div> | ||
| 172 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dimension·=·GV::dimension;</div> | ||
| 173 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">public</span>:</div> | ||
| 174 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span></div> | ||
| 175 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02238.html#abdec4f718f342e7b6ad20f26cc52a928">Element</a>&·element)</div> | ||
| Max diff block lines reached; 81501/106018 bytes (76.87%) of diff not shown. | |||
| Offset 1, 494 lines modified | Offset 1, 230 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | facenormalgridfunction.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_MONOMIALSET_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<array> | ||
| 19 | 1 | 18 | 10#include·<type_traits> |
| 19 | 11#include·<optional> | ||
| 20 | 12 | ||
| 20 | 1 | 21 | 13#include·<dune/common/exceptions.hh> |
| 21 | 13#include·<dune/common/fmatrix.hh> | ||
| 22 | 14#include·<dune/common/ | 22 | 14#include·<dune/common/typeutilities.hh> |
| 23 | 15#include·<dune/common/rangeutilities.hh> | 23 | 15#include·<dune/common/rangeutilities.hh> |
| 24 | 16 | 24 | 16#include·<dune/geometry/referenceelements.hh> |
| 25 | 17 | 25 | 17 |
| 26 | 18 | ||
| 27 | 1 | 26 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> |
| 27 | 19#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 28 | 20 | 28 | 20 |
| 29 | 21 | ||
| 30 | 22namespace·Dune::Functions·{ | ||
| 31 | 23 | ||
| 29 | 2 | 32 | 24namespace·Impl·{ |
| 33 | 25 | ||
| 34 | 26//·Compute·closest·face·to·point | ||
| 35 | 27template<class·ReferenceElement,·class·Coordinate> | ||
| 36 | 28auto·closestFaceIndex(const·ReferenceElement&·re,·const·Coordinate&·x) | ||
| 37 | 29{ | ||
| 38 | 30·auto·closestFaceIndex·=·decltype(re.subEntity(0,1,0,1)){}; | ||
| 39 | 31·double·closestFaceDistance·=·std::numeric_limits<double>::max(); | ||
| 40 | 32·for(auto&&·faceIndex·:·Dune::range(re.size(1))) | ||
| 30 | 22 | ||
| 31 | 23·//·Computes·`y·=·[1,·x,·x^2,·x^3,·...,·x^maxDegree]`·with·`x`·a·single | ||
| 32 | coordinate | ||
| 33 | 24·template<int·maxDegree,·class·DomainFieldType,·class·RangeType> | ||
| 34 | 25·void·computePowers(const·DomainFieldType&·x,·RangeType&·y) | ||
| 35 | 26·{ | ||
| 36 | 27·if·constexpr(maxDegree·>=·0) | ||
| 37 | 28·{ | ||
| 38 | 29·y[0]·=·1; | ||
| 39 | 30·for(auto·k·:·Dune::range(maxDegree)) | ||
| 40 | 31·y[k+1]·=·y[k]*x; | ||
| 41 | 32·} | ||
| 42 | 33· | 41 | 33·{ |
| 43 | 34 | ||
| 44 | 35·}·//·namespace·Impl | ||
| 45 | 36 | ||
| 46 | 37 | ||
| 47 | 62·template<class·RangeFieldType,·int·dimension,·int·maxDegree> | ||
| 48 | 42 | 34·//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection | |
| 43 | 35·//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face | ||
| 44 | 36·//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>. | ||
| 45 | 37·auto·normal·=·re.integrationOuterNormal(faceIndex); | ||
| 46 | 38·normal·/=·normal.two_norm(); | ||
| 47 | 39·auto·c·=·re.position(faceIndex,1); | ||
| 48 | 40·c·-=·x; | ||
| 49 | 41·auto·faceDistance·=·(c*normal); | ||
| 50 | 42·if·(faceDistance<closestFaceDistance) | ||
| 49 | 51 | 43·{ | |
| 50 | 65·static·constexpr·int·dim·=·dimension; | ||
| 51 | 66·static·constexpr·int·size·=·Dune::binomial(maxDegree·+·dim,·dim); | ||
| 52 | 67·static_assert(1·<=·dim·&&·dim·<=·3,·"MonomialSet·is·specialized·for | ||
| 53 | dimensions·1,2,3·only."); | ||
| 54 | 68 | ||
| 55 | 52 | 44·closestFaceDistance·=·faceDistance; | |
| 53 | 45·closestFaceIndex·=·faceIndex; | ||
| 54 | 46·} | ||
| 55 | 47·} | ||
| 56 | 48·return·closestFaceIndex; | ||
| 57 | 49} | ||
| 58 | 50 | ||
| 59 | 51}·//·end·namespace·Impl | ||
| 60 | 52 | ||
| 61 | 53 | ||
| 62 | 54 | ||
| 63 | 55 | ||
| 64 | 68template<class·GV> | ||
| 65 | 69class·FaceNormalGridFunction | ||
| 66 | 70{ | ||
| 67 | 71public: | ||
| 68 | 72·using·GridView·=·GV; | ||
| 69 | 73·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
| 70 | 74·using·Element·=·typename·EntitySet::Element; | ||
| 71 | 75 | ||
| 72 | 76·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 73 | 77·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 74 | 78·using·Range·=·typename·EntitySet::GlobalCoordinate; | ||
| 75 | 79 | ||
| 76 | 80private: | ||
| 56 | 81 | 77 | 81 |
| 57 | 91·template<class·DomainFieldType> | ||
| 58 | 92·constexpr·Dune::FieldVector<RangeFieldType,size>·operator()(const·Dune:: | ||
| 59 | FieldVector<DomainFieldType,dim>&·x)·const; | ||
| 60 | 93 | ||
| 61 | 98·struct·Derivative | ||
| 62 | 99·{ | ||
| 63 | 109·template<class·DomainFieldType> | ||
| 64 | 110·constexpr·Dune::FieldMatrix<RangeFieldType,size,·dim>·operator()(const | ||
| 65 | 78 | 82·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | |
| 79 | DefaultDerivativeTraits,·16>; | ||
| 80 | 83 | ||
| 81 | 84·class·LocalFunction | ||
| 82 | 85·{ | ||
| 83 | 86·using·Geometry·=·typename·Element::Geometry; | ||
| 84 | 87·static·const·int·dimension·=·GV::dimension; | ||
| 85 | 88·public: | ||
| 86 | 89 | ||
| 87 | 101·void·bind(const·Element&·element) | ||
| 88 | 102·{ | ||
| 89 | 103·element_·=·element; | ||
| 90 | 104·geometry_.emplace(element_.geometry()); | ||
| 91 | 105·} | ||
| 92 | 106 | ||
| 93 | 107·void·unbind() | ||
| Max diff block lines reached; 16231/20466 bytes (79.31%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 49 lines modified | Offset 88, 57 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<tuple></code><br·/> | ||
| 99 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 98 | </div> | 104 | </div> |
| 99 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 100 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 102 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
| 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AComposedGridFunction_3C_20OF_2C_20IF_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AComposedGridFunction_3C_20OF_2C_20IF_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02202.h[·...·truncated·by·diffoscope;·len:·53,·SHA:·dcdccbc58a29c912f3cee650b207fe30e62feef8c47b9f0b4cf67df197caaa65·...·]·></a></td></tr> |
| 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Composition·of·grid·functions·with·another·function.··<a·href="a02202.html#details">More...</a><br·/></td></tr> |
| 105 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 106 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 107 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
| 108 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 114 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 109 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 115 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 110 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
| 111 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 112 | Functions</h2></td></tr> | 118 | Functions</h2></td></tr> |
| 113 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"·id="r_ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplParams"·colspan="2">template<class·K,·int·sinFactor,·int·cosFactor>·</td></tr> | ||
| 114 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472·template"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01178.html">TrigonometricFunction</a><·K,·-cosFactor,·sinFactor·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#ga7ec424ff4be740ad675bd85750940472">Dune::Functions::derivative</a>·(const·<a·class="el"·href="a01178.html">TrigonometricFunction</a><·K,·sinFactor,·cosFactor·>·&f)</td></tr> | ||
| 115 | <tr·class="mem | 119 | <tr·class="memitem:ae70612d0758e301c3168bdeb2dad5bff"·id="r_ae70612d0758e301c3168bdeb2dad5bff"><td·class="memTemplParams"·colspan="2">template<class·OF,·class...·IF>·</td></tr> |
| 120 | <tr·class="memitem:ae70612d0758e301c3168bdeb2dad5bff·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#ae70612d0758e301c3168bdeb2dad5bff">Dune::Functions::ComposedGridFunction</a>·(const·OF·&,·const·IF·&...)·->·ComposedGridFunction<·OF,·IF...·></td></tr> | ||
| 121 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"·id="r_ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplParams"·colspan="2">template<class·OF,·class...·IF>·</td></tr> | ||
| 122 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::makeComposedGridFunction</a>·(OF·&&outerFunction,·IF·&&...·innerFunction)</td></tr> | ||
| 123 | <tr·class="memdesc:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a02202.html"·title="Composition·of·grid·functions·with·another·function.">ComposedGridFunction</a>·that·composes·grid-functions·with·another·function.··<br·/></td></tr> | ||
| 116 | </table> | 124 | </table> |
| 117 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 118 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
| 119 | <div·id="page-nav"·class="page-nav-panel"> | 127 | <div·id="page-nav"·class="page-nav-panel"> |
| 120 | <div·id="page-nav-resize-handle"></div> | 128 | <div·id="page-nav-resize-handle"></div> |
| 121 | <div·id="page-nav-tree"> | 129 | <div·id="page-nav-tree"> |
| 122 | <div·id="page-nav-contents"> | 130 | <div·id="page-nav-contents"> |
| 123 | </div><!--·page-nav-contents·--> | 131 | </div><!--·page-nav-contents·--> |
| 124 | </div><!--·page-nav-tree·--> | 132 | </div><!--·page-nav-tree·--> |
| 125 | </div><!--·page-nav·--> | 133 | </div><!--·page-nav·--> |
| 126 | </div><!--·container·--> | 134 | </div><!--·container·--> |
| 127 | <!--·start·footer·part·--> | 135 | <!--·start·footer·part·--> |
| 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 136 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 129 | ··<ul> | 137 | ··<ul> |
| 130 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 138 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00044.html">composedgridfunction.hh</a></li> |
| 131 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 139 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 132 | ··</ul> | 140 | ··</ul> |
| 133 | </div> | 141 | </div> |
| 134 | </body> | 142 | </body> |
| 135 | </html> | 143 | </html> |
| Offset 1, 25 lines modified | Offset 1, 33 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | composedgridfunction.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 6 | #include·< | 7 | #include·<tuple> |
| 8 | #include·<dune/common/referencehelper.hh> | ||
| 9 | #include·<dune/common/typeutilities.hh> | ||
| 10 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 11 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 7 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 8 | Classes | 14 | Classes |
| 9 | class· ·Dune::Functions::TrigonometricFunction<_K,_sinFactor,_cosFactor_> | ||
| 10 | 15 | class· ·Dune::Functions::ComposedGridFunction<_OF,_IF_> | |
| 16 | ·······Composition·of·grid·functions·with·another·function.·More... | ||
| 11 | Namespaces | 17 | Namespaces |
| 12 | namespace· ·Dune | 18 | namespace· ·Dune |
| 13 | namespace· ·Dune::Functions | 19 | namespace· ·Dune::Functions |
| 14 | Functions | 20 | Functions |
| 15 | template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 16 | TrigonometricFunction<·K,·-cosFactor,·Dune::Functions::derivative·(const | ||
| 17 | ·························sinFactor·> ·TrigonometricFunction<·K,·sinFactor, | ||
| 18 | ······································cosFactor·>·&f) | ||
| 19 | ·····································Obtain·derivative·of | ||
| 20 | 21 | template<class·OF,·class...·IF> | |
| 22 | ···· ·Dune::Functions::ComposedGridFunction·(const·OF·&,·const·IF·&...)·- | ||
| 23 | ······>·ComposedGridFunction<·OF,·IF...·> | ||
| 24 | template<class·OF,·class...·IF> | ||
| 25 | auto ·Dune::Functions::makeComposedGridFunction·(OF·&&outerFunction,·IF·&&... | ||
| 26 | ······innerFunction) | ||
| 27 | ·····Create·a·ComposedGridFunction·that·composes·grid-functions·with·another | ||
| 28 | ······function. | ||
| 21 | ····*·dune | 29 | ····*·dune |
| 22 | ····*·functions | 30 | ····*·functions |
| 23 | ····*· | 31 | ····*·gridfunctions |
| 24 | ····*· | 32 | ····*·composedgridfunction.hh |
| 25 | ····*·Generated·by·[doxygen]1.15.0 | 33 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
| 1 | var·a00044·=·[ | 1 | var·a00044·=·[ |
| 2 | ····["Dune::Functions::d | 2 | ····["Dune::Functions::ComposedGridFunction",·"a00318.html#ae70612d0758e301c3168bdeb2dad5bff",·null], |
| 3 | ····["Dune::Functions::makeComposedGridFunction",·"a00308.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd",·null] | ||
| 3 | ]; | 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 73 lines modified | Offset 88, 226 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> |
| 108 | <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="a00317.html">Dune</a>·{</div> | ||
| 109 | <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="a00318.html">Functions</a>·{</div> | ||
| 110 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l0001 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 113 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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> | ||
| 114 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};"> | ||
| 115 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01178.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01178.html">TrigonometricFunction</a></div> | ||
| 116 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>{</div> | ||
| 117 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">public</span>:</div> | ||
| 118 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
| 119 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01178.html#a84e99df5856264ae06faa710876763aa">···34</a></span>··K·<a·class="code·hl_function"·href="a01178.html#a84e99df5856264ae06faa710876763aa">operator·()·</a>(<span·class="keyword">const</span>·K&·x)<span·class="keyword">·const</span></div> | ||
| 120 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">··</span>{</div> | ||
| 121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">return</span>·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x);</div> | ||
| 122 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··}</div> | ||
| 123 | </div> | ||
| 124 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>};</div> | ||
| 125 | </div> | ||
| 126 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 127 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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> | ||
| 129 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
| 130 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00308.html#ga7ec424ff4be740ad675bd85750940472">···43</a></span><a·class="code·hl_class"·href="a01178.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>·<a·class="code·hl_function"·href="a00308.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01178.html">TrigonometricFunction<K,·sinFactor,·cosFactor></a>&·f)</div> | ||
| 131 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span></div> |
| 132 | <div·class="line"><a·id="l0004 | 122 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class·</span>OF,·<span·class="keyword">class</span>...·IF></div> |
| 123 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> | ||
| 124 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a02202.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02202.html#a31f170c22381b94a081e09f25704102a">ComposedGridFunction</a></div> | ||
| 133 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 125 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
| 126 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>InnerFunctions·=·std::tuple<IF...>;</div> | ||
| 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">using·</span>InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef(std::declval<const·IF&>())))...>;</div> | ||
| 134 | </div> | ||
| 135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 139 | <div·class="line"><a·id="l0005 | 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> |
| 130 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">using·</span>InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i,·InnerFunctions>>>;</div> | ||
| 140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 131 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 132 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">using·</span>OuterFunction·=·OF;</div> |
| 142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> | ||
| 143 | <div·class=" | 133 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
| 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02202.html#a60e88941320bce2a3fd832dcb33b79e8">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02202.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·<span·class="keyword">typename</span>·InnerFunction<0>::EntitySet;</div> | ||
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a02202.html#a6c0975897a61d00e1e5db9e8d1c5943c">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02202.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
| 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02202.html#ad9612763841397749ff243b3f6f16177">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02202.html#ad9612763841397749ff243b3f6f16177">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a02202.html#a62ac2c12e6920194583994cdec60283f">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02202.html#a62ac2c12e6920194583994cdec60283f">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
| 141 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02202.html#afc57549d703aa63560d2d7b9e57e6d45">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02202.html#afc57549d703aa63560d2d7b9e57e6d45">Range</a>·=·<span·class="keyword">decltype</span>(std::declval<OF>()(<a·class="code·hl_friend"·href="a02202.html#ad1b3541b659ef016514458e3edffc149">localFunction</a>(std::declval<IF>())(std::declval<LocalDomain>())...));</div> | ||
| 143 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">private</span>:</div> | ||
| 145 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">using·</span>Traits·=·Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a02202.html#afc57549d703aa63560d2d7b9e57e6d45">Range</a>(<a·class="code·hl_typedef"·href="a02202.html#ad9612763841397749ff243b3f6f16177">Domain</a>),·<a·class="code·hl_typedef"·href="a02202.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>,·<a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a>,·16>;</div> | ||
| 147 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">class·</span>LocalFunction</div> | ||
| 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> | ||
| 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">public</span>:</div> | ||
| 151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····LocalFunction(<span·class="keyword">const</span>·<a·class="code·hl_function"·href="a02202.html#a31f170c22381b94a081e09f25704102a">ComposedGridFunction</a>&·globalFunction)·:</div> | ||
| 152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······globalFunction_(globalFunction),</div> | ||
| 153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······innerLocalFunctions_(globalFunction.<a·class="code·hl_function"·href="a02202.html#ab6fa74b32c63bb86bb048f3e67ead39d">innerLocalFunctions</a>())</div> | ||
| 154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{}</div> | ||
| 155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span></div> | ||
| 156 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02202.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>&·element)</div> | ||
| 157 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> | ||
| 158 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······std::apply([&](<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
| 159 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··········(innerFunction.bind(element),...);</div> | ||
| 160 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······},·innerLocalFunctions_);</div> | ||
| 161 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> | ||
| 162 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span></div> | ||
| 163 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keywordtype">void</span>·unbind()</div> | ||
| 164 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div> | ||
| 165 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······std::apply([&](<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
| 166 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··········(innerFunction.unbind(),...);</div> | ||
| 167 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······},·innerLocalFunctions_);</div> | ||
| 168 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····}</div> | ||
| 169 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span></div> | ||
| 170 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
| 171 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">····</span>{</div> | ||
| 172 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>······<span·class="keywordflow">return</span>·std::apply([](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
| 173 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>········<span·class="keywordflow">return</span>·(innerFunction.bound()·&&·...);</div> | ||
| 174 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······},·innerLocalFunctions_);</div> | ||
| Max diff block lines reached; 7932/45386 bytes (17.48%) of diff not shown. | |||
| Offset 1, 70 lines modified | Offset 1, 253 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | composedgridfunction.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH |
| 16 | 8#define·DUNE_FUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cmath> | ||
| 19 | 11 | ||
| 20 | 12namespace·Dune·{ | ||
| 21 | 13namespace·Functions·{ | ||
| 22 | 1 | 18 | 10#include·<type_traits> |
| 19 | 11#include·<tuple> | ||
| 20 | 12 | ||
| 21 | 13#include·<dune/common/referencehelper.hh> | ||
| 22 | 14#include·<dune/common/typeutilities.hh> | ||
| 23 | 15 | 23 | 15 |
| 24 | 16#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 25 | 17#include·<dune/functions/common/differentiablefunction.hh> | ||
| 26 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 27 | 19 | ||
| 28 | 20 | ||
| 29 | 21namespace·Dune·{ | ||
| 30 | 22namespace·Functions·{ | ||
| 31 | 23 | ||
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 44template<class·OF,·class...·IF> | ||
| 35 | 45class·ComposedGridFunction | ||
| 36 | 46{ | ||
| 37 | 47·using·InnerFunctions·=·std::tuple<IF...>; | ||
| 38 | 48·using·InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef | ||
| 39 | (std::declval<const·IF&>())))...>; | ||
| 24 | 16 | ||
| 25 | 29template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 26 | 30class·TrigonometricFunction | ||
| 27 | 31{ | ||
| 28 | 32public: | ||
| 29 | 34·K·operator_()_(const·K&·x)·const | ||
| 30 | 35·{ | ||
| 31 | 36·return·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x); | ||
| 32 | 37·} | ||
| 33 | 38}; | ||
| 34 | 39 | ||
| 35 | 40 | ||
| 36 | 42template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 37 | 43TrigonometricFunction<K,·-cosFactor,·sinFactor>·derivative(const | ||
| 38 | TrigonometricFunction<K,_sinFactor,_cosFactor>&·f) | ||
| 39 | 44{ | ||
| 40 | 45·return·TrigonometricFunction<K,·-cosFactor,·sinFactor>(); | ||
| 41 | 46} | ||
| 42 | 47 | ||
| 43 | 48 | ||
| 44 | 49 | 40 | 49 |
| 45 | 50}}·//·namespace·Dune::Functions | ||
| 46 | 5 | 41 | 50·template<std::size_t·i> |
| 42 | 51·using·InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i, | ||
| 43 | InnerFunctions>>>; | ||
| 47 | 52 | 44 | 52 |
| 48 | 53 | ||
| 49 | 54#endif·//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH | ||
| 50 | Dune::Functions::derivative | ||
| 51 | TrigonometricFunction<·K,·-cosFactor,·sinFactor·>·derivative(const | ||
| 52 | TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f) | ||
| 53 | Obtain·derivative·of·TrigonometricFunction·function. | ||
| 54 | 45 | 53·using·OuterFunction·=·OF; | |
| 46 | 54 | ||
| 47 | 55public: | ||
| 48 | 56 | ||
| 49 | 57·using·EntitySet·=·typename·InnerFunction<0>::EntitySet; | ||
| 50 | 58·using·Element·=·typename·EntitySet::Element; | ||
| 51 | 59 | ||
| 52 | 60·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 53 | 61·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 54 | 62 | ||
| 55 | 63·using·Range·=·decltype(std::declval<OF>()(localFunction(std::declval<IF>()) | ||
| 56 | (std::declval<LocalDomain>())...)); | ||
| 57 | 64 | ||
| 58 | 65private: | ||
| 59 | 66 | ||
| 60 | 67·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
| 61 | DefaultDerivativeTraits,·16>; | ||
| 62 | 68 | ||
| 63 | 69·class·LocalFunction | ||
| 64 | 70·{ | ||
| 65 | 71·public: | ||
| 66 | 78·LocalFunction(const·ComposedGridFunction&·globalFunction)·: | ||
| 67 | 79·globalFunction_(globalFunction), | ||
| 68 | 80·innerLocalFunctions_(globalFunction.innerLocalFunctions()) | ||
| 69 | 81·{} | ||
| 70 | 82 | ||
| 71 | 92·void·bind(const·Element&·element) | ||
| 72 | 93·{ | ||
| 73 | 94·std::apply([&](auto&...·innerFunction)·{ | ||
| 74 | 95·(innerFunction.bind(element),...); | ||
| 75 | 96·},·innerLocalFunctions_); | ||
| 76 | 97·} | ||
| 77 | 98 | ||
| 78 | 100·void·unbind() | ||
| 79 | 101·{ | ||
| 80 | 102·std::apply([&](auto&...·innerFunction)·{ | ||
| 81 | 103·(innerFunction.unbind(),...); | ||
| 82 | 104·},·innerLocalFunctions_); | ||
| 83 | 105·} | ||
| 84 | 106 | ||
| 85 | 109·bool·bound()·const | ||
| 86 | 110·{ | ||
| 87 | 111·return·std::apply([](const·auto&...·innerFunction)·{ | ||
| 88 | 112·return·(innerFunction.bound()·&&·...); | ||
| 89 | 113·},·innerLocalFunctions_); | ||
| 90 | 114·} | ||
| 91 | 115 | ||
| 92 | 125·Range·operator()(const·LocalDomain&·x)·const | ||
| 93 | 126·{ | ||
| 94 | 127·return·std::apply([&](const·auto&...·innerFunction)·{ | ||
| 95 | 128·return·globalFunction_.outerFunction_(innerFunction(x)...); | ||
| 96 | 129·},·innerLocalFunctions_); | ||
| Max diff block lines reached; 3033/9588 bytes (31.63%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 63 lines modified | Offset 88, 52 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridfunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<initializer_list></code><br·/> | ||
| 99 | <code>#include·<vector></code><br·/> | ||
| 100 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/common/localfunction.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></code><br·/> | ||
| 101 | </div> | 106 | </div> |
| 102 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> | 107 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 103 | <table·class="memberdecls"> | 108 | <table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 105 | Classes</h2></td></tr> | 110 | Classes</h2></td></tr> |
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AGridFunction_3C_20Signature_2C_20EntitySet_2C_20DerivativeTraits_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AGridFunction_3C_20Signature_2C_20EntitySet_2C_20DerivativeTraits_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top[·...·truncated·by·diffoscope;·len:·177,·SHA:·5cedb621e9de4058114887dbd462a98a11b0077a7f4e97e097353c78e5052ed2·...·]·></a></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AGridFunction_3C_20Range_28Domain_29_2C_20ES_2C_20DerivativeTraits_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AGridFunction_3C_20Range_28Domain_29_2C_20ES_2C_20DerivativeTraits_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02262.html">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·Grid.··<a·href="a02262.html#details">More...</a><br·/></td></tr> |
| 108 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
| 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 116 | Namespaces</h2></td></tr> |
| 111 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 117 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 118 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 113 | </table><table·class="memberdecls"> | ||
| 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 115 | Functions</h2></td></tr> | ||
| 116 | <tr·class="memitem:a368f344cc96ccfadd1c947cefb82789f"·id="r_a368f344cc96ccfadd1c947cefb82789f"><td·class="memTemplParams"·colspan="2">template<class·K>·</td></tr> | ||
| 117 | <tr·class="memitem:a368f344cc96ccfadd1c947cefb82789f·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a368f344cc96ccfadd1c947cefb82789f">Dune::Functions::Polynomial</a>·(std::vector<·K·>)·->·Polynomial<·K,·std::vector<·K·>·></td></tr> | ||
| 118 | <tr·class="memitem:a016550b1c91d9134c26429189244978d"·id="r_a016550b1c91d9134c26429189244978d"><td·class="memTemplParams"·colspan="2">template<class·K,·std::size_t·n>·</td></tr> | ||
| 119 | <tr·class="memitem:a016550b1c91d9134c26429189244978d·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a016550b1c91d9134c26429189244978d">Dune::Functions::Polynomial</a>·(std::array<·K,·n·>)·->·Polynomial<·K,·std::array<·K,·n·>·></td></tr> | ||
| 120 | <tr·class="memitem:a1dba9ae8fffc043b3e692e34991565ac"·id="r_a1dba9ae8fffc043b3e692e34991565ac"><td·class="memTemplParams"·colspan="2">template<class·K,·K...·ci>·</td></tr> | ||
| 121 | <tr·class="memitem:a1dba9ae8fffc043b3e692e34991565ac·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a1dba9ae8fffc043b3e692e34991565ac">Dune::Functions::Polynomial</a>·(std::integer_sequence<·K,·ci...·>)·->·Polynomial<·K,·std::integer_sequence<·K,·ci...·>·></td></tr> | ||
| 122 | <tr·class="memitem:a85fee67e59a9cdf2dc2e12b4abdbb16b"·id="r_a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memTemplParams"·colspan="2">template<class·K>·</td></tr> | ||
| 123 | <tr·class="memitem:a85fee67e59a9cdf2dc2e12b4abdbb16b·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a85fee67e59a9cdf2dc2e12b4abdbb16b">Dune::Functions::Polynomial</a>·(std::initializer_list<·K·>)·->·Polynomial<·K,·std::vector<·K·>·></td></tr> | ||
| 124 | <tr·class="memitem:ae39290bbc7f0c8afc2a2234e2038ee43"·id="r_ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memTemplParams"·colspan="2">template<class·K,·class·Coefficients>·</td></tr> | ||
| 125 | <tr·class="memitem:ae39290bbc7f0c8afc2a2234e2038ee43·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#ae39290bbc7f0c8afc2a2234e2038ee43">Dune::Functions::makePolynomial</a>·(Coefficients·coefficients)</td></tr> | ||
| 126 | <tr·class="memdesc:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01166.html"·title="A·univariate·polynomial·implementation.">Polynomial</a>.··<br·/></td></tr> | ||
| 127 | <tr·class="memitem:a0f2765282a4f56600544187da5350845"·id="r_a0f2765282a4f56600544187da5350845"><td·class="memTemplParams"·colspan="2">template<class·K,·class·C>·</td></tr> | ||
| 128 | <tr·class="memitem:a0f2765282a4f56600544187da5350845·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a0f2765282a4f56600544187da5350845">Dune::Functions::makePolynomial</a>·(std::initializer_list<·C·>·coefficients)</td></tr> | ||
| 129 | <tr·class="memdesc:a0f2765282a4f56600544187da5350845"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01166.html"·title="A·univariate·polynomial·implementation.">Polynomial</a>.··<br·/></td></tr> | ||
| 130 | </table> | 119 | </table> |
| 131 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
| 132 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
| 133 | <div·id="page-nav"·class="page-nav-panel"> | 122 | <div·id="page-nav"·class="page-nav-panel"> |
| 134 | <div·id="page-nav-resize-handle"></div> | 123 | <div·id="page-nav-resize-handle"></div> |
| 135 | <div·id="page-nav-tree"> | 124 | <div·id="page-nav-tree"> |
| 136 | <div·id="page-nav-contents"> | 125 | <div·id="page-nav-contents"> |
| 137 | </div><!--·page-nav-contents·--> | 126 | </div><!--·page-nav-contents·--> |
| 138 | </div><!--·page-nav-tree·--> | 127 | </div><!--·page-nav-tree·--> |
| 139 | </div><!--·page-nav·--> | 128 | </div><!--·page-nav·--> |
| 140 | </div><!--·container·--> | 129 | </div><!--·container·--> |
| 141 | <!--·start·footer·part·--> | 130 | <!--·start·footer·part·--> |
| 142 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 131 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 143 | ··<ul> | 132 | ··<ul> |
| 144 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 133 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00047.html">gridfunction.hh</a></li> |
| 145 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 134 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 146 | ··</ul> | 135 | ··</ul> |
| 147 | </div> | 136 | </div> |
| 148 | </body> | 137 | </body> |
| 149 | </html> | 138 | </html> |
| Offset 1, 40 lines modified | Offset 1, 29 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | gridfunction.hh·File·Reference | ||
| 6 | #include·<type_traits> | ||
| 5 | polynomial.hh·File·Reference | ||
| 6 | #include·<cmath> | ||
| 7 | #include·<initializer_list> | ||
| 8 | #include·<vector> | ||
| 9 | #include·<dune/common/ | 7 | #include·<dune/common/typeutilities.hh> |
| 8 | #include·<dune/functions/common/typeerasure.hh> | ||
| 9 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 10 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 11 | #include·<dune/functions/common/localfunction.hh> | ||
| 12 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 13 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 14 | #include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
| 10 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 11 | Classes | 16 | Classes |
| 12 | class· ·Dune::Functions::Polynomial<_K,_C_> | ||
| 13 | 17 | class· ·Dune::Functions::GridFunction<_Signature,_EntitySet,_DerivativeTraits, | |
| 18 | ········bufferSize_> | ||
| 19 | class· ·Dune::Functions::GridFunction<_Range(Domain),_ES,_DerivativeTraits, | ||
| 20 | ········bufferSize_> | ||
| 21 | ·······Wrapper·class·for·functions·defined·on·a·Grid.·More... | ||
| 14 | Namespaces | 22 | Namespaces |
| 15 | namespace· ·Dune | 23 | namespace· ·Dune |
| 16 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 17 | Functions | ||
| 18 | template<class·K> | ||
| 19 | ···· ·Dune::Functions::Polynomial·(std::vector<·K·>)·->·Polynomial<·K,·std:: | ||
| 20 | ······vector<·K·>·> | ||
| 21 | template<class·K,·std::size_t·n> | ||
| 22 | ···· ·Dune::Functions::Polynomial·(std::array<·K,·n·>)·->·Polynomial<·K,·std:: | ||
| 23 | ······array<·K,·n·>·> | ||
| 24 | template<class·K,·K...·ci> | ||
| 25 | ···· ·Dune::Functions::Polynomial·(std::integer_sequence<·K,·ci...·>)·- | ||
| 26 | ······>·Polynomial<·K,·std::integer_sequence<·K,·ci...·>·> | ||
| 27 | template<class·K> | ||
| 28 | ···· ·Dune::Functions::Polynomial·(std::initializer_list<·K·>)·->·Polynomial< | ||
| 29 | ······K,·std::vector<·K·>·> | ||
| 30 | template<class·K,·class·Coefficients> | ||
| 31 | auto ·Dune::Functions::makePolynomial·(Coefficients·coefficients) | ||
| 32 | ·····Create·Polynomial. | ||
| 33 | template<class·K,·class·C> | ||
| 34 | auto ·Dune::Functions::makePolynomial·(std::initializer_list<·C·>·coefficients) | ||
| 35 | ·····Create·Polynomial. | ||
| 36 | ····*·dune | 25 | ····*·dune |
| 37 | ····*·functions | 26 | ····*·functions |
| 38 | ····*· | 27 | ····*·gridfunctions |
| 39 | ····*· | 28 | ····*·gridfunction.hh |
| 40 | ····*·Generated·by·[doxygen]1.15.0 | 29 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 8 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00047·=·[ | 1 | var·a00047·=·[ |
| 2 | ····["Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>",·"a02254.html",·null] | ||
| 2 | ····["Dune::Functions::makePolynomial",·"a00318.html#ae39290bbc7f0c8afc2a2234e2038ee43",·null], | ||
| 3 | ····["Dune::Functions::makePolynomial",·"a00318.html#a0f2765282a4f56600544187da5350845",·null], | ||
| 4 | ····["Dune::Functions::Polynomial",·"a00318.html#a016550b1c91d9134c26429189244978d",·null], | ||
| 5 | ····["Dune::Functions::Polynomial",·"a00318.html#a85fee67e59a9cdf2dc2e12b4abdbb16b",·null], | ||
| 6 | ····["Dune::Functions::Polynomial",·"a00318.html#a1dba9ae8fffc043b3e692e34991565ac",·null], | ||
| 7 | ····["Dune::Functions::Polynomial",·"a00318.html#a368f344cc96ccfadd1c947cefb82789f",·null] | ||
| 8 | ]; | 3 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 264 lines modified | Offset 88, 189 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridfunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span> | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
| 113 | <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="a00317.html">Dune</a>·{</div> | ||
| 114 | <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="a00318.html">Functions</a>·{</div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 116 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/common/typeerasure.hh</a>></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/common/localfunction.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00140.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="comment">//·Compute·coefficients·of·derivative·of·polynomial.</span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="comment">//·Overload·for·std::vector</span></div> | ||
| 120 | <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,·<span·class="keyword">class</span>·Allocator></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">auto</span>·polynomialDerivativeCoefficients(<span·class="keyword">const</span>·std::vector<K,·Allocator>&·coefficients)·{</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keywordflow">if</span>·(coefficients.size()==0)</div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keywordflow">return</span>·std::vector<K,·Allocator>();</div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····std::vector<K,·Allocator>·dpCoefficients(coefficients.size()-1);</div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=1;·i<coefficients.size();·++i)</div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······dpCoefficients[i-1]·=·coefficients[i]*K(i);</div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keywordflow">return</span>·dpCoefficients;</div> | ||
| 128 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 129 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 130 | <div·class="line"><a·id="l000 | 120 | <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="a00317.html">Dune</a>·{</div> |
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 131 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">/*</span></div> |
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·K,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">auto</span>·polynomialDerivativeCoefficients(<span·class="keyword">const</span>·std::array<K,·n>&·coefficients)·{</div> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(n==0)</div> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keywordflow">return</span>·coefficients;</div> | ||
| 136 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*·Default·implementation·is·empty</span></div> |
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
| 137 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*/</span></div> |
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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=<a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a>,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 131 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> | ||
| 132 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a02254.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02254.html">GridFunction</a></div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······std::array<K,·n-1>·dpCoefficients;</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=1;·i<coefficients.size();·++i)</div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········dpCoefficients[i-1]·=·coefficients[i]*K(i);</div> | ||
| 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">return</span>·dpCoefficients;</div> | ||
| 142 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{};</div> |
| 134 | </div> | ||
| 143 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 144 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
| 137 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Imp</div> | ||
| 139 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
| 140 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span></div> | ||
| 141 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> | ||
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·Compute·coefficients·of·derivative·of·polynomial.</span></div> | ||
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//·Helper·function·for·the·std::integer_sequence·overload.</span></div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·With·C++20·this·can·be·avoided,·because·lambda·function</span></div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·can·partially·specify·template·arguments·which·allows</span></div> | ||
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·to·do·the·same·inline.</span></div> | ||
| 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>I,·I·i0,·I...·i,·<span·class="keyword">class·</span>J,·J·j0,·J...·j></div> | ||
| 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">auto</span>·polynomialDerivativeCoefficientsHelper(std::integer_sequence<I,·i0,·i...>,·std::integer_sequence<J,·j0,·j...>)·{</div> | ||
| 152 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">struct·</span>GridFunctionTraits·:</div> |
| 143 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
| 153 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··{</div> |
| 154 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">protected</span>:</div> |
| 155 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> |
| 147 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 156 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">public</span>:</div> |
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>EntitySet·=·ES;</div> | ||
| 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span></div> | ||
| 157 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> |
| 158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">auto</span>·polynomialDerivativeCoefficients(std::integer_sequence<I,·i...>·coefficients)·{</div> | ||
| 159 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(<span·class="keyword">sizeof</span>...(i)==0)</div> | ||
| 160 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">return</span>·coefficients;</div> | ||
| 161 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span></div> |
| 153 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·Base::DerivativeSignature;</div> | ||
| 162 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keywordflow">return</span>·polynomialDerivativeCoefficientsHelper(coefficients,·std::make_index_sequence<<span·class="keyword">sizeof</span>...(i)>());</div> | ||
| 163 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> | ||
| 164 | <div·class="line"><a·id="l0006 | 154 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> |
| 165 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·Compute·coefficients·of·derivative·of·polynomial.</span></div> | ||
| 166 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a02254.html">GridFunction<DerivativeSignature,·ES,·DerivativeTraits,·bufferSize></a>;</div> |
| 156 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span></div> | ||
| 157 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">using·</span>LocalSignature·=·<span·class="keyword">typename</span>·Base::Range(<span·class="keyword">typename</span>·EntitySet::LocalCoordinate);</div> | ||
| 158 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span></div> | ||
| 167 | <div·class="line"><a·id="l000 | 159 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·R></div> |
| 160 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a02290.html">LocalDerivativeTraits</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a02290.html">Dune::Functions::LocalDerivativeTraits<EntitySet,·DerivativeTraits>::template</a>·Traits<R>;</div> | ||
| Max diff block lines reached; 30163/69463 bytes (43.42%) of diff not shown. | |||
| Offset 1, 280 lines modified | Offset 1, 222 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | gridfunction.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cmath> | ||
| 19 | 11#include·<initializer_list> | ||
| 20 | 1 | 18 | 10#include·<type_traits> |
| 19 | 11 | ||
| 20 | 12#include·<dune/common/typeutilities.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14 | ||
| 23 | 15#include·<dune/common/hybridutilities.hh> | ||
| 24 | 16 | ||
| 25 | 17namespace·Dune·{ | ||
| 26 | 18namespace·Functions·{ | ||
| 27 | 19 | ||
| 28 | 22 | 14#include·<dune/functions/common/typeerasure.hh> | |
| 23 | 15#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 24 | 16#include·<dune/functions/common/differentiablefunction.hh> | ||
| 25 | 17#include·<dune/functions/common/localfunction.hh> | ||
| 26 | 18#include·<dune/functions/common/functionconcepts.hh> | ||
| 27 | 19#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 28 | 20#include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
| 29 | 21 | 29 | 21 |
| 30 | 22 | ||
| 31 | 23 | ||
| 32 | 24namespace·Dune·{ | ||
| 33 | 25namespace·Functions·{ | ||
| 34 | 26 | ||
| 35 | 27 | ||
| 36 | 28 | ||
| 37 | 29/* | ||
| 38 | 30·*·Default·implementation·is·empty | ||
| 39 | 31·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
| 40 | 32·*·describing·a·function·signature·as·Range(Domain). | ||
| 41 | 33·*/ | ||
| 42 | 34template<class·Signature,·class·EntitySet,·template<class>·class | ||
| 43 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 44 | 35class·GridFunction | ||
| 45 | 36{}; | ||
| 46 | 37 | ||
| 47 | 38 | ||
| 48 | 39 | ||
| 49 | 40namespace·Imp | ||
| 30 | 22·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 31 | 23·//·Overload·for·std::vector | ||
| 32 | 24·template<class·K,·class·Allocator> | ||
| 33 | 25·auto·polynomialDerivativeCoefficients(const·std::vector<K,·Allocator>& | ||
| 34 | coefficients)·{ | ||
| 35 | 26·if·(coefficients.size()==0) | ||
| 36 | 27·return·std::vector<K,·Allocator>(); | ||
| 37 | 28·std::vector<K,·Allocator>·dpCoefficients(coefficients.size()-1); | ||
| 38 | 29·for·(size_t·i=1;·i<coefficients.size();·++i) | ||
| 39 | 30·dpCoefficients[i-1]·=·coefficients[i]*K(i); | ||
| 40 | 31·return·dpCoefficients; | ||
| 41 | 32·} | ||
| 42 | 33 | ||
| 43 | 34·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 44 | 35·//·Overload·for·std::array | ||
| 45 | 36·template<class·K,·std::size_t·n> | ||
| 46 | 37·auto·polynomialDerivativeCoefficients(const·std::array<K,·n>&·coefficients) | ||
| 47 | { | ||
| 48 | 38·if·constexpr·(n==0) | ||
| 49 | 39·return·coefficients; | ||
| 50 | 40·else | ||
| 51 | 41 | 50 | 41{ |
| 52 | 42·std::array<K,·n-1>·dpCoefficients; | ||
| 53 | 43·for·(size_t·i=1;·i<coefficients.size();·++i) | ||
| 54 | 44·dpCoefficients[i-1]·=·coefficients[i]*K(i); | ||
| 55 | 45·return·dpCoefficients; | ||
| 56 | 4 | 51 | 42 |
| 52 | 44·template<class·S,·class·ES,·template<class>·class·DerivativeTraits,·size_ | ||
| 53 | t·bufferSize> | ||
| 54 | 45·struct·GridFunctionTraits·: | ||
| 55 | 46·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
| 57 | 47· | 56 | 47·{ |
| 58 | 48 | ||
| 59 | 49·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 60 | 50·//·Helper·function·for·the·std::integer_sequence·overload. | ||
| 61 | 51·//·With·C++20·this·can·be·avoided,·because·lambda·function | ||
| 62 | 52·//·can·partially·specify·template·arguments·which·allows | ||
| 63 | 53·//·to·do·the·same·inline. | ||
| 64 | 54·template<class·I,·I·i0,·I...·i,·class·J,·J·j0,·J...·j> | ||
| 65 | 55·auto·polynomialDerivativeCoefficientsHelper(std::integer_sequence<I,·i0, | ||
| 66 | i...>,·std::integer_sequence<J,·j0,·j...>)·{ | ||
| 67 | 56·return·std::integer_sequence<I,·i*I(j)...>(); | ||
| 68 | 57·} | ||
| 69 | 58 | ||
| 70 | 59·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 71 | 57 | 48·protected: | |
| 58 | 49·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
| 59 | 50 | ||
| 60 | 51·public: | ||
| 61 | 53·using·EntitySet·=·ES; | ||
| 62 | 54 | ||
| 63 | 56·using·Element·=·typename·EntitySet::Element; | ||
| 64 | 57 | ||
| 65 | 59·using·DerivativeSignature·=·typename·Base::DerivativeSignature; | ||
| 66 | 60 | ||
| 67 | 62·using·DerivativeInterface·=·GridFunction<DerivativeSignature,_ES, | ||
| 68 | DerivativeTraits,_bufferSize>; | ||
| 69 | 63 | ||
| 70 | 65·using·LocalSignature·=·typename·Base::Range(typename·EntitySet:: | ||
| 71 | LocalCoordinate); | ||
| 72 | 66 | ||
| 72 | 6 | 73 | 68·template<class·R> |
| 73 | 62·auto·polynomialDerivativeCoefficients(std::integer_sequence<I,·i...> | ||
| 74 | coefficients)·{ | ||
| 75 | 63·if·constexpr·(sizeof...(i)==0) | ||
| 76 | 64·return·coefficients; | ||
| 77 | 65·else | ||
| 78 | 66·return·polynomialDerivativeCoefficientsHelper(coefficients,·std::make_index_ | ||
| 79 | sequence<sizeof...(i)>()); | ||
| Max diff block lines reached; 7347/15160 bytes (48.46%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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_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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 73 lines modified | Offset 88, 40 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridfunction_imp.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·<tuple></code><br·/> | ||
| 98 | <code>#include·<utility></code><br·/> | ||
| 99 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 101 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00 | 97 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a001 | 98 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> |
| 105 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a001 | 99 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 107 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 108 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 109 | </div> | 100 | </div> |
| 110 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 111 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
| 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 113 | Classes</h2></td></tr> | ||
| 114 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ATransformedIndexPreBasis_3C_20RPB_2C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ATransformedIndexPreBasis_3C_20RPB_2C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02170.html">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·></a></td></tr> | ||
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·transforming·multi-indices.··<a·href="a02170.html#details">More...</a><br·/></td></tr> | ||
| 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory_3A_3AExperimental_3A_3AGenericIndexingTransformation_3C_20IndexTransformation_2C_20SizeImplementation_2C_20ContainerDescriptorImplementation_2C_20minIS_2C_20maxIS_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory_3A_3AExperimental_3A_3AGenericIndexingTransformation_3C_20IndexTransformation_2C_20SizeImplementation_2C_20ContainerDescriptorImplementation_2C_20minIS_2C_20maxIS_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02174.html">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·ContainerDescriptorImplementation,·minIS,·maxIS·></a></td></tr> | ||
| 117 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<a·href="a02174.html#details">More...</a><br·/></td></tr> | ||
| 118 | </table><table·class="memberdecls"> | ||
| 119 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 120 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
| 121 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 105 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 122 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 106 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 123 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental"·id="r_Dune_3A_3AFunctions_3A_3AExperimental"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00325.html">Dune::Functions::Experimental</a></td></tr> | ||
| 124 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 125 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory_3A_3AExperimental"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory_3A_3AExperimental"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
| 126 | </table><table·class="memberdecls"> | ||
| 127 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 128 | Functions</h2></td></tr> | ||
| 129 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"·id="r_a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplParams"·colspan="2">template<class·RPB,·class·T>·</td></tr> | ||
| 130 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00325.html#a97702eea52e7ff7d9e66226034aee386">Dune::Functions::Experimental::TransformedIndexPreBasis</a>·(RPB·&&,·T·&&)·->·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·></td></tr> | ||
| 131 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"·id="r_a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisFactory,·class·Transformation>·</td></tr> | ||
| 132 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html#a6b531a5d076e13881c59b75e505e808e">Dune::Functions::BasisFactory::Experimental::transformIndices</a>·(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation)</td></tr> | ||
| 133 | <tr·class="memdesc:a6b531a5d076e13881c59b75e505e808e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·TransformedIndexPreBasisFactory.··<br·/></td></tr> | ||
| 134 | <tr·class="memitem:a0cc152e12a2496054e7b29a3df20600f"·id="r_a0cc152e12a2496054e7b29a3df20600f"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation,·class·SizeImplementation,·class·ContainerDescriptorImplementation,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
| 135 | <tr·class="memitem:a0cc152e12a2496054e7b29a3df20600f·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html#a0cc152e12a2496054e7b29a3df20600f">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTransformation,·SizeImplementation·&&sizeImplementation,·ContainerDescriptorImplementation·&&containerDescriptorImplementation,·Dune::index_constant<·minIndexSize·>,·Dune::index_constant<·maxIndexSize·>)</td></tr> | ||
| 136 | <tr·class="memdesc:a0cc152e12a2496054e7b29a3df20600f"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<br·/></td></tr> | ||
| 137 | <tr·class="memitem:a0de794150e67b41eb607008f8a1e3f7e"·id="r_a0de794150e67b41eb607008f8a1e3f7e"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation,·class·SizeImplementation,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
| 138 | <tr·class="memitem:a0de794150e67b41eb607008f8a1e3f7e·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html#a0de794150e67b41eb607008f8a1e3f7e">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTrafo,·SizeImplementation·&&sizeImpl,·Dune::index_constant<·minIndexSize·>·minSize,·Dune::index_constant<·maxIndexSize·>·maxSize)</td></tr> | ||
| 139 | <tr·class="memdesc:a0de794150e67b41eb607008f8a1e3f7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Fallback·implementation·if·no·container·descriptor·argument·is·given.··<br·/></td></tr> | ||
| 140 | </table> | 107 | </table> |
| 141 | </div><!--·contents·--> | 108 | </div><!--·contents·--> |
| 142 | </div><!--·doc-content·--> | 109 | </div><!--·doc-content·--> |
| 143 | <div·id="page-nav"·class="page-nav-panel"> | 110 | <div·id="page-nav"·class="page-nav-panel"> |
| 144 | <div·id="page-nav-resize-handle"></div> | 111 | <div·id="page-nav-resize-handle"></div> |
| 145 | <div·id="page-nav-tree"> | 112 | <div·id="page-nav-tree"> |
| 146 | <div·id="page-nav-contents"> | 113 | <div·id="page-nav-contents"> |
| 147 | </div><!--·page-nav-contents·--> | 114 | </div><!--·page-nav-contents·--> |
| 148 | </div><!--·page-nav-tree·--> | 115 | </div><!--·page-nav-tree·--> |
| 149 | </div><!--·page-nav·--> | 116 | </div><!--·page-nav·--> |
| 150 | </div><!--·container·--> | 117 | </div><!--·container·--> |
| 151 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 152 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 119 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 153 | ··<ul> | 120 | ··<ul> |
| 154 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 121 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00050.html">gridfunction_imp.hh</a></li> |
| 155 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 122 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 156 | ··</ul> | 123 | ··</ul> |
| 157 | </div> | 124 | </div> |
| 158 | </body> | 125 | </body> |
| 159 | </html> | 126 | </html> |
| Offset 1, 60 lines modified | Offset 1, 17 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | gridfunction_imp.hh·File·Reference | ||
| 5 | transformedindexbasis.hh·File·Reference | ||
| 6 | #include·<tuple> | ||
| 7 | #include·<utility> | ||
| 8 | #include·<dune/common/hybridutilities.hh> | ||
| 9 | #include·<dune/common/reservedvector.hh> | ||
| 10 | #include·<dune/common/typeutilities.hh> | ||
| 11 | #include·<dune/functions/common/staticforloop.hh> | ||
| 12 | #include·<dune/functions/common/type_traits.hh> | 6 | #include·<dune/functions/common/type_traits.hh> |
| 13 | #include·<dune/functions/common/ | 7 | #include·<dune/functions/common/interfaces.hh> |
| 8 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | ||
| 20 | class· ·Dune::Functions::Experimental::TransformedIndexPreBasis<_RPB,_T_> | ||
| 21 | ·······A·pre-basis·transforming·multi-indices.·More... | ||
| 22 | class· ·Dune::Functions::BasisFactory::Experimental:: | ||
| 23 | ········GenericIndexingTransformation<_IndexTransformation,_SizeImplementation, | ||
| 24 | ········ContainerDescriptorImplementation,_minIS,_maxIS_> | ||
| 25 | ·······A·generic·implementation·of·a·transformation.·More... | ||
| 26 | Namespaces | 10 | Namespaces |
| 27 | namespace· ·Dune | 11 | namespace· ·Dune |
| 28 | namespace· ·Dune::Functions | 12 | namespace· ·Dune::Functions |
| 29 | namespace· ·Dune::Functions::Experimental | ||
| 30 | namespace· ·Dune::Functions::BasisFactory | ||
| 31 | namespace· ·Dune::Functions::BasisFactory::Experimental | ||
| 32 | Functions | ||
| 33 | template<class·RPB,·class·T> | ||
| 34 | ···· ·Dune::Functions::Experimental::TransformedIndexPreBasis·(RPB·&&,·T·&&)·- | ||
| 35 | ······>·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·> | ||
| 36 | template<class·RawPreBasisFactory,·class·Transformation> | ||
| 37 | auto ·Dune::Functions::BasisFactory::Experimental::transformIndices | ||
| 38 | ······(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation) | ||
| 39 | ·····Create·a·TransformedIndexPreBasisFactory. | ||
| 40 | template<class·IndexTransformation,·class·SizeImplementation,·class | ||
| 41 | ContainerDescriptorImplementation,·std::size_t·minIndexSize,·std::size_ | ||
| 42 | t·maxIndexSize> | ||
| 43 | auto ·Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
| 44 | ······(IndexTransformation·&&indexTransformation,·SizeImplementation | ||
| 45 | ······&&sizeImplementation,·ContainerDescriptorImplementation | ||
| 46 | ······&&containerDescriptorImplementation,·Dune::index_constant<·minIndexSize | ||
| 47 | ······>,·Dune::index_constant<·maxIndexSize·>) | ||
| 48 | ·····A·generic·implementation·of·a·transformation. | ||
| 49 | template<class·IndexTransformation,·class·SizeImplementation,·std::size_ | ||
| 50 | t·minIndexSize,·std::size_t·maxIndexSize> | ||
| 51 | auto ·Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
| 52 | ······(IndexTransformation·&&indexTrafo,·SizeImplementation·&&sizeImpl,·Dune:: | ||
| 53 | ······index_constant<·minIndexSize·>·minSize,·Dune::index_constant< | ||
| 54 | ······maxIndexSize·>·maxSize) | ||
| 55 | ·····Fallback·implementation·if·no·container·descriptor·argument·is·given. | ||
| 56 | ····*·dune | 13 | ····*·dune |
| 57 | ····*·functions | 14 | ····*·functions |
| 58 | ····*·functionspacebases | ||
| 59 | ····*· | 15 | ····*·gridfunctions |
| 16 | ····*·gridfunction_imp.hh | ||
| 60 | ····*·Generated·by·[doxygen]1.15.0 | 17 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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_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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 364 lines modified | Offset 88, 98 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridfunction_imp.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTION | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTION | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<tuple></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 114 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/common/interfaces.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00170.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00191.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 117 | <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/basistags.hh</a>></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a03877.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 121 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 122 | <div·class="line"><a·id="l000 | 112 | <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="a00317.html">Dune</a>·{</div> |
| 123 | <div·class="line"><a·id="l000 | 113 | <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="a00318.html">Functions</a>·{</div> |
| 124 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 125 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span></div> |
| 116 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>HasFreeLocalFunction</div> | ||
| 117 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
| 118 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
| 119 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">auto</span>·require(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
| 120 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····localFunction(f)</div> | ||
| 121 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··);</div> | ||
| 122 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>};</div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 123 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 129 | <div·class="line"><a·id="l0003 | 124 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 130 | <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> | ||
| 131 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="};"> | ||
| 132 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
| 126 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 127 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//</span></div> | ||
| 128 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
| 129 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 130 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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> | ||
| 131 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span>GridFunctionWrapperInterface·:</div> | ||
| 132 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
| 133 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> | ||
| 134 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> | ||
| 135 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">virtual</span>·LocalFunctionInterface·wrappedLocalFunction()·<span·class="keyword">const</span>·=·0;</div> | ||
| 136 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 137 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·EntitySet&·wrappedEntitySet()·<span·class="keyword">const</span>·=·0;</div> | ||
| 138 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 139 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
| 142 | <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,·<span·class="keyword">class</span>·LocalFunctionInterface,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">class</span>·B></div> | ||
| 143 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>GridFunctionWrapperImplementation·:</div> | ||
| 144 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
| 133 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> | 145 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> |
| 146 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">using·</span>Base·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
| 134 | <div·class="line"><a·id="l0005 | 147 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">public</span>:</div> |
| 135 | <div·class="line"><a·id="l0005 | 148 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>This·=·<a·class="code·hl_function"·href="a02170.html#a415716e3d0436f2e9c44992ee79f6133">TransformedIndexPreBasis<RPB,·T></a>;</div> | ||
| 137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 149 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 150 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·LocalFunctionInterface·wrappedLocalFunction()<span·class="keyword">·const</span></div> | ||
| 138 | <div·class="line"><a·id="l0005 | 151 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">··</span>{</div> |
| 152 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·localFunction(this->get());</div> | ||
| 139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02170.html#a64aa0bf3453d3f749622b7ea521715ae">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02170.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB;</div> | ||
| 141 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> | 153 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> |
| 142 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02170.html#a218ba207b64f73e09b2018d951f2dd54">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02170.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·<span·class="keyword">typename</span>·RawPreBasis::GridView;</div> | ||
| 143 | <div·class="line"><a·id="l0006 | 154 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 144 | <div·class="line"><a·id="l0006 | 155 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·EntitySet&·wrappedEntitySet()<span·class="keyword">·const</span></div> |
| 145 | <div·class="line"><a·id="l0006 | 156 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> |
| 146 | <div·class="line"><a·id="l0006 | 157 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·this->get().entitySet();</div> |
| 158 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> | ||
| 159 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>};</div> | ||
| 160 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 161 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 162 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 163 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}}}·<span·class="comment">//·namespace·Dune::Functions::Imp</span></div> | ||
| 148 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02170.html#a474968659bf3b30d623d6baceaceafac">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02170.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a02170.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>·=·Transformation::maxIndexSize;</div> | ||
| 149 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02170.html#ae4b2655926fabb0a127584a701446958">···71</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02170.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a02170.html#ae4b2655926fabb0a127584a701446958">minMultiIndexSize</a>·=·Transformation::minIndexSize;</div> | ||
| 150 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02170.html#aa46fd3cb45543bee69dfd60429254ba4">···72</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02170.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a02170.html#aa46fd3cb45543bee69dfd60429254ba4">multiIndexBufferSize</a>·=·std::max(RawPreBasis::multiIndexBufferSize,·<a·class="code·hl_variable"·href="a02170.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>);</div> | ||
| 151 | <div·class="line"><a·id="l0007 | 164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 152 | <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> | ||
| 153 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
| 154 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02170.html#a415716e3d0436f2e9c44992ee79f6133">···80</a></span>··<a·class="code·hl_function"·href="a02170.html#a415716e3d0436f2e9c44992ee79f6133">TransformedIndexPreBasis</a>(RPB_R&&·<a·class="code·hl_function"·href="a02170.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>,·T_R&&·transformation)·:</div> | ||
| 155 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a02170.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>(std::forward<RPB_R>(<a·class="code·hl_function"·href="a02170.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>)),</div> | ||
| 156 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<a·class="code·hl_variable"·href="a02170.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>(std::forward<T_R>(transformation))</div> | ||
| 157 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> | ||
| 158 | </div> | ||
| 159 | <div·class="line"><a·id="l000 | 165 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
| Max diff block lines reached; 16519/75642 bytes (21.84%) of diff not shown. | |||
| Offset 1, 422 lines modified | Offset 1, 97 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | gridfunction_imp.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<tuple> | ||
| 19 | 11#include·<utility> | ||
| 20 | 12 | ||
| 21 | 13#include·<dune/common/hybridutilities.hh> | ||
| 22 | 14#include·<dune/common/reservedvector.hh> | ||
| 23 | 15#include·<dune/common/typeutilities.hh> | ||
| 24 | 16#include·<dune/common/hybridutilities.hh> | ||
| 25 | 17 | ||
| 26 | 18#include·<dune/functions/common/staticforloop.hh> | ||
| 27 | 1 | 18 | 10#include·<dune/functions/common/type_traits.hh> |
| 28 | 19 | 11#include·<dune/functions/common/interfaces.hh> | |
| 29 | 21#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 30 | 22#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 31 | 23#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 32 | 24#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 33 | 25 | ||
| 34 | 26 | ||
| 35 | 27namespace·Dune·{ | ||
| 36 | 28namespace·Functions·{ | ||
| 37 | 2 | 20 | 12#include·<dune/functions/common/differentiablefunction_imp.hh> |
| 21 | 13 | ||
| 22 | 14 | ||
| 23 | 15 | ||
| 24 | 16namespace·Dune·{ | ||
| 25 | 17namespace·Functions·{ | ||
| 26 | 18namespace·Imp·{ | ||
| 27 | 19 | ||
| 28 | 23struct·HasFreeLocalFunction | ||
| 29 | 24{ | ||
| 30 | 25·template<class·F> | ||
| 31 | 26·auto·require(F&&·f)·->·decltype( | ||
| 32 | 27·localFunction(f) | ||
| 33 | 28·); | ||
| 34 | 29}; | ||
| 38 | 30 | 35 | 30 |
| 39 | 31 | 36 | 31 |
| 40 | /·***************************************************************************** | ||
| 41 | 32 | 37 | 32 |
| 42 | /·***************************************************************************** | ||
| 43 | 33 | ||
| 44 | 50template<class·RPB,·class·T> | ||
| 45 | 38 | 33//·Interface·of·type·erasure·wrapper | |
| 39 | 34// | ||
| 40 | 35//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 41 | ...) | ||
| 42 | 36//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 43 | 37template<class·Signature,·class·DerivativeInterface,·class | ||
| 44 | LocalFunctionInterface,·class·EntitySet> | ||
| 45 | 38class·GridFunctionWrapperInterface·: | ||
| 46 | 39·public·DifferentiableFunctionWrapperInterface<Signature, | ||
| 47 | DerivativeInterface> | ||
| 48 | 40{ | ||
| 49 | 41public: | ||
| 50 | 42·virtual·LocalFunctionInterface·wrappedLocalFunction()·const·=·0; | ||
| 51 | 43 | ||
| 52 | 44·virtual·const·EntitySet&·wrappedEntitySet()·const·=·0; | ||
| 53 | 45}; | ||
| 54 | 46 | ||
| 55 | 47 | ||
| 56 | 48//·Implementation·of·type·erasure·wrapper | ||
| 57 | 49template<class·Signature,·class·DerivativeInterface,·class | ||
| 58 | LocalFunctionInterface,·class·EntitySet,·class·B> | ||
| 59 | 50class·GridFunctionWrapperImplementation·: | ||
| 60 | 51·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 61 | DerivativeInterface,·B> | ||
| 46 | 52{ | 62 | 52{ |
| 47 | 53·using·Transformation·=·T; | ||
| 48 | 54 | ||
| 49 | 5 | 63 | 53·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, |
| 64 | DerivativeInterface,·B>; | ||
| 65 | 54public: | ||
| 66 | 55·using·Base::Base; | ||
| 50 | 56 | 67 | 56 |
| 51 | 57public: | ||
| 52 | 58 | ||
| 53 | 59·using·RawPreBasis·=·RPB; | ||
| 54 | 60 | ||
| 55 | 62·using·GridView·=·typename·RawPreBasis::GridView; | ||
| 56 | 63 | ||
| 57 | 65·using·size_type·=·std::size_t; | ||
| 58 | 66 | ||
| 59 | 68 | 57·virtual·LocalFunctionInterface·wrappedLocalFunction()·const | |
| 69 | 58·{ | ||
| 70 | 59·return·localFunction(this->get()); | ||
| 71 | 60·} | ||
| 72 | 61 | ||
| 73 | 62·virtual·const·EntitySet&·wrappedEntitySet()·const | ||
| 74 | 63·{ | ||
| 75 | 64·return·this->get().entitySet(); | ||
| 76 | 65·} | ||
| 77 | 66}; | ||
| 78 | 67 | ||
| 79 | 68 | ||
| 60 | 69 | 80 | 69 |
| 81 | 70}}}·//·namespace·Dune::Functions::Imp | ||
| 82 | 71 | ||
| 83 | 72 | ||
| 61 | 70·static·constexpr·size_type·maxMultiIndexSize·=·Transformation::maxIndexSize; | ||
| 62 | 71·static·constexpr·size_type·minMultiIndexSize·=·Transformation::minIndexSize; | ||
| 63 | 72·static·constexpr·size_type·multiIndexBufferSize·=·std::max(RawPreBasis:: | ||
| 64 | multiIndexBufferSize,·maxMultiIndexSize); | ||
| 65 | 73 | 84 | 73 |
| 85 | 74#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH | ||
| 66 | 79·template<class·RPB_R,·class·T_R> | ||
| 67 | 80·TransformedIndexPreBasis(RPB_R&&·rawPreBasis,·T_R&&·transformation)·: | ||
| 68 | 81·rawPreBasis_(std::forward<RPB_R>(rawPreBasis)), | ||
| 69 | 82·transformation_(std::forward<T_R>(transformation)) | ||
| 70 | 83·{} | ||
| 71 | 84 | ||
| Max diff block lines reached; 7204/17097 bytes (42.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 64 lines modified | Offset 88, 60 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">analyticgridviewfunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<optional></code><br·/> | ||
| 98 | <code>#include·<dune/ | 99 | <code>#include·<dune/common/copyableoptional.hh></code><br·/> |
| 100 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 99 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
| 100 | <code>#include·<dune/localfunctions/rannacherturek.hh></code><br·/> | ||
| 101 | <code>#include·<dune/localfunctions/crouzeixraviart.hh></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/common/signature.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a001 | 102 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00 | 103 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
| 105 | </div> | 107 | </div> |
| 106 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 107 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 109 | Classes</h2></td></tr> | 111 | Classes</h2></td></tr> |
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AAnalyticGridViewFunction_3C_20Range_28Domain_29_2C_20GV_2C_20F_2C_20DerivativeTraits_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AAnalyticGridViewFunction_3C_20Range_28Domain_29_2C_20GV_2C_20F_2C_20DerivativeTraits_20_3E"><td·class="memItemLeft"·align="right"·val[·...·truncated·by·diffoscope;·len:·185,·SHA:·8917893b3b4b84e6860bfb9602ad587fef0f29b645a39c0126a9d83f48daea50·...·]·></a></td></tr> |
| 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·wrapping·any·differentiable·function·as·grid·function.··<a·href="a02190.html#details">More...</a><br·/></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ARannacherTurekNode_3C_20GV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ARannacherTurekNode_3C_20GV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02046.html">Dune::Functions::RannacherTurekNode<·GV·></a></td></tr> | ||
| 113 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
| 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 115 | Namespaces</h2></td></tr> | 116 | Namespaces</h2></td></tr> |
| 116 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 117 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 117 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 118 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 118 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 119 | </table><table·class="memberdecls"> | ||
| 120 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 121 | Typedefs</h2></td></tr> | ||
| 122 | <tr·class="memitem:ga39599d1e02b6e64c057e402fe1686532"·id="r_ga39599d1e02b6e64c057e402fe1686532"><td·class="memTemplParams"·colspan="2">template<typename·GV>·</td></tr> | ||
| 123 | <tr·class="memitem:ga39599d1e02b6e64c057e402fe1686532·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga39599d1e02b6e64c057e402fe1686532">Dune::Functions::RannacherTurekBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a02050.html">RannacherTurekPreBasis</a><GV>·></td></tr> | ||
| 124 | <tr·class="memdesc:ga39599d1e02b6e64c057e402fe1686532"><td·class="mdescLeft"> </td><td·class="mdescRight">Rannacher-Turek·basis.··<br·/></td></tr> | ||
| 125 | </table><table·class="memberdecls"> | 119 | </table><table·class="memberdecls"> |
| 126 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 120 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 127 | Functions</h2></td></tr> | 121 | Functions</h2></td></tr> |
| 128 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"·id="r_ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplParams"·colspan="2">template<class·Dummy·=·void>·</td></tr> | ||
| 129 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga366449c1a41fc29ff55fed0c1485f60b">Dune::Functions::BasisFactory::rannacherTurek</a>·()</td></tr> | ||
| 130 | <tr·class="memde | 122 | <tr·class="memitem:a4982d31e3f878344c48b9825e82a4426"·id="r_a4982d31e3f878344c48b9825e82a4426"><td·class="memTemplParams"·colspan="2">template<class·F,·class·GridView,·class·Domain·=·typename·GridView::template·Codim<0>::Geometry::GlobalCoordinate,·class·Range·[·...·truncated·by·diffoscope;·len:·43,·SHA:·17e01efa4c3a15c9f61a89a025b37888fc15d0202eb433ee17c2dc2acc316305·...·]</td></tr> |
| 123 | <tr·class="memitem:a4982d31e3f878344c48b9825e82a4426·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a4982d31e3f878344c48b9825e82a4426">Dune::Functions::AnalyticGridViewFunction</a>·(const·F·&,·const·GridView·&)·->·AnalyticGridViewFunction<·Range(Domain),·GridView,·F·></td></tr> | ||
| 124 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"·id="r_gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplParams"·colspan="2">template<class·F,·class·GridView>·</td></tr> | ||
| 125 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#gaf49863bf9728775c1ae6a718aeaaba45">Dune::Functions::makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
| 126 | <tr·class="memdesc:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a02186.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<br·/></td></tr> | ||
| 131 | </table> | 127 | </table> |
| 132 | </div><!--·contents·--> | 128 | </div><!--·contents·--> |
| 133 | </div><!--·doc-content·--> | 129 | </div><!--·doc-content·--> |
| 134 | <div·id="page-nav"·class="page-nav-panel"> | 130 | <div·id="page-nav"·class="page-nav-panel"> |
| 135 | <div·id="page-nav-resize-handle"></div> | 131 | <div·id="page-nav-resize-handle"></div> |
| 136 | <div·id="page-nav-tree"> | 132 | <div·id="page-nav-tree"> |
| 137 | <div·id="page-nav-contents"> | 133 | <div·id="page-nav-contents"> |
| 138 | </div><!--·page-nav-contents·--> | 134 | </div><!--·page-nav-contents·--> |
| 139 | </div><!--·page-nav-tree·--> | 135 | </div><!--·page-nav-tree·--> |
| 140 | </div><!--·page-nav·--> | 136 | </div><!--·page-nav·--> |
| 141 | </div><!--·container·--> | 137 | </div><!--·container·--> |
| 142 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 143 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 139 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 144 | ··<ul> | 140 | ··<ul> |
| 145 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 141 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00056.html">analyticgridviewfunction.hh</a></li> |
| 146 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 142 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 147 | ··</ul> | 143 | ··</ul> |
| 148 | </div> | 144 | </div> |
| 149 | </body> | 145 | </body> |
| 150 | </html> | 146 | </html> |
| Offset 1, 36 lines modified | Offset 1, 38 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | analyticgridviewfunction.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 7 | #include·<optional> | ||
| 6 | #include·<dune/common/ | 8 | #include·<dune/common/copyableoptional.hh> |
| 7 | #include·<dune/ | 9 | #include·<dune/common/typeutilities.hh> |
| 8 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 9 | #include·<dune/ | 10 | #include·<dune/functions/common/signature.hh> |
| 10 | #include·<dune/localfunctions/crouzeixraviart.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 13 | #include·<dune/functions/ | 11 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 12 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 13 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 14 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 15 | #include·<dune/functions/gridfunctions/localderivativetraits.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::RannacherTurekPreBasis<_GV_> | ||
| 17 | ·······Pre-basis·for·a·Rannacher-Turek·basis.·More... | ||
| 18 | class· ·Dune::Functions:: | 18 | class· ·Dune::Functions::AnalyticGridViewFunction<_Range(Domain),_GV,_F, |
| 19 | ········DerivativeTraits_> | ||
| 20 | ·······Class·wrapping·any·differentiable·function·as·grid·function.·More... | ||
| 19 | Namespaces | 21 | Namespaces |
| 20 | namespace· ·Dune | 22 | namespace· ·Dune |
| 21 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 22 | namespace· ·Dune::Functions::BasisFactory | ||
| 23 | Typedefs | ||
| 24 | template<typename·GV> | ||
| 25 | using ·Dune::Functions::RannacherTurekBasis·= | ||
| 26 | ·······DefaultGlobalBasis<RannacherTurekPreBasis<GV>·> | ||
| 27 | ······Rannacher-Turek·basis. | ||
| 28 | Functions | 24 | Functions |
| 29 | template<class·Dummy·=·void> | ||
| 30 | auto ·Dune::Functions::BasisFactory::rannacherTurek·() | ||
| 31 | 25 | template<class·F,·class·GridView,·class·Domain·=·typename·GridView::template | |
| 26 | Codim<0>::Geometry::GlobalCoordinate,·class·Range·=·std::invoke_result_ | ||
| 27 | t<F,Domain>> | ||
| 28 | ···· ·Dune::Functions::AnalyticGridViewFunction·(const·F·&,·const·GridView·&)·- | ||
| 29 | ······>·AnalyticGridViewFunction<·Range(Domain),·GridView,·F·> | ||
| 30 | template<class·F,·class·GridView> | ||
| 31 | auto ·Dune::Functions::makeAnalyticGridViewFunction·(F·&&f,·const·GridView | ||
| 32 | ······&gridView) | ||
| 33 | ·····Create·an·AnalyticGridViewFunction·from·a·function·and·a·grid·view. | ||
| 32 | ····*·dune | 34 | ····*·dune |
| 33 | ····*·functions | 35 | ····*·functions |
| 34 | ····*·functionspacebases | ||
| 35 | ····*· | 36 | ····*·gridfunctions |
| 37 | ····*·analyticgridviewfunction.hh | ||
| 36 | ····*·Generated·by·[doxygen]1.15.0 | 38 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 5 lines modified | Offset 1, 4 lines modified | ||
| 1 | var·a00056·=·[ | 1 | var·a00056·=·[ |
| 2 | ····["Dune::Functions::AnalyticGridViewFunction",·"a00318.html#a4982d31e3f878344c48b9825e82a4426",·null], | ||
| 3 | ····["Dune::Functions::makeAnalyticGridViewFunction",·"a00308.html#gaf49863bf9728775c1ae6a718aeaaba45",·null] | ||
| 2 | ····["Dune::Functions::RannacherTurekNode<·GV·>",·"a02046.html",·"a02046"], | ||
| 3 | ····["Dune::Functions::RannacherTurekBasis",·"a00312.html#ga39599d1e02b6e64c057e402fe1686532",·null], | ||
| 4 | ····["Dune::Functions::BasisFactory::rannacherTurek",·"a00312.html#ga366449c1a41fc29ff55fed0c1485f60b",·null] | ||
| 5 | ]; | 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 277 lines modified | Offset 88, 268 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">analyticgridviewfunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 108 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> |
| 109 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l0001 | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/copyableoptional.hh></span></div> |
| 112 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 113 | <div·class="line"><a·id="l0001 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/functions/common/signature.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a0006 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> |
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 119 | <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="a00317.html">Dune</a>·{</div> | ||
| 120 | <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="a00318.html">Functions</a>·{</div> | ||
| 121 | <div·class="line"><a·id="l0002 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 120 | <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="a00317.html">Dune</a>·{</div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//</span></div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//···RannacherTurekPreBasis</span></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//···RannacherTurekNode</span></div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//</span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 132 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 133 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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> | ||
| 134 | <div·class="line"><a·id="l0003 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction;</div> |
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F,·DerivativeTraits></div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">public</span>:</div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>Signature·=·Range(LocalDomain);</div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>RawSignature·=·<span·class="keyword">typename</span>·SignatureTraits<Signature>::RawSignature;</div> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(LocalDomain);</div> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02050.html">RannacherTurekPreBasis</a>;</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span></div> | ||
| 139 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 140 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
| 141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02050.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02050.html#a84b73fe9692fdf3c6b10889d79c950eb">RannacherTurekPreBasis</a>·:</div> | ||
| 142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01946.html">LeafPreBasisMixin</a><·RannacherTurekPreBasis<GV>·></div> | ||
| 143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> | ||
| 144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 146 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span>GridView·=·GV;</div> |
| 147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span></div> | ||
| 148 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>EntitySet·=·GridViewEntitySet<GridView,·0>;</div> |
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··using·Geometry·=·typename·Element::Geometry;</span></div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span>Geometry·=·std::decay_t<typename·Element::Geometry>;</div> | ||
| 149 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 150 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="comment">//·Use·the·indirection·via·derivativeIfImplemented·to·also·support</span></div> |
| 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="comment">//·function·types·F·that·do·not·implement·derivative.·In·this·case</span></div> | ||
| 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="comment">//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for</span></div> | ||
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·the·derivative·type</span></div> | ||
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">using·</span>DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>;</div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">using·</span>GlobalRawDerivative·=·<span·class="keyword">decltype</span>(Imp::derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>()));</div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">using·</span>LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature,·GridView,·GlobalRawDerivative,·DerivativeTraits>;</div> | ||
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span></div> | ||
| 150 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FT,·disableCopyMove<LocalAnalyticGr<span·class="keywordtype">id</span>ViewFunction,·FT>·=·0></div> | ||
| 151 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··LocalAnalyticGridViewFunction(FT&&·f)·:</div> | ||
| 152 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····f_(std::forward<FT>(f))</div> | ||
| 153 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··{}</div> | ||
| 154 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span></div> | ||
| 155 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FT></div> | ||
| 156 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··LocalAnalyticGridViewFunction(FT&&·f,·<span·class="keyword">const</span>·Element&·element,·<span·class="keyword">const</span>·std::optional<Geometry>&·geometry)·:</div> | ||
| 157 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····f_(std::forward<FT>(f)),</div> | ||
| 158 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····element_(element),</div> | ||
| 159 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····geometry_(geometry)</div> | ||
| 160 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{}</div> | ||
| 161 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> | 162 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> |
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02050.html#a8baece8242d5dd2a48373b3a881b4d1e">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02050.html#a8baece8242d5dd2a48373b3a881b4d1e">Node</a>·=·<a·class="code·hl_class"·href="a02046.html">RannacherTurekNode<GV></a>;</div> | ||
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span></div> | ||
| 154 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02050.html#a84b73fe9692fdf3c6b10889d79c950eb">···73</a></span>··<a·class="code·hl_function"·href="a02050.html#a84b73fe9692fdf3c6b10889d79c950eb">RannacherTurekPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02050.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)·:</div> | ||
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_variable"·href="a02050.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>(gv)</div> | ||
| 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{</div> | ||
| 158 | <div·class="line"><a·id="l0007 | 163 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·Element&·element)</div> |
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······if·(!type.isSimplex()·&&·!type.isCube())</div> | ||
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</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> | ||
| 161 | <div·class="line"><a·id="l0007 | 164 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{</div> |
| Max diff block lines reached; 65735/95105 bytes (69.12%) of diff not shown. | |||
| Offset 1, 330 lines modified | Offset 1, 350 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | analyticgridviewfunction.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 11#include·<optional> | ||
| 20 | 12 | ||
| 18 | 1 | 21 | 13#include·<dune/common/copyableoptional.hh> |
| 19 | 11 | ||
| 20 | 1 | 22 | 14#include·<dune/common/typeutilities.hh> |
| 23 | 15 | ||
| 21 | 13 | ||
| 22 | 14#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 23 | 1 | 24 | 16#include·<dune/functions/common/signature.hh> |
| 25 | 17#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 26 | 18#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 27 | 19#include·<dune/functions/common/differentiablefunction.hh> | ||
| 28 | 20#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 29 | 21#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 24 | 16#include·<dune/localfunctions/crouzeixraviart.hh> | ||
| 25 | 17 | ||
| 26 | 18#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 27 | 19#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 28 | 20#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 29 | 21 | ||
| 30 | 22 | 30 | 22 |
| 31 | 23 | ||
| 31 | 2 | 32 | 24namespace·Dune·{ |
| 32 | 2 | 33 | 25namespace·Functions·{ |
| 33 | 25 | ||
| 34 | 26 | 34 | 26 |
| 35 | /·***************************************************************************** | ||
| 36 | 27//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 37 | 28// | ||
| 38 | 29//·RannacherTurekPreBasis | ||
| 39 | 30//·RannacherTurekNode | ||
| 40 | 31// | ||
| 41 | 32//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 42 | shared | ||
| 43 | 33//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 44 | 34//·and·can·be·used·without·a·global·basis. | ||
| 45 | 35/ | ||
| 46 | /·***************************************************************************** | ||
| 47 | 36 | ||
| 48 | 37template<typename·GV> | ||
| 49 | 35 | 27namespace·Imp·{ | |
| 36 | 28 | ||
| 37 | 29template<class·Signature,·class·GV,·class·FLocal,·template<class>·class | ||
| 38 | DerivativeTraits=DefaultDerivativeTraits> | ||
| 39 | 30class·LocalAnalyticGridViewFunction; | ||
| 40 | 31 | ||
| 41 | 32template<class·Range,·class·LocalDomain,·class·GV,·class·F,·template<class> | ||
| 42 | class·DerivativeTraits> | ||
| 43 | 33class·LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F, | ||
| 44 | DerivativeTraits> | ||
| 45 | 34{ | ||
| 46 | 35public: | ||
| 47 | 36·using·Signature·=·Range(LocalDomain); | ||
| 48 | 37·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 49 | 38·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 50 | (LocalDomain); | ||
| 50 | 39 | 51 | 39 |
| 51 | 40template<typename·GV> | ||
| 52 | 41class·RannacherTurekPreBasis; | ||
| 53 | 42 | ||
| 54 | 55template<typename·GV> | ||
| 55 | 56class·RannacherTurekPreBasis·: | ||
| 56 | 57·public·LeafPreBasisMixin<·RannacherTurekPreBasis<GV>·> | ||
| 57 | 58{ | ||
| 58 | 59·static·const·int·dim·=·GV::dimension; | ||
| 59 | 60 | ||
| 60 | 61public: | ||
| 61 | 62 | ||
| 62 | 64·using·GridView·=·GV; | ||
| 63 | 65 | ||
| 64 | 52 | 40·using·GridView·=·GV; | |
| 53 | 41·using·EntitySet·=·GridViewEntitySet<GridView,·0>; | ||
| 54 | 42·using·Element·=·typename·EntitySet::Element; | ||
| 55 | 43//·using·Geometry·=·typename·Element::Geometry; | ||
| 56 | 44·using·Geometry·=·std::decay_t<typename·Element::Geometry>; | ||
| 57 | 45 | ||
| 58 | 46·//·Use·the·indirection·via·derivativeIfImplemented·to·also·support | ||
| 59 | 47·//·function·types·F·that·do·not·implement·derivative.·In·this·case | ||
| 60 | 48·//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for | ||
| 61 | 49·//·the·derivative·type | ||
| 62 | 50·using·DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>; | ||
| 63 | 51·using·GlobalRawDerivative·=·decltype(Imp:: | ||
| 64 | derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>())); | ||
| 65 | 52·using·LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature, | ||
| 66 | GridView,·GlobalRawDerivative,·DerivativeTraits>; | ||
| 67 | 53 | ||
| 68 | 55·template<class·FT,·disableCopyMove<LocalAnalyticGridViewFunction,·FT>·=·0> | ||
| 69 | 56·LocalAnalyticGridViewFunction(FT&&·f)·: | ||
| 70 | 57·f_(std::forward<FT>(f)) | ||
| 71 | 58·{} | ||
| 72 | 59 | ||
| 73 | 61·template<class·FT> | ||
| 74 | 62·LocalAnalyticGridViewFunction(FT&&·f,·const·Element&·element,·const·std:: | ||
| 75 | optional<Geometry>&·geometry)·: | ||
| 76 | 63·f_(std::forward<FT>(f)), | ||
| 77 | 64·element_(element), | ||
| 78 | 65·geometry_(geometry) | ||
| 79 | 66·{} | ||
| 80 | 67 | ||
| 65 | 68 | 81 | 68 |
| 82 | 77·void·bind(const·Element&·element) | ||
| 66 | 70·using·Node·=·RannacherTurekNode<GV>; | ||
| 67 | 71 | ||
| 68 | 73·RannacherTurekPreBasis(const·GridView&·gv)·: | ||
| 69 | 74·gridView_(gv) | ||
| 70 | 7 | 83 | 78·{ |
| 84 | 79·element_·=·element; | ||
| 85 | 80·geometry_.emplace(element_.geometry()); | ||
| Max diff block lines reached; 17051/22660 bytes (75.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 62 lines modified | Offset 88, 70 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">t | 94 | ··<div·class="headertitle"><div·class="title">discreteglobalbasisfunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<memory></code><br·/> |
| 98 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 99 | <code>#include·< | 98 | <code>#include·<optional></code><br·/> |
| 99 | <code>#include·<dune/common/typetraits.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> | ||
| 101 | <code>#include·<dune/grid/utility/hierarchicsearch.hh></code><br·/> | ||
| 102 | <code>#include·<dune/common/typetree/traversal.hh></code><br·/> | ||
| 103 | <code>#include·<dune/common/typetree/treecontainer.hh></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00 | 104 | <code>#include·<<a·class="el"·href="a00242_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a001 | 105 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> |
| 102 | <code>#include·<<a·class="el"·href="a00 | 106 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 107 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 108 | <code>#include·<<a·class="el"·href="a03874_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> | ||
| 109 | <code>#include·<<a·class="el"·href="a00263_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
| 103 | </div> | 110 | </div> |
| 104 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> | 111 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 105 | <table·class="memberdecls"> | 112 | <table·class="memberdecls"> |
| 106 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 107 | Classes</h2></td></tr> | 114 | Classes</h2></td></tr> |
| 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ATaylorHoodPreBasis_3C_20GV_2C_20HI_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ATaylorHoodPreBasis_3C_20GV_2C_20HI_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02158.html">Dune::Functions::TaylorHoodPreBasis<·GV,·HI·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·lowest·order·Taylor-Hood·basis.··<a·href="a02158.html#details">More...</a><br·/></td></tr> | ||
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ATaylorHoodVelocityTree_3C_20GV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ATaylorHoodVelocityTree_3C_20GV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02150.html">Dune::Functions::TaylorHoodVelocityTree<·GV·></a></td></tr> | ||
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 115 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AImplDoc_3A_3ADiscreteGlobalBasisFunctionBase_3C_20B_2C_20V_2C_20NTRE_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AImplDoc_3A_3ADiscreteGlobalBasisFunctionBase_3C_20B_2C_20V_2C_20NTRE_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·c[·...·truncated·by·diffoscope;·len:·141,·SHA:·c07e5597e725767aa4dcb2d8924ceee8c760085a4bcfc38f936208a023eff31d·...·]·></a></td></tr> |
| 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AImplDoc_3A_3ADiscreteGlobalBasisFunctionBase_3C_20B_2C_20V_2C_20NTRE_20_3E_3A_3AData"·id="r_Dune_3A_3AFunctions_3A_3AImplDoc_3A_3ADiscreteGlobalBasisFunctionBase_3C_20B_2C_20V_2C_20NTRE_20_3E_3A_3AData"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02214.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::Data</a></td></tr> | ||
| 117 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AImplDoc_3A_3ADiscreteGlobalBasisFunctionBase_3C_20B_2C_20V_2C_20NTRE_20_3E_3A_3ALocalFunctionBase"·id="r_Dune_3A_3AFunctions_3A_3AImplDoc_3A_3ADiscreteGlobalBasisFunctionBase_3C_20B_2C_20V_2C_20NTRE_20_3E_3A_3ALocalFunctionBase"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02218.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase</a></td></tr> | ||
| 118 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunction_3C_20B_2C_20V_2C_20NTRE_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunction_3C_20B_2C_20V_2C_20NTRE_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02226.html">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·></a></td></tr> | ||
| 119 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.··<a·href="a02226.html#details">More...</a><br·/></td></tr> | ||
| 120 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunction_3C_20B_2C_20V_2C_20NTRE_2C_20R_20_3E_3A_3ALocalFunction"·id="r_Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunction_3C_20B_2C_20V_2C_20NTRE_2C_20R_20_3E_3A_3ALocalFunction"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02230.html">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction</a></td></tr> | ||
| 121 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunctionDerivative_3C_20DGBF_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunctionDerivative_3C_20DGBF_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02222.html">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·></a></td></tr> | ||
| 122 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·of·a·<span·class="tt"><a·class="el"·href="a02226.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a></span>.··<a·href="a02222.html#details">More...</a><br·/></td></tr> | ||
| 123 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunctionDerivative_3C_20DGBF_20_3E_3A_3ALocalFunction"·id="r_Dune_3A_3AFunctions_3A_3ADiscreteGlobalBasisFunctionDerivative_3C_20DGBF_20_3E_3A_3ALocalFunction"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02234.html">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction</a></td></tr> | ||
| 124 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">local·function·evaluating·the·derivative·in·reference·coordinates··<a·href="a02234.html#details">More...</a><br·/></td></tr> | ||
| 112 | </table><table·class="memberdecls"> | 125 | </table><table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 126 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 114 | Namespaces</h2></td></tr> | 127 | Namespaces</h2></td></tr> |
| 115 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 128 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 116 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 129 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 130 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AImplDoc"·id="r_Dune_3A_3AFunctions_3A_3AImplDoc"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html">Dune::Functions::ImplDoc</a></td></tr> | ||
| 117 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 118 | </table><table·class="memberdecls"> | ||
| 119 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 120 | Typedefs</h2></td></tr> | ||
| 121 | <tr·class="memitem:ga4a58d555b1cadb5e780c43099c6b1f30"·id="r_ga4a58d555b1cadb5e780c43099c6b1f30"><td·class="memTemplParams"·colspan="2">template<typename·GV>·</td></tr> | ||
| 122 | <tr·class="memitem:ga4a58d555b1cadb5e780c43099c6b1f30·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga4a58d555b1cadb5e780c43099c6b1f30">Dune::Functions::TaylorHoodBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a02158.html">TaylorHoodPreBasis</a><GV>·></td></tr> | ||
| 123 | <tr·class="memdesc:ga4a58d555b1cadb5e780c43099c6b1f30"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element·space.··<br·/></td></tr> | ||
| 124 | </table><table·class="memberdecls"> | 131 | </table><table·class="memberdecls"> |
| 125 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 132 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 126 | Functions</h2></td></tr> | 133 | Functions</h2></td></tr> |
| 127 | <tr·class="memitem:ga2384fc6a8ee2005fb29adb7221609ce3"·id="r_ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga2384fc6a8ee2005fb29adb7221609ce3">Dune::Functions::BasisFactory::taylorHood</a>·()</td></tr> | ||
| 128 | <tr·class="mem | 134 | <tr·class="memitem:ga9f1a8d6ac1558adad6150feb9b4e3168"·id="r_ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memTemplParams"·colspan="2">template<typename·R,·typename·B,·typename·V>·</td></tr> |
| 135 | <tr·class="memitem:ga9f1a8d6ac1558adad6150feb9b4e3168·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#ga9f1a8d6ac1558adad6150feb9b4e3168">Dune::Functions::makeDiscreteGlobalBasisFunction</a>·(B·&&basis,·V·&&vector)</td></tr> | ||
| 136 | <tr·class="memdesc:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·<a·class="el"·href="a02226.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a>.··<br·/></td></tr> | ||
| 129 | </table> | 137 | </table> |
| 130 | </div><!--·contents·--> | 138 | </div><!--·contents·--> |
| 131 | </div><!--·doc-content·--> | 139 | </div><!--·doc-content·--> |
| 132 | <div·id="page-nav"·class="page-nav-panel"> | 140 | <div·id="page-nav"·class="page-nav-panel"> |
| 133 | <div·id="page-nav-resize-handle"></div> | 141 | <div·id="page-nav-resize-handle"></div> |
| 134 | <div·id="page-nav-tree"> | 142 | <div·id="page-nav-tree"> |
| 135 | <div·id="page-nav-contents"> | 143 | <div·id="page-nav-contents"> |
| 136 | </div><!--·page-nav-contents·--> | 144 | </div><!--·page-nav-contents·--> |
| 137 | </div><!--·page-nav-tree·--> | 145 | </div><!--·page-nav-tree·--> |
| 138 | </div><!--·page-nav·--> | 146 | </div><!--·page-nav·--> |
| 139 | </div><!--·container·--> | 147 | </div><!--·container·--> |
| 140 | <!--·start·footer·part·--> | 148 | <!--·start·footer·part·--> |
| 141 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 149 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 142 | ··<ul> | 150 | ··<ul> |
| 143 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 151 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00059.html">discreteglobalbasisfunction.hh</a></li> |
| 144 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 152 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 145 | ··</ul> | 153 | ··</ul> |
| 146 | </div> | 154 | </div> |
| 147 | </body> | 155 | </body> |
| 148 | </html> | 156 | </html> |
| Offset 1, 35 lines modified | Offset 1, 50 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | t | 5 | discreteglobalbasisfunction.hh·File·Reference |
| 6 | #include·<memory> | ||
| 7 | #include·<optional> | ||
| 6 | #include·<dune/common/ | 8 | #include·<dune/common/typetraits.hh> |
| 7 | #include·<dune/common/ | 9 | #include·<dune/common/shared_ptr.hh> |
| 8 | #include·<dune/ | 10 | #include·<dune/grid/utility/hierarchicsearch.hh> |
| 11 | #include·<dune/common/typetree/traversal.hh> | ||
| 12 | #include·<dune/common/typetree/treecontainer.hh> | ||
| 9 | #include·<dune/functions/functionspacebases/node | 13 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> |
| 10 | #include·<dune/functions/functionspacebases/la | 14 | #include·<dune/functions/functionspacebases/flatvectorview.hh> |
| 11 | #include·<dune/functions/functions | 15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 17 | #include·<dune/functions/backends/concepts.hh> | ||
| 18 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
| 12 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 13 | Classes | 20 | Classes |
| 14 | class· ·Dune::Functions::TaylorHoodPreBasis<_GV,_HI_> | ||
| 15 | ·······Pre-basis·for·lowest·order·Taylor-Hood·basis.·More... | ||
| 16 | class· ·Dune::Functions::TaylorHoodVelocityTree<_GV_> | ||
| 17 | class· ·Dune::Functions:: | 21 | ·class· ·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE |
| 22 | ·········> | ||
| 23 | struct· ·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
| 24 | ·········>::Data | ||
| 25 | ·class· ·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
| 26 | ·········>::LocalFunctionBase | ||
| 27 | ·class· ·Dune::Functions::DiscreteGlobalBasisFunction<_B,_V,_NTRE,_R_> | ||
| 28 | ········A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector. | ||
| 29 | ·········More... | ||
| 30 | ·class· ·Dune::Functions::DiscreteGlobalBasisFunction<_B,_V,_NTRE,_R_>:: | ||
| 31 | ·········LocalFunction | ||
| 32 | ·class· ·Dune::Functions::DiscreteGlobalBasisFunctionDerivative<_DGBF_> | ||
| 33 | ········Derivative·of·a·DiscreteGlobalBasisFunction.·More... | ||
| 34 | ·class· ·Dune::Functions::DiscreteGlobalBasisFunctionDerivative<_DGBF_>:: | ||
| 35 | ·········LocalFunction | ||
| 36 | ········local·function·evaluating·the·derivative·in·reference·coordinates | ||
| 37 | ·········More... | ||
| 18 | Namespaces | 38 | Namespaces |
| 19 | namespace· ·Dune | 39 | namespace· ·Dune |
| 20 | namespace· ·Dune::Functions | 40 | namespace· ·Dune::Functions |
| 21 | namespace· ·Dune::Functions:: | 41 | namespace· ·Dune::Functions::ImplDoc |
| 22 | Typedefs | ||
| 23 | template<typename·GV> | ||
| 24 | using ·Dune::Functions::TaylorHoodBasis·= | ||
| 25 | ·······DefaultGlobalBasis<TaylorHoodPreBasis<GV>·> | ||
| 26 | ······Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element | ||
| 27 | ·······space. | ||
| 28 | Functions | 42 | Functions |
| 29 | auto ·Dune::Functions::BasisFactory::taylorHood·() | ||
| 30 | 43 | template<typename·R,·typename·B,·typename·V> | |
| 44 | auto ·Dune::Functions::makeDiscreteGlobalBasisFunction·(B·&&basis,·V·&&vector) | ||
| 45 | ·····Generate·a·DiscreteGlobalBasisFunction. | ||
| 31 | ····*·dune | 46 | ····*·dune |
| 32 | ····*·functions | 47 | ····*·functions |
| 33 | ····*·functionspacebases | ||
| 34 | ····*· | 48 | ····*·gridfunctions |
| 49 | ····*·discreteglobalbasisfunction.hh | ||
| 35 | ····*·Generated·by·[doxygen]1.15.0 | 50 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 6 lines modified | Offset 1, 8 lines modified | ||
| 1 | var·a00059·=·[ | 1 | var·a00059·=·[ |
| 2 | ····["Dune::Functions::TaylorHoodVelocityTree<·GV·>",·"a02150.html",·"a02150"], | ||
| 3 | ····["Dune::Functions::TaylorHoodBasisTree<·GV·>",·"a02154.html",·"a02154"], | ||
| 4 | ····["Dune::Functions::TaylorHoodBasis",·"a00312.html#ga4a58d555b1cadb5e780c43099c6b1f30",·null], | ||
| 5 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>",·"a02210.html",·"a02210"], |
| 3 | ····["Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::Data",·"a02214.html",·"a02214"], | ||
| 4 | ····["Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase",·"a02218.html",·"a02218"], | ||
| 5 | ····["Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction",·"a02230.html",·"a02230"], | ||
| 6 | ····["Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction",·"a02234.html",·"a02234"], | ||
| 7 | ····["Dune::Functions::makeDiscreteGlobalBasisFunction",·"a00308.html#ga9f1a8d6ac1558adad6150feb9b4e3168",·null] | ||
| 6 | ]; | 8 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 414 lines modified | Offset 88, 704 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">t | 94 | ··<div·class="headertitle"><div·class="title">discreteglobalbasisfunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memory></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> |
| 109 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 111 | <div·class="line"><a·id="l0001 | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> |
| 112 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/shared_ptr.hh></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/grid/utility/hierarchicsearch.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 114 | <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="a00317.html">Dune</a>·{</div> | ||
| 115 | <div·class="line"><a·id="l0001 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/typetree/traversal.hh></span></div> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/common/typetree/treecontainer.hh></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00242.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a03874.html">dune/functions/backends/concepts.hh</a>></span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00263.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
| 117 | <div·class="line"><a·id="l0002 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 119 | <div·class="line"><a·id="l0002 | 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> |
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 120 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//···TaylorHoodPreBasis</span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//···TaylorHoodBasisTree</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//···TaylorHoodVelocityTree</span></div> | ||
| 124 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 128 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00332.html">···32</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00332.html">ImplDoc</a>·{</div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">typename</span>· | 131 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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> |
| 131 | <div·class=" | 132 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> |
| 133 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a02210.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02210.html#a91a8cf0d245095a4c91615f42ffb4f4c">DiscreteGlobalBasisFunctionBase</a></div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 134 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> |
| 133 | <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> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02154.html">TaylorHoodBasisTree</a>;</div> | ||
| 135 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> |
| 136 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a02210.html#a3692f2d61e9901fcc190337eb0c8d2c3">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a3692f2d61e9901fcc190337eb0c8d2c3">Basis</a>·=[·...·truncated·by·diffoscope;·len:·2,·SHA:·c908bbb497afc0b8942366e80ba64513e9af8cf0d36e8b3f25e5438c0c509eb0·...·];</div> |
| 137 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02210.html#a4f1c5b75cd112f7524b65de9e68c6f4c">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a4f1c5b75cd112f7524b65de9e68c6f4c">Vector</a>·=·V;</div> | ||
| 138 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·In·order·to·make·the·cache·work·for·proxy-references</span></div> | ||
| 140 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="comment">//·we·have·to·use·AutonomousValue<T>·instead·of·std::decay_t<T></span></div> | ||
| 141 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02210.html#ad8324d107176745d5db37c17e160fb51">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#ad8324d107176745d5db37c17e160fb51">Coefficient</a>·=·Dune::AutonomousValue<decltype(std::declval<Vector>()[std::declval<typename·Basis::MultiIndex>()])>;</div> | ||
| 142 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
| 143 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a02210.html#a94980a3da72955394fdf377b328aa6cd">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a94980a3da72955394fdf377b328aa6cd">GridView</a>·=·<span·class="keyword">typename</span>·Basis::GridView;</div> | ||
| 144 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a02210.html#aa0f3fc49504b54be8b78cb443b447747">···46</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#aa0f3fc49504b54be8b78cb443b447747">EntitySet</a>·=·<a·class="code·hl_class"·href="a02278.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
| 145 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02210.html#a3a7684473e5977409b31ad9954d60b17">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a3a7684473e5977409b31ad9954d60b17">Tree</a>·=·<span·class="keyword">typename</span>·Basis::LocalView::Tree;</div> | ||
| 146 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02210.html#a919c73d3602d7770ab2aa6ec9beaa2df">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a919c73d3602d7770ab2aa6ec9beaa2df">NodeToRangeEntry</a>·=·NTRE;</div> | ||
| 147 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02210.html#ac531ebbef4d77df5dd685f2f26024f95">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#ac531ebbef4d77df5dd685f2f26024f95">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| 149 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a02210.html#a778a8d51295ab8988578c8ec5c80f15a">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a778a8d51295ab8988578c8ec5c80f15a">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
| 151 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02210.html#a7669d95a17a5a94621074923290978b7">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02210.html#a7669d95a17a5a94621074923290978b7">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
| 152 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">protected</span>:</div> | ||
| 154 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="comment">//·This·collects·all·data·that·is·shared·by·all·related</span></div> | ||
| 156 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//·global·and·local·functions.·This·way·we·don't·need·to</span></div> | ||
| 157 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="comment">//·keep·track·of·it·individually.</span></div> | ||
| 137 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> | 158 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> |
| 138 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02 | 159 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02214.html">···60</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02214.html">Data</a></div> |
| 139 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> | 160 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> |
| 140 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·· | 161 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02214.html#a869d1890dea002afea9673d30bf7a6f9">···62</a></span>····<a·class="code·hl_typedef"·href="a02210.html#aa0f3fc49504b54be8b78cb443b447747">EntitySet</a>·<a·class="code·hl_variable"·href="a02214.html#a869d1890dea002afea9673d30b[·...·truncated·by·diffoscope;·len:·21,·SHA:·baaad07fe09cfffc1db004c3f384c657375b32b6b89877ebce799796ddf536bf·...·];</div> |
| 162 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02214.html#aa8af2b92d6781bed52269bfaf15a03d7">···63</a></span>····std::shared_ptr<const·Basis>·<a·class="code·hl_variable"·href="a02214.html#aa8af2b92d6781bed52269bfaf15a03d7">basis</a>;</div> | ||
| 163 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02214.html#ab0ba9b881560f475ebfbc8245e898f06">···64</a></span>····std::shared_ptr<const·Vector>·<a·class="code·hl_variable"·href="a02214.html#ab0ba9b881560f475ebfbc8245e898f06">coefficients</a>;</div> | ||
| 164 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02214.html#a8806af774b27a785e8a4eb0d58df560c">···65</a></span>····std::shared_ptr<const·NodeToRangeEntry>·<a·class="code·hl_variable"·href="a02214.html#a8806af774b27a785e8a4eb0d58df560c">nodeToRangeEntry</a>;</div> | ||
| 141 | <div·class="line"><a·id="l0006 | 165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div> |
| 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">public</span>:</div> | ||
| 145 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span></div> | ||
| 146 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02158.html#a4fbd3d92587a03f3871066968035f194">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02158.html#a4fbd3d92587a03f3871066968035f194">GridView</a>·=·GV;</div> | ||
| 147 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span></div> | ||
| 148 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02158.html#aeed4421421902dc5900eedca651e56b9">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02158.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t;</div> | ||
| 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> | ||
| 150 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02158.html#a8082f8fdbed2c5236bd5a318dd05fe6a">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02158.html#a8082f8fdbed2c5236bd5a318dd05fe6a">Node</a>·=·<a·class="code·hl_class"·href="a02154.html">TaylorHoodBasisTree<GV></a>;</div> | ||
| 151 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 152 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a02158.html#aa392e5ef9f61616b5761fe47dec36471">···77</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02158.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a02158.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>·=·useHybridIndices·?·3·:·2;</div> | ||
| 153 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02158.html#a2ab779870149b404f47be6e5550257ea">···78</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02158.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a02158.html#a2ab779870149b404f47be6e5550257ea">minMultiIndexSize</a>·=·2;</div> | ||
| 154 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02158.html#ac232b435a11882f871f15bb1dc9b70aa">···79</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02158.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a02158.html#ac232b435a11882f871f15bb1dc9b70aa">multiIndexBufferSize</a>·=·<a·class="code·hl_variable"·href="a02158.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>;</div> | ||
| 155 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> | ||
| 157 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
| 158 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">using·</span>PQ1PreBasis·=·<a·class="code·hl_class"·href="a01934.html">LagrangePreBasis<GV,1></a>;</div> | ||
| 159 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">using·</span>PQ2PreBasis·=·<a·class="code·hl_class"·href="a01934.html">LagrangePreBasis<GV,2></a>;</div> | ||
| 160 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
| Max diff block lines reached; 168362/206980 bytes (81.34%) of diff not shown. | |||
| Offset 1, 465 lines modified | Offset 1, 884 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | t | 5 | discreteglobalbasisfunction.hh |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TAYLORHOODBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<memory> | ||
| 19 | 11#include·<optional> | ||
| 20 | 12 | ||
| 18 | 1 | 21 | 13#include·<dune/common/typetraits.hh> |
| 19 | 1 | 22 | 14#include·<dune/common/shared_ptr.hh> |
| 23 | 15 | ||
| 24 | 16#include·<dune/grid/utility/hierarchicsearch.hh> | ||
| 20 | 12#include·<dune/common/indices.hh> | ||
| 21 | 13 | ||
| 22 | 14#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 23 | 15#include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
| 24 | 16#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 25 | 17 | 25 | 17 |
| 26 | 18namespace·Dune·{ | ||
| 27 | 1 | 26 | 18#include·<dune/common/typetree/traversal.hh> |
| 27 | 19#include·<dune/common/typetree/treecontainer.hh> | ||
| 28 | 20 | 28 | 20 |
| 29 | 21#include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
| 30 | 22#include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
| 31 | 23#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 32 | 24#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 33 | 25#include·<dune/functions/backends/concepts.hh> | ||
| 34 | 26#include·<dune/functions/backends/istlvectorbackend.hh> | ||
| 35 | 27 | ||
| 36 | 28namespace·Dune·{ | ||
| 37 | 29namespace·Functions·{ | ||
| 38 | 30 | ||
| 39 | 31 | ||
| 40 | 32namespace·ImplDoc·{ | ||
| 29 | 21 | ||
| 30 | 22/ | ||
| 31 | /·***************************************************************************** | ||
| 32 | 23//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 33 | 24// | ||
| 34 | 25//·TaylorHoodPreBasis | ||
| 35 | 26//·TaylorHoodBasisTree | ||
| 36 | 27//·TaylorHoodVelocityTree | ||
| 37 | 28// | ||
| 38 | 29//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 39 | shared | ||
| 40 | 30//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 41 | 31//·and·can·be·used·without·a·global·basis. | ||
| 42 | 32/ | ||
| 43 | /·***************************************************************************** | ||
| 44 | 33 | 41 | 33 |
| 45 | 34template<typename·GV> | ||
| 46 | 3 | 42 | 34template<typename·B,·typename·V,·typename·NTRE> |
| 43 | 35class·DiscreteGlobalBasisFunctionBase | ||
| 47 | 36 | 44 | 36{ |
| 48 | 37template<typename·GV> | ||
| 49 | 38class·TaylorHoodBasisTree; | ||
| 50 | 39 | ||
| 51 | 59template<typename·GV,·bool·HI=false> | ||
| 52 | 60class·TaylorHoodPreBasis | ||
| 53 | 61{ | ||
| 54 | 62·static·const·bool·useHybridIndices·=·HI; | ||
| 55 | 63 | ||
| 56 | 64·static·const·int·dim·=·GV::dimension; | ||
| 57 | 65 | ||
| 58 | 45 | 37public: | |
| 46 | 38·using·Basis·=·B; | ||
| 47 | 39·using·Vector·=·V; | ||
| 48 | 40 | ||
| 49 | 41·//·In·order·to·make·the·cache·work·for·proxy-references | ||
| 50 | 42·//·we·have·to·use·AutonomousValue<T>·instead·of·std::decay_t<T> | ||
| 51 | 43·using·Coefficient·=·Dune::AutonomousValue<decltype(std::declval<Vector>() | ||
| 52 | [std::declval<typename·Basis::MultiIndex>()])>; | ||
| 53 | 44 | ||
| 54 | 45·using·GridView·=·typename·Basis::GridView; | ||
| 55 | 46·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
| 56 | 47·using·Tree·=·typename·Basis::LocalView::Tree; | ||
| 57 | 48·using·NodeToRangeEntry·=·NTRE; | ||
| 58 | 49 | ||
| 59 | 50·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 60 | 51 | ||
| 61 | 52·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 62 | 53·using·Element·=·typename·EntitySet::Element; | ||
| 63 | 54 | ||
| 64 | 55protected: | ||
| 65 | 56 | ||
| 66 | 57·//·This·collects·all·data·that·is·shared·by·all·related | ||
| 67 | 58·//·global·and·local·functions.·This·way·we·don't·need·to | ||
| 68 | 59·//·keep·track·of·it·individually. | ||
| 69 | 60·struct·Data | ||
| 70 | 61·{ | ||
| 71 | 62·EntitySet·entitySet; | ||
| 72 | 63·std::shared_ptr<const·Basis>·basis; | ||
| 73 | 64·std::shared_ptr<const·Vector>·coefficients; | ||
| 74 | 65·std::shared_ptr<const·NodeToRangeEntry>·nodeToRangeEntry; | ||
| 75 | 66·}; | ||
| 59 | 67 | 76 | 67 |
| 60 | 69·using·GridView·=·GV; | ||
| 61 | 77 | 68public: | |
| 78 | 69·class·LocalFunctionBase | ||
| 79 | 70·{ | ||
| 80 | 71·using·LocalView·=·typename·Basis::LocalView; | ||
| 62 | 72·using·size_type·=· | 81 | 72·using·size_type·=·typename·Tree::size_type; |
| 63 | 73 | 82 | 73 |
| 64 | 75·using·Node·=·TaylorHoodBasisTree<GV>; | ||
| 65 | 76 | ||
| 66 | 77·static·constexpr·size_type·maxMultiIndexSize·=·useHybridIndices·?·3·:·2; | ||
| 67 | 78·static·constexpr·size_type·minMultiIndexSize·=·2; | ||
| 68 | 79·static·constexpr·size_type·multiIndexBufferSize·=·maxMultiIndexSize; | ||
| 69 | 80 | ||
| 70 | 81private: | ||
| 71 | 82 | ||
| 72 | 83·using·PQ1PreBasis·=·LagrangePreBasis<GV,1>; | ||
| 73 | 83 | 74·public: | |
| 84 | 75·using·Domain·=·LocalDomain; | ||
| Max diff block lines reached; 42120/46850 bytes (89.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 46 lines modified | Offset 88, 57 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridviewfunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<memory></code><br·/> |
| 98 | <code>#include·<c | 98 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 99 | <code>#include·<type_traits></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00 | 99 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 100 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code><br·/> | ||
| 101 | </div> | 102 | </div> |
| 102 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 103 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 105 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALeafPreBasisMixin_3C_20Derived_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALeafPreBasisMixin_3C_20Derived_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01946.html">Dune::Functions::LeafPreBasisMixin<·Derived·></a></td></tr> | ||
| 107 | <tr·class="mem | 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AGridViewFunction_3C_20Signature_2C_20GridView_2C_20DerivativeTraits_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AGridViewFunction_3C_20Signature_2C_20GridView_2C_20DerivativeTraits_2C_20bufferSize_20_3E"><td·class="me[·...·truncated·by·diffoscope;·len:·224,·SHA:·db2d581b8fe7f3e560ca0f0cc13f3c4bd84938c79c7a7b6e162633344c7c0c59·...·]></td></tr> |
| 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AGridViewFunction_3C_20Range_28Domain_29_2C_20GV_2C_20DerivativeTraits_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AGridViewFunction_3C_20Range_28Domain_29_2C_20GV_2C_20DerivativeTraits_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02286.html">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·<a·class="el"·href="a02286.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">GridView</a>.··<a·href="a02286.html#details">More...</a><br·/></td></tr> | ||
| 108 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
| 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
| 111 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 113 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 114 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 115 | </table><table·class="memberdecls"> | ||
| 116 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 117 | Functions</h2></td></tr> | ||
| 118 | <tr·class="memitem:a34ad74c81e35af361861f667bf9742c0"·id="r_a34ad74c81e35af361861f667bf9742c0"><td·class="memTemplParams"·colspan="2">template<class·F,·class·GridView,·std::enable_if_t<·models<·Imp::HasFreeLocalFunction,·F·>(),·int·>·=·0>·</td></tr> | ||
| 119 | <tr·class="memitem:a34ad74c81e35af361861f667bf9742c0·template"><td·class="memItemLeft"·align="right"·valign="top">std::decay_t<·F·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a34ad74c81e35af361861f667bf9742c0">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
| 120 | <tr·class="memdesc:a34ad74c81e35af361861f667bf9742c0"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a02282.html">GridViewFunction</a>·from·function·and·grid·view.··<br·/></td></tr> | ||
| 121 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"·id="r_a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplParams"·colspan="2">template<class·F,·class·GridView,·std::enable_if_t<·not(models<·Imp::HasFreeLocalFunction,·F·>()),·int·>·=·0>·</td></tr> | ||
| 122 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a34f2d140a1fed46862286f68d26c9975">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)·->·decltype(<a·class="el"·href="a00308.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<·F·>(f),·gridView))</td></tr> | ||
| 123 | <tr·class="memdesc:a34f2d140a1fed46862286f68d26c9975"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a02282.html">GridViewFunction</a>·from·function·and·grid·view.··<br·/></td></tr> | ||
| 113 | </table> | 124 | </table> |
| 114 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 115 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
| 116 | <div·id="page-nav"·class="page-nav-panel"> | 127 | <div·id="page-nav"·class="page-nav-panel"> |
| 117 | <div·id="page-nav-resize-handle"></div> | 128 | <div·id="page-nav-resize-handle"></div> |
| 118 | <div·id="page-nav-tree"> | 129 | <div·id="page-nav-tree"> |
| 119 | <div·id="page-nav-contents"> | 130 | <div·id="page-nav-contents"> |
| 120 | </div><!--·page-nav-contents·--> | 131 | </div><!--·page-nav-contents·--> |
| 121 | </div><!--·page-nav-tree·--> | 132 | </div><!--·page-nav-tree·--> |
| 122 | </div><!--·page-nav·--> | 133 | </div><!--·page-nav·--> |
| 123 | </div><!--·container·--> | 134 | </div><!--·container·--> |
| 124 | <!--·start·footer·part·--> | 135 | <!--·start·footer·part·--> |
| 125 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 136 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 126 | ··<ul> | 137 | ··<ul> |
| 127 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 138 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00062.html">gridviewfunction.hh</a></li> |
| 128 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 139 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 129 | ··</ul> | 140 | ··</ul> |
| 130 | </div> | 141 | </div> |
| 131 | </body> | 142 | </body> |
| 132 | </html> | 143 | </html> |
| Offset 1, 21 lines modified | Offset 1, 39 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | leafprebasismixin.hh·File·Reference | ||
| 6 | #include·<cassert> | ||
| 7 | #include·<cstddef> | ||
| 8 | #include·<type_traits> | ||
| 9 | 5 | gridviewfunction.hh·File·Reference | |
| 6 | #include·<memory> | ||
| 7 | #include·<dune/common/concept.hh> | ||
| 8 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 9 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 10 | #include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 10 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 11 | Classes | 12 | Classes |
| 12 | class· ·Dune::Functions::LeafPreBasisMixin<_Derived_> | ||
| 13 | 13 | class· ·Dune::Functions::GridViewFunction<_Signature,_GridView, | |
| 14 | ········DerivativeTraits,_bufferSize_> | ||
| 15 | class· ·Dune::Functions::GridViewFunction<_Range(Domain),_GV,_DerivativeTraits, | ||
| 16 | ········bufferSize_> | ||
| 17 | ·······Wrapper·class·for·functions·defined·on·a·GridView.·More... | ||
| 14 | Namespaces | 18 | Namespaces |
| 15 | namespace· ·Dune | 19 | namespace· ·Dune |
| 16 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 21 | Functions | ||
| 22 | template<class·F,·class·GridView,·std::enable_if_t<·models<·Imp:: | ||
| 23 | HasFreeLocalFunction,·F·>(),·int·>·=·0> | ||
| 24 | std::decay_t<·F·> ·Dune::Functions::makeGridViewFunction·(F·&&f,·const·GridView | ||
| 25 | ···················&gridView) | ||
| 26 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 27 | ···················and·grid·view. | ||
| 28 | template<class·F,·class·GridView,·std::enable_if_t<·not(models<·Imp:: | ||
| 29 | HasFreeLocalFunction,·F·>()),·int·>·=·0> | ||
| 30 | ·············auto ·Dune::Functions::makeGridViewFunction·(F·&&f,·const·GridView | ||
| 31 | ···················&gridView)·->·decltype(makeAnalyticGridViewFunction(std:: | ||
| 32 | ···················forward<·F·>(f),·gridView)) | ||
| 33 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 34 | ···················and·grid·view. | ||
| 17 | ····*·dune | 35 | ····*·dune |
| 18 | ····*·functions | 36 | ····*·functions |
| 19 | ····*·functionspacebases | ||
| 20 | ····*· | 37 | ····*·gridfunctions |
| 38 | ····*·gridviewfunction.hh | ||
| 21 | ····*·Generated·by·[doxygen]1.15.0 | 39 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00062·=·[ | 1 | var·a00062·=·[ |
| 2 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·>",·"a02282.html",·null], |
| 3 | ····["Dune::Functions::makeGridViewFunction",·"a00318.html#a34ad74c81e35af361861f667bf9742c0",·null], | ||
| 4 | ····["Dune::Functions::makeGridViewFunction",·"a00318.html#a34f2d140a1fed46862286f68d26c9975",·null] | ||
| 3 | ]; | 5 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 100 lines modified | Offset 88, 110 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridviewfunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTION | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTION | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memory></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span> | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 110 | <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/gridfunctions/gridfunction.hh</a>></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 112 | <div·class="line"><a·id="l0001 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 114 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Derived></div> | ||
| 115 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> | ||
| 116 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01946.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01946.html">LeafPreBasisMixin</a></div> | ||
| 117 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | ||
| 118 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> | ||
| 119 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01946.html#adf6a51cb8344fc12dc05a7ea0d548ffc">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01946.html#adf6a51cb8344fc12dc05a7ea0d548ffc">size_type</a>·=·std::size_t;</div> | ||
| 120 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 121 | <div·class="line"><a·id="l000 | 115 | <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="a00317.html">Dune</a>·{</div> |
| 116 | <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="a00318.html">Functions</a>·{</div> | ||
| 122 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 123 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01946.html#a44f7f71d7e8622fca48c1a60faec1153">···45</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01946.html#adf6a51cb8344fc12dc05a7ea0d548ffc">size_type</a>·<a·class="code·hl_variable"·href="a01946.html#a44f7f71d7e8622fca48c1a60faec1153">minMultiIndexSize</a>·=·1;</div> | ||
| 124 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01946.html#af40f728e49fafeb3b84652a6ddd2328f">···48</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01946.html#adf6a51cb8344fc12dc05a7ea0d548ffc">size_type</a>·<a·class="code·hl_variable"·href="a01946.html#af40f728e49fafeb3b84652a6ddd2328f">multiIndexBufferSize</a>·=·1;</div> | ||
| 126 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 120 | <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>·Gr<span·class="keywordtype">id</span>View,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=<a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a>,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 127 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>SizePrefix,</div> | ||
| 128 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">decltype</span>(std::declval<SizePrefix>().size(),·<span·class="keywordtype">bool</span>{})·=·<span·class="keyword">true</span>></div> | ||
| 129 | <div·class="foldopen"·id="foldopen000 | 121 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> |
| 130 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02282.html">···25</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02282.html">GridViewFunction</a></div> |
| 131 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{};</div> |
| 132 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····assert(prefix.size()·==·0·||·prefix.size()·==·1);</div> | ||
| 133 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">return</span>·(prefix.size()·==·0)·?·derived().dimension()·:·0;</div> | ||
| 134 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div> | ||
| 135 | </div> | 124 | </div> |
| 136 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 137 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01946.html#aa98a790b71430cdf6802391b753f18c8">···60</a></span>··<a·class="code·hl_typedef"·href="a01946.html#adf6a51cb8344fc12dc05a7ea0d548ffc">size_type</a>·<a·class="code·hl_function"·href="a01946.html#aa98a790b71430cdf6802391b753f18c8">size</a>()<span·class="keyword">·const</span></div> | ||
| 139 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">··</span>{</div> | ||
| 140 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·derived().dimension();</div> | ||
| 141 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 127 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span></div> | ||
| 128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> | ||
| 129 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> | ||
| 130 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a02286.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02282.html">GridViewFunction</a><Range(Domain),·GV,·DerivativeTraits,·bufferSize>·:</div> | ||
| 131 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02254.html">GridFunction</a><Range(Domain),·GridViewEntitySet<GV,·0>,·DerivativeTraits,·bufferSize></div> | ||
| 132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> | ||
| 133 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">using·</span>Base·=·<a·class="code·hl_class"·href="a02254.html">GridFunction</a><Range(Domain),·<a·class="code·hl_class"·href="a02278.html">GridViewEntitySet<GV,·0></a>,·DerivativeTraits,·bufferSize>;</div> | ||
| 134 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> | ||
| 135 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02286.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02286.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">GridView</a>·=·GV;</div> | ||
| 136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">using·</span>Base::Base;</div> | ||
| 138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> | ||
| 142 | </div> | 139 | </div> |
| 143 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 144 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
| 145 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01946.html#a95b721b57e2f594e9bd986b845aa7ed8">···66</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01946.html#a95b721b57e2f594e9bd986b845aa7ed8">containerDescriptor</a>()<span·class="keyword">·const</span></div> | ||
| 146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">··</span>{</div> | ||
| 147 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a00321.html#a253fdb1e81571ea944bd6bb21bf4a06e">ContainerDescriptors::FlatVector</a>{<a·class="code·hl_function"·href="a01946.html#aa98a790b71430cdf6802391b753f18c8">size</a>()};</div> | ||
| 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> | ||
| 149 | </div> | ||
| 150 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 151 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">private</span>:</div> | ||
| 152 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">const</span>·Derived&·derived()<span·class="keyword">·const</span></div> | ||
| 153 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">··</span>{</div> | ||
| 154 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast<</span><span·class="keyword">const·</span>Derived&<span·class="keyword">></span>(*this);</div> | ||
| 155 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span></div> |
| 143 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> | ||
| 156 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··std::enable_if_t<</div> |
| 145 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····models<·Imp::HasFreeLocalFunction,·F>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 146 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>std::decay_t<F></div> | ||
| 147 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00318.html#a34ad74c81e35af361861f667bf9742c0">···72</a></span>··<a·class="code·hl_function"·href="a00318.html#a34ad74c81e35af361861f667bf9742c0">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
| 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> | ||
| 150 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">return</span>·std::forward<F>(f);</div> | ||
| 151 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> | ||
| 157 | </div> | 152 | </div> |
| 153 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 158 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 154 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
| 159 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span> | 155 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span></div> |
| 160 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> |
| 161 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··std::enable_if_t<</div> |
| 158 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····not(models<·Imp::HasFreeLocalFunction,·F>())·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 159 | <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> | ||
| 160 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00318.html#a34f2d140a1fed46862286f68d26c9975">···97</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00318.html#a34ad74c81e35af361861f667bf9742c0">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
| 161 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00308.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·gridView))</div> | ||
| 162 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>{</div> |
| 163 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> | ||
| 164 | <div·class=" | 163 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00308.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·g[·...·truncated·by·diffoscope;·len:·9,·SHA:·3186586a0381f7abb04fe0741ad6d68d7c96095a94a5f81359f2eb97081079bf·...·]</div> |
| 164 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>}</div> | ||
| 165 | </div> | ||
| 166 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | ||
| 167 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
| 168 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
| Max diff block lines reached; 6359/29989 bytes (21.20%) of diff not shown. | |||
| Offset 1, 109 lines modified | Offset 1, 114 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | gridviewfunction.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<memory> |
| 19 | 11#include·<cstddef> | ||
| 20 | 1 | 19 | 11 |
| 20 | 12#include·<dune/common/concept.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 23 | 15 | ||
| 24 | 1 | 22 | 14#include·<dune/functions/gridfunctions/gridfunction.hh> |
| 23 | 15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 24 | 16#include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 25 | 17 | 25 | 17 |
| 26 | 34template<class·Derived> | ||
| 27 | 35class·LeafPreBasisMixin | ||
| 28 | 36{ | ||
| 29 | 37public: | ||
| 30 | 39·using·size_type·=·std::size_t; | ||
| 31 | 40 | ||
| 32 | 42·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
| 33 | 43 | ||
| 34 | 45·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
| 35 | 46 | ||
| 36 | 48·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
| 37 | 49 | ||
| 38 | 51·template<class·SizePrefix, | ||
| 39 | 52·decltype(std::declval<SizePrefix>().size(),·bool{})·=·true> | ||
| 40 | 53·size_type·size(const·SizePrefix&·prefix)·const | ||
| 41 | 54·{ | ||
| 42 | 55·assert(prefix.size()·==·0·||·prefix.size()·==·1); | ||
| 43 | 56·return·(prefix.size()·==·0)·?·derived().dimension()·:·0; | ||
| 44 | 57·} | ||
| 45 | 58 | ||
| 46 | 60·size_type·size()·const | ||
| 47 | 61·{ | ||
| 48 | 62·return·derived().dimension(); | ||
| 49 | 63·} | ||
| 50 | 64 | ||
| 51 | 66·auto·containerDescriptor()·const | ||
| 52 | 67·{ | ||
| 53 | 68·return·ContainerDescriptors::FlatVector{size()}; | ||
| 54 | 69·} | ||
| 55 | 70 | ||
| 56 | 71private: | ||
| 57 | 26 | 18 | |
| 27 | 19namespace·Dune·{ | ||
| 28 | 20namespace·Functions·{ | ||
| 29 | 21 | ||
| 30 | 22 | ||
| 31 | 23 | ||
| 32 | 24template<class·Signature,·class·GridView,·template<class>·class | ||
| 33 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 34 | 25class·GridViewFunction | ||
| 35 | 26{}; | ||
| 36 | 27 | ||
| 37 | 28 | ||
| 38 | 29 | ||
| 39 | 44template<class·Range,·class·Domain,·class·GV,·template<class>·class | ||
| 40 | DerivativeTraits,·size_t·bufferSize> | ||
| 41 | 45class·GridViewFunction<Range(Domain),·GV,·DerivativeTraits,·bufferSize>·: | ||
| 42 | 46·public·GridFunction<Range(Domain),·GridViewEntitySet<GV,·0>, | ||
| 43 | DerivativeTraits,·bufferSize> | ||
| 44 | 47{ | ||
| 45 | 48·using·Base·=·GridFunction<Range(Domain),·GridViewEntitySet<GV,_0>, | ||
| 46 | DerivativeTraits,·bufferSize>; | ||
| 47 | 49public: | ||
| 48 | 50·using·GridView·=·GV; | ||
| 49 | 51 | ||
| 50 | 52·using·Base::Base; | ||
| 51 | 53}; | ||
| 52 | 54 | ||
| 53 | 55 | ||
| 54 | 56 | ||
| 55 | 68template<class·F,·class·GridView, | ||
| 56 | 69·std::enable_if_t< | ||
| 57 | 70·models<·Imp::HasFreeLocalFunction,·F>()·,·int>·=·0> | ||
| 58 | 71std::decay_t<F> | ||
| 59 | 72·makeGridViewFunction(F&&·f,·const·GridView&·gridView) | ||
| 58 | 73 | 60 | 73{ |
| 59 | 74·return·st | 61 | 74·return·std::forward<F>(f); |
| 60 | 75 | 62 | 75} |
| 61 | 76 | 63 | 76 |
| 62 | 77 | 64 | 77 |
| 63 | 78 | 65 | 78 |
| 64 | 79}·//·end·namespace·Dune::Functions | ||
| 65 | 80 | ||
| 66 | 81 | ||
| 67 | 82#endif·//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH | ||
| 68 | containerdescriptors.hh | ||
| 69 | Lightweight·representation·of·(hierarchical)·size·and·block·structure·extracted | ||
| 70 | 66 | 94template<class·F,·class·GridView, | |
| 67 | 95·std::enable_if_t< | ||
| 68 | 96·not(models<·Imp::HasFreeLocalFunction,·F>())·,·int>·=·0> | ||
| 69 | 97auto·makeGridViewFunction(F&&·f,·const·GridView&·gridView) | ||
| 70 | 98·->·decltype(makeAnalyticGridViewFunction(std::forward<F>(f),·gridView)) | ||
| 71 | 99{ | ||
| 72 | 100·return·makeAnalyticGridViewFunction(std::forward<F>(f),·gridView); | ||
| 73 | 101} | ||
| 74 | 102 | ||
| 75 | 103 | ||
| 76 | 104 | ||
| 77 | 105}·//·end·of·namespace·Dune::Functions | ||
| 78 | 106}·//·end·of·namespace·Dune | ||
| 79 | 107 | ||
| 80 | 108#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | ||
| 81 | gridfunction.hh | ||
| 82 | analyticgridviewfunction.hh | ||
| 83 | gridviewentityset.hh | ||
| 84 | Dune::Functions::makeAnalyticGridViewFunction | ||
| 85 | auto·makeAnalyticGridViewFunction(F·&&f,·const·GridView·&gridView) | ||
| 86 | Create·an·AnalyticGridViewFunction·from·a·function·and·a·grid·view. | ||
| Max diff block lines reached; 2401/6457 bytes (37.18%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 69 lines modified | Offset 88, 43 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridviewentityset.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<memory></code><br·/> |
| 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 100 | <code>#include·<dune/localfunctions/common/virtualinterface.hh></code><br·/> | ||
| 101 | <code>#include·<dune/localfunctions/common/virtualwrappers.hh></code><br·/> | ||
| 102 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></code><br·/> | ||
| 103 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></code><br·/> | ||
| 104 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></code><br·/> | ||
| 105 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></code><br·/> | ||
| 106 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></code><br·/> | ||
| 107 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
| 108 | <code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 109 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 110 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 111 | </div> | 98 | </div> |
| 112 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> | 99 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 113 | <table·class="memberdecls"> | 100 | <table·class="memberdecls"> |
| 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 115 | Classes</h2></td></tr> | 102 | Classes</h2></td></tr> |
| 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABrezziDouglasMariniPreBasis_3C_20GV_2C_20k_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABrezziDouglasMariniPreBasis_3C_20GV_2C_20k_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01674.html">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·></a></td></tr> | ||
| 117 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AGridViewEntitySet_3C_20GV_2C_20cd_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AGridViewEntitySet_3C_20GV_2C_20cd_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02278.html">D[·...·truncated·by·diffoscope;·len:·44,·SHA:·3d30a023d93f357d001a22d540059b8f4149943e41b34cd1b315f0deb6f151d1·...·]·></a></td></tr> |
| 104 | <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="a02278.html#details">More...</a><br·/></td></tr> | ||
| 118 | </table><table·class="memberdecls"> | 105 | </table><table·class="memberdecls"> |
| 119 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 120 | Namespaces</h2></td></tr> | 107 | Namespaces</h2></td></tr> |
| 121 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 108 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 122 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 109 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 123 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 124 | </table><table·class="memberdecls"> | ||
| 125 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 126 | Typedefs</h2></td></tr> | ||
| 127 | <tr·class="memitem:ae2a779cf5ab7b35346c6950e4a1e3979"·id="r_ae2a779cf5ab7b35346c6950e4a1e3979"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k>·</td></tr> | ||
| 128 | <tr·class="memitem:ae2a779cf5ab7b35346c6950e4a1e3979·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#ae2a779cf5ab7b35346c6950e4a1e3979">Dune::Functions::BrezziDouglasMariniBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01674.html">BrezziDouglasMariniPreBasis</a><GV,·k>·></td></tr> | ||
| 129 | <tr·class="memdesc:ae2a779cf5ab7b35346c6950e4a1e3979"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and·cube·grids.··<br·/></td></tr> | ||
| 130 | </table><table·class="memberdecls"> | ||
| 131 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 132 | Functions</h2></td></tr> | ||
| 133 | <tr·class="memitem:ga72847f418332ba3d5444a7f153776610"·id="r_ga72847f418332ba3d5444a7f153776610"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
| 134 | <tr·class="memitem:ga72847f418332ba3d5444a7f153776610·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga72847f418332ba3d5444a7f153776610">Dune::Functions::BasisFactory::brezziDouglasMarini</a>·()</td></tr> | ||
| 135 | <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.··<br·/></td></tr> | ||
| 136 | </table> | 110 | </table> |
| 137 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
| 138 | </div><!--·doc-content·--> | 112 | </div><!--·doc-content·--> |
| 139 | <div·id="page-nav"·class="page-nav-panel"> | 113 | <div·id="page-nav"·class="page-nav-panel"> |
| 140 | <div·id="page-nav-resize-handle"></div> | 114 | <div·id="page-nav-resize-handle"></div> |
| 141 | <div·id="page-nav-tree"> | 115 | <div·id="page-nav-tree"> |
| 142 | <div·id="page-nav-contents"> | 116 | <div·id="page-nav-contents"> |
| 143 | </div><!--·page-nav-contents·--> | 117 | </div><!--·page-nav-contents·--> |
| 144 | </div><!--·page-nav-tree·--> | 118 | </div><!--·page-nav-tree·--> |
| 145 | </div><!--·page-nav·--> | 119 | </div><!--·page-nav·--> |
| 146 | </div><!--·container·--> | 120 | </div><!--·container·--> |
| 147 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
| 148 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 149 | ··<ul> | 123 | ··<ul> |
| 150 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 124 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00065.html">gridviewentityset.hh</a></li> |
| 151 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 125 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 152 | ··</ul> | 126 | ··</ul> |
| 153 | </div> | 127 | </div> |
| 154 | </body> | 128 | </body> |
| 155 | </html> | 129 | </html> |
| Offset 1, 48 lines modified | Offset 1, 18 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | gridviewentityset.hh·File·Reference | |
| 6 | #include·< | 6 | #include·<memory> |
| 7 | #include·<dune/common/exceptions.hh> | ||
| 8 | #include·<dune/geometry/referenceelements.hh> | ||
| 9 | #include·<dune/localfunctions/common/virtualinterface.hh> | ||
| 10 | #include·<dune/localfunctions/common/virtualwrappers.hh> | ||
| 11 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 12 | brezzidouglasmarini1cube2d.hh> | ||
| 13 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 14 | brezzidouglasmarini1cube3d.hh> | ||
| 15 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 16 | brezzidouglasmarini1simplex2d.hh> | ||
| 17 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 18 | brezzidouglasmarini2cube2d.hh> | ||
| 19 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 20 | brezzidouglasmarini2simplex2d.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 22 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 23 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 24 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 25 | Go_to_the_source_code_of_this_file. | 7 | Go_to_the_source_code_of_this_file. |
| 26 | Classes | 8 | Classes |
| 27 | class· ·Dune::Functions::BrezziDouglasMariniPreBasis<_GV,_k_> | ||
| 28 | class· ·Dune::Functions:: | 9 | class· ·Dune::Functions::GridViewEntitySet<_GV,_cd_> |
| 10 | ·······An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·More... | ||
| 29 | Namespaces | 11 | Namespaces |
| 30 | namespace· ·Dune | 12 | namespace· ·Dune |
| 31 | namespace· ·Dune::Functions | 13 | namespace· ·Dune::Functions |
| 32 | namespace· ·Dune::Functions::BasisFactory | ||
| 33 | Typedefs | ||
| 34 | template<typename·GV,·int·k> | ||
| 35 | using ·Dune::Functions::BrezziDouglasMariniBasis·= | ||
| 36 | ·······DefaultGlobalBasis<BrezziDouglasMariniPreBasis<GV,·k>·> | ||
| 37 | ······Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and | ||
| 38 | ·······cube·grids. | ||
| 39 | Functions | ||
| 40 | template<std::size_t·k> | ||
| 41 | auto ·Dune::Functions::BasisFactory::brezziDouglasMarini·() | ||
| 42 | ·····Create·a·pre-basis·factory·that·can·create·a·Brezzi-Douglas-Marini·pre- | ||
| 43 | ······basis. | ||
| 44 | ····*·dune | 14 | ····*·dune |
| 45 | ····*·functions | 15 | ····*·functions |
| 46 | ····*·functionspacebases | ||
| 47 | ····*· | 16 | ····*·gridfunctions |
| 17 | ····*·gridviewentityset.hh | ||
| 48 | ····*·Generated·by·[doxygen]1.15.0 | 18 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 366 lines modified | Offset 88, 128 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">gridviewentityset.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTION | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTION | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memory></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
| 109 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/common/virtualinterface.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <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="a00317.html">Dune</a>·{</div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 111 | <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="a00318.html">Functions</a>·{</div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 123 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> |
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | ||
| 125 | <div·class="line"><a·id="l0002 | 114 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keywordtype">int</span>·cd></div> |
| 115 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
| 116 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a02278.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02278.html#a03a85089dbc09737fa68ee0643f253e8">GridViewEntitySet</a></div> | ||
| 126 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
| 127 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> |
| 128 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 129 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a02278.html#a1952f7f975b409a9fb7cac45d2dd13c0">···30</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a02278.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridVie[·...·truncated·by·diffoscope;·len:·5,·SHA:·b9a34a33e95443f86d0daa262706b8a49f3fd87bd2d94261f4678d4c5e67b19b·...·];</div> |
| 130 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">enum</span>·{</div> |
| 122 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a02278.html#ab40ba7fc305dae722792f7cc1766cfdaa641d7f1200046247691c0b3e24fbebc6">···32</a></span>····<a·class="code·hl_enumvalue"·href="a02278.html#ab40ba7fc305dae722792f7cc1766cfdaa641d7f1200046247691c0b3e24fbebc6">codim</a>·=·cd</div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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> | ||
| 133 | <div·class="line"><a·id="l0003 | 123 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··};</div> |
| 134 | <div·class="line"><a·id="l0003 | 124 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span></div> |
| 135 | <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> | ||
| 136 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">···36</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::template·Codim<codim>::Entity·<a·cl[·...·truncated·by·diffoscope;·len:·86,·SHA:·62b54bc722dabd241eea8cff7516bfae42452be3a9d344e6f8a8f51fc556d9a8·...·];</div> |
| 126 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span></div> | ||
| 127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02278.html#aa4368ad66f18ba8279f20ab7a794069d">···39</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::LocalCoordinate·<a·class="code·hl_typedef"·href="a02278.html#aa4368ad66f18ba8279f20ab7a794069d">LocalCoordinate</a>;</div> | ||
| 128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02278.html#ac4e3d0188467b4be3d195c9f5729e629">···40</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::GlobalCoordinate·<a·class="code·hl_typedef"·href="a02278.html#ac4e3d0188467b4be3d195c9f5729e629">GlobalCoordinate</a>;</div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>· | 129 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 130 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a02278.html#a64c695239c50f85f3c3ac009e0d28ec5">···42</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>·<a·class="code·hl_typedef"·href="a02278.html#a64c695239c50f85f3c3ac009e0d28ec5">value_type</a>;</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>;</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·8;</div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div> | ||
| 141 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span></div> |
| 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 143 | <div·class="line"><a·id="l0004 | 132 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a02278.html#a82d03b324e66290459b11d00f549eca2">···45</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::template·Codim<codim>::Iterator·<a·c[·...·truncated·by·diffoscope;·len:·94,·SHA:·a80acb1729bfbd407fb175d3458f2efbfc5b584b34f9cec5242ab9610e5677be·...·];</div> |
| 133 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span></div> | ||
| 134 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02278.html#af641ddccfd83eac1935a39604afd4335">···48</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a02278.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_typedef"·href="a02278.html#af641ddccfd83eac1935a39604afd4335">iterator</a>;</div> | ||
| 144 | <div·class="line"><a·id="l0004 | 135 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span></div> |
| 136 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="}"> | ||
| 137 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a02278.html#a03a85089dbc09737fa68ee0643f253e8">···51</a></span>··<a·class="code·hl_function"·href="a02278.html#a03a85089dbc09737fa68ee0643f253e8">GridViewEntitySet</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02278.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>&·gv)·:</div> | ||
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>;</div> | ||
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·8;</div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 138 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····gv_(gv)</div> |
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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> | ||
| 150 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> |
| 140 | </div> | ||
| 151 | <div·class="line"><a·id="l0005 | 141 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span></div> |
| 152 | <div·class=" | 142 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> |
| 143 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02278.html#aecef1420c439c2cae8ae253822257318">···56</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02278.html#aecef1420c439c2cae8ae253822257318">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>&·e)<span·class="keyword">·const</span></div> | ||
| 153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·· | 144 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">··</span>{</div> |
| 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | 145 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keywordflow">return</span>·gv_.contains(e);</div> |
| 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 156 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> |
| 147 | </div> | ||
| 157 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> |
| 149 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> | ||
| 150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02278.html#aa53cd545677269ae1e19dda2a02f48dd">···62</a></span>··<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a02278.html#aa53cd545677269ae1e19dda2a02f48dd">size</a>()<span·class="keyword">·const</span></div> | ||
| 158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>;</div> | ||
| 159 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> | ||
| 160 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··};</div> | ||
| 161 | <div·class="line"><a·id="l0006 | 151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> |
| 162 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 163 | <div·class="line"><a·id="l0006 | 152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·gv_.size(<a·class="code·hl_enumvalue"·href="a02278.html#ab40ba7fc305dae722792f7cc1766cfdaa641d7f1200046247691c0b3e24fbebc6">codim</a>);</div> |
| 153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> | ||
| 154 | </div> | ||
| 164 | <div·class="line"><a·id="l0006 | 155 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span></div> |
| 156 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
| 157 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a02278.html#a6eacf8355789441dabcf555e0c89c967">···68</a></span>··<a·class="code·hl_typedef"·href="a02278.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_function"·href="a02278.html#a6eacf8355789441dabcf555e0c89c967">begin</a>()<span·class="keyword">·const</span></div> | ||
| 165 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Cube2DLocalFiniteElement<D,R>;</div> | ||
| 166 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> | ||
| 167 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div> | ||
| 168 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">··</span>{</div> |
| 169 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 170 | <div·class="line"><a·id="l0007 | 159 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keywordflow">return</span>·gv_.template·<a·class="code·hl_function"·href="a02278.html#a6eacf8355789441dabcf555e0c89c967">begin<codim></a>();</div> |
| 160 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··}</div> | ||
| 161 | </div> | ||
| 171 | <div·class="line"><a·id="l0007 | 162 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span></div> |
| 163 | <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}"> | ||
| Max diff block lines reached; 54125/82147 bytes (65.89%) of diff not shown. | |||
| Offset 1, 444 lines modified | Offset 1, 141 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | gridviewentityset.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<memory> |
| 19 | 11#include·<dune/common/exceptions.hh> | ||
| 20 | 12#include·<dune/geometry/referenceelements.hh> | ||
| 21 | 13 | ||
| 22 | 14#include·<dune/localfunctions/common/virtualinterface.hh> | ||
| 23 | 1 | 19 | 11 |
| 20 | 12 | ||
| 21 | 13namespace·Dune·{ | ||
| 22 | 14 | ||
| 23 | 15namespace·Functions·{ | ||
| 24 | 16 | 24 | 16 |
| 25 | 17#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 26 | brezzidouglasmarini1cube2d.hh> | ||
| 27 | 18#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 28 | brezzidouglasmarini1cube3d.hh> | ||
| 29 | 19#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 30 | brezzidouglasmarini1simplex2d.hh> | ||
| 31 | 20#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 32 | brezzidouglasmarini2cube2d.hh> | ||
| 33 | 21#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 34 | brezzidouglasmarini2simplex2d.hh> | ||
| 35 | 22 | ||
| 36 | 23#include·<dune/functions/functionspacebases/ | ||
| 37 | globalvaluedlocalfiniteelement.hh> | ||
| 38 | 24#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 39 | 25#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 40 | 26#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 41 | 27 | ||
| 42 | 28namespace·Dune·{ | ||
| 43 | 29namespace·Functions·{ | ||
| 44 | 30 | ||
| 45 | 31namespace·Impl·{ | ||
| 46 | 32 | ||
| 47 | 33·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 48 | 25 | 17 | |
| 26 | 25template<class·GV,·int·cd> | ||
| 27 | 26class·GridViewEntitySet | ||
| 28 | 27{ | ||
| 29 | 28public: | ||
| 30 | 29 | ||
| 31 | 30·typedef·GV·GridView; | ||
| 32 | 31·enum·{ | ||
| 33 | 32·codim·=·cd | ||
| 34 | 33·}; | ||
| 35 | 34 | ||
| 36 | 36·typedef·typename·GridView::template·Codim<codim>::Entity·Element; | ||
| 37 | 37 | ||
| 38 | 39·typedef·typename·Element::Geometry::LocalCoordinate·LocalCoordinate; | ||
| 39 | 40·typedef·typename·Element::Geometry::GlobalCoordinate·GlobalCoordinate; | ||
| 40 | 41 | ||
| 41 | 42·typedef·Element·value_type; | ||
| 42 | 43 | ||
| 43 | 45·typedef·typename·GridView::template·Codim<codim>::Iterator·const_iterator; | ||
| 44 | 46 | ||
| 45 | 48·typedef·const_iterator·iterator; | ||
| 46 | 49 | ||
| 47 | 51·GridViewEntitySet(const·GridView&·gv)·: | ||
| 48 | 52·gv_(gv) | ||
| 49 | 53·{} | ||
| 50 | 54 | ||
| 51 | 56·bool·contains(const·Element&·e)·const | ||
| 49 | 52 | 57·{ | |
| 53 | 58·return·gv_.contains(e); | ||
| 54 | 59·} | ||
| 55 | 60 | ||
| 56 | 62·size_t·size()·const | ||
| 57 | 63·{ | ||
| 58 | 64·return·gv_.size(codim); | ||
| 59 | 65·} | ||
| 60 | 66 | ||
| 61 | 68·const_iterator·begin()·const | ||
| 62 | 69·{ | ||
| 63 | 70·return·gv_.template·begin<codim>(); | ||
| 64 | 71·} | ||
| 50 | 36·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 51 | not·implemented,·sorry!"); | ||
| 52 | 37·}; | ||
| 53 | 38 | ||
| 54 | 39·template<typename·D,·typename·R> | ||
| 55 | 40·struct·BDMSimplexLocalInfo<2,D,R,1> | ||
| 56 | 41·{ | ||
| 57 | 42·using·FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>; | ||
| 58 | 43·static·const·std::size_t·Variants·=·8; | ||
| 59 | 44·}; | ||
| 60 | 45 | ||
| 61 | 46·template<typename·D,·typename·R> | ||
| 62 | 47·struct·BDMSimplexLocalInfo<2,D,R,2> | ||
| 63 | 48·{ | ||
| 64 | 49·using·FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>; | ||
| 65 | 50·static·const·std::size_t·Variants·=·8; | ||
| 66 | 51·}; | ||
| 67 | 52 | ||
| 68 | 53·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 69 | 54·struct·BDMCubeLocalInfo | ||
| 70 | 55·{ | ||
| 71 | 56·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 72 | not·implemented,·sorry!"); | ||
| 73 | 57·}; | ||
| 74 | 58 | ||
| 75 | 59·template<typename·D,·typename·R> | ||
| 76 | 60·struct·BDMCubeLocalInfo<2,D,R,1> | ||
| 77 | 61·{ | ||
| 78 | 62·using·FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>; | ||
| 79 | 63·static·const·std::size_t·Variants·=·16; | ||
| 80 | 64·}; | ||
| 81 | 65 | ||
| 82 | 66·template<typename·D,·typename·R> | ||
| 83 | 67·struct·BDMCubeLocalInfo<2,D,R,2> | ||
| 84 | 68·{ | ||
| Max diff block lines reached; 14050/17965 bytes (78.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·coarsefunctiononfinegridview.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 64 lines modified | Offset 88, 50 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">coarsefunctiononfinegridview.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<optional></code><br·/> |
| 98 | <code>#include·< | 98 | <code>#include·<type_traits></code><br·/> |
| 99 | <code>#include·< | 99 | <code>#include·<utility></code><br·/> |
| 100 | <code>#include·<dune/common/ | 100 | <code>#include·<dune/common/referencehelper.hh></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a001 | 101 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/dynamicpowerbasis.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a0 | 102 | <code>#include·<<a·class="el"·href="a00131_source.html">dune/functions/common/geometryinancestor.hh</a>></code><br·/> |
| 107 | <code>#include·<<a·class="el"·href="a00122_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 108 | <code>#include·<<a·class="el"·href="a00 | 103 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 109 | </div> | 105 | </div> |
| 110 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 111 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
| 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 113 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
| 114 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ACoarseFunctionOnFineGridView_3C_20GridFunction_2C_20GV_2C_20DerivativeTraits_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ACoarseFunctionOnFineGridView_3C_20GridFunction_2C_20GV_2C_20DerivativeTraits_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class·[·...·truncated·by·diffoscope;·len:·169,·SHA:·460774686f259b5b17c071acb34115b1b5c8aa4ef63db7a7fd0f6d467b66b3e8·...·]·></a></td></tr> |
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre | 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·representing·a·coarse·grid·function·on·a·fine·gridview.··<a·href="a02194.html#details">More...</a><br·/></td></tr> |
| 116 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 118 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
| 119 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 115 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 120 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 116 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 121 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 122 | </table><table·class="memberdecls"> | ||
| 123 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 124 | Functions</h2></td></tr> | ||
| 125 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"·id="r_ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory,·class·<a·class="el"·href="a01618.html">IndexMergingStrategy</a>>·</td></tr> | ||
| 126 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga0d8eb549af76bc2563ab189e63668ee5">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·const·<a·class="el"·href="a01618.html">IndexMergingStrategy</a>·&)</td></tr> | ||
| 127 | <tr·class="memdesc:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a02042.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 128 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"·id="r_gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory>·</td></tr> | ||
| 129 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gab84b622cf7be16d0373640b6f0478eb0">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory)</td></tr> | ||
| 130 | <tr·class="memdesc:gab84b622cf7be16d0373640b6f0478eb0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a02042.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 131 | </table> | 117 | </table> |
| 132 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| 133 | </div><!--·doc-content·--> | 119 | </div><!--·doc-content·--> |
| 134 | <div·id="page-nav"·class="page-nav-panel"> | 120 | <div·id="page-nav"·class="page-nav-panel"> |
| 135 | <div·id="page-nav-resize-handle"></div> | 121 | <div·id="page-nav-resize-handle"></div> |
| 136 | <div·id="page-nav-tree"> | 122 | <div·id="page-nav-tree"> |
| 137 | <div·id="page-nav-contents"> | 123 | <div·id="page-nav-contents"> |
| 138 | </div><!--·page-nav-contents·--> | 124 | </div><!--·page-nav-contents·--> |
| 139 | </div><!--·page-nav-tree·--> | 125 | </div><!--·page-nav-tree·--> |
| 140 | </div><!--·page-nav·--> | 126 | </div><!--·page-nav·--> |
| 141 | </div><!--·container·--> | 127 | </div><!--·container·--> |
| 142 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
| 143 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 129 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 144 | ··<ul> | 130 | ··<ul> |
| 145 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 131 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00068.html">coarsefunctiononfinegridview.hh</a></li> |
| 146 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 132 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 147 | ··</ul> | 133 | ··</ul> |
| 148 | </div> | 134 | </div> |
| 149 | </body> | 135 | </body> |
| 150 | </html> | 136 | </html> |
| Offset 1, 40 lines modified | Offset 1, 27 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | coarsefunctiononfinegridview.hh·File·Reference | |
| 6 | #include·<optional> | ||
| 7 | #include·<type_traits> | ||
| 8 | #include·<utility> | ||
| 6 | #include·<dune/common/re | 9 | #include·<dune/common/referencehelper.hh> |
| 7 | #include·<dune/common/typeutilities.hh> | ||
| 8 | #include·<dune/common/indices.hh> | ||
| 9 | #include·<dune/common/typetree/nodeconcepts.hh> | ||
| 10 | #include·<dune/functions/common/utility.hh> | ||
| 11 | #include·<dune/functions/common/t | 10 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 11 | #include·<dune/functions/common/geometryinancestor.hh> | ||
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 15 | Classes |
| 20 | class· ·Dune::Functions::PowerPreBasis<_IMS,_SPB,_C_> | ||
| 21 | 16 | class· ·Dune::Functions::CoarseFunctionOnFineGridView<_GridFunction,_GV, | |
| 17 | ········DerivativeTraits_> | ||
| 18 | ·······A·wrapper·representing·a·coarse·grid·function·on·a·fine·gridview. | ||
| 19 | ········More... | ||
| 22 | Namespaces | 20 | Namespaces |
| 23 | namespace· ·Dune | 21 | namespace· ·Dune |
| 24 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 25 | namespace· ·Dune::Functions::BasisFactory | ||
| 26 | Functions | ||
| 27 | template<std::size_t·k,·class·ChildPreBasisFactory,·class | ||
| 28 | IndexMergingStrategy> | ||
| 29 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 30 | ······&&childPreBasisFactory,·const·IndexMergingStrategy·&) | ||
| 31 | ·····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis. | ||
| 32 | template<std::size_t·k,·class·ChildPreBasisFactory> | ||
| 33 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 34 | ······&&childPreBasisFactory) | ||
| 35 | ·····Create·a·factory·builder·that·can·build·a·PowerPreBasis. | ||
| 36 | ····*·dune | 23 | ····*·dune |
| 37 | ····*·functions | 24 | ····*·functions |
| 38 | ····*·functionspacebases | ||
| 39 | ····*· | 25 | ····*·gridfunctions |
| 26 | ····*·coarsefunctiononfinegridview.hh | ||
| 40 | ····*·Generated·by·[doxygen]1.15.0 | 27 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·coarsefunctiononfinegridview.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 205 lines modified | Offset 88, 236 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">coarsefunctiononfinegridview.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COARSEFUNCTIONONFINEGRIDVIEW_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COARSEFUNCTIONONFINEGRIDVIEW_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<optional></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00131.html">dune/functions/common/geometryinancestor.hh</a>></span></div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a03877.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00122.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l0002 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 123 | <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="a00317.html">Dune</a>·{</div> | ||
| 124 | <div·class="line"><a·id="l0002 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::Functions</a>·{</div> |
| 125 | <div·class="line"><a·id="l0002 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 126 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·This·is·the·reusable·part·of·the·power·bases.·It·contains</span></div> | ||
| 129 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span></div> |
| 130 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>Function,·<span·class="keyword">class</span>·GV,·<span·class="keyword">template</span><[·...·truncated·by·diffoscope;·len:·136,·SHA:·995c148e1dc7cb0401c3da5051ce1c122816b0b4c4070a1bffb9fac7110439bb·...·]</div> |
| 122 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
| 123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02194.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02194.html#aba70fa57d6b287d1df0a216a9d605f0d">CoarseFunctionOnFineGridView</a></div> | ||
| 131 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>RawGridFunction·=·Dune::ResolveRef_t<GridFunction>;</div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 136 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 137 | <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,·std::<span·class="keywordtype">size_t</span>·C></div> | ||
| 138 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
| 139 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a02042.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02042.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>·:</div> | ||
| 140 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">auto</span>&&·rawFunction()<span·class="keyword">·const</span></div> |
| 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">··</span>{</div> | ||
| 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·Dune::resolveRef(<a·class="code·hl_variable"·href="a02194.html#aae30a1bb4634c46b86126ec66c3783e3">function_</a>);</div> | ||
| 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> | ||
| 141 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 142 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> |
| 143 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 144 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a02194.html#ae9ca2b8e249951868c89dfc0d08cc11c">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02194.html#ae9ca2b8e249951868c89dfc0d08cc11c">GridView</a>[·...·truncated·by·diffoscope;·len:·6,·SHA:·bf12ee835cf512fd1d38ae1cf81d00b6e57ae710c288b514b27720530d0258dc·...·]</div> |
| 135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a02194.html#a285847b3a85e955c4597981b3c935795">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02194.html#a285847b3a85e955c4597981b3c935795">EntitySet</a>·=·<a·class="code·hl_class"·href="a02278.html">Dune::Functions::GridViewEntitySet<GridView,·0></a>;</div> | ||
| 136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02194.html#a75da672e9ed4fbdb5aa228b585c4ec0b">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02194.html#a75da672e9ed4fbdb5aa228b585c4ec0b">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
| 137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a02194.html#a3eec8bfc2d8ef7123515d41f6b7cf2ee">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02194.html#a3eec8bfc2d8ef7123515d41f6b7cf2ee">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| 138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02194.html#acd6919d99b552be7a27699725d1aab14">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02194.html#acd6919d99b552be7a27699725d1aab14">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02278.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
| 139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02194.html#ae6c3e3deae76e2f47f3acb91c8b03178">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02194.html#ae6c3e3deae76e2f47f3acb91c8b03178">Range</a>·=·std::decay_t<decltype(std::declval<RawGridFunction>()(std::declval<Domain>()))>;</div> | ||
| 145 | <div·class="line"><a·id="l0005 | 140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
| 146 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02042.html#a419106855686e36864eea0100d8e618e">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02042.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>·=·SPB;</div> | ||
| 147 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">private</span>:</div> |
| 148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02042.html#a6b8240fbf35a7a0111f0376b12dc7653">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02042.html#a6b8240fbf35a7a0111f0376b12dc7653">Node</a>·=·<a·class="code·hl_class"·href="a02014.html">PowerBasisNode<typename·SubPreBasis::Node,·C></a>;</div> | ||
| 149 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
| 150 | <div·class="line"><a·id="l0006 | 143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">using·</span>CoarseEntitySet·=·std::decay_t<decltype(std::declval<RawGridFunction>().entitySet())>;</div> |
| 144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">using·</span>GeometryInAncestor·=·<a·class="code·hl_class"·href="a01354.html">Dune::Functions::GeometryInAncestor<Element></a>;</div> | ||
| 145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">using·</span>Traits·=·Dune::Functions::Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a02194.html#ae6c3e3deae76e2f47f3acb91c8b03178">Range</a>(<a·class="code·hl_typedef"·href="a02194.html#a3eec8bfc2d8ef7123515d41f6b7cf2ee">Domain</a>),·<a·class="code·hl_typedef"·href="a02194.html#a285847b3a85e955c4597981b3c935795">EntitySet</a>,·DerivativeTraits,·56>;</div> | ||
| 151 | <div·class="line"><a·id="l0006 | 146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 152 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">class·</span>CoarseLocalFunctionOnFineGridView</div> |
| 153 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> |
| 154 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">using·</span>Traits·=·<span·class="keyword">typename</span>·CoarseFunctionOnFineGridView::Traits::LocalFunctionTraits;</div> |
| 155 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 156 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">public</span>:</div> |
| 157 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····disableCopyMove<<a·class="code·hl_class"·href="a02042.html">PowerPreBasis</a>,·SFArgs...>·=·0,</div> | ||
| 158 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_typedef"·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a02042.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
| 159 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> | ||
| 160 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02042.html#ab0335222dc72364fe128e8459751377b">···82</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a02042.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>(SFArgs&&...·sfArgs)·:</div> | ||
| 161 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····Base(std::size_t(C),·std::forward<SFArgs>(sfArgs)...)</div> | ||
| 162 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 163 | </div> | 153 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">using·</span>Derivative·=·<span·class="keyword">decltype</span>(<a·class="code·hl_friend"·href="a02194.html#add56ec33e1176975af183c1e43b36721">loca[·...·truncated·by·diffoscope;·len:·163,·SHA:·4166e1f96011b6d5bdff916d77b6f6a298ef5456cc638d9b6914ab27596e37f2·...·]/div> |
| 154 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">using·</span>RawLocalFunction·=·std::decay_t<decltype(localFunction(std::declval<const·RawGridFunction&>()))>;</div> | ||
| 164 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span></div> |
| 156 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····CoarseLocalFunctionOnFineGridView(RawLocalFunction&&·<a·class="code·hl_friend"·href="a02194.html#add56ec33e1176975af183c1e43b36721">localFunction</a>,·<span·class="keyword">const</span>·CoarseEntitySet&·coarseEntitySet)</div> | ||
| 165 | <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}"> | ||
| 166 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02042.html#ad5fae28034251ff8e4429288f951f3af">···89</a></span>··<a·class="code·hl_typedef"·href="a02042.html#a6b8240fbf35a7a0111f0376b12dc7653">Node</a>·<a·class="code·hl_function"·href="a02042.html#ad5fae28034251ff8e4429288f951f3af">makeNode</a>()<span·class="keyword">·const</span></div> | ||
| 167 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······:·element_()</div> |
| 168 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_typedef"·href="a02042.html#a6b8240fbf35a7a0111f0376b12dc7653">Node</a>·node{};</div> | ||
| 169 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">for</span>·(std::size_t·i=0;·i<<a·class="code·hl_variable"·href="a02042.html#ae9064a255245dcd3fbd5d1f39aa9f149">children</a>();·++i)</div> | ||
| 170 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······node.<a·class="code·hl_function"·href="a02014.html#af75688b310b54863902c91a8c58e47c3">setChild</a>(i,·<a·class="code·hl_variable"·href="a01826.html#a6fd5610a86770689d4130d8df12ae007">Base::subPreBasis_</a>.makeNode());</div> | ||
| 171 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······,·localFunction_(<a·class="code·hl_friend"·href="a02194.html#add56ec33e1176975af183c1e43b36721">localFunction</a>)</div> |
| 159 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······,·coarseEntitySet_(coarseEntitySet)</div> | ||
| 160 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······,·geometryInAncestor_()</div> | ||
| 161 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{}</div> | ||
| 172 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span></div> |
| 173 | </div> | ||
| 174 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span></div> | ||
| 175 | <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="}"> | ||
| 176 | <div·class="line"><a·id="l0009 | 163 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····CoarseLocalFunctionOnFineGridView(</div> |
| 164 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········RawLocalFunction&&·<a·class="code·hl_friend"·href="a02194.html#add56ec33e1176975af183c1e43b36721">localFunction</a>,</div> | ||
| Max diff block lines reached; 46858/78447 bytes (59.73%) of diff not shown. | |||
| Offset 1, 257 lines modified | Offset 1, 289 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | coarsefunctiononfinegridview.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COARSEFUNCTIONONFINEGRIDVIEW_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COARSEFUNCTIONONFINEGRIDVIEW_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<dune/common/reservedvector.hh> | ||
| 19 | 11#include·<dune/common/typeutilities.hh> | ||
| 20 | 1 | 18 | 10#include·<optional> |
| 19 | 11#include·<type_traits> | ||
| 20 | 12#include·<utility> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/common/ | 22 | 14#include·<dune/common/referencehelper.hh> |
| 23 | 15 | 23 | 15 |
| 24 | 16#include·<dune/functions/common/utility.hh> | ||
| 25 | 1 | 24 | 16#include·<dune/functions/common/defaultderivativetraits.hh> |
| 26 | 18#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 27 | 19#include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 28 | 20#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 29 | 21#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 30 | 22#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 31 | 25 | 17#include·<dune/functions/common/geometryinancestor.hh> | |
| 26 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 27 | 19#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 28 | 20 | ||
| 29 | 21namespace·Dune::Functions·{ | ||
| 30 | 22 | ||
| 31 | 23 | ||
| 32 | 24 | 32 | 24 |
| 33 | 25 | ||
| 34 | 26 | ||
| 35 | 27namespace·Dune·{ | ||
| 36 | 28namespace·Functions·{ | ||
| 37 | 29 | ||
| 38 | 30 | ||
| 39 | 31/ | ||
| 40 | /·***************************************************************************** | ||
| 41 | 32//·This·is·the·reusable·part·of·the·power·bases.·It·contains | ||
| 42 | 33// | ||
| 43 | 34//·PowerPreBasis | ||
| 44 | 35// | ||
| 45 | 36//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 46 | shared | ||
| 47 | 37//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 48 | 38//·and·can·be·used·without·a·global·basis. | ||
| 49 | 39/ | ||
| 50 | /·***************************************************************************** | ||
| 51 | 40 | ||
| 52 | 51template<class·IMS,·class·SPB,·std::size_t·C> | ||
| 53 | 52class·PowerPreBasis·: | ||
| 54 | 53·public·DynamicPowerPreBasis<IMS,SPB> | ||
| 55 | 54{ | ||
| 56 | 55·using·Base·=·DynamicPowerPreBasis<IMS,SPB>; | ||
| 57 | 56 | ||
| 58 | 57public: | ||
| 59 | 58 | ||
| 60 | 60·using·SubPreBasis·=·SPB; | ||
| 61 | 61 | ||
| 62 | 63·using·Node·=·PowerBasisNode<typename_SubPreBasis::Node,_C>; | ||
| 63 | 64 | ||
| 64 | 33 | 39template<class·GridFunction,·class·GV,·template<class>·class | |
| 34 | DerivativeTraits=Dune::Functions::DefaultDerivativeTraits> | ||
| 35 | 40class·CoarseFunctionOnFineGridView | ||
| 36 | 41{ | ||
| 37 | 42·using·RawGridFunction·=·Dune::ResolveRef_t<GridFunction>; | ||
| 38 | 43 | ||
| 39 | 44·auto&&·rawFunction()·const | ||
| 40 | 45·{ | ||
| 41 | 46·return·Dune::resolveRef(function_); | ||
| 42 | 47·} | ||
| 43 | 48 | ||
| 44 | 49public: | ||
| 45 | 50 | ||
| 46 | 51·using·GridView·=·GV; | ||
| 47 | 52·using·EntitySet·=·Dune::Functions::GridViewEntitySet<GridView,_0>; | ||
| 48 | 53·using·Element·=·typename·EntitySet::Element; | ||
| 49 | 54·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 50 | 55·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 51 | 56·using·Range·=·std::decay_t<decltype(std::declval<RawGridFunction>()(std:: | ||
| 52 | declval<Domain>()))>; | ||
| 53 | 57 | ||
| 54 | 58private: | ||
| 55 | 59 | ||
| 56 | 60·using·CoarseEntitySet·=·std::decay_t<decltype(std::declval<RawGridFunction> | ||
| 57 | ().entitySet())>; | ||
| 58 | 61·using·GeometryInAncestor·=·Dune::Functions::GeometryInAncestor<Element>; | ||
| 59 | 62·using·Traits·=·Dune::Functions::Imp::GridFunctionTraits<Range(Domain), | ||
| 60 | EntitySet,·DerivativeTraits,·56>; | ||
| 61 | 63 | ||
| 62 | 64·class·CoarseLocalFunctionOnFineGridView | ||
| 63 | 65·{ | ||
| 64 | 66·using·Traits·=·typename·CoarseFunctionOnFineGridView::Traits:: | ||
| 65 | LocalFunctionTraits; | ||
| 65 | 67 | 66 | 67 |
| 66 | 69·using·IndexMergingStrategy·=·IMS; | ||
| 67 | 70 | ||
| 68 | 72·inline·static·constexpr·std::integral_constant<std::size_t,C>·children·=·{}; | ||
| 69 | 73 | ||
| 70 | 79·template<class...·SFArgs, | ||
| 71 | 80·disableCopyMove<PowerPreBasis,·SFArgs...>·=·0, | ||
| 72 | 81·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
| 73 | 82·explicit·PowerPreBasis(SFArgs&&...·sfArgs)·: | ||
| 74 | 67 | 68·public: | |
| 68 | 69 | ||
| 69 | 70·using·Derivative·=·decltype(localFunction(derivative(std:: | ||
| 70 | declval<CoarseFunctionOnFineGridView>()))); | ||
| 71 | 71·using·RawLocalFunction·=·std::decay_t<decltype(localFunction(std:: | ||
| 72 | declval<const·RawGridFunction&>()))>; | ||
| 73 | 72 | ||
| 74 | 78·CoarseLocalFunctionOnFineGridView(RawLocalFunction&&·localFunction,·const | ||
| 75 | CoarseEntitySet&·coarseEntitySet) | ||
| 76 | 79·:·element_() | ||
| 77 | 80·,·localFunction_(localFunction) | ||
| 78 | 81·,·coarseEntitySet_(coarseEntitySet) | ||
| 79 | 82·,·geometryInAncestor_() | ||
| Max diff block lines reached; 12571/18371 bytes (68.43%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·finefunctiononcoarsegridview.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 91 lines modified | Offset 88, 53 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">finefunctiononcoarsegridview.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <p>This·file·provides·an·implementation·of·the·quadratic·Morley·finite·element·in·1·to·3·dimensions.·· | ||
| 98 | <a·href="#details">More...</a></p> | ||
| 99 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<optional></code><br·/> |
| 100 | <code>#include·<type_traits></code><br·/> | 98 | <code>#include·<type_traits></code><br·/> |
| 101 | <code>#include·<vector></code><br·/> | ||
| 102 | <code>#include·<array></code><br·/> | ||
| 103 | <code>#include·< | 99 | <code>#include·<utility></code><br·/> |
| 104 | <code>#include·<dune/common/boundschecking.hh></code><br·/> | ||
| 105 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 106 | <code>#include·< | 100 | <code>#include·<limits></code><br·/> |
| 101 | <code>#include·<algorithm></code><br·/> | ||
| 102 | <code>#include·<cmath></code><br·/> | ||
| 107 | <code>#include·<dune/ | 103 | <code>#include·<dune/common/referencehelper.hh></code><br·/> |
| 108 | <code>#include·<dune/g | 104 | <code>#include·<dune/geometry/type.hh></code><br·/> |
| 109 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
| 110 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
| 111 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
| 112 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/analyticfunctions/monomialset.hh</a>></code><br·/> | ||
| 113 | <code>#include·<<a·class="el"·href="a001 | 105 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 114 | <code>#include·<<a·class="el"·href="a00197_source.html">dune/functions/common/squeezetensor.hh</a>></code><br·/> | ||
| 115 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/cubichermitebasis.hh</a>></code><br·/> | ||
| 116 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 117 | <code>#include·<<a·class="el"·href="a00 | 106 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 118 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 119 | <code>#include·<<a·class="el"·href="a00 | 107 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 120 | <code>#include·<<a·class="el"·href="a00107_source.html">dune/functions/functionspacebases/transformedfiniteelementmixin.hh</a>></code><br·/> | ||
| 121 | </div> | 108 | </div> |
| 122 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> | 109 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 123 | <table·class="memberdecls"> | 110 | <table·class="memberdecls"> |
| 124 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 125 | Classes</h2></td></tr> | 112 | Classes</h2></td></tr> |
| 113 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AFineFunctionOnCoarseGridView_3C_20GridFunction_2C_20GV_2C_20DerivativeTraits_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AFineFunctionOnCoarseGridView_3C_20GridFunction_2C_20GV_2C_20DerivativeTraits_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02246.html">Dune::Functions::FineFunctionOnCoarseGridView<·GridFunction,·GV,·DerivativeTraits·></a></td></tr> | ||
| 126 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AMorleyNode_3C_20GV_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AMorleyNode_3C_20GV_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01978.html">Dune::Functions::MorleyNode<·GV,·R·></a></td></tr> | ||
| 127 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AMorleyPreBasis_3C_20GV_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AMorleyPreBasis_3C_20GV_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01958.html">Dune::Functions::MorleyPreBasis<·GV,·R·></a></td></tr> | ||
| 128 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre | 114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·representing·a·fine·grid·function·on·a·gridview.··<a·href="a02246.html#details">More...</a><br·/></td></tr> |
| 129 | </table><table·class="memberdecls"> | 115 | </table><table·class="memberdecls"> |
| 130 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 116 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 131 | Namespaces</h2></td></tr> | 117 | Namespaces</h2></td></tr> |
| 132 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 118 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 133 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 119 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 134 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 135 | </table><table·class="memberdecls"> | ||
| 136 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 137 | Typedefs</h2></td></tr> | ||
| 138 | <tr·class="memitem:ga8088b673016b66bd019e80f15bd324c5"·id="r_ga8088b673016b66bd019e80f15bd324c5"><td·class="memTemplParams"·colspan="2">template<class·GV,·class·R·=·double>·</td></tr> | ||
| 139 | <tr·class="memitem:ga8088b673016b66bd019e80f15bd324c5·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga8088b673016b66bd019e80f15bd324c5">Dune::Functions::MorleyBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01958.html">MorleyPreBasis</a><GV,·R>·></td></tr> | ||
| 140 | <tr·class="memdesc:ga8088b673016b66bd019e80f15bd324c5"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·quadratic·Morley·finite·element·space.··<br·/></td></tr> | ||
| 141 | </table><table·class="memberdecls"> | ||
| 142 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 143 | Functions</h2></td></tr> | ||
| 144 | <tr·class="memitem:aa2b9ac2be3ebf37e0efd09731c4f1bca"·id="r_aa2b9ac2be3ebf37e0efd09731c4f1bca"><td·class="memTemplParams"·colspan="2">template<class·R·=·double>·</td></tr> | ||
| 145 | <tr·class="memitem:aa2b9ac2be3ebf37e0efd09731c4f1bca·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html#aa2b9ac2be3ebf37e0efd09731c4f1bca">Dune::Functions::BasisFactory::morley</a>·()</td></tr> | ||
| 146 | <tr·class="memdesc:aa2b9ac2be3ebf37e0efd09731c4f1bca"><td·class="mdescLeft"> </td><td·class="mdescRight">construct·a·PreBasisFactory·for·the·Morley·Finite·Element··<br·/></td></tr> | ||
| 147 | </table> | 120 | </table> |
| 148 | <a·name="details"·id="details"></a><h2·id="header-details"·class="groupheader">Detailed·Description</h2> | ||
| 149 | <div·class="textblock"><p>This·file·provides·an·implementation·of·the·quadratic·Morley·finite·element·in·1·to·3·dimensions.·</p> | ||
| 150 | <p>The·implementation·is·based·on·[Robert·Kirby,·A·general·approach·to·transforming·finite·elements,·2018].·It·contains·in·the·following·order:</p><ul> | ||
| 151 | <li>A·GlobalBasis·typedef·MorleyBasis</li> | ||
| 152 | <li>A·template·H2LocalBasisTraits,·extending·the·dune-localfunctions·LocalBasisTraits·by·an·exported·Hessiantype</li> | ||
| 153 | <li>A·template·MorleyLocalFiniteElement·providing·an·implementation·of·the·LocalFiniteElement·interface,·along·with·its·subparts·(Impl·namespace)</li> | ||
| 154 | <li>A·template·MorleyNode</li> | ||
| 155 | <li>A·template·MorleyPreBasis</li> | ||
| 156 | <li>A·factory·morley()·in·the·BasisFactory·namespace·</li> | ||
| 157 | </ul> | ||
| 158 | </div>< | 121 | </div><!--·contents·--> |
| 159 | </div><!--·doc-content·--> | 122 | </div><!--·doc-content·--> |
| 160 | <div·id="page-nav"·class="page-nav-panel"> | 123 | <div·id="page-nav"·class="page-nav-panel"> |
| 161 | <div·id="page-nav-resize-handle"></div> | 124 | <div·id="page-nav-resize-handle"></div> |
| 162 | <div·id="page-nav-tree"> | 125 | <div·id="page-nav-tree"> |
| 163 | <div·id="page-nav-contents"> | 126 | <div·id="page-nav-contents"> |
| 164 | </div><!--·page-nav-contents·--> | 127 | </div><!--·page-nav-contents·--> |
| 165 | </div><!--·page-nav-tree·--> | 128 | </div><!--·page-nav-tree·--> |
| 166 | </div><!--·page-nav·--> | 129 | </div><!--·page-nav·--> |
| 167 | </div><!--·container·--> | 130 | </div><!--·container·--> |
| 168 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
| 169 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 132 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 170 | ··<ul> | 133 | ··<ul> |
| 171 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 134 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00071.html">finefunctiononcoarsegridview.hh</a></li> |
| 172 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 135 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 173 | ··</ul> | 136 | ··</ul> |
| 174 | </div> | 137 | </div> |
| 175 | </body> | 138 | </body> |
| 176 | </html> | 139 | </html> |
| Offset 1, 65 lines modified | Offset 1, 29 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | finefunctiononcoarsegridview.hh·File·Reference | ||
| 6 | #include·<optional> | ||
| 5 | morleybasis.hh·File·Reference | ||
| 6 | This·file·provides·an·implementation·of·the·quadratic·Morley·finite·element·in | ||
| 7 | 1·to·3·dimensions.·More... | ||
| 8 | #include·<algorithm> | ||
| 9 | #include·<type_traits> | 7 | #include·<type_traits> |
| 8 | #include·<utility> | ||
| 10 | #include·<vector> | ||
| 11 | #include·<array> | ||
| 12 | #include·< | 9 | #include·<limits> |
| 13 | #include·<dune/common/boundschecking.hh> | ||
| 14 | #include·< | 10 | #include·<algorithm> |
| 11 | #include·<cmath> | ||
| 15 | #include·<dune/common/f | 12 | #include·<dune/common/referencehelper.hh> |
| 13 | #include·<dune/geometry/type.hh> | ||
| 16 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 17 | #include·<dune/grid/common/rangegenerators.hh> | ||
| 18 | #include·<dune/localfunctions/common/localbasis.hh> | ||
| 19 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 20 | #include·<dune/localfunctions/common/localkey.hh> | ||
| 21 | #include·<dune/functions/analyticfunctions/monomialset.hh> | ||
| 22 | #include·<dune/functions/common/de | 14 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 23 | #include·<dune/functions/common/squeezetensor.hh> | ||
| 24 | #include·<dune/functions/functionspacebases/cubichermitebasis.hh> | ||
| 25 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 26 | #include·<dune/functions/functions | 15 | #include·<dune/functions/gridfunctions/gridfunction.hh> |
| 16 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 27 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 28 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 29 | #include·<dune/functions/functionspacebases/transformedfiniteelementmixin.hh> | ||
| 30 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 31 | Classes | 18 | Classes |
| 32 | class· ·Dune::Functions::MorleyNode<_GV,_R_> | ||
| 33 | class· ·Dune::Functions::MorleyPreBasis<_GV,_R_> | ||
| 34 | · | 19 | class· ·Dune::Functions::FineFunctionOnCoarseGridView<_GridFunction,_GV, |
| 20 | ········DerivativeTraits_> | ||
| 21 | ·······A·wrapper·representing·a·fine·grid·function·on·a·gridview.·More... | ||
| 35 | Namespaces | 22 | Namespaces |
| 36 | namespace· ·Dune | 23 | namespace· ·Dune |
| 37 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 38 | namespace· ·Dune::Functions::BasisFactory | ||
| 39 | Typedefs | ||
| 40 | template<class·GV,·class·R·=·double> | ||
| 41 | using ·Dune::Functions::MorleyBasis·=·DefaultGlobalBasis<MorleyPreBasis<GV,·R> | ||
| 42 | ·······> | ||
| 43 | ······Nodal·basis·of·a·scalar·quadratic·Morley·finite·element·space. | ||
| 44 | Functions | ||
| 45 | template<class·R·=·double> | ||
| 46 | auto ·Dune::Functions::BasisFactory::morley·() | ||
| 47 | ·····construct·a·PreBasisFactory·for·the·Morley·Finite·Element | ||
| 48 | *****·Detailed·Description·***** | ||
| 49 | This·file·provides·an·implementation·of·the·quadratic·Morley·finite·element·in | ||
| 50 | 1·to·3·dimensions. | ||
| 51 | The·implementation·is·based·on·[Robert·Kirby,·A·general·approach·to | ||
| 52 | transforming·finite·elements,·2018].·It·contains·in·the·following·order: | ||
| 53 | ····*·A·GlobalBasis·typedef·MorleyBasis | ||
| 54 | ····*·A·template·H2LocalBasisTraits,·extending·the·dune-localfunctions | ||
| 55 | ······LocalBasisTraits·by·an·exported·Hessiantype | ||
| 56 | ····*·A·template·MorleyLocalFiniteElement·providing·an·implementation·of·the | ||
| 57 | ······LocalFiniteElement·interface,·along·with·its·subparts·(Impl·namespace) | ||
| 58 | ····*·A·template·MorleyNode | ||
| 59 | ····*·A·template·MorleyPreBasis | ||
| 60 | ····*·A·factory·morley()·in·the·BasisFactory·namespace | ||
| 61 | ····*·dune | 25 | ····*·dune |
| 62 | ····*·functions | 26 | ····*·functions |
| 63 | ····*·functionspacebases | ||
| 64 | ····*· | 27 | ····*·gridfunctions |
| 28 | ····*·finefunctiononcoarsegridview.hh | ||
| 65 | ····*·Generated·by·[doxygen]1.15.0 | 29 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·finefunctiononcoarsegridview.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 609 lines modified | Offset 88, 327 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">finefunctiononcoarsegridview.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 97 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_MORLEYBASIS_HH</span></div> | ||
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_MORLEYBASIS_HH</span></div> | ||
| 104 | <div·class="line"><a·id="l0000 | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FINEFUNCTIONONCOARSEGRIDVIEW_HH</span></div> | ||
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FINEFUNCTIONONCOARSEGRIDVIEW_HH</span></div> | ||
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<array></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<bitset></span></div> | ||
| 110 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/boundschecking.hh></span></div> | ||
| 112 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<optional></span></div> |
| 113 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<limits></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<cmath></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/g | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/grid/common/rangegenerators.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l0002 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/localfunctions/common/localkey.hh></span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/analyticfunctions/monomialset.hh</a>></span></div> | ||
| 123 | <div·class="line"><a·id="l0002 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 124 | <div·class="line"><a·id="l0002 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
| 125 | <div·class="line"><a·id="l0002 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> |
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::Functions</a>·{</div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00164.html">dune/functions/functionspacebases/functionaldescriptor.hh</a>></span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00107.html">dune/functions/functionspacebases/transformedfiniteelementmixin.hh</a>></span></div> | ||
| 131 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 132 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div> | ||
| 134 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 135 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·R></div> | ||
| 136 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>ReferenceElementUtilities·{</div> |
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·Compute·the·l1-distance·of·x·to·the·reference·element·identified</span></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·by·the·topology·id·and·dimension.</span></div> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>template<class·X,·class·FT·=·std::decay_t<decltype(std::declval<X>()[0])>·></div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>FT·distance(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·topologyId,·<span·class="keywordtype">int</span>·dim,·X·x,·FT·scaleFactor·=·FT(1))</div> | ||
| 137 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> |
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>std::abs;</div> | ||
| 138 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·R·=·<span·class="keywordtype">double</span>></div> | ||
| 139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00312.html#ga8088b673016b66bd019e80f15bd324c5">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00312.html#ga8088b673016b66bd019e80f15bd324c5">MorleyBasis</a>·=·<a·class="code·hl_class"·href="a01818.html">DefaultGlobalBasis<MorleyPreBasis<GV,·R></a>·>;</div> | ||
| 140 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>std::max;</div> |
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">using·</span>std::min;</div> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">auto</span>·dist_x_last·=·max(max(x[dim-1]-scaleFactor,·-x[dim-1]),·FT(0));</div> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keywordflow">if</span>·(dim·>·1)</div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(Dune::Impl::isPyramid(topologyId,·dim))</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······scaleFactor·-=·max(min(x[dim-1],·scaleFactor),·FT(0));</div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·distance(Dune::Impl::baseTopologyId(topologyId,·dim),·dim-1,·x,·scaleFactor)·+·dist_x_last;</div> | ||
| 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div> | ||
| 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keywordflow">if</span>·(dim·==·1)</div> | ||
| 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·dist_x_last;</div> | ||
| 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">return</span>·FT(0);</div> | ||
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> | ||
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//·Check·if·the·l1-distance·of·x·to·the·reference·element·identified</span></div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//·by·the·topology·id·and·dimension·is·less·than·a·tolerance.·This</span></div> | ||
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·implementation·is·significantly·faster·than·checking·if</span></div> | ||
| 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·distance(...)·<=·tolerance.·It·is·almost·as·fast·as·checkInside(...)</span></div> | ||
| 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·of·the·refenece·element,·but·the·latter·does·not·reflect·the</span></div> | ||
| 152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·distance·wrt·any·norm·while·we·use·the·l1-norm·here.</span></div> | ||
| 153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>template<class·X,·class·FT·=·std::decay_t<decltype(std::declval<X>()[0])>·></div> | ||
| 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keywordtype">bool</span>·checkInside(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·topologyId,·<span·class="keywordtype">int</span>·dim,·X·x,·FT·tolerance,·FT·scaleFactor·=·FT(1))</div> | ||
| 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> | ||
| 156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">using·</span>std::abs;</div> | ||
| 157 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">using·</span>std::max;</div> | ||
| 158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">using·</span>std::min;</div> | ||
| 159 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">if</span>·(dim·>·0)</div> | ||
| 160 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> | ||
| 161 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">auto</span>·dist_x_last·=·max(x[dim-1]-scaleFactor,·-x[dim-1]);</div> | ||
| 162 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">if</span>·(dist_x_last·<=·tolerance)</div> | ||
| 163 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div> | ||
| 164 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(Dune::Impl::isPyramid(topologyId,·dim))</div> | ||
| 165 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········scaleFactor·-=·max(min(x[dim-1],·scaleFactor),·FT(0));</div> | ||
| 166 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keywordflow">return</span>·checkInside(Dune::Impl::baseTopologyId(topologyId,·dim),·dim-1,·x,·tolerance·-·max(dist_x_last,·FT(0)),·scaleFactor);</div> | ||
| 167 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div> | ||
| 168 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
| 169 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> | ||
| 170 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
| 171 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> | ||
| 172 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 173 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·ReferenceElementUtilities</span></div> | ||
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 174 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
| Max diff block lines reached; 122091/151983 bytes (80.33%) of diff not shown. | |||
| Offset 1, 684 lines modified | Offset 1, 372 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | finefunctiononcoarsegridview.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_MORLEYBASIS_HH | ||
| 15 | 7#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_MORLEYBASIS_HH | ||
| 16 | 8 | ||
| 17 | 14 | 6 | |
| 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FINEFUNCTIONONCOARSEGRIDVIEW_HH | ||
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FINEFUNCTIONONCOARSEGRIDVIEW_HH | ||
| 17 | 9 | ||
| 18 | 10#include·<optional> | ||
| 18 | 1 | 19 | 11#include·<type_traits> |
| 20 | 12#include·<utility> | ||
| 19 | 11#include·<vector> | ||
| 20 | 12#include·<array> | ||
| 21 | 13#include·< | 21 | 13#include·<limits> |
| 22 | 14 | ||
| 23 | 15#include·<dune/common/boundschecking.hh> | ||
| 24 | 1 | 22 | 14#include·<algorithm> |
| 23 | 15#include·<cmath> | ||
| 24 | 16 | ||
| 25 | 17#include·<dune/common/f | 25 | 17#include·<dune/common/referencehelper.hh> |
| 26 | 18 | 26 | 18 |
| 27 | 19#include·<dune/geometry/type.hh> | ||
| 28 | 20 | ||
| 27 | 19#include·<dune/grid/common/mcmgmapper.hh> | ||
| 28 | 20#include·<dune/grid/common/rangegenerators.hh> | ||
| 29 | 21 | ||
| 30 | 22#include·<dune/localfunctions/common/localbasis.hh> | ||
| 31 | 23#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 32 | 24#include·<dune/localfunctions/common/localkey.hh> | ||
| 33 | 25 | ||
| 34 | 26#include·<dune/functions/analyticfunctions/monomialset.hh> | ||
| 35 | 2 | 29 | 21#include·<dune/functions/common/defaultderivativetraits.hh> |
| 36 | 28#include·<dune/functions/common/squeezetensor.hh> | ||
| 37 | 29#include·<dune/functions/functionspacebases/cubichermitebasis.hh> | ||
| 38 | 30#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 39 | 31#include·<dune/functions/functionspacebases/functionaldescriptor.hh> | ||
| 40 | 32#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 41 | 33#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 42 | 30 | 22#include·<dune/functions/gridfunctions/gridfunction.hh> | |
| 31 | 23#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 32 | 24 | ||
| 33 | 25namespace·Dune::Functions·{ | ||
| 34 | 26 | ||
| 35 | 27namespace·Impl·{ | ||
| 36 | 28 | ||
| 37 | 29namespace·ReferenceElementUtilities·{ | ||
| 38 | 30 | ||
| 39 | 31//·Compute·the·l1-distance·of·x·to·the·reference·element·identified | ||
| 40 | 32//·by·the·topology·id·and·dimension. | ||
| 41 | 33template<class·X,·class·FT·=·std::decay_t<decltype(std::declval<X>()[0])>·> | ||
| 42 | 34FT·distance(unsigned·int·topologyId,·int·dim,·X·x,·FT·scaleFactor·=·FT(1)) | ||
| 43 | 35 | 43 | 35{ |
| 44 | 52namespace·Dune::Functions | ||
| 45 | 53{ | ||
| 46 | 54 | ||
| 47 | 55·template<class·GV,·class·R> | ||
| 48 | 56·class·MorleyPreBasis; | ||
| 49 | 57 | ||
| 50 | 75·template<class·GV,·class·R·=·double> | ||
| 51 | 76·using·MorleyBasis·=·DefaultGlobalBasis<MorleyPreBasis<GV,_R>·>; | ||
| 52 | 44 | 36·using·std::abs; | |
| 45 | 37·using·std::max; | ||
| 46 | 38·using·std::min; | ||
| 47 | 39·auto·dist_x_last·=·max(max(x[dim-1]-scaleFactor,·-x[dim-1]),·FT(0)); | ||
| 48 | 40·if·(dim·>·1) | ||
| 49 | 41·{ | ||
| 50 | 42·if·(Dune::Impl::isPyramid(topologyId,·dim)) | ||
| 51 | 43·scaleFactor·-=·max(min(x[dim-1],·scaleFactor),·FT(0)); | ||
| 52 | 44·return·distance(Dune::Impl::baseTopologyId(topologyId,·dim),·dim-1,·x, | ||
| 53 | scaleFactor)·+·dist_x_last; | ||
| 54 | 45·} | ||
| 55 | 46·if·(dim·==·1) | ||
| 56 | 47·return·dist_x_last; | ||
| 57 | 48·return·FT(0); | ||
| 58 | 49} | ||
| 59 | 50 | ||
| 60 | 51//·Check·if·the·l1-distance·of·x·to·the·reference·element·identified | ||
| 61 | 52//·by·the·topology·id·and·dimension·is·less·than·a·tolerance.·This | ||
| 62 | 53//·implementation·is·significantly·faster·than·checking·if | ||
| 63 | 54//·distance(...)·<=·tolerance.·It·is·almost·as·fast·as·checkInside(...) | ||
| 64 | 55//·of·the·refenece·element,·but·the·latter·does·not·reflect·the | ||
| 65 | 56//·distance·wrt·any·norm·while·we·use·the·l1-norm·here. | ||
| 66 | 57template<class·X,·class·FT·=·std::decay_t<decltype(std::declval<X>()[0])>·> | ||
| 67 | 58bool·checkInside(unsigned·int·topologyId,·int·dim,·X·x,·FT·tolerance,·FT | ||
| 68 | scaleFactor·=·FT(1)) | ||
| 69 | 59{ | ||
| 70 | 60·using·std::abs; | ||
| 71 | 61·using·std::max; | ||
| 72 | 62·using·std::min; | ||
| 73 | 63·if·(dim·>·0) | ||
| 74 | 64·{ | ||
| 75 | 65·auto·dist_x_last·=·max(x[dim-1]-scaleFactor,·-x[dim-1]); | ||
| 76 | 66·if·(dist_x_last·<=·tolerance) | ||
| 77 | 67·{ | ||
| 78 | 68·if·(Dune::Impl::isPyramid(topologyId,·dim)) | ||
| 79 | 69·scaleFactor·-=·max(min(x[dim-1],·scaleFactor),·FT(0)); | ||
| 80 | 70·return·checkInside(Dune::Impl::baseTopologyId(topologyId,·dim),·dim-1,·x, | ||
| 81 | tolerance·-·max(dist_x_last,·FT(0)),·scaleFactor); | ||
| 82 | 71·} | ||
| 83 | 72·return·false; | ||
| 84 | 73·} | ||
| 85 | 74·return·true; | ||
| 86 | 75} | ||
| 87 | 76 | ||
| 88 | 77}·//·namespace·ReferenceElementUtilities | ||
| 53 | 78 | 89 | 78 |
| 54 | 79·namespace·Impl | 90 | 79}·//·namespace·Impl |
| 55 | 80 | 91 | 80 |
| 56 | 81 | 92 | 81 |
| 57 | 88·template<class·D,·class·R> | ||
| 58 | 89·class·MorleyReferenceLocalBasis | ||
| 59 | 90·{ | ||
| 60 | 91·public: | ||
| 61 | 92·static·constexpr·int·dim·=·2; | ||
| 62 | 93·using·Traits·=·H2LocalBasisTraits<D,_dim,_FieldVector<D,_dim>,·R,·1, | ||
| Max diff block lines reached; 26951/32990 bytes (81.69%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 79 lines modified | Offset 88, 51 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">differentiablefunction.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <p>The·B-spline·global·function·space·basis.·· | ||
| 98 | <a·href="#details">More...</a></p> | ||
| 99 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 100 | <code>#include·<numeric></code><br·/> | ||
| 101 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 102 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
| 103 | <code>#include·<dune/common/diagonalmatrix.hh></code><br·/> | ||
| 104 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
| 105 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
| 106 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 107 | <code>#include·<<a·class="el"·href="a00 | 99 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 108 | <code>#include·<<a·class="el"·href="a001 | 100 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 109 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 102 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 110 | </div> | 105 | </div> |
| 111 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 112 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 114 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADifferentiableFunction_3C_20Signature_2C_20DerivativeTraits_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADifferentiableFunction_3C_20Signature_2C_20DerivativeTraits_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01238.html">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADifferentiableFunction_3C_20Range_28Domain_29_2C_20DerivativeTraits_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADifferentiableFunction_3C_20Range_28Domain_29_2C_20DerivativeTraits_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01246.html">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 115 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABSplineLocalBasis_3C_20GV_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABSplineLocalBasis_3C_20GV_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01686.html">Dune::Functions::BSplineLocalBasis<·GV,·R·></a></td></tr> | ||
| 116 | <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="a01686.html#details">More...</a><br·/></td></tr> | ||
| 117 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABSplineLocalCoefficients_3C_20dim_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABSplineLocalCoefficients_3C_20dim_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01690.html">Dune::Functions::BSplineLocalCoefficients<·dim·></a></td></tr> | ||
| 118 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·differentiable·functions·using·type·erasure.··<a·href="a01246.html#details">More...</a><br·/></td></tr> |
| 119 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABSplineLocalInterpolation_3C_20dim_2C_20LB_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABSplineLocalInterpolation_3C_20dim_2C_20LB_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01694.html">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·></a></td></tr> | ||
| 120 | <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="a01694.html#details">More...</a><br·/></td></tr> | ||
| 121 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABSplineLocalFiniteElement_3C_20GV_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABSplineLocalFiniteElement_3C_20GV_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01678.html">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·></a></td></tr> | ||
| 122 | <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="a01678.html#details">More...</a><br·/></td></tr> | ||
| 123 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABSplinePreBasis_3C_20GV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABSplinePreBasis_3C_20GV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01682.html">Dune::Functions::BSplinePreBasis<·GV·></a></td></tr> | ||
| 124 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·B-spline·basis.··<a·href="a01682.html#details">More...</a><br·/></td></tr> | ||
| 125 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABSplineNode_3C_20GV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABSplineNode_3C_20GV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01698.html">Dune::Functions::BSplineNode<·GV·></a></td></tr> | ||
| 126 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
| 127 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 128 | Namespaces</h2></td></tr> | 115 | Namespaces</h2></td></tr> |
| 129 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 116 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 130 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 117 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 131 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 132 | </table><table·class="memberdecls"> | ||
| 133 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 134 | Typedefs</h2></td></tr> | ||
| 135 | <tr·class="memitem:gaf2f75f87ed4cb5223378259c760c1e97"·id="r_gaf2f75f87ed4cb5223378259c760c1e97"><td·class="memTemplParams"·colspan="2">template<typename·GV>·</td></tr> | ||
| 136 | <tr·class="memitem:gaf2f75f87ed4cb5223378259c760c1e97·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gaf2f75f87ed4cb5223378259c760c1e97">Dune::Functions::BSplineBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01682.html">BSplinePreBasis</a><GV>·></td></tr> | ||
| 137 | <tr·class="memdesc:gaf2f75f87ed4cb5223378259c760c1e97"><td·class="mdescLeft"> </td><td·class="mdescRight">A·global·B-spline·basis.··<br·/></td></tr> | ||
| 138 | </table><table·class="memberdecls"> | ||
| 139 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 140 | Functions</h2></td></tr> | ||
| 141 | <tr·class="memitem:ga63a9701af71fffbbb851a38cb8cf886f"·id="r_ga63a9701af71fffbbb851a38cb8cf886f"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga63a9701af71fffbbb851a38cb8cf886f">Dune::Functions::BasisFactory::bSpline</a>·(const·std::vector<·double·>·&knotVector,·unsigned·int·order,·bool·makeOpen=true)</td></tr> | ||
| 142 | <tr·class="memdesc:ga63a9701af71fffbbb851a38cb8cf886f"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·B-spline·pre-basis.··<br·/></td></tr> | ||
| 143 | </table> | 118 | </table> |
| 144 | <a·name="details"·id="details"></a><h2·id="header-details"·class="groupheader">Detailed·Description</h2> | ||
| 145 | <div·class="textblock"><p>The·B-spline·global·function·space·basis.·</p> | ||
| 146 | </div>< | 119 | </div><!--·contents·--> |
| 147 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
| 148 | <div·id="page-nav"·class="page-nav-panel"> | 121 | <div·id="page-nav"·class="page-nav-panel"> |
| 149 | <div·id="page-nav-resize-handle"></div> | 122 | <div·id="page-nav-resize-handle"></div> |
| 150 | <div·id="page-nav-tree"> | 123 | <div·id="page-nav-tree"> |
| 151 | <div·id="page-nav-contents"> | 124 | <div·id="page-nav-contents"> |
| 152 | </div><!--·page-nav-contents·--> | 125 | </div><!--·page-nav-contents·--> |
| 153 | </div><!--·page-nav-tree·--> | 126 | </div><!--·page-nav-tree·--> |
| 154 | </div><!--·page-nav·--> | 127 | </div><!--·page-nav·--> |
| 155 | </div><!--·container·--> | 128 | </div><!--·container·--> |
| 156 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
| 157 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 158 | ··<ul> | 131 | ··<ul> |
| 159 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 132 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00074.html">differentiablefunction.hh</a></li> |
| 160 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 133 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 161 | ··</ul> | 134 | ··</ul> |
| 162 | </div> | 135 | </div> |
| 163 | </body> | 136 | </body> |
| 164 | </html> | 137 | </html> |
| Offset 1, 52 lines modified | Offset 1, 28 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | differentiablefunction.hh·File·Reference | ||
| 6 | #include·<type_traits> | ||
| 5 | bsplinebasis.hh·File·Reference | ||
| 6 | The·B-spline·global·function·space·basis.·More... | ||
| 7 | #include·<array> | ||
| 8 | #include·<numeric> | ||
| 9 | #include·<dune/common/ | 7 | #include·<dune/common/typeutilities.hh> |
| 10 | #include·<dune/ | 8 | #include·<dune/functions/common/type_traits.hh> |
| 11 | #include·<dune/common/d | 9 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 10 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 12 | #include·<dune/ | 11 | #include·<dune/functions/common/signature.hh> |
| 13 | #include·<dune/ | 12 | #include·<dune/functions/common/typeerasure.hh> |
| 14 | #include·<dune/geometry/type.hh> | ||
| 15 | #include·<dune/functions/function | 13 | #include·<dune/functions/common/functionconcepts.hh> |
| 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 15 | Classes |
| 16 | class· ·Dune::Functions::DifferentiableFunction<_Signature,_DerivativeTraits, | ||
| 17 | ········bufferSize_> | ||
| 18 | class· ·Dune::Functions::DifferentiableFunction<_Range(Domain), | ||
| 19 | ········DerivativeTraits,_bufferSize_> | ||
| 20 | ·······Class·storing·differentiable·functions·using·type·erasure.·More... | ||
| 20 | class· ·Dune::Functions::BSplineLocalBasis<_GV,_R_> | ||
| 21 | ·······LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the | ||
| 22 | ········restriction·of·a·B-spline·patch·to·a·knot·span.·More... | ||
| 23 | class· ·Dune::Functions::BSplineLocalCoefficients<_dim_> | ||
| 24 | ·······Attaches·a·shape·function·to·an·entity.·More... | ||
| 25 | class· ·Dune::Functions::BSplineLocalInterpolation<_dim,_LB_> | ||
| 26 | ·······Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
| 27 | ········spline·basis·on·tensor-product·grids.·More... | ||
| 28 | class· ·Dune::Functions::BSplineLocalFiniteElement<_GV,_R_> | ||
| 29 | ·······LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
| 30 | ········spline·basis·on·tensor-product·grids.·More... | ||
| 31 | class· ·Dune::Functions::BSplinePreBasis<_GV_> | ||
| 32 | ·······Pre-basis·for·B-spline·basis.·More... | ||
| 33 | class· ·Dune::Functions::BSplineNode<_GV_> | ||
| 34 | Namespaces | 21 | Namespaces |
| 35 | namespace· ·Dune | 22 | namespace· ·Dune |
| 36 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 37 | namespace· ·Dune::Functions::BasisFactory | ||
| 38 | Typedefs | ||
| 39 | template<typename·GV> | ||
| 40 | using ·Dune::Functions::BSplineBasis·=·DefaultGlobalBasis<BSplinePreBasis<GV>·> | ||
| 41 | ······A·global·B-spline·basis. | ||
| 42 | Functions | ||
| 43 | auto ·Dune::Functions::BasisFactory::bSpline·(const·std::vector<·double·> | ||
| 44 | ······&knotVector,·unsigned·int·order,·bool·makeOpen=true) | ||
| 45 | ·····Create·a·pre-basis·factory·that·can·create·a·B-spline·pre-basis. | ||
| 46 | *****·Detailed·Description·***** | ||
| 47 | The·B-spline·global·function·space·basis. | ||
| 48 | ····*·dune | 24 | ····*·dune |
| 49 | ····*·functions | 25 | ····*·functions |
| 50 | ····*·functionspacebases | ||
| 51 | ····*· | 26 | ····*·common |
| 27 | ····*·differentiablefunction.hh | ||
| 52 | ····*·Generated·by·[doxygen]1.15.0 | 28 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 5 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00074·=·[ | 1 | var·a00074·=·[ |
| 2 | ····["Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·>",·"a01238.html",·null] | ||
| 2 | ····["Dune::Functions::BSplineNode<·GV·>",·"a01698.html",·"a01698"], | ||
| 3 | ····["Dune::Functions::BSplineBasis",·"a00312.html#gaf2f75f87ed4cb5223378259c760c1e97",·null], | ||
| 4 | ····["Dune::Functions::BasisFactory::bSpline",·"a00312.html#ga63a9701af71fffbbb851a38cb8cf886f",·null] | ||
| 5 | ]; | 3 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 1297 lines modified | Offset 88, 152 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">differentiablefunction.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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"> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span></div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 106 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 107 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<arra | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 108 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<numeric></span></div> | ||
| 109 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span></div> | ||
| 110 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/dynmatrix.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/common/diagonalmatrix.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/localfunctions/common/localkey.hh></span></div> | ||
| 115 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
| 116 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 118 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> |
| 119 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/functions/common/signature.hh</a>></span></div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00140.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l0002 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 121 | <div·class="line"><a·id="l0002 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> |
| 122 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> | ||
| 123 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> |
| 124 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 125 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·A·maze·of·dependencies·between·the·different·parts·of·this.··We·need·a·few·forward·declarations</span></div> | ||
| 126 | <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="keyword">typename</span>·R></div> | ||
| 127 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">/*</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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="a01206.html">DefaultDerivativeTraits</a>,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 128 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="};"> | ||
| 129 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01238.html">···32</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01238.html">DifferentiableFunction</a></div> | ||
| 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{};</div> | ||
| 131 | </div> | ||
| 132 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 133 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 134 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 129 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword"> | 135 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Imp</div> |
| 130 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01682.html">BSplinePreBasis</a>;</div> | ||
| 131 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> |
| 132 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span></div> | ||
| 133 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·R></div> | ||
| 134 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 135 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01686.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01686.html#ab66fbd26ea34c67071da5c0fa9504191">BSplineLocalBasis</a></div> | ||
| 136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> | ||
| 137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01678.html">BSplineLocalFiniteElement</a><GV,R>;</div> | ||
| 138 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span></div> |
| 138 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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> | ||
| 139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::ctype·D;</div> | ||
| 140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">enum</span>·{dim·=·GV::dimension};</div> | ||
| 141 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">struct·</span>DifferentiableFunctionTraits</div> |
| 142 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> |
| 143 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">typedef</span>·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>,</div> | ||
| 144 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>Signature·=·S;</div> |
| 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span></div> | ||
| 143 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">using·</span>Range·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01434.html">SignatureTraits<Signature>::Range</a>;</div> | ||
| 144 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span></div> | ||
| 145 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">using·</span>Domain·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01434.html">SignatureTraits<Signature>::Domain</a>;</div> | ||
| 146 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span></div> | ||
| 147 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01434.html">SignatureTraits<Signature>::template</a>·DerivativeSignature<DerivativeTraits>;</div> | ||
| 148 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span></div> | ||
| 149 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01238.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits,·bufferSize></a>;</div> | ||
| 150 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span></div> | ||
| 151 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span><a·class="code·hl_namespace"·href="a00320.html">Concept</a>·=·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface>;</div> | Diff chunk too large, falling back to line-by-line diff (64 lines added, 1149 lines removed) | |
| 145 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span></div> | 152 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span></div> |
| 146 | <div·class=" | 153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> |
| 147 | <div·class="line"><a·id="l0006 | 154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">using·</span>Model·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> |
| 148 | <div·class="line"><a·id="l0006 | 155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··};</div> |
| 149 | <div·class="line"><a·id="l0006 | 156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> |
| 150 | <div·class="line"><a·id="l0006 | 157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 151 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 152 | </div> | 159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span></div> |
| 153 | <div·class="line"><a·id="l000 | 160 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</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:·112,·SHA:·2309003c4b05f6436b7b1cdfe870e8a96cc6ef0bb14207d8371044af601ad650·...·]</div> |
| 154 | <div·class="foldopen"·id="foldopen000 | 161 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="};"> |
| 155 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01246.html">···85</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01246.html#a2bfab7479475446c596aaa715e392e51">DifferentiableFunction</a><·Range(Domain),·[·...·truncated·by·diffoscope;·len:·34,·SHA:·f5e22b5a421a287838cf6875f42ebcbd0e7018ec2c6c6a058d05a38555127dcd·...·]</div> |
| 156 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01526.html#a2ccacb87d5aefd102388090c1a090cf8">TypeErasureBase</a><</div> |
| 157 | <div·class="line"><a·id="l000 | 164 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::Concept,</div> |
| 158 | <div·class="line"><a·id="l000 | 165 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::template·Model></div> |
| 159 | <div·class="line"><a·id="l0008 | 166 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>{</div> |
| 160 | <div·class="line"><a·id="l000 | 167 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">using·</span>Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>;</div> |
| 161 | <div·class="line"><a·id="l000 | 168 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
| 162 | <div·class="line"><a·id="l000 | 169 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01526.html#a2ccacb87d5aefd102388090c1a090cf8">TypeErasureBase<typename·Traits::Concept,·Traits::template·Model></a>;</div> |
| 163 | </div> | 170 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
| 164 | <div·class="line"><a·id="l000 | 171 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">using·</span>DerivativeInterface·=·<span·class="keyword">typename</span>·Traits::DerivativeInterface;</div> |
| 165 | <div·class=" | 172 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
| 166 | <div·class="line"><a·id="l000 | 173 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">public</span>:</div> |
| 167 | <div·class="line"><a·id="l0009 | 174 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span></div> |
| Max diff block lines reached; 34588/244633 bytes (14.14%) of diff not shown. | |||
| Offset 1, 1496 lines modified | Offset 1, 178 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | differentiablefunction.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 11 | ||
| 20 | 12#include·<dune/common/typeutilities.hh> | ||
| 18 | 13 | 21 | 13 |
| 19 | 14#include·<array> | ||
| 20 | 15#include·<numeric> | ||
| 21 | 16 | ||
| 22 | 18#include·<dune/common/dynmatrix.hh> | ||
| 23 | 19 | ||
| 24 | 22 | 14#include·<dune/functions/common/type_traits.hh> | |
| 25 | 23 | 15#include·<dune/functions/common/defaultderivativetraits.hh> | |
| 24 | 16#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 26 | 25 | 17#include·<dune/functions/common/signature.hh> | |
| 26 | 18#include·<dune/functions/common/typeerasure.hh> | ||
| 27 | 19#include·<dune/functions/common/functionconcepts.hh> | ||
| 28 | 20 | ||
| 27 | 23#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 28 | 24#include·<dune/geometry/type.hh> | ||
| 29 | 25#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 30 | 26#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 31 | 27#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 32 | 28 | ||
| 33 | 2 | 29 | 21namespace·Dune·{ |
| 34 | 30{ | ||
| 35 | 30 | 22namespace·Functions·{ | |
| 36 | 32 | ||
| 37 | 33//·A·maze·of·dependencies·between·the·different·parts·of·this.·We·need·a·few | ||
| 38 | forward·declarations | ||
| 39 | 34template<typename·GV,·typename·R> | ||
| 40 | 31 | 23 | |
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 26/* | ||
| 35 | 27·*·Default·implementation·is·empty | ||
| 36 | 28·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
| 37 | 29·*·describing·a·function·signature·as·Range(Domain). | ||
| 38 | 30·*/ | ||
| 39 | 31template<class·Signature,·template<class>·class | ||
| 40 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 41 | 32class·DifferentiableFunction | ||
| 42 | 33{}; | ||
| 43 | 34 | ||
| 44 | 35 | ||
| 41 | 36 | 45 | 36 |
| 42 | 37template<typename·GV> | ||
| 43 | 3 | 46 | 37namespace·Imp |
| 47 | 38{ | ||
| 44 | 39 | 48 | 39 |
| 45 | 40 | ||
| 46 | 49template<class·GV,·class·R> | ||
| 47 | 50class·BSplineLocalBasis | ||
| 48 | 51{ | ||
| 49 | 52·friend·class·BSplineLocalFiniteElement<GV,R>; | ||
| 50 | 53 | ||
| 51 | 54·typedef·typename·GV::ctype·D; | ||
| 52 | 55·enum·{dim·=·GV::dimension}; | ||
| 53 | 56public: | ||
| 54 | 57 | ||
| 55 | 59·typedef·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>, | ||
| 56 | 49 | 41·template<class·S,·template<class>·class·DerivativeTraits,·size_t·bufferSize> | |
| 50 | 42·struct·DifferentiableFunctionTraits | ||
| 51 | 43·{ | ||
| 52 | 45·using·Signature·=·S; | ||
| 53 | 46 | ||
| 54 | 48·using·Range·=·typename·SignatureTraits<Signature>::Range; | ||
| 55 | 49 | ||
| 56 | 51·using·Domain·=·typename·SignatureTraits<Signature>::Domain; | ||
| 57 | 52 | ||
| 58 | 54·using·DerivativeSignature·=·typename·SignatureTraits<Signature>::template | ||
| 59 | DerivativeSignature<DerivativeTraits>; | ||
| 60 | 55 | ||
| 61 | 57·using·DerivativeInterface·=·DifferentiableFunction<DerivativeSignature, | ||
| 62 | DerivativeTraits,_bufferSize>; | ||
| 63 | 58 | ||
| 64 | 60·using·Concept·=·DifferentiableFunctionWrapperInterface<Signature, | ||
| 65 | DerivativeInterface>; | ||
| 57 | 61 | 66 | 61 |
| 67 | 63·template<class·B> | ||
| 68 | 64·using·Model·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 69 | DerivativeInterface,·B>; | ||
| 70 | 65·}; | ||
| 71 | 66} | ||
| 72 | 67 | ||
| 73 | 68 | ||
| 74 | 69 | ||
| 75 | 84template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 76 | size_t·bufferSize> | ||
| 77 | 85class·DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize>·: | ||
| 78 | 86·public·TypeErasureBase< | ||
| 79 | 87·typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
| 80 | bufferSize>::Concept, | ||
| 81 | 88·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
| 82 | bufferSize>::template·Model> | ||
| 83 | 89{ | ||
| 84 | 90·using·Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain), | ||
| 85 | DerivativeTraits,·bufferSize>; | ||
| 86 | 91 | ||
| 87 | 92·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template | ||
| 88 | Model>; | ||
| 89 | 93 | ||
| 90 | 94·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | ||
| 91 | 95 | ||
| 92 | 96public: | ||
| 93 | 97 | ||
| 94 | 109·template<class·F,·disableCopyMove<DifferentiableFunction,·F>·=·0·> | ||
| 95 | 110·DifferentiableFunction(F&&·f)·: | ||
| 96 | 111·Base(std::forward<F>(f)) | ||
| 58 | 66·BSplineLocalBasis(const·BSplinePreBasis<GV>&·preBasis, | ||
| 59 | 67·const·BSplineLocalFiniteElement<GV,R>&·lFE) | ||
| Max diff block lines reached; 47815/54439 bytes (87.83%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·subdomain.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 47 lines modified | Offset 88, 84 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">subdomain.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 98 | <code>#include·<cstddef></code><br·/> | ||
| 99 | <code>#include·<limits></code><br·/> | ||
| 98 | <code>#include·<type_traits></code><br·/> | 100 | <code>#include·<type_traits></code><br·/> |
| 99 | <code>#include·< | 101 | <code>#include·<utility></code><br·/> |
| 100 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 101 | <code>#include·< | 102 | <code>#include·<vector></code><br·/> |
| 103 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 104 | <code>#include·<dune/common/iteratorfacades.hh></code><br·/> | ||
| 105 | <code>#include·<dune/common/iteratorrange.hh></code><br·/> | ||
| 106 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
| 107 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 108 | <code>#include·<dune/geometry/typeindex.hh></code><br·/> | ||
| 109 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 110 | <code>#include·<dune/grid/common/partitionset.hh></code><br·/> | ||
| 102 | </div> | 111 | </div> |
| 103 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> | 112 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 104 | <table·class="memberdecls"> | 113 | <table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 106 | Classes</h2></td></tr> | 115 | Classes</h2></td></tr> |
| 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainIndexSet_3C_20HGV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainIndexSet_3C_20HGV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el[·...·truncated·by·diffoscope;·len:·82,·SHA:·2115d87462ee2374c2c6890c898afe38221b3e5dea3ba6a4009e2961064ea54f·...·]</a></td></tr> |
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A | 117 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">An·IndexSet·for·a·sub-domain.··<a·href="a01462.html#details">More...</a><br·/></td></tr> |
| 118 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainIndexSet_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainIndexSet_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01466.html">Dune::Functions::Experimental::SubDomainIndexSet<·HGV·>::Codim<·codim·></a></td></tr> | ||
| 119 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01466.html"·title="Codim·specific·typedefs.">Codim</a>·specific·typedefs.··<a·href="a01466.html#details">More...</a><br·/></td></tr> | ||
| 120 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainGridView_3C_20HGV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainGridView_3C_20HGV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01470.html">Dune::Functions::Experimental::SubDomainGridView<·HGV·></a></td></tr> | ||
| 121 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·GridView·for·a·sub-domain.··<a·href="a01470.html#details">More...</a><br·/></td></tr> | ||
| 122 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainGridView_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainGridView_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01482.html">Dune::Functions::Experimental::SubDomainGridView<·HGV·>::Codim<·codim·></a></td></tr> | ||
| 123 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01482.html"·title="Codim·specific·typedefs.">Codim</a>·specific·typedefs.··<a·href="a01482.html#details">More...</a><br·/></td></tr> | ||
| 124 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainGridView_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E_3A_3APartition_3C_20pit_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainGridView_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E_3A_3APartition_3C_20pit_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01486.html">Dune::Functions::Experimental::SubDomainGridView<·HGV·>::Codim<·codim·>::Partition<·pit·></a></td></tr> | ||
| 125 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomain_3C_20HGV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomain_3C_20HGV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01490.html">Dune::Functions::Experimental::SubDomain<·HGV·></a></td></tr> | ||
| 126 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·representing·a·sub-domain·of·a·<a·class="el"·href="a01490.html#a1fdb23034023e809db852b8baa16929f">GridView</a>.··<a·href="a01490.html#details">More...</a><br·/></td></tr> | ||
| 127 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomain_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomain_3C_20HGV_20_3E_3A_3ACodim_3C_20codim_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01494.html">Dune::Functions::Experimental::SubDomain<·HGV·>::Codim<·codim·></a></td></tr> | ||
| 128 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01494.html"·title="Codim·specific·typedefs.">Codim</a>·specific·typedefs.··<a·href="a01494.html#details">More...</a><br·/></td></tr> | ||
| 129 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainInterface_3C_20SubDomainA_2C_20SubDomainB_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainInterface_3C_20SubDomainA_2C_20SubDomainB_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01498.html">Dune::Functions::Experimental::SubDomainInterface<·SubDomainA,·SubDomainB·></a></td></tr> | ||
| 130 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·representing·the·intersection·between·two·subdomains.··<a·href="a01498.html#details">More...</a><br·/></td></tr> | ||
| 131 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainSkeleton_3C_20SubDomain_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ASubDomainSkeleton_3C_20SubDomain_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01502.html">Dune::Functions::Experimental::SubDomainSkeleton<·SubDomain·></a></td></tr> | ||
| 132 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·representing·the·skeleton·of·a·subdomain.··<a·href="a01502.html#details">More...</a><br·/></td></tr> | ||
| 109 | </table><table·class="memberdecls"> | 133 | </table><table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 134 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 111 | Namespaces</h2></td></tr> | 135 | Namespaces</h2></td></tr> |
| 112 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 136 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 113 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 137 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 138 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental"·id="r_Dune_3A_3AFunctions_3A_3AExperimental"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00325.html">Dune::Functions::Experimental</a></td></tr> | ||
| 139 | </table><table·class="memberdecls"> | ||
| 140 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 141 | Functions</h2></td></tr> | ||
| 142 | <tr·class="memitem:ga37f1ba65a546014639ebd40cf4684f6e"·id="r_ga37f1ba65a546014639ebd40cf4684f6e"><td·class="memTemplParams"·colspan="2">template<class·HostGridView>·</td></tr> | ||
| 143 | <tr·class="memitem:ga37f1ba65a546014639ebd40cf4684f6e·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#ga37f1ba65a546014639ebd40cf4684f6e">Dune::Functions::Experimental::elements</a>·(const·<a·class="el"·href="a01470.html">SubDomainGridView</a><·HostGridView·>·&subDomainGridView)</td></tr> | ||
| 144 | <tr·class="memdesc:ga37f1ba65a546014639ebd40cf4684f6e"><td·class="mdescLeft"> </td><td·class="mdescRight">ADL·findable·access·to·element·range·for·a·<a·class="el"·href="a01470.html"·title="A·GridView·for·a·sub-domain.">SubDomainGridView</a>.··<br·/></td></tr> | ||
| 145 | <tr·class="memitem:gaf4cd7cbb2c4a7d410769c3c50c8adb21"·id="r_gaf4cd7cbb2c4a7d410769c3c50c8adb21"><td·class="memTemplParams"·colspan="2">template<class·HostGridView,·unsigned·int·partitions>·</td></tr> | ||
| 146 | <tr·class="memitem:gaf4cd7cbb2c4a7d410769c3c50c8adb21·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gaf4cd7cbb2c4a7d410769c3c50c8adb21">Dune::Functions::Experimental::elements</a>·(const·<a·class="el"·href="a01470.html">SubDomainGridView</a><·HostGridView·>·&subDomainGridView,·Dune::PartitionSet<·partitions·>·partitionSet)</td></tr> | ||
| 147 | <tr·class="memdesc:gaf4cd7cbb2c4a7d410769c3c50c8adb21"><td·class="mdescLeft"> </td><td·class="mdescRight">ADL·findable·access·to·element·range·for·a·<a·class="el"·href="a01470.html"·title="A·GridView·for·a·sub-domain.">SubDomainGridView</a>.··<br·/></td></tr> | ||
| 148 | <tr·class="memitem:gafa4d95e964b201085853ca60963de460"·id="r_gafa4d95e964b201085853ca60963de460"><td·class="memTemplParams"·colspan="2">template<class·HostGridView,·class·Element>·</td></tr> | ||
| 149 | <tr·class="memitem:gafa4d95e964b201085853ca60963de460·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gafa4d95e964b201085853ca60963de460">Dune::Functions::Experimental::intersections</a>·(const·<a·class="el"·href="a01470.html">SubDomainGridView</a><·HostGridView·>·&subDomainGridView,·const·Element·&element)</td></tr> | ||
| 150 | <tr·class="memdesc:gafa4d95e964b201085853ca60963de460"><td·class="mdescLeft"> </td><td·class="mdescRight">ADL·findable·access·to·intersection·range·for·an·element·of·a·<a·class="el"·href="a01470.html"·title="A·GridView·for·a·sub-domain.">SubDomainGridView</a>.··<br·/></td></tr> | ||
| 114 | </table> | 151 | </table> |
| 115 | </div><!--·contents·--> | 152 | </div><!--·contents·--> |
| 116 | </div><!--·doc-content·--> | 153 | </div><!--·doc-content·--> |
| 117 | <div·id="page-nav"·class="page-nav-panel"> | 154 | <div·id="page-nav"·class="page-nav-panel"> |
| 118 | <div·id="page-nav-resize-handle"></div> | 155 | <div·id="page-nav-resize-handle"></div> |
| 119 | <div·id="page-nav-tree"> | 156 | <div·id="page-nav-tree"> |
| 120 | <div·id="page-nav-contents"> | 157 | <div·id="page-nav-contents"> |
| 121 | </div><!--·page-nav-contents·--> | 158 | </div><!--·page-nav-contents·--> |
| 122 | </div><!--·page-nav-tree·--> | 159 | </div><!--·page-nav-tree·--> |
| 123 | </div><!--·page-nav·--> | 160 | </div><!--·page-nav·--> |
| 124 | </div><!--·container·--> | 161 | </div><!--·container·--> |
| 125 | <!--·start·footer·part·--> | 162 | <!--·start·footer·part·--> |
| 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 163 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 127 | ··<ul> | 164 | ··<ul> |
| 128 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 165 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00077.html">subdomain.hh</a></li> |
| 129 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 166 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 130 | ··</ul> | 167 | ··</ul> |
| 131 | </div> | 168 | </div> |
| 132 | </body> | 169 | </body> |
| 133 | </html> | 170 | </html> |
| Offset 1, 22 lines modified | Offset 1, 66 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | subdomain.hh·File·Reference | |
| 6 | #include·<array> | ||
| 7 | #include·<cstddef> | ||
| 6 | #include·< | 8 | #include·<limits> |
| 7 | #include·<type_traits> | 9 | #include·<type_traits> |
| 10 | #include·<utility> | ||
| 11 | #include·<vector> | ||
| 8 | #include·<dune/common/ | 12 | #include·<dune/common/exceptions.hh> |
| 9 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 10 | #include·<dune/ | 13 | #include·<dune/common/iteratorfacades.hh> |
| 14 | #include·<dune/common/iteratorrange.hh> | ||
| 15 | #include·<dune/common/rangeutilities.hh> | ||
| 16 | #include·<dune/geometry/type.hh> | ||
| 17 | #include·<dune/geometry/typeindex.hh> | ||
| 18 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 19 | #include·<dune/grid/common/partitionset.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 21 | Classes |
| 13 | struct· ·Dune::Functions::HierarchicNodeToRangeMap | ||
| 14 | 22 | ·class· ·Dune::Functions::Experimental::SubDomainIndexSet<_HGV_> | |
| 23 | ········An·IndexSet·for·a·sub-domain.·More... | ||
| 24 | struct· ·Dune::Functions::Experimental::SubDomainIndexSet<_HGV_>::Codim<_codim | ||
| 25 | ·········> | ||
| 26 | ········Codim·specific·typedefs.·More... | ||
| 27 | ·class· ·Dune::Functions::Experimental::SubDomainGridView<_HGV_> | ||
| 28 | ········A·GridView·for·a·sub-domain.·More... | ||
| 29 | struct· ·Dune::Functions::Experimental::SubDomainGridView<_HGV_>::Codim<_codim | ||
| 30 | ·········> | ||
| 31 | ········Codim·specific·typedefs.·More... | ||
| 32 | struct· ·Dune::Functions::Experimental::SubDomainGridView<_HGV_>::Codim<_codim | ||
| 33 | ·········>::Partition<_pit_> | ||
| 34 | ·class· ·Dune::Functions::Experimental::SubDomain<_HGV_> | ||
| 35 | ········Class·representing·a·sub-domain·of·a·GridView.·More... | ||
| 36 | struct· ·Dune::Functions::Experimental::SubDomain<_HGV_>::Codim<_codim_> | ||
| 37 | ········Codim·specific·typedefs.·More... | ||
| 38 | ·class· ·Dune::Functions::Experimental::SubDomainInterface<_SubDomainA, | ||
| 39 | ·········SubDomainB_> | ||
| 40 | ········Class·representing·the·intersection·between·two·subdomains.·More... | ||
| 41 | ·class· ·Dune::Functions::Experimental::SubDomainSkeleton<_SubDomain_> | ||
| 42 | ········Class·representing·the·skeleton·of·a·subdomain.·More... | ||
| 15 | Namespaces | 43 | Namespaces |
| 16 | namespace· ·Dune | 44 | namespace· ·Dune |
| 17 | namespace· ·Dune::Functions | 45 | namespace· ·Dune::Functions |
| 46 | namespace· ·Dune::Functions::Experimental | ||
| 47 | Functions | ||
| 48 | template<class·HostGridView> | ||
| 49 | auto ·Dune::Functions::Experimental::elements·(const·SubDomainGridView< | ||
| 50 | ······HostGridView·>·&subDomainGridView) | ||
| 51 | ·····ADL·findable·access·to·element·range·for·a·SubDomainGridView. | ||
| 52 | template<class·HostGridView,·unsigned·int·partitions> | ||
| 53 | auto ·Dune::Functions::Experimental::elements·(const·SubDomainGridView< | ||
| 54 | ······HostGridView·>·&subDomainGridView,·Dune::PartitionSet<·partitions·> | ||
| 55 | ······partitionSet) | ||
| 56 | ·····ADL·findable·access·to·element·range·for·a·SubDomainGridView. | ||
| 57 | template<class·HostGridView,·class·Element> | ||
| 58 | auto ·Dune::Functions::Experimental::intersections·(const·SubDomainGridView< | ||
| 59 | ······HostGridView·>·&subDomainGridView,·const·Element·&element) | ||
| 60 | ·····ADL·findable·access·to·intersection·range·for·an·element·of·a | ||
| 61 | ······SubDomainGridView. | ||
| 18 | ····*·dune | 62 | ····*·dune |
| 19 | ····*·functions | 63 | ····*·functions |
| 20 | ····*·functionspacebases | ||
| 21 | ····*· | 64 | ····*·common |
| 65 | ····*·subdomain.hh | ||
| 22 | ····*·Generated·by·[doxygen]1.15.0 | 66 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 11 lines modified | ||
| 1 | var·a00077·=·[ | 1 | var·a00077·=·[ |
| 2 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::Experimental::SubDomainIndexSet<·HGV·>::Codim<·codim·>",·"a01466.html",·"a01466"], |
| 3 | ····["Dune::Functions::Experimental::SubDomainGridView<·HGV·>::Codim<·codim·>",·"a01482.html",·"a01482"], | ||
| 4 | ····["Dune::Functions::Experimental::SubDomainGridView<·HGV·>::Codim<·codim·>::Partition<·pit·>",·"a01486.html",·"a01486"], | ||
| 5 | ····["Dune::Functions::Experimental::SubDomain<·HGV·>::Codim<·codim·>",·"a01494.html",·"a01494"], | ||
| 6 | ····["Dune::Functions::Experimental::SubDomainInterface<·SubDomainA,·SubDomainB·>",·"a01498.html",·"a01498"], | ||
| 7 | ····["Dune::Functions::Experimental::SubDomainSkeleton<·SubDomain·>",·"a01502.html",·"a01502"], | ||
| 8 | ····["Dune::Functions::Experimental::elements",·"a00314.html#ga37f1ba65a546014639ebd40cf4684f6e",·null], | ||
| 9 | ····["Dune::Functions::Experimental::elements",·"a00314.html#gaf4cd7cbb2c4a7d410769c3c50c8adb21",·null], | ||
| 10 | ····["Dune::Functions::Experimental::intersections",·"a00314.html#gafa4d95e964b201085853ca60963de460",·null] | ||
| 3 | ]; | 11 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·subdomain.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 83 lines modified | Offset 88, 806 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">subdomain.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 97 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_SUBDOMAIN_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_SUBDOMAIN_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
| 107 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 108 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<cstddef></span></div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 110 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<limits></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a03877.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l0001 | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 114 | <div·class="line"><a·id="l0001 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 115 | <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="a00317.html">Dune</a>·{</div> | ||
| 116 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/iteratorfacades.hh></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/common/iteratorrange.hh></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span></div> | ||
| 120 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> | ||
| 121 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01906.html">···33</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01906.html">HierarchicNodeToRangeMap</a></div> | ||
| 122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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> | ||
| 124 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····std::enable_if_t<·models<Concept::HasIndexAccess,·Range,·Dune::index_constant<0>>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 125 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}"> | ||
| 126 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01906.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">···37</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01906.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> | ||
| 127 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
| 128 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/geometry/typeindex.hh></span></div> |
| 129 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 130 | </div> | 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/grid/common/partitionset.hh></span></div> | ||
| 131 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 132 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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> | ||
| 133 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····std::enable_if_t<not·models<Concept::HasIndexAccess,·Range,·Dune::index_constant<0>>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 134 | <div·class="foldopen"·id="foldopen000 | 124 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="}"> |
| 135 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00325.html">···28</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00325.html">Dune::Functions::Experimental</a>·{</div> |
| 136 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 137 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">namespace·</span>Impl·{</div> |
| 138 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 139 | </div> | ||
| 140 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div> | ||
| 141 | </div> | 129 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View></div> |
| 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">using·</span>GlobalIntersectionIteratorTraits·=·Dune::DefaultIteratorTraits<</div> | ||
| 131 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>················································std::forward_iterator_tag,</div> | ||
| 132 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>················································<span·class="keyword">decltype</span>(*std::declval<typename·GridView::IntersectionIterator>())>;</div> | ||
| 142 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 134 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·ContainsCallback></div> | ||
| 136 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>GlobalIntersectionIt</div> | ||
| 137 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······:·<span·class="keyword">public</span>·Dune::IteratorFacadeForTraits<GlobalIntersectionIt<GV,·ContainsCallback>,·GlobalIntersectionIteratorTraits<GV>></div> | ||
| 138 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····{</div> | ||
| 139 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keyword">using·</span>Facade·=·Dune::IteratorFacadeForTraits<GlobalIntersectionIt<GV,·ContainsCallback>,·GlobalIntersectionIteratorTraits<GV>>;</div> | ||
| 140 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">public</span>:</div> | ||
| 142 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
| 143 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keyword">using·</span>GridView·=·GV;</div> | ||
| 144 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
| 145 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keyword">using·</span>ElementIterator·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Iterator;</div> | ||
| 146 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">using·</span>IntersectionIterator·=·<span·class="keyword">typename</span>·GridView::IntersectionIterator;</div> | ||
| 143 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 147 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 144 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 145 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 146 | <div·class="line"><a·id="l0005 | 148 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">class·</span>SentinelIterator</div> |
| 147 | <div·class="line"><a·id="l0005 | 149 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{};</div> |
| 148 | <div·class="line"><a·id="l0005 | 150 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 149 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH</span></div> | ||
| 150 | <div·class="ttc"·id="aa00200_html"><div·class="ttname"><a·href="a00200.html">indexaccess.hh</a></div></div> | ||
| 151 | <div·class="ttc"·id="aa00314_html_ga4cc6af2842348271c242c048e0411637"><div·class="ttname"><a·href="a00314.html#ga4cc6af2842348271c242c048e0411637">Dune::Functions::resolveStaticMultiIndex</a></div><div·class="ttdeci">constexpr·decltype(auto)·resolveStaticMultiIndex(C·&&c,·const·MultiIndex·&multiIndex)</div><div·class="ttdoc">Provide·multi-index·access·by·chaining·operator[].</div><div·class="ttdef"><b>Definition</b>·indexaccess.hh:421</div></div> | ||
| 152 | <div·class="ttc"·id="aa00317_html"><div·class="ttname"><a·href="a00317.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·monomialset.hh:19</div></div> | ||
| 153 | <div·class="ttc"·id="aa00318_html"><div·class="ttname"><a·href="a00318.html">Dune::Functions</a></div><div·class="ttdef"><b>Definition</b>·monomialset.hh:19</div></div> | ||
| 154 | <div·class="ttc"·id="aa01906_html"><div·class="ttname"><a·href="a01906.html">Dune::Functions::HierarchicNodeToRangeMap</a></div><div·class="ttdoc">A·simple·node·to·range·map·using·the·nested·tree·indices.</div><div·class="ttdef"><b>Definition</b>·hierarchicnodetorangemap.hh:34</div></div> | ||
| 155 | <div·class="ttc"·id="aa01906_html_a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><div·class="ttname"><a·href="a01906.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">Dune::Functions::HierarchicNodeToRangeMap::operator()</a></div><div·class="ttdeci">decltype(auto)·operator()(const·Node·&,·const·TreePath·&treePath,·Range·&&y)·const</div><div·class="ttdef"><b>Definition</b>·hierarchicnodetorangemap.hh:37</div></div> | ||
| 156 | <div·class="ttc"·id="aa01906_html_a7122457e9d3aad7c63a2184012f26566"><div·class="ttname"><a·href="a01906.html#a7122457e9d3aad7c63a2184012f26566">Dune::Functions::HierarchicNodeToRangeMap::operator()</a></div><div·class="ttdeci">decltype(auto)·operator()(const·Node·&,·const·TreePath·&,·Range·&&y)·const</div><div·class="ttdef"><b>Definition</b>·hierarchicnodetorangemap.hh:44</div></div> | ||
| 157 | <div·class=" | 151 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······GlobalIntersectionIt(<span·class="keyword">const</span>·GridView&·gridView,·<span·class="keyword">const</span>·ContainsCallback&·contains,·ElementIterator·elementIt,·Elem[·...·truncated·by·diffoscope;·len:·23,·SHA:·4cf9c4c97652bb9b1e6eb60148a8ab41e4fb8269c6ec0e4c389ee76fdc12499d·...·]</div> |
| 152 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········:·gridView_(gridView)</div> | ||
| 153 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········,·contains_(contains)</div> | ||
| 154 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········,·elementIt_(std::move(elementIt))</div> | ||
| 155 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········,·elementEnd_(std::move(elementEnd))</div> | ||
| 156 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</div> | ||
| 157 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordflow">if</span>·(elementIt_·!=·elementEnd_)</div> | ||
| 158 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········{</div> | ||
| 159 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········element_·=·*elementIt_;</div> | ||
| 160 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··········iIt_·=·gridView_.ibegin(element_);</div> | ||
| 161 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··········iEnd_·=·gridView_.iend(element_);</div> | ||
| 162 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········<span·class="keywordflow">if</span>·(not·contains_(*iIt_))</div> | ||
| 163 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>············++(*this);</div> | ||
| 164 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········}</div> | ||
| 165 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······}</div> | ||
| 166 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 167 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">using·</span>reference·=·<span·class="keyword">typename</span>·Facade::reference;</div> | ||
| 168 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 169 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······reference·operator*()<span·class="keyword">·const</span></div> | ||
| Max diff block lines reached; 1072/159229 bytes (0.67%) of diff not shown. | |||
| Offset 1, 84 lines modified | Offset 1, 933 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | subdomain.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_SUBDOMAIN_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_SUBDOMAIN_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10 | 18 | 10#include·<array> |
| 19 | 11#include·<cstddef> | ||
| 19 | 1 | 20 | 12#include·<limits> |
| 20 | 1 | 21 | 13#include·<type_traits> |
| 21 | 1 | 22 | 14#include·<utility> |
| 23 | 15#include·<vector> | ||
| 24 | 16 | ||
| 22 | 1 | 25 | 17#include·<dune/common/exceptions.hh> |
| 26 | 18#include·<dune/common/iteratorfacades.hh> | ||
| 27 | 19#include·<dune/common/iteratorrange.hh> | ||
| 28 | 20#include·<dune/common/rangeutilities.hh> | ||
| 23 | 15 | ||
| 24 | 16#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 25 | 17#include·<dune/functions/common/indexaccess.hh> | ||
| 26 | 18 | ||
| 27 | 19namespace·Dune·{ | ||
| 28 | 20namespace·Functions·{ | ||
| 29 | 21 | 29 | 21 |
| 30 | 22 | ||
| 31 | 23 | ||
| 32 | 33struct·HierarchicNodeToRangeMap | ||
| 33 | 34{ | ||
| 34 | 35·template<class·Node,·class·TreePath,·class·Range, | ||
| 35 | 36·std::enable_if_t<·models<Concept::HasIndexAccess,·Range,·Dune::index_ | ||
| 36 | constant<0>>(),·int>·=·0> | ||
| 37 | 37·decltype(auto)·operator()(const·Node&,·const·TreePath&·treePath,·Range&&·y) | ||
| 38 | const | ||
| 39 | 38·{ | ||
| 40 | 39·return·resolveStaticMultiIndex(y,·treePath); | ||
| 41 | 40·} | ||
| 42 | 41 | ||
| 43 | 42·template<class·Node,·class·TreePath,·class·Range, | ||
| 44 | 43·std::enable_if_t<not·models<Concept::HasIndexAccess,·Range,·Dune::index_ | ||
| 45 | constant<0>>(),·int>·=·0> | ||
| 46 | 30 | 22#include·<dune/geometry/type.hh> | |
| 31 | 23#include·<dune/geometry/typeindex.hh> | ||
| 32 | 24 | ||
| 33 | 25#include·<dune/grid/common/mcmgmapper.hh> | ||
| 34 | 26#include·<dune/grid/common/partitionset.hh> | ||
| 35 | 27 | ||
| 36 | 28namespace·Dune::Functions::Experimental·{ | ||
| 37 | 29 | ||
| 38 | 30·namespace·Impl·{ | ||
| 39 | 31 | ||
| 40 | 32·template<class·GridView> | ||
| 41 | 33·using·GlobalIntersectionIteratorTraits·=·Dune::DefaultIteratorTraits< | ||
| 42 | 34·std::forward_iterator_tag, | ||
| 43 | 35·decltype(*std::declval<typename·GridView::IntersectionIterator>())>; | ||
| 44 | 36 | ||
| 45 | 37 | ||
| 46 | 38·template<class·GV,·class·ContainsCallback> | ||
| 47 | 39·class·GlobalIntersectionIt | ||
| 48 | 40·:·public·Dune::IteratorFacadeForTraits<GlobalIntersectionIt<GV, | ||
| 49 | ContainsCallback>,·GlobalIntersectionIteratorTraits<GV>> | ||
| 47 | 4 | 50 | 41·{ |
| 48 | 46·return·std::forward<Range>(y); | ||
| 49 | 47·} | ||
| 50 | 48}; | ||
| 51 | 4 | 51 | 42·using·Facade·=·Dune::IteratorFacadeForTraits<GlobalIntersectionIt<GV, |
| 52 | ContainsCallback>,·GlobalIntersectionIteratorTraits<GV>>; | ||
| 53 | 43 | ||
| 54 | 44·public: | ||
| 55 | 45 | ||
| 56 | 46·using·GridView·=·GV; | ||
| 57 | 47·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
| 58 | 48·using·ElementIterator·=·typename·GridView::template·Codim<0>::Iterator; | ||
| 59 | 49·using·IntersectionIterator·=·typename·GridView::IntersectionIterator; | ||
| 52 | 50 | 60 | 50 |
| 53 | 51 | ||
| 54 | 52}·//·namespace·Dune::Functions | ||
| 55 | 53}·//·namespace·Dune | ||
| 56 | 54 | ||
| 57 | 55 | ||
| 58 | 56#endif·//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH | ||
| 59 | indexaccess.hh | ||
| 60 | Dune::Functions::resolveStaticMultiIndex | ||
| 61 | constexpr·decltype(auto)·resolveStaticMultiIndex(C·&&c,·const·MultiIndex | ||
| 62 | &multiIndex) | ||
| 63 | Provide·multi-index·access·by·chaining·operator[]. | ||
| 64 | Definition·indexaccess.hh:421 | ||
| 65 | Dune | ||
| 66 | Definition·monomialset.hh:19 | ||
| 67 | Dune::Functions | ||
| 68 | Definition·monomialset.hh:19 | ||
| 69 | Dune::Functions::HierarchicNodeToRangeMap | ||
| 70 | A·simple·node·to·range·map·using·the·nested·tree·indices. | ||
| 71 | Definition·hierarchicnodetorangemap.hh:34 | ||
| 72 | Dune::Functions::HierarchicNodeToRangeMap::operator() | ||
| 73 | 61 | 51·class·SentinelIterator | |
| 62 | 52·{}; | ||
| 63 | 53 | ||
| 64 | 54·GlobalIntersectionIt(const·GridView&·gridView,·const·ContainsCallback& | ||
| 65 | contains,·ElementIterator·elementIt,·ElementIterator·elementEnd) | ||
| 66 | 55·:·gridView_(gridView) | ||
| 67 | 56·,·contains_(contains) | ||
| 68 | 57·,·elementIt_(std::move(elementIt)) | ||
| 69 | 58·,·elementEnd_(std::move(elementEnd)) | ||
| 70 | 59·{ | ||
| 71 | 60·if·(elementIt_·!=·elementEnd_) | ||
| 72 | 61·{ | ||
| 73 | 62·element_·=·*elementIt_; | ||
| 74 | 63·iIt_·=·gridView_.ibegin(element_); | ||
| 75 | 64·iEnd_·=·gridView_.iend(element_); | ||
| 76 | 65·if·(not·contains_(*iIt_)) | ||
| 77 | 66·++(*this); | ||
| 78 | 67·} | ||
| 79 | 68·} | ||
| 80 | 69 | ||
| 81 | 70·using·reference·=·typename·Facade::reference; | ||
| Max diff block lines reached; 9563/32414 bytes (29.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 51 lines modified | Offset 88, 46 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">staticforloop.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·<dune/common/ | 97 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
| 98 | <code>#include·<<a·class="el"·href="a000 | 98 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 100 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 101 | </div> | 100 | </div> |
| 102 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 103 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 105 | Classes</h2></td></tr> | ||
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALeafPreBasisMapperMixin_3C_20GV_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALeafPreBasisMapperMixin_3C_20GV_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01942.html">Dune::Functions::LeafPreBasisMapperMixin<·GV·></a></td></tr> | ||
| 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·MixIn·class·for·PreBasis·with·flat·indices·computed·from·a·mapper.··<a·href="a01942.html#details">More...</a><br·/></td></tr> | ||
| 108 | </table><table·class="memberdecls"> | ||
| 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
| 111 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 105 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 106 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 113 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 115 | Functions</h2></td></tr> | 109 | Functions</h2></td></tr> |
| 116 | <tr·class="memitem:a0d9958433ba2e4925d415823112ba9fc"·id="r_a0d9958433ba2e4925d415823112ba9fc"><td·class="memTemplParams"·colspan="2">template<class·GridView,·class·LocalCoefficients>·</td></tr> | ||
| 117 | <tr·class="memitem: | 110 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"·id="r_gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplParams"·colspan="2">template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args>·</td></tr> |
| 111 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec·template"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gaa625ea93bc3285b8a09c9267302386ec">Dune::Functions::staticFindInRange</a>·(F·&&f,·Args·&&...·args)</td></tr> | ||
| 112 | <tr·class="memdesc:gaa625ea93bc3285b8a09c9267302386ec"><td·class="mdescLeft"> </td><td·class="mdescRight">Static·find·loop.··<br·/></td></tr> | ||
| 118 | </table> | 113 | </table> |
| 119 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 120 | </div><!--·doc-content·--> | 115 | </div><!--·doc-content·--> |
| 121 | <div·id="page-nav"·class="page-nav-panel"> | 116 | <div·id="page-nav"·class="page-nav-panel"> |
| 122 | <div·id="page-nav-resize-handle"></div> | 117 | <div·id="page-nav-resize-handle"></div> |
| 123 | <div·id="page-nav-tree"> | 118 | <div·id="page-nav-tree"> |
| 124 | <div·id="page-nav-contents"> | 119 | <div·id="page-nav-contents"> |
| 125 | </div><!--·page-nav-contents·--> | 120 | </div><!--·page-nav-contents·--> |
| 126 | </div><!--·page-nav-tree·--> | 121 | </div><!--·page-nav-tree·--> |
| 127 | </div><!--·page-nav·--> | 122 | </div><!--·page-nav·--> |
| 128 | </div><!--·container·--> | 123 | </div><!--·container·--> |
| 129 | <!--·start·footer·part·--> | 124 | <!--·start·footer·part·--> |
| 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 125 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 131 | ··<ul> | 126 | ··<ul> |
| 132 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 127 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00080.html">staticforloop.hh</a></li> |
| 133 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 128 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 134 | ··</ul> | 129 | ··</ul> |
| 135 | </div> | 130 | </div> |
| 136 | </body> | 131 | </body> |
| 137 | </html> | 132 | </html> |
| Offset 1, 28 lines modified | Offset 1, 21 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | staticforloop.hh·File·Reference | |
| 6 | #include·<dune/common/ | 6 | #include·<dune/common/concept.hh> |
| 7 | #include·<dune/functions/common/type_traits.hh> | ||
| 7 | #include·<dune/functions/functionspacebases/ | 8 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 8 | #include·<dune/geometry/referenceelements.hh> | ||
| 9 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 10 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 11 | Classes | ||
| 12 | class· ·Dune::Functions::LeafPreBasisMapperMixin<_GV_> | ||
| 13 | ·······A·generic·MixIn·class·for·PreBasis·with·flat·indices·computed·from·a | ||
| 14 | ········mapper.·More... | ||
| 15 | Namespaces | 10 | Namespaces |
| 16 | namespace· ·Dune | 11 | namespace· ·Dune |
| 17 | namespace· ·Dune::Functions | 12 | namespace· ·Dune::Functions |
| 18 | Functions | 13 | Functions |
| 14 | template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args> | ||
| 15 | void ·Dune::Functions::staticFindInRange·(F·&&f,·Args·&&...·args) | ||
| 16 | ·····Static·find·loop. | ||
| 19 | template<class·GridView,·class·LocalCoefficients> | ||
| 20 | auto ·Dune::Functions::subIndexRange·(const·Dune:: | ||
| 21 | ······MultipleCodimMultipleGeomTypeMapper<·GridView·>·&mapper,·const·typename | ||
| 22 | ······GridView::template·Codim<·0·>::Entity·&element,·const·LocalCoefficients | ||
| 23 | ······&localCoefficients) | ||
| 24 | ····*·dune | 17 | ····*·dune |
| 25 | ····*·functions | 18 | ····*·functions |
| 26 | ····*·functionspacebases | ||
| 27 | ····*· | 19 | ····*·common |
| 20 | ····*·staticforloop.hh | ||
| 28 | ····*·Generated·by·[doxygen]1.15.0 | 21 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00080·=·[ | 1 | var·a00080·=·[ |
| 2 | ····["Dune::Functions::staticFindInRange",·"a00314.html#gaa625ea93bc3285b8a09c9267302386ec",·null] | ||
| 2 | ····["Dune::Functions::LeafPreBasisMapperMixin<·GV·>",·"a01942.html",·"a01942"], | ||
| 3 | ····["Dune::Functions::subIndexRange",·"a00318.html#a0d9958433ba2e4925d415823112ba9fc",·null] | ||
| 4 | ]; | 3 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 172 lines modified | Offset 88, 87 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">staticforloop.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
| 107 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 108 | <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/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 110 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a03877.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l0001 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 114 | <div·class="line"><a·id="l0001 | 113 | <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="a00317.html">Dune</a>·{</div> |
| 114 | <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="a00318.html">Functions</a>·{</div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span> | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·Helper·function·returning·a·random·access·range</span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·of·global·indices·associated·to·the·element.·The·ordering</span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·is·derived·from·the·LocalCoefficients·object.</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·Having·this·as·a·member·of·MCMGMapper·would·be·nice.</span></div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·But·this·would·introduce·the·LocalCoefficient·in·dune-grid.</span></div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·This·would·introduce·at·least·a·weak·'conceptual'·dependency·problem.</span></div> | ||
| 126 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ST,·ST·begin,·ST·end></div> |
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>StaticFindInRange</div> | ||
| 127 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}"> | ||
| 128 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a00318.html#a0d9958433ba2e4925d415823112ba9fc">···31</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00318.html#a0d9958433ba2e4925d415823112ba9fc">subIndexRange</a>(<span·class="keyword">const</span>·Dune::MultipleCodimMultipleGeomTypeMapper<GridView>&·mapper,·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity&·element,·<span·class="keyword">const</span>·LocalCoefficients&·localCoefficients)</div> | ||
| 129 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> |
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply(F&&·f,·Args&&...·args)</div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">if</span>·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...))</div> | ||
| 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·Here·we·make·use·of·the·'hidden'·(poorly·documented)·MCMGMapper·feature·to·support</span></div> | ||
| 131 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//·multiple·DOFs·per·subentity.·However,·we·do·not·take·care·for·any·reordering.</span></div> | ||
| 132 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keywordflow">return</span>·Dune::transformedRangeView(Dune::range(localCoefficients.size()),·[&](<span·class="keyword">auto</span>·localIndex)·{</div> | ||
| 133 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····auto·localKey·=·localCoefficients.localKey(localIndex);</div> | ||
| 134 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····return·mapper.subIndex(element,·localKey.subEntity(),·localKey.codim())·+·localKey.index();</div> | ||
| 135 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······<span·class="keywordflow">return</span>;</div> |
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 136 | <div·class="line"><a·id="l0003 | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> |
| 137 | </div> | ||
| 138 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>};</div> |
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ST,·ST·end></div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>StaticFindInRange<ST,·end,·end></div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply(F&&·f,·Args&&...)</div> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{}</div> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div> | ||
| 139 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 140 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span></div> | ||
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 142 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> | ||
| 143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01942.html">···60</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">LeafPreBasisMapperMixin</a></div> | ||
| 144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01946.html">LeafPreBasisMixin</a><LeafPreBasisMapperMixin<GV>></div> | ||
| 145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div> | ||
| 146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·gridDim·=·GV::dimension;</div> | ||
| 147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
| 148 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//end·namespace·Imp</span></div> |
| 149 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01942.html#aab6d207a3a46f2732b894736f6e0f4fe">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01942.html#aab6d207a3a46f2732b894736f6e0f4fe">GridView</a>·=·GV;</div> | ||
| 151 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
| 152 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01942.html#a76e40e0f473510a583380c325d63a4b1">···71</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01942.html#a76e40e0f473510a583380c325d63a4b1">size_type</a>·=·std::size_t;</div> | ||
| 153 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span></div> |
| 142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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> | ||
| 154 | <div·class="foldopen"·id="foldopen000 | 143 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> |
| 155 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">···74</a></span>··<a·class="code·hl_function"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">LeafPreBasisMapperMixin</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01942.html#aab6d207a3a46f2732b894736f6e0f4fe">GridView</a>&·gv,·Dune::MCMGLayout·layout)·:</div> | ||
| 156 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<a·class="code·hl_variable"·href="a01942.html#ab4d4a795e6f9bb6fc4bfe957febd8ec1">gridView_</a>(gv),</div> | ||
| 157 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00314.html#gaa625ea93bc3285b8a09c9267302386ec">···60</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00314.html#gaa625ea93bc3285b8a09c9267302386ec">staticF[·...·truncated·by·diffoscope;·len:·52,·SHA:·66fb1c46550b6092e4af014fd3934f5713ebeb737215c695eda820f87984fd35·...·])</div> |
| 145 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> | ||
| 146 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 158 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}</div> |
| 159 | </div> | ||
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span></div> | ||
| 161 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01942.html#ac2505bdfa969507d24df694288013b4e">···80</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01942.html#ac2505bdfa969507d24df694288013b4e">initializeIndices</a>()</div> | ||
| 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div> | ||
| 164 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//·Determine·upper·bound·for·node·size·by·traversing</span></div> | ||
| 165 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//·the·layout·for·all·element·types·in·the·grid</span></div> | ||
| 166 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_variable"·href="a01942.html#a4053fcbddb92bec2e249024865357f92">maxNodeSize_</a>·=·0;</div> | ||
| 167 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·GeometryType&·elementType·:·<a·class="code·hl_variable"·href="a01942.html#ab4d4a795e6f9bb6fc4bfe957febd8ec1">gridView_</a>.indexSet().types(0))</div> | ||
| 168 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div> | ||
| 169 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keyword">auto</span>·referenceElement·=·Dune::referenceElement<double,·gridDim>(elementType);</div> | ||
| 170 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·codim·:·Dune::range(gridDim+1))</div> | ||
| 171 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·i·:·Dune::range(referenceElement.size(codim)))</div> | ||
| 172 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········<a·class="code·hl_variable"·href="a01942.html#a4053fcbddb92bec2e249024865357f92">maxNodeSize_</a>·+=·<a·class="code·hl_variable"·href="a01942.html#a45c0be70a622ccf689862d5cb8f31927">mapper_</a>.layout()(referenceElement.type(i,·codim),·gridDim);</div> | ||
| 173 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····}</div> | ||
| 174 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
| 175 | </div> | ||
| 176 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span></div> | ||
| Max diff block lines reached; 14814/37509 bytes (39.49%) of diff not shown. | |||
| Offset 1, 193 lines modified | Offset 1, 83 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | staticforloop.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMAPPERMIXIN_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10 | ||
| 18 | 1 | 19 | 11#include·<dune/common/concept.hh> |
| 19 | 1 | 20 | 12 |
| 21 | 13#include·<dune/functions/common/type_traits.hh> | ||
| 20 | 1 | 22 | 14#include·<dune/functions/functionspacebases/concepts.hh> |
| 21 | 13 | ||
| 22 | 14#include·<dune/geometry/referenceelements.hh> | ||
| 23 | 15 | 23 | 15 |
| 24 | 16#include·<dune/grid/common/mcmgmapper.hh> | ||
| 25 | 17 | ||
| 26 | 1 | 24 | 16 |
| 25 | 17namespace·Dune·{ | ||
| 26 | 18namespace·Functions·{ | ||
| 27 | 19 | 27 | 19 |
| 28 | 20namespace· | 28 | 20namespace·Imp·{ |
| 29 | 21 | 29 | 21 |
| 30 | 22template<class·ST,·ST·begin,·ST·end> | ||
| 31 | 23struct·StaticFindInRange | ||
| 32 | 24{ | ||
| 33 | 25·template<class·F,·class...Args> | ||
| 34 | 26·static·void·apply(F&&·f,·Args&&...·args) | ||
| 35 | 27·{ | ||
| 36 | 28·if·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...)) | ||
| 37 | 29·return; | ||
| 38 | 30·StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std:: | ||
| 39 | forward<Args>(args)...); | ||
| 40 | 31·} | ||
| 41 | 32}; | ||
| 42 | 33 | ||
| 43 | 34template<class·ST,·ST·end> | ||
| 44 | 35struct·StaticFindInRange<ST,·end,·end> | ||
| 45 | 36{ | ||
| 46 | 37·template<class·F,·class...Args> | ||
| 47 | 38·static·void·apply(F&&·f,·Args&&...) | ||
| 30 | 22 | ||
| 31 | 23 | ||
| 32 | 24//·Helper·function·returning·a·random·access·range | ||
| 33 | 25//·of·global·indices·associated·to·the·element.·The·ordering | ||
| 34 | 26//·is·derived·from·the·LocalCoefficients·object. | ||
| 35 | 27//·Having·this·as·a·member·of·MCMGMapper·would·be·nice. | ||
| 36 | 28//·But·this·would·introduce·the·LocalCoefficient·in·dune-grid. | ||
| 37 | 29//·This·would·introduce·at·least·a·weak·'conceptual'·dependency·problem. | ||
| 38 | 30template<class·GridView,·class·LocalCoefficients> | ||
| 39 | 31auto·subIndexRange(const·Dune::MultipleCodimMultipleGeomTypeMapper<GridView>& | ||
| 40 | mapper,·const·typename·GridView::template·Codim<0>::Entity&·element,·const | ||
| 41 | LocalCoefficients&·localCoefficients) | ||
| 42 | 32{ | ||
| 43 | 33·//·Here·we·make·use·of·the·'hidden'·(poorly·documented)·MCMGMapper·feature | ||
| 44 | to·support | ||
| 45 | 34·//·multiple·DOFs·per·subentity.·However,·we·do·not·take·care·for·any | ||
| 46 | reordering. | ||
| 47 | 35·return·Dune::transformedRangeView(Dune::range(localCoefficients.size()),·[&] | ||
| 48 | (auto·localIndex)·{ | ||
| 49 | 36·auto·localKey·=·localCoefficients.localKey(localIndex); | ||
| 50 | 37·return·mapper.subIndex(element,·localKey.subEntity(),·localKey.codim())·+ | ||
| 51 | localKey.index(); | ||
| 52 | 38·}); | ||
| 53 | 39} | 48 | 39·{} |
| 54 | 40 | 49 | 40}; |
| 55 | 41 | 50 | 41 |
| 56 | 42 | ||
| 57 | 59template<typename·GV> | ||
| 58 | 60class·LeafPreBasisMapperMixin | ||
| 59 | 61·:·public·LeafPreBasisMixin<LeafPreBasisMapperMixin<GV>> | ||
| 60 | 62{ | ||
| 61 | 51 | 42}·//end·namespace·Imp | |
| 52 | 43 | ||
| 53 | 44 | ||
| 54 | 45 | ||
| 55 | 59template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args> | ||
| 56 | 60void·staticFindInRange(F&&·f,·Args&&...·args) | ||
| 57 | 61{ | ||
| 58 | 62·Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F> | ||
| 59 | (f),·std::forward<Args>(args)...); | ||
| 60 | 63} | ||
| 62 | 64 | 61 | 64 |
| 63 | 65public: | ||
| 64 | 66 | ||
| 65 | 6 | 62 | 65 |
| 63 | 66}·//·namespace·Dune::Functions | ||
| 64 | 67}·//·namespace·Dune | ||
| 65 | 68 | ||
| 66 | 69 | 66 | 69 |
| 67 | 70 | ||
| 68 | 71#endif·//DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
| 69 | type_traits.hh | ||
| 70 | Dune::Functions::staticFindInRange | ||
| 71 | void·staticFindInRange(F·&&f,·Args·&&...·args) | ||
| 72 | Static·find·loop. | ||
| 73 | Definition·staticforloop.hh:60 | ||
| 74 | Dune | ||
| 75 | Definition·monomialset.hh:19 | ||
| 67 | 71·using·size_type·=·std::size_t; | ||
| 68 | 72 | ||
| 69 | 74·LeafPreBasisMapperMixin(const·GridView&·gv,·Dune::MCMGLayout·layout)·: | ||
| 70 | 75·gridView_(gv), | ||
| 71 | 76·mapper_(gridView_,·std::move(layout)) | ||
| 72 | 77·{} | ||
| 73 | 78 | ||
| 74 | 80·void·initializeIndices() | ||
| 75 | 81·{ | ||
| 76 | 82·//·Determine·upper·bound·for·node·size·by·traversing | ||
| 77 | 83·//·the·layout·for·all·element·types·in·the·grid | ||
| 78 | 84·maxNodeSize_·=·0; | ||
| 79 | 85·for(const·GeometryType&·elementType·:·gridView_.indexSet().types(0)) | ||
| 80 | 86·{ | ||
| 81 | 87·auto·referenceElement·=·Dune::referenceElement<double,·gridDim> | ||
| 82 | (elementType); | ||
| 83 | 88·for(auto·codim·:·Dune::range(gridDim+1)) | ||
| Max diff block lines reached; 2546/7856 bytes (32.41%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 51 lines modified | Offset 88, 86 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·<utility></code><br·/> | 97 | <div·class="textblock"><code>#include·<utility></code><br·/> |
| 98 | <code>#include·<type_traits></code><br·/> | ||
| 99 | <code>#include·<dune/common/overloadset.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
| 98 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/ | 101 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
| 99 | </div> | 102 | </div> |
| 100 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 101 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 106 | Classes</h2></td></tr> | ||
| 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALastType_3C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALastType_3C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01558.html">Dune::Functions::LastType<·T·></a></td></tr> | ||
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Get·last·entry·of·type·list.··<a·href="a01558.html#details">More...</a><br·/></td></tr> | ||
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ARotateTuple_3C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ARotateTuple_3C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01570.html">Dune::Functions::RotateTuple<·T·></a></td></tr> | ||
| 110 | <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="a01570.html#details">More...</a><br·/></td></tr> | ||
| 111 | </table><table·class="memberdecls"> | ||
| 102 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 103 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
| 104 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 114 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 105 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 115 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 106 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
| 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 118 | Typedefs</h2></td></tr> | ||
| 119 | <tr·class="memitem:gaf9c566ddbb17d4d1abfc40d9eafb3576"·id="r_gaf9c566ddbb17d4d1abfc40d9eafb3576"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·T,·class·ArgTuple>·</td></tr> | ||
| 120 | <tr·class="memitem:gaf9c566ddbb17d4d1abfc40d9eafb3576·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gaf9c566ddbb17d4d1abfc40d9eafb3576">Dune::Functions::ExpandTuple</a>·=·typename·Imp::ExpandTupleHelper<T,·ArgTuple>::Type</td></tr> | ||
| 121 | <tr·class="memdesc:gaf9c566ddbb17d4d1abfc40d9eafb3576"><td·class="mdescLeft"> </td><td·class="mdescRight">Expand·tuple·arguments·as·template·arguments.··<br·/></td></tr> | ||
| 122 | <tr·class="memitem:gacfec4e0dd3d886f4faf60580412f5951"·id="r_gacfec4e0dd3d886f4faf60580412f5951"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·F,·class...·Tuples>·</td></tr> | ||
| 123 | <tr·class="memitem:gacfec4e0dd3d886f4faf60580412f5951·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gacfec4e0dd3d886f4faf60580412f5951">Dune::Functions::TransformTuple</a>·=·typename·Imp::TransformTupleHelper<F,·Tuples...>::Type</td></tr> | ||
| 124 | <tr·class="memdesc:gacfec4e0dd3d886f4faf60580412f5951"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·types·argument·using·type-functor.··<br·/></td></tr> | ||
| 125 | <tr·class="memitem:aec76d4de05a86d2129387dfa1c04144f"·id="r_aec76d4de05a86d2129387dfa1c04144f"><td·class="memTemplParams"·colspan="2">template<class·IntegerSequence>·</td></tr> | ||
| 126 | <tr·class="memitem:aec76d4de05a86d2129387dfa1c04144f·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#aec76d4de05a86d2129387dfa1c04144f">Dune::Functions::IntegerSequenceTuple</a>·=·typename·Imp::IntegerSequenceTupleHelper<IntegerSequence>::Type</td></tr> | ||
| 127 | <tr·class="memdesc:aec76d4de05a86d2129387dfa1c04144f"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...>.··<br·/></td></tr> | ||
| 128 | </table><table·class="memberdecls"> | ||
| 107 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 129 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 108 | Functions</h2></td></tr> | 130 | Functions</h2></td></tr> |
| 109 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"·id="r_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> | ||
| 110 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5·template"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
| 111 | <tr·class="memdesc:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Loop·over·all·DOFs·on·the·boundary.··<br·/></td></tr> | ||
| 112 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"·id="r_gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplParams"·colspan="2">template<class·Basis,·class·F,·decltype(std::declval<·std::decay_t<·F·>·>()(0,·std::declval<·typename·Basis::LocalView·>()),·0)·=·0>·</td></tr> | ||
| 113 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5·template"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
| 114 | <tr·class="memdesc:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Loop·over·all·DOFs·on·the·boundary.··<br·/></td></tr> | ||
| 115 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"·id="r_gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplParams"·colspan="2">template<class·Basis,·class·F,·decltype(std::declval<·std::decay_t<·F·>·>()(std::declval<·typename·Basis::MultiIndex·>()),·0)·=·0>·</td></tr> | ||
| 116 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5·template"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
| 117 | <tr·class="mem | 131 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7"·id="r_a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplParams"·colspan="2">template<class·F,·class·size_type,·size_type·firstValue,·class...·Args>·</td></tr> |
| 132 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.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> | ||
| 133 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"·id="r_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> | ||
| 134 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.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> | ||
| 135 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"·id="r_gac7d45de6c68fce943e6924403389d234"><td·class="memTemplParams"·colspan="2">template<std::size_t·end,·class·F,·class·size_type,·class...·Args>·</td></tr> | ||
| 136 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.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> | ||
| 137 | <tr·class="memdesc:gac7d45de6c68fce943e6924403389d234"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·dynamic·index·to·static·index_constant.··<br·/></td></tr> | ||
| 138 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"·id="r_ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplParams"·colspan="2">template<class·F,·class...·T>·</td></tr> | ||
| 139 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.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> | ||
| 140 | <tr·class="memdesc:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·functor.··<br·/></td></tr> | ||
| 141 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"·id="r_gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplParams"·colspan="2">template<class·F,·class...·T1,·class...·T2>·</td></tr> | ||
| 142 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.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> | ||
| 143 | <tr·class="memdesc:gae663a5bfd683c8a0844bb974807d8f52"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·binary·functor.··<br·/></td></tr> | ||
| 144 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"·id="r_ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplParams"·colspan="2">template<class·Expression>·</td></tr> | ||
| 145 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#ga7d55c56e78792c4b169c18d875a60935">Dune::Functions::callableCheck</a>·(Expression·f)</td></tr> | ||
| 146 | <tr·class="memdesc:ga7d55c56e78792c4b169c18d875a60935"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·predicate·for·checking·validity·of·expressions.··<br·/></td></tr> | ||
| 147 | <tr·class="memitem:gaed02f0c6f78e0d71e09d9bc6a29347c4"·id="r_gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memTemplParams"·colspan="2">template<class·Check>·</td></tr> | ||
| 148 | <tr·class="memitem:gaed02f0c6f78e0d71e09d9bc6a29347c4·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gaed02f0c6f78e0d71e09d9bc6a29347c4">Dune::Functions::negatePredicate</a>·(Check·check)</td></tr> | ||
| 149 | <tr·class="memdesc:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="mdescLeft"> </td><td·class="mdescRight">Negate·given·predicate.··<br·/></td></tr> | ||
| 150 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"·id="r_a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplParams"·colspan="2">template<class·T>·</td></tr> | ||
| 151 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">Dune::Functions::forwardCapture</a>·(T·&&t)</td></tr> | ||
| 152 | <tr·class="memdesc:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·capture·object·for·perfect·forwarding.··<br·/></td></tr> | ||
| 118 | </table> | 153 | </table> |
| 119 | </div><!--·contents·--> | 154 | </div><!--·contents·--> |
| 120 | </div><!--·doc-content·--> | 155 | </div><!--·doc-content·--> |
| 121 | <div·id="page-nav"·class="page-nav-panel"> | 156 | <div·id="page-nav"·class="page-nav-panel"> |
| 122 | <div·id="page-nav-resize-handle"></div> | 157 | <div·id="page-nav-resize-handle"></div> |
| 123 | <div·id="page-nav-tree"> | 158 | <div·id="page-nav-tree"> |
| 124 | <div·id="page-nav-contents"> | 159 | <div·id="page-nav-contents"> |
| 125 | </div><!--·page-nav-contents·--> | 160 | </div><!--·page-nav-contents·--> |
| 126 | </div><!--·page-nav-tree·--> | 161 | </div><!--·page-nav-tree·--> |
| 127 | </div><!--·page-nav·--> | 162 | </div><!--·page-nav·--> |
| 128 | </div><!--·container·--> | 163 | </div><!--·container·--> |
| 129 | <!--·start·footer·part·--> | 164 | <!--·start·footer·part·--> |
| 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 165 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 131 | ··<ul> | 166 | ··<ul> |
| 132 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 167 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00083.html">utility.hh</a></li> |
| 133 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 168 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 134 | ··</ul> | 169 | ··</ul> |
| 135 | </div> | 170 | </div> |
| 136 | </body> | 171 | </body> |
| 137 | </html> | 172 | </html> |
| Offset 1, 30 lines modified | Offset 1, 75 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | utility.hh·File·Reference | |
| 6 | #include·<utility> | 6 | #include·<utility> |
| 7 | #include·< | 7 | #include·<type_traits> |
| 8 | #include·<dune/common/overloadset.hh> | ||
| 9 | #include·<dune/common/indices.hh> | ||
| 10 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 8 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | ||
| 13 | struct· ·Dune::Functions::LastType<_T_> | ||
| 14 | ········Get·last·entry·of·type·list.·More... | ||
| 15 | struct· ·Dune::Functions::RotateTuple<_T_> | ||
| 16 | ········Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first | ||
| 17 | ·········position.·More... | ||
| 9 | Namespaces | 18 | Namespaces |
| 10 | namespace· ·Dune | 19 | namespace· ·Dune |
| 11 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 21 | Typedefs | ||
| 22 | template<template<·class...·>·class·T,·class·ArgTuple> | ||
| 23 | using ·Dune::Functions::ExpandTuple·=·typename·Imp::ExpandTupleHelper<T, | ||
| 24 | ·······ArgTuple>::Type | ||
| 25 | ······Expand·tuple·arguments·as·template·arguments. | ||
| 26 | template<template<·class...·>·class·F,·class...·Tuples> | ||
| 27 | using ·Dune::Functions::TransformTuple·=·typename·Imp::TransformTupleHelper<F, | ||
| 28 | ·······Tuples...>::Type | ||
| 29 | ······Transform·tuple·types·argument·using·type-functor. | ||
| 30 | template<class·IntegerSequence> | ||
| 31 | using ·Dune::Functions::IntegerSequenceTuple·=·typename·Imp:: | ||
| 32 | ·······IntegerSequenceTupleHelper<IntegerSequence>::Type | ||
| 33 | ······Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...>. | ||
| 12 | Functions | 34 | Functions |
| 13 | template<class·Basis,·class·F,·decltype(std::declval<·std::decay_t<·F·>·>()(0, | ||
| 14 | std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename·Basis:: | ||
| 15 | GridView::Intersection·>()),·0)·=·0> | ||
| 16 | void ·Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
| 17 | ·····Loop·over·all·DOFs·on·the·boundary. | ||
| 18 | template<class·Basis,·class·F,·decltype(std::declval<·std::decay_t<·F·>·>()(0, | ||
| 19 | std::declval<·typename·Basis::LocalView·>()),·0)·=·0> | ||
| 20 | void ·Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
| 21 | ·····Loop·over·all·DOFs·on·the·boundary. | ||
| 22 | template<class·Basis,·class·F,·decltype(std::declval<·std::decay_t<·F·>·>() | ||
| 23 | (std::declval<·typename·Basis::MultiIndex·>()),·0)·=·0> | ||
| 24 | void ·Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
| 25 | 35 | template<class·F,·class·size_type,·size_type·firstValue,·class...·Args> | |
| 36 | auto ·Dune::Functions::forwardAsStaticInteger·(std::integer_sequence<·size_ | ||
| 37 | ······type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&...·args)·- | ||
| 38 | ······>·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std:: | ||
| 39 | ······forward<·Args·>(args)...)) | ||
| 40 | template<class·F,·class·size_type,·size_type·firstValue,·size_type·secondValue, | ||
| 41 | size_type...·otherValues,·class...·Args> | ||
| 42 | auto ·Dune::Functions::forwardAsStaticInteger·(std::integer_sequence<·size_ | ||
| 43 | ······type,·firstValue,·secondValue,·otherValues...·>·values,·const·size_type | ||
| 44 | ······i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_ | ||
| 45 | ······type,·firstValue·>(),·std::forward<·Args·>(args)...)) | ||
| 46 | template<std::size_t·end,·class·F,·class·size_type,·class...·Args> | ||
| 47 | auto ·Dune::Functions::forwardAsStaticIndex·(const·size_type·&i,·F·&&f,·Args | ||
| 48 | ······&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·> | ||
| 49 | ······(args)...)) | ||
| 50 | ·····Transform·dynamic·index·to·static·index_constant. | ||
| 51 | template<class·F,·class...·T> | ||
| 52 | auto ·Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T...·>·&tuple) | ||
| 53 | ······->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std:: | ||
| 54 | ······index_sequence_for<·T...·>{})) | ||
| 55 | ·····Transform·tuple·value·using·a·functor. | ||
| 56 | template<class·F,·class...·T1,·class...·T2> | ||
| 57 | auto ·Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T1...·> | ||
| 58 | ······&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp:: | ||
| 59 | ······transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std::index_ | ||
| 60 | ······sequence_for<·T1...·>{})) | ||
| 61 | ·····Transform·tuple·value·using·a·binary·functor. | ||
| 62 | template<class·Expression> | ||
| 63 | auto ·Dune::Functions::callableCheck·(Expression·f) | ||
| 64 | ·····Create·a·predicate·for·checking·validity·of·expressions. | ||
| 65 | template<class·Check> | ||
| 66 | auto ·Dune::Functions::negatePredicate·(Check·check) | ||
| 67 | ·····Negate·given·predicate. | ||
| 68 | template<class·T> | ||
| 69 | auto ·Dune::Functions::forwardCapture·(T·&&t) | ||
| 70 | ·····Create·a·capture·object·for·perfect·forwarding. | ||
| 26 | ····*·dune | 71 | ····*·dune |
| 27 | ····*·functions | 72 | ····*·functions |
| 28 | ····*·functionspacebases | ||
| 29 | ····*· | 73 | ····*·common |
| 74 | ····*·utility.hh | ||
| 30 | ····*·Generated·by·[doxygen]1.15.0 | 75 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 5 lines modified | Offset 1, 13 lines modified | ||
| 1 | var·a00083·=·[ | 1 | var·a00083·=·[ |
| 2 | ····["Dune::Functions::forEachBoundaryDOF",·"a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5",·null], | ||
| 3 | ····["Dune::Functions::forEachBoundaryDOF",·"a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5",·null], | ||
| 4 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::ExpandTuple",·"a00314.html#gaf9c566ddbb17d4d1abfc40d9eafb3576",·null], |
| 3 | ····["Dune::Functions::IntegerSequenceTuple",·"a00318.html#aec76d4de05a86d2129387dfa1c04144f",·null], | ||
| 4 | ····["Dune::Functions::TransformTuple",·"a00314.html#gacfec4e0dd3d886f4faf60580412f5951",·null], | ||
| 5 | ····["Dune::Functions::callableCheck",·"a00314.html#ga7d55c56e78792c4b169c18d875a60935",·null], | ||
| 6 | ····["Dune::Functions::forwardAsStaticIndex",·"a00314.html#gac7d45de6c68fce943e6924403389d234",·null], | ||
| 7 | ····["Dune::Functions::forwardAsStaticInteger",·"a00318.html#a84f8a9700ef8b12973e210ee4674c2b7",·null], | ||
| 8 | ····["Dune::Functions::forwardAsStaticInteger",·"a00318.html#a4e975086fb37cbf3e33cc42a2b4ef1e2",·null], | ||
| 9 | ····["Dune::Functions::forwardCapture",·"a00318.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0",·null], | ||
| 10 | ····["Dune::Functions::negatePredicate",·"a00314.html#gaed02f0c6f78e0d71e09d9bc6a29347c4",·null], | ||
| 11 | ····["Dune::Functions::transformTuple",·"a00314.html#ga4e5fbe8e1330cdfab9eddd5962682b4c",·null], | ||
| 12 | ····["Dune::Functions::transformTuple",·"a00314.html#gae663a5bfd683c8a0844bb974807d8f52",·null] | ||
| 5 | ]; | 13 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 115 lines modified | Offset 88, 316 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">utility.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_UTILITY_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_UTILITY_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 107 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 108 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <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="a00317.html">Dune</a>·{</div> | ||
| 111 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/overloadset.hh></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00140.html">dune/functions/common/functionconcepts.hh</a>></span></div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span></div> | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 115 | <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="a00317.html">Dune</a>·{</div> | ||
| 115 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> | ||
| 116 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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> | ||
| 117 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}"> | ||
| 118 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5">···40</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
| 119 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
| 120 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
| 121 | <div·class="line"><a·id="l000 | 116 | <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="a00318.html">Functions</a>·{</div> |
| 122 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> | ||
| 123 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> | ||
| 124 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
| 125 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 126 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 127 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> | ||
| 128 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> | ||
| 129 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·localIndex:·seDOFs.bind(localView,intersection))</div> | ||
| 130 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············f(localIndex,·localView,·intersection);</div> | ||
| 131 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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> |
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>[[deprecated(<span·class="stringliteral">"This·function·will·be·removed·after·Dune·2.11"</span>)]]</div> | ||
| 121 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> | ||
| 122 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00318.html#a84f8a9700ef8b12973e210ee4674c2b7">···25</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00318.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue>·values,·<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
| 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
| 132 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
| 125 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
| 133 | </div> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 136 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div> |
| 137 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> | ||
| 138 | < | 127 | </div> |
| 128 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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> | ||
| 130 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>[[deprecated(<span·class="stringliteral">"This·function·will·be·removed·after·Dune·2.11"</span>)]]</div> | ||
| 139 | <div·class="foldopen"·id="foldopen000 | 131 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> |
| 140 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00318.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">···33</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00318.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStat[·...·truncated·by·diffoscope;·len:·187,·SHA:·187b23f59c8dc801d0b17ce3920041864412b61c9994c9be5d8fb773a3c0215c·...·])</div> |
| 133 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
| 141 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> |
| 142 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keywordflow">if</span>·(i==firstValue)</div> |
| 136 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
| 137 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00318.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·secondValue,·otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 143 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00313.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
| 144 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> | ||
| 145 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> | ||
| 146 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
| 147 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>}</div> |
| 139 | </div> | ||
| 148 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 141 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
| 149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> | ||
| 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> | ||
| 151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·localIndex:·seDOFs.bind(localView,intersection))</div> | ||
| 152 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span></div> |
| 143 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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> | ||
| 144 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>[[deprecated(<span·class="stringliteral">"This·function·will·be·removed·after·Dune·2.11,·use·Dune::Hybrid::switchCases."</span>)]]</div> | ||
| 145 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
| 146 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00314.html#gac7d45de6c68fce943e6924403389d234">···68</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00314.html#gac7d45de6c68fce943e6924403389d234">forwardAsStaticIndex</a>(<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
| 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...))</div> | ||
| 153 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</div> |
| 149 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00318.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::make_index_sequence<end>{},·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 154 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>}</div> | ||
| 155 | </div> | ||
| 156 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>}</div> |
| 151 | </div> | ||
| 157 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 158 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
| 159 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> | ||
| 160 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(std::declval<typename·Basis::MultiIndex>()),0)·=·0></div> | ||
| 161 | <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> | ||
| 162 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5">··113</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
| 163 | <div·class="line"><a·id="l00 | 154 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
| 164 | <div·class="line"><a·id="l00 | 155 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 156 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 157 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</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> | ||
| 165 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00313.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
| 166 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> | ||
| 167 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> | ||
| 168 | <div·class="line"><a·id="l00 | 158 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">struct·</span>ExpandTupleHelper</div> |
| 169 | <div·class="line"><a·id="l00 | 159 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{};</div> |
| 170 | <div·class="line"><a·id="l00 | 160 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
| 171 | <div·class="line"><a·id="l00 | 161 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</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[·...·truncated·by·diffoscope;·len:·138,·SHA:·5830eceee2b9415b437d20efc9a25580bbe4135f7be7e1e6d5db211146b15689·...·]</div> |
| 162 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">struct·</span>ExpandTupleHelper<T,·ListType<Args...>></div> | ||
| Max diff block lines reached; 3959/63510 bytes (6.23%) of diff not shown. | |||
| Offset 1, 111 lines modified | Offset 1, 358 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | utility.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_UTILITY_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_UTILITY_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10 | ||
| 18 | 1 | 19 | 11#include·<utility> |
| 20 | 12#include·<type_traits> | ||
| 19 | 11 | ||
| 20 | 12#include·<dune/functions/functionspacebases/subentitydofs.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14namespace·Dune·{ | ||
| 23 | 1 | 22 | 14#include·<dune/common/overloadset.hh> |
| 23 | 15#include·<dune/common/indices.hh> | ||
| 24 | 16 | 24 | 16 |
| 25 | 17 | 25 | 17#include·<dune/functions/common/functionconcepts.hh> |
| 26 | 18 | 26 | 18 |
| 27 | 38template<class·Basis,·class·F, | ||
| 28 | 39·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
| 29 | LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0> | ||
| 30 | 40void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
| 31 | 41{ | ||
| 32 | 42·auto·localView·=·basis.localView(); | ||
| 33 | 43·auto·seDOFs·=·subEntityDOFs(basis); | ||
| 34 | 44·const·auto&·gridView·=·basis.gridView(); | ||
| 35 | 45·for(auto&&·element·:·elements(gridView)) | ||
| 36 | 46·if·(element.hasBoundaryIntersections()) | ||
| 37 | 47·{ | ||
| 38 | 48·localView.bind(element); | ||
| 39 | 49·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
| 40 | 50·if·(intersection.boundary()) | ||
| 41 | 51·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
| 42 | 52·f(localIndex,·localView,·intersection); | ||
| 43 | 53·} | ||
| 44 | 54} | ||
| 45 | 55 | ||
| 46 | 56 | ||
| 47 | 57 | ||
| 48 | 75template<class·Basis,·class·F, | ||
| 49 | 76·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
| 50 | LocalView>()),0)·=·0> | ||
| 51 | 77void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
| 52 | 78{ | ||
| 53 | 79·auto·localView·=·basis.localView(); | ||
| 54 | 80·auto·seDOFs·=·subEntityDOFs(basis); | ||
| 55 | 81·const·auto&·gridView·=·basis.gridView(); | ||
| 56 | 82·for(auto&&·element·:·elements(gridView)) | ||
| 57 | 27 | 19namespace·Dune·{ | |
| 28 | 20namespace·Functions·{ | ||
| 29 | 21 | ||
| 30 | 22 | ||
| 31 | 23template<class·F,·class·size_type,·size_type·firstValue,·class...·Args> | ||
| 32 | 24[[deprecated("This·function·will·be·removed·after·Dune·2.11")]] | ||
| 33 | 25auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue> | ||
| 34 | values,·const·size_type&·i,·F&&·f,·Args&&...·args) | ||
| 35 | 26·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
| 36 | forward<Args>(args)...)) | ||
| 37 | 27{ | ||
| 38 | 28·return·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args> | ||
| 39 | (args)...); | ||
| 40 | 29} | ||
| 41 | 30 | ||
| 42 | 31template<class·F,·class·size_type,·size_type·firstValue,·size_type | ||
| 43 | secondValue,·size_type...·otherValues,·class...·Args> | ||
| 44 | 32[[deprecated("This·function·will·be·removed·after·Dune·2.11")]] | ||
| 45 | 33auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue, | ||
| 46 | secondValue,·otherValues...>·values,·const·size_type·i,·F&&·f,·Args&&...·args) | ||
| 47 | 34·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
| 48 | forward<Args>(args)...)) | ||
| 49 | 35{ | ||
| 50 | 36·if·(i==firstValue) | ||
| 51 | 37·return·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args> | ||
| 52 | (args)...); | ||
| 53 | 38·return·forwardAsStaticInteger(std::integer_sequence<size_type,·secondValue, | ||
| 54 | otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...); | ||
| 55 | 39} | ||
| 56 | 40 | ||
| 57 | 41 | ||
| 58 | 42 | ||
| 59 | 66template<std::size_t·end,·class·F,·class·size_type,·class...·Args> | ||
| 60 | 67[[deprecated("This·function·will·be·removed·after·Dune·2.11,·use·Dune:: | ||
| 61 | Hybrid::switchCases.")]] | ||
| 62 | 68auto·forwardAsStaticIndex(const·size_type&·i,·F&&·f,·Args&&...·args) | ||
| 63 | 69·->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...)) | ||
| 64 | 70{ | ||
| 65 | 71·return·forwardAsStaticInteger(std::make_index_sequence<end>{},·i,·std:: | ||
| 66 | forward<F>(f),·std::forward<Args>(args)...); | ||
| 67 | 72} | ||
| 68 | 73 | ||
| 69 | 74 | ||
| 70 | 75 | ||
| 71 | 76namespace·Imp·{ | ||
| 72 | 77 | ||
| 73 | 78·template<template<class...>·class·T,·class·List> | ||
| 74 | 79·struct·ExpandTupleHelper | ||
| 75 | 80·{}; | ||
| 76 | 81 | ||
| 77 | 82·template<template<class...>·class·T,·template<class...>·class·ListType, | ||
| 78 | class...·Args> | ||
| 79 | 83·struct·ExpandTupleHelper<T,·ListType<Args...>> | ||
| 58 | 84·{ | 80 | 84·{ |
| 59 | 85·localView.bind(element); | ||
| 60 | 86·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
| 61 | 87·if·(intersection.boundary()) | ||
| 62 | 88·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
| 63 | 89·f(localIndex,·localView); | ||
| 64 | 90·} | ||
| 65 | 91} | ||
| 66 | 92 | ||
| 67 | 93 | ||
| 68 | 94 | ||
| 69 | 111template<class·Basis,·class·F, | ||
| 70 | 112·decltype(std::declval<std::decay_t<F>>()(std::declval<typename·Basis:: | ||
| 71 | MultiIndex>()),0)·=·0> | ||
| Max diff block lines reached; 8102/13595 bytes (59.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·densevectorview.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 27 lines modified | Offset 88, 19 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">densevectorview.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<numeric></code><br·/> | ||
| 99 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/densevector.hh></code><br·/> |
| 101 | <code>#include·<dune/common/math.hh></code><br·/> | ||
| 102 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
| 103 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 104 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
| 105 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a00194_source.html">dune/functions/common/densevectorview.hh</a>></code><br·/> | ||
| 107 | </div> | 99 | </div> |
| 108 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 100 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 109 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 111 | Namespaces</h2></td></tr> | 103 | Namespaces</h2></td></tr> |
| 112 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 104 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 113 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| Offset 122, 13 lines modified | Offset 114, 13 lines modified | ||
| 122 | </div><!--·page-nav-contents·--> | 114 | </div><!--·page-nav-contents·--> |
| 123 | </div><!--·page-nav-tree·--> | 115 | </div><!--·page-nav-tree·--> |
| 124 | </div><!--·page-nav·--> | 116 | </div><!--·page-nav·--> |
| 125 | </div><!--·container·--> | 117 | </div><!--·container·--> |
| 126 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 127 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 119 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 128 | ··<ul> | 120 | ··<ul> |
| 129 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 121 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00086.html">densevectorview.hh</a></li> |
| 130 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 122 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 131 | ··</ul> | 123 | ··</ul> |
| 132 | </div> | 124 | </div> |
| 133 | </body> | 125 | </body> |
| 134 | </html> | 126 | </html> |
| Offset 1, 24 lines modified | Offset 1, 16 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | densevectorview.hh·File·Reference | ||
| 6 | #include·<type_traits> | ||
| 5 | globalvaluedlocalfiniteelement.hh·File·Reference | ||
| 6 | #include·<array> | ||
| 7 | #include·<numeric> | ||
| 8 | #include·<dune/common/fmatrix.hh> | ||
| 9 | #include·<dune/common/ | 7 | #include·<dune/common/densevector.hh> |
| 10 | #include·<dune/common/math.hh> | ||
| 11 | #include·<dune/common/rangeutilities.hh> | ||
| 12 | #include·<dune/geometry/referenceelements.hh> | ||
| 13 | #include·<dune/localfunctions/common/localbasis.hh> | ||
| 14 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 15 | #include·<dune/functions/common/densevectorview.hh> | ||
| 16 | Go_to_the_source_code_of_this_file. | 8 | Go_to_the_source_code_of_this_file. |
| 17 | Namespaces | 9 | Namespaces |
| 18 | namespace· ·Dune | 10 | namespace· ·Dune |
| 19 | namespace· ·Dune::Functions | 11 | namespace· ·Dune::Functions |
| 20 | ····*·dune | 12 | ····*·dune |
| 21 | ····*·functions | 13 | ····*·functions |
| 22 | ····*·functionspacebases | ||
| 23 | ····*· | 14 | ····*·common |
| 15 | ····*·densevectorview.hh | ||
| 24 | ····*·Generated·by·[doxygen]1.15.0 | 16 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·densevectorview.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 355 lines modified | Offset 88, 120 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">densevectorview.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DENSEVECTORVIEW_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DENSEVECTORVIEW_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<numeric></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/densevector.hh></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l0001 | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
| 115 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00194.html">dune/functions/common/densevectorview.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 121 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Dune::Functions::Impl·{</div> |
| 122 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span></div> |
| 123 | <div·class="line"><a·id="l0002 | 113 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·R></div> |
| 124 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">class·</span>DenseVectorView</div> |
| 115 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····:·<span·class="keyword">public</span>·DenseVector<DenseVectorView<R>></div> | ||
| 125 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div> |
| 117 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····R&·data_;</div> | ||
| 118 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">using·</span>mutable_reference·=·<span·class="keyword">typename</span>·std::decay_t<R>::reference;</div> | ||
| 126 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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> | ||
| 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·apply(Values&·values,</div> | ||
| 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······················<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> | ||
| 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······················<span·class="keyword">const</span>·Geometry&·geometry)</div> | ||
| 130 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 131 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>:</div> |
| 132 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span></div> |
| 123 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">using·</span>size_type·=·<span·class="keyword">typename</span>·std::decay_t<R>::size_type;</div> | ||
| 133 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span></div> |
| 134 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">using·</span>value_type·=·<span·class="keyword">typename</span>·std::decay_t<R>::value_type;</div> |
| 135 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span></div> |
| 127 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">using·</span>const_reference·=·<span·class="keyword">typename</span>·std::decay_t<R>::const_reference;</div> | ||
| 128 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span></div> | ||
| 129 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>reference·=·std::conditional_t<std::is_const_v<R>,</div> | ||
| 130 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······const_reference,</div> | ||
| 131 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······mutable_reference>;</div> | ||
| 132 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span></div> | ||
| 136 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keyword">auto</span>·tmp·=·value;</div> | ||
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="comment">//·Here·we·cannot·directly·use</span></div> | ||
| 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="comment">//·jacobianTransposed.mtv(tmp,·value);</span></div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="comment">//·because·mtv·expects·the·DenseVector·interface.</span></div> | ||
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keyword">auto</span>·tmpDenseVector·=·Impl::DenseVectorView(tmp);</div> | ||
| 141 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keyword">auto</span>·valueDenseVector·=·Impl::DenseVectorView(value);</div> | ||
| 142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········jacobianTransposed.mtv(tmpDenseVector,·valueDenseVector);</div> | ||
| 143 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····DenseVectorView·(R&·data)</div> |
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······:·data_(data)</div> |
| 145 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{}</div> |
| 146 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span></div> |
| 147 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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> | ||
| 148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·applyJacobian(Gradients&·gradients,</div> | ||
| 149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······························<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> | ||
| 150 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····DenseVectorView·(<span·class="keyword">const</span>·DenseVectorView·&other)·=·<span·class="keyword">delete</span>;</div> |
| 138 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span></div> | ||
| 139 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····DenseVectorView·(DenseVectorView·&&other)·:</div> | ||
| 140 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······data_(·other.data_·)</div> | ||
| 151 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····{}</div> |
| 152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> | ||
| 153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
| 154 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span></div> |
| 143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····DenseVectorView&·operator=·(<span·class="keyword">const</span>·DenseVectorView&·other)</div> | ||
| 144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> | ||
| 155 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······data_·=·other.data_;</div> |
| 156 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> |
| 157 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> |
| 158 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span></div> |
| 159 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·RR></div> |
| 160 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····DenseVectorView&·operator=·(<span·class="keyword">const</span>·DenseVectorView<RR>&·other)</div> |
| 151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div> | ||
| 152 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······data_·=·other.data_;</div> | ||
| 161 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> |
| 162 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··············gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k];</div> | ||
| 163 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········gradient·/=·integrationElement;</div> | ||
| 164 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div> |
| 165 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span></div> |
| 156 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····size_type·size·()<span·class="keyword">·const</span></div> | ||
| 166 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">····</span>{</div> |
| 167 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</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> | ||
| 168 | <div·class="line"><a·id="l00 | 158 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">return</span>·data_.size();</div> |
| 169 | <div·class="line"><a·id="l00 | 159 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div> |
| 170 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······<span·class="keyword">const</span>·Function&·f_;</div> | ||
| 171 | <div·class="line"><a·id="l00 | 160 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span></div> |
| 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····reference·operator[]·(size_type·i)</div> | ||
| 172 | <div·class="line"><a·id="l00 | 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div> |
| 173 | <div·class="line"><a·id="l00 | 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keywordflow">return</span>·data_[i];</div> |
| 164 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div> | ||
| 165 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span></div> | ||
| 166 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····const_reference·operator[]·(size_type·i)<span·class="keyword">·const</span></div> | ||
| 167 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">····</span>{</div> | ||
| Max diff block lines reached; 39703/64806 bytes (61.26%) of diff not shown. | |||
| Offset 1, 361 lines modified | Offset 1, 113 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | densevectorview.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DENSEVECTORVIEW_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_DENSEVECTORVIEW_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 11 | ||
| 18 | 10#include·<array> | ||
| 19 | 11#include·<numeric> | ||
| 20 | 12 | ||
| 21 | 13#include·<dune/common/fmatrix.hh> | ||
| 22 | 1 | 20 | 12#include·<dune/common/densevector.hh> |
| 21 | 13 | ||
| 22 | 14 | ||
| 23 | 15#include·<dune/common/math.hh> | ||
| 24 | 16#include·<dune/common/rangeutilities.hh> | ||
| 25 | 17 | ||
| 26 | 18#include·<dune/geometry/referenceelements.hh> | ||
| 27 | 19 | ||
| 28 | 20#include·<dune/localfunctions/common/localbasis.hh> | ||
| 29 | 21#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 30 | 22 | ||
| 31 | 23#include·<dune/functions/common/densevectorview.hh> | ||
| 32 | 24 | ||
| 33 | 23 | 15namespace·Dune::Functions::Impl·{ | |
| 34 | 24 | 16 | |
| 25 | 20·template<class·R> | ||
| 26 | 21·class·DenseVectorView | ||
| 27 | 22·:·public·DenseVector<DenseVectorView<R>> | ||
| 28 | 23·{ | ||
| 29 | 24·R&·data_; | ||
| 30 | 25 | ||
| 31 | 26·using·mutable_reference·=·typename·std::decay_t<R>::reference; | ||
| 35 | 27 | 32 | 27 |
| 33 | 28·public: | ||
| 34 | 29 | ||
| 35 | 31·using·size_type·=·typename·std::decay_t<R>::size_type; | ||
| 36 | 32 | ||
| 37 | 34·using·value_type·=·typename·std::decay_t<R>::value_type; | ||
| 38 | 35 | ||
| 39 | 37·using·const_reference·=·typename·std::decay_t<R>::const_reference; | ||
| 40 | 38 | ||
| 41 | 40·using·reference·=·std::conditional_t<std::is_const_v<R>, | ||
| 42 | 41·const_reference, | ||
| 43 | 42·mutable_reference>; | ||
| 44 | 43 | ||
| 45 | 45·DenseVectorView·(R&·data) | ||
| 46 | 46·:·data_(data) | ||
| 47 | 47·{} | ||
| 48 | 48 | ||
| 49 | 50·DenseVectorView·(const·DenseVectorView·&other)·=·delete; | ||
| 50 | 51 | ||
| 51 | 53·DenseVectorView·(DenseVectorView·&&other)·: | ||
| 52 | 54·data_(·other.data_·) | ||
| 53 | 55·{} | ||
| 54 | 56 | ||
| 55 | 58·DenseVectorView&·operator=·(const·DenseVectorView&·other) | ||
| 36 | 41·struct·ContravariantPiolaTransformator | ||
| 37 | 42·{ | ||
| 38 | 47·template<typename·Values,·typename·LocalCoordinate,·typename·Geometry> | ||
| 39 | 48·static·auto·apply(Values&·values, | ||
| 40 | 49·const·LocalCoordinate&·xi, | ||
| 41 | 50·const·Geometry&·geometry) | ||
| 42 | 51·{ | ||
| 43 | 52·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
| 44 | 53·auto·integrationElement·=·geometry.integrationElement(xi); | ||
| 45 | 54 | ||
| 46 | 55·for·(auto&·value·:·values) | ||
| 47 | 56·{ | ||
| 48 | 57·auto·tmp·=·value; | ||
| 49 | 58·//·Here·we·cannot·directly·use | ||
| 50 | 59·//·jacobianTransposed.mtv(tmp,·value); | ||
| 51 | 60·//·because·mtv·expects·the·DenseVector·interface. | ||
| 52 | 61·auto·tmpDenseVector·=·Impl::DenseVectorView(tmp); | ||
| 53 | 62·auto·valueDenseVector·=·Impl::DenseVectorView(value); | ||
| 54 | 63·jacobianTransposed.mtv(tmpDenseVector,·valueDenseVector); | ||
| 55 | 64·value·/=·integrationElement; | ||
| 56 | 65·} | ||
| 57 | 66·} | ||
| 58 | 67 | ||
| 59 | 77·template<typename·Gradients,·typename·LocalCoordinate,·typename·Geometry> | ||
| 60 | 78·static·auto·applyJacobian(Gradients&·gradients, | ||
| 61 | 79·const·LocalCoordinate&·xi, | ||
| 62 | 80·const·Geometry&·geometry) | ||
| 63 | 81·{ | ||
| 64 | 82·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
| 65 | 83·auto·integrationElement·=·geometry.integrationElement(xi); | ||
| 66 | 84·for·(auto&·gradient·:·gradients) | ||
| 67 | 56 | 59·{ | |
| 68 | 86·auto·tmp·=·gradient; | ||
| 69 | 87·gradient·=·0; | ||
| 70 | 88·for·(size_t·k=0;·k<gradient.M();·k++) | ||
| 71 | 89·for·(size_t·l=0;·l<tmp.N();·l++) | ||
| 72 | 90·//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse·DiagonalMatrix | ||
| 73 | 91·for(auto&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed[l])) | ||
| 74 | 92·gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k]; | ||
| 75 | 93·gradient·/=·integrationElement; | ||
| 76 | 94·} | ||
| 77 | 95·} | ||
| 78 | 96 | ||
| 79 | 104·template<class·Function,·class·LocalCoordinate,·class·Element> | ||
| 80 | 105·class·LocalValuedFunction | ||
| 81 | 106·{ | ||
| 82 | 107·const·Function&·f_; | ||
| 83 | 108·const·Element&·element_; | ||
| 84 | 109 | ||
| 85 | 57 | 60·data_·=·other.data_; | |
| 58 | 61·return·*this; | ||
| 59 | 62·} | ||
| 60 | 63 | ||
| 61 | 65·template<class·RR> | ||
| 62 | 66·DenseVectorView&·operator=·(const·DenseVectorView<RR>&·other) | ||
| 63 | 67·{ | ||
| 64 | 68·data_·=·other.data_; | ||
| Max diff block lines reached; 8819/13706 bytes (64.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 65 lines modified | Offset 88, 56 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">signature.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<tuple></code><br·/> | ||
| 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 99 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> | ||
| 100 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 101 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
| 102 | <code>#include·<dune/localfunctions/nedelec.hh></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a001 | 99 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 107 | </div> | 100 | </div> |
| 108 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 109 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 111 | Classes</h2></td></tr> | 104 | Classes</h2></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ANedelecPreBasis_3C_20GV_2C_20Range_2C_20kind_2C_20order_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ANedelecPreBasis_3C_20GV_2C_20Range_2C_20kind_2C_20order_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01990.html">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·></a></td></tr> | ||
| 113 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 105 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ASignatureTraits_3C_20Signature_2C_20isCallable_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ASignatureTraits_3C_20Signature_2C_20isCallable_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·clas[·...·truncated·by·diffoscope;·len:·84,·SHA:·240c1074de0d44ea92bc56afc6e8d07433ab719d76e7a3c7c2acd63a10886f99·...·]·></a></td></tr> |
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helper·class·to·deduce·the·signature·of·a·callable.··<a·href="a01434.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ASignatureTag_3C_20Range_28Domain_29_2C_20DerivativeTraitsT_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ASignatureTag_3C_20Range_28Domain_29_2C_20DerivativeTraitsT_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01442.html">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·></a></td></tr> | ||
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Tag-class·to·encapsulate·signature·information.··<a·href="a01442.html#details">More...</a><br·/></td></tr> | ||
| 114 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
| 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 116 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
| 117 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 112 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 118 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 113 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 119 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 120 | </table><table·class="memberdecls"> | ||
| 121 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 122 | Typedefs</h2></td></tr> | ||
| 123 | <tr·class="memitem:aee3286ae752a21e0a52405022a6bd906"·id="r_aee3286ae752a21e0a52405022a6bd906"><td·class="memTemplParams"·colspan="2">template<typename·GV,·std::size_t·kind,·std::size_t·order,·typename·Range·=·double>·</td></tr> | ||
| 124 | <tr·class="memitem:aee3286ae752a21e0a52405022a6bd906·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#aee3286ae752a21e0a52405022a6bd906">Dune::Functions::NedelecBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01990.html">NedelecPreBasis</a><GV,·Range,·kind,·order·>·></td></tr> | ||
| 125 | <tr·class="memdesc:aee3286ae752a21e0a52405022a6bd906"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Nédélec·finite·element·space.··<br·/></td></tr> | ||
| 126 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
| 127 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 128 | Functions</h2></td></tr> | 116 | Functions</h2></td></tr> |
| 129 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"·id="r_gafe0fe439067c288f197101b8686223e8"><td·class="memTemplParams"·colspan="2">template<std::size_t·kind,·std::size_t·order,·typename·Range·=·double>·</td></tr> | ||
| 130 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gafe0fe439067c288f197101b8686223e8">Dune::Functions::BasisFactory::nedelec</a>·()</td></tr> | ||
| 131 | <tr·class="mem | 117 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"·id="r_ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplParams"·colspan="2">template<class·Range,·class·Domain,·template<·class·>·class·DerivativeTraits>·</td></tr> |
| 118 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00309.html#ga18b2a675f9153814c422d33878daebb2">Dune::Functions::derivativeSignatureTag</a>·(<a·class="el"·href="a01438.html">SignatureTag</a><·Range(Domain),·DerivativeTraits·>·tag)</td></tr> | ||
| 119 | <tr·class="memdesc:ga18b2a675f9153814c422d33878daebb2"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·<a·class="el"·href="a01438.html">SignatureTag</a>·for·derivative.··<br·/></td></tr> | ||
| 120 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"·id="r_ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplParams"·colspan="2">template<std::size_t·maxOrder,·class·Signature,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 121 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00309.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">Dune::Functions::derivativeSignatureTags</a>·(<a·class="el"·href="a01438.html">Dune::Functions::SignatureTag</a><·Signature,·DerivativeTraits·>·tag)</td></tr> | ||
| 122 | <tr·class="memdesc:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·SignatureTags·for·derivatives.··<br·/></td></tr> | ||
| 132 | </table> | 123 | </table> |
| 133 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 134 | </div><!--·doc-content·--> | 125 | </div><!--·doc-content·--> |
| 135 | <div·id="page-nav"·class="page-nav-panel"> | 126 | <div·id="page-nav"·class="page-nav-panel"> |
| 136 | <div·id="page-nav-resize-handle"></div> | 127 | <div·id="page-nav-resize-handle"></div> |
| 137 | <div·id="page-nav-tree"> | 128 | <div·id="page-nav-tree"> |
| 138 | <div·id="page-nav-contents"> | 129 | <div·id="page-nav-contents"> |
| 139 | </div><!--·page-nav-contents·--> | 130 | </div><!--·page-nav-contents·--> |
| 140 | </div><!--·page-nav-tree·--> | 131 | </div><!--·page-nav-tree·--> |
| 141 | </div><!--·page-nav·--> | 132 | </div><!--·page-nav·--> |
| 142 | </div><!--·container·--> | 133 | </div><!--·container·--> |
| 143 | <!--·start·footer·part·--> | 134 | <!--·start·footer·part·--> |
| 144 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 135 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 145 | ··<ul> | 136 | ··<ul> |
| 146 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 137 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00089.html">signature.hh</a></li> |
| 147 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 138 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 148 | ··</ul> | 139 | ··</ul> |
| 149 | </div> | 140 | </div> |
| 150 | </body> | 141 | </body> |
| 151 | </html> | 142 | </html> |
| Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
| 1 | u | 1 | us-ascii |
| Offset 1, 38 lines modified | Offset 1, 32 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | signature.hh·File·Reference | ||
| 6 | #include·<type_traits> | ||
| 7 | #include·<tuple> | ||
| 8 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 5 | nedelecbasis.hh·File·Reference | ||
| 6 | #include·<array> | ||
| 7 | #include·<dune/common/exceptions.hh> | ||
| 8 | #include·<dune/grid/common/capabilities.hh> | ||
| 9 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 10 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 11 | #include·<dune/localfunctions/nedelec.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 16 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 17 | Classes | 10 | Classes |
| 18 | class· ·Dune::Functions::NedelecPreBasis<_GV,_Range,_kind,_order_> | ||
| 19 | 11 | struct· ·Dune::Functions::SignatureTraits<_Signature,_isCallable_> | |
| 12 | ········Helper·class·to·deduce·the·signature·of·a·callable.·More... | ||
| 13 | struct· ·Dune::Functions::SignatureTag<_Range(Domain),_DerivativeTraitsT_> | ||
| 14 | ········Tag-class·to·encapsulate·signature·information.·More... | ||
| 20 | Namespaces | 15 | Namespaces |
| 21 | namespace· ·Dune | 16 | namespace· ·Dune |
| 22 | namespace· ·Dune::Functions | 17 | namespace· ·Dune::Functions |
| 23 | namespace· ·Dune::Functions::BasisFactory | ||
| 24 | Typedefs | ||
| 25 | template<typename·GV,·std::size_t·kind,·std::size_t·order,·typename·Range·= | ||
| 26 | double> | ||
| 27 | using ·Dune::Functions::NedelecBasis·=·DefaultGlobalBasis<NedelecPreBasis<GV, | ||
| 28 | ·······Range,·kind,·order·>·> | ||
| 29 | ······Basis·of·a·k-th-order·Nédélec·finite·element·space. | ||
| 30 | Functions | 18 | Functions |
| 31 | template<std::size_t·kind,·std::size_t·order,·typename·Range·=·double> | ||
| 32 | auto ·Dune::Functions::BasisFactory::nedelec·() | ||
| 33 | 19 | template<class·Range,·class·Domain,·template<·class·>·class·DerivativeTraits> | |
| 20 | auto ·Dune::Functions::derivativeSignatureTag·(SignatureTag<·Range(Domain), | ||
| 21 | ······DerivativeTraits·>·tag) | ||
| 22 | ·····Construct·SignatureTag·for·derivative. | ||
| 23 | template<std::size_t·maxOrder,·class·Signature,·template<·class·>·class | ||
| 24 | DerivativeTraits> | ||
| 25 | auto ·Dune::Functions::derivativeSignatureTags·(Dune::Functions::SignatureTag< | ||
| 26 | ······Signature,·DerivativeTraits·>·tag) | ||
| 27 | ·····Construct·SignatureTags·for·derivatives. | ||
| 34 | ····*·dune | 28 | ····*·dune |
| 35 | ····*·functions | 29 | ····*·functions |
| 36 | ····*·functionspacebases | ||
| 37 | ····*· | 30 | ····*·common |
| 31 | ····*·signature.hh | ||
| 38 | ····*·Generated·by·[doxygen]1.15.0 | 32 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 6 lines modified | Offset 1, 4 lines modified | ||
| 1 | var·a00089·=·[ | 1 | var·a00089·=·[ |
| 2 | ····["Dune::Functions::derivativeSignatureTag",·"a00309.html#ga18b2a675f9153814c422d33878daebb2",·null], | ||
| 3 | ····["Dune::Functions::derivativeSignatureTags",·"a00309.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d",·null] | ||
| 2 | ····["Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>",·"a01990.html",·"a01990"], | ||
| 3 | ····["Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>",·"a01986.html",·"a01986"], | ||
| 4 | ····["Dune::Functions::NedelecBasis",·"a00318.html#aee3286ae752a21e0a52405022a6bd906",·null], | ||
| 5 | ····["Dune::Functions::BasisFactory::nedelec",·"a00312.html#gafe0fe439067c288f197101b8686223e8",·null] | ||
| 6 | ]; | 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 351 lines modified | Offset 88, 175 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">signature.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/nedelec.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 120 | <div·class="line"><a·id="l000 | 111 | <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="a00317.html">Dune</a>·{</div> |
| 112 | <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="a00318.html">Functions</a>·{</div> | ||
| 121 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> |
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 123 | <div·class="line"><a·id="l0002 | 114 | <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> |
| 115 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01430.html">···24</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01430.html">IsCallable</a>;</div> | ||
| 124 | <div·class="line"><a·id="l0002 | 116 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 117 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> | ||
| 125 | <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="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·order></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>Nedelec1stKindLocalFiniteElementMap</div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··{</div> | ||
| 128 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·F></div> |
| 129 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01430.html">IsCallable</a></div> |
| 130 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>CubeFiniteElement····=·Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>;</div> | ||
| 132 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>yes·{·std::size_t·dummy[2];·};</div> |
| 122 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">struct·</span>no··{·std::size_t·dummy[1];·};</div> | ||
| 123 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> | ||
| 125 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">static</span>·yes·test(<span·class="keyword">const</span>·<span·class="keyword">decltype</span>(&C::operator())·*);</div> | ||
| 126 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> | ||
| 127 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">static</span>·no··test(...);</div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 128 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">pu | 129 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">enum</span>·{·value·=·(<span·class="keyword">sizeof</span>(test<F>(0))·==·<span·class="keyword">sizeof</span>(yes))·};</div> |
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span> | 130 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>};</div> |
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim,·FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>;</div> | ||
| 137 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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> | ||
| 139 | <div·class="line"><a·id="l0004 | 132 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> |
| 133 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01430.html">IsCallable</a><R(D)></div> | ||
| 140 | <div·class="line"><a·id="l0004 | 134 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> |
| 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>FiniteElement·=·std::conditional_t<hasFixedElementType,</div> | ||
| 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>···········································std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>,</div> | ||
| 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>···········································LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>;</div> | ||
| 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 145 | <div·class="line"><a·id="l0004 | 135 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> |
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········DUNE_THROW(NotImplemented,·<span·class="stringliteral">"Only·Nedelec·elements·of·order·1·are·implemented!"</span>);</div> | ||
| 149 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> |
| 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">auto</span>·numEdges·=·referenceElement<D,dim>(type).size(dim-1);</div> | ||
| 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00312.html#gad1b5c7a712be185869dd34172f19dae1">power</a>(2,numEdges);</div> | ||
| 152 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 138 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 139 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01430.html">IsCallable</a><R(*)(D)></div> | ||
| 153 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> |
| 141 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> | ||
| 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····Nedelec1stKindLocalFiniteElementMap(<span·class="keyword">const</span>·GV&·gv)</div> | ||
| 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······:·elementMapper_(gv,·mcmgElementLayout()),</div> | ||
| 156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········orientation_(gv.size(0))</div> | ||
| 157 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>};</div> |
| 158 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#endif</span></div> |
| 159 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span></div> |
| 145 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·></div> | ||
| 146 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01434.html">···60</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01434.html">SignatureTraits</a>·{};</div> | ||
| 160 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 161 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#ifndef·DOXYGEN</span><span·class="preprocessor"></span></div> |
| 162 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····{</div> | ||
| 163 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······elementMapper_.update(gv);</div> | ||
| 164 | <div·class="line"><a·id="l0006 | 149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
| 150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01434.html">SignatureTraits</a><T,·true></div> | ||
| 151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01434.html">SignatureTraits</a><decltype(&T::operator()),·true></div> | ||
| 165 | <div·class="line"><a·id="l0006 | 152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{};</div> |
| 166 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="comment">//·create·all·variants</span></div> | ||
| 167 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(hasFixedElementType)</div> | ||
| 168 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> |
| 169 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········variants_.resize(numVariants(type));</div> | ||
| 170 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(type);·i++)</div> | ||
| 171 | <div·class="line"><a·id="l0007 | 154 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</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> |
| 155 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">struct·</span>SignatureTraits<R(C::*)(D)·const,·true></div> | ||
| 156 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></div> | ||
| 172 | <div·class="line"><a·id="l0007 | 157 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{};</div> |
| 173 | <div·class="line"><a·id="l0007 | 158 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span></div> |
| 159 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</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> | ||
| 160 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">struct·</span>SignatureTraits<R(C::*)(D),·true></div> | ||
| 161 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></div> | ||
| 174 | <div·class="line"><a·id="l0007 | 162 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{};</div> |
| Max diff block lines reached; 58058/85809 bytes (67.66%) of diff not shown. | |||
| Offset 1, 429 lines modified | Offset 1, 189 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | signature.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<array> | ||
| 19 | 1 | 18 | 10#include·<type_traits> |
| 19 | 11#include·<tuple> | ||
| 20 | 12 | 20 | 12 |
| 21 | 13#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 22 | 14 | ||
| 23 | 15namespace·Dune·{ | ||
| 21 | 13#include·<dune/grid/common/capabilities.hh> | ||
| 22 | 14#include·<dune/grid/common/mcmgmapper.hh> | ||
| 23 | 15 | ||
| 24 | 16#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 25 | 17#include·<dune/localfunctions/nedelec.hh> | ||
| 26 | 18 | ||
| 27 | 19#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 28 | 20#include·<dune/functions/functionspacebases/ | ||
| 29 | globalvaluedlocalfiniteelement.hh> | ||
| 30 | 21#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 31 | 22#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 32 | 23 | ||
| 33 | 24 | 16namespace·Functions·{ | |
| 25 | 17 | ||
| 26 | 23template<typename·F> | ||
| 27 | 24struct·IsCallable; | ||
| 34 | 25 | 28 | 25 |
| 29 | 26#ifndef·DOXYGEN | ||
| 30 | 27template<typename·F> | ||
| 31 | 28struct·IsCallable | ||
| 32 | 29{ | ||
| 33 | 30·struct·yes·{·std::size_t·dummy[2];·}; | ||
| 34 | 31·struct·no·{·std::size_t·dummy[1];·}; | ||
| 35 | 32 | ||
| 36 | 33·template<typename·C> | ||
| 37 | 34·static·yes·test(const·decltype(&C::operator())·*); | ||
| 38 | 35·template<typename·C> | ||
| 39 | 36·static·no·test(...); | ||
| 35 | 26 | ||
| 36 | 27namespace·Impl | ||
| 37 | 28{ | ||
| 38 | 29·template<typename·GV,·int·dim,·typename·R,·std::size_t·order> | ||
| 39 | 30·class·Nedelec1stKindLocalFiniteElementMap | ||
| 40 | 31·{ | ||
| 41 | 32·using·D·=·typename·GV::ctype; | ||
| 42 | 33·constexpr·static·bool·hasFixedElementType·=·Capabilities:: | ||
| 43 | hasSingleGeometryType<typename·GV::Grid>::v; | ||
| 44 | 34 | ||
| 45 | 35·using·CubeFiniteElement·= | ||
| 46 | Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>; | ||
| 47 | 36·using·SimplexFiniteElement·= | ||
| 48 | Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>; | ||
| 49 | 37 | 40 | 37 |
| 41 | 38·enum·{·value·=·(sizeof(test<F>(0))·==·sizeof(yes))·}; | ||
| 42 | 39}; | ||
| 43 | 40 | ||
| 44 | 41template<typename·R,·typename·D> | ||
| 45 | 42struct·IsCallable<R(D)> | ||
| 46 | 43{ | ||
| 47 | 44·enum·{·value·=·true·}; | ||
| 48 | 45}; | ||
| 49 | 46 | ||
| 50 | 47template<typename·R,·typename·D> | ||
| 51 | 48struct·IsCallable<R(*)(D)> | ||
| 52 | 49{ | ||
| 53 | 50·enum·{·value·=·true·}; | ||
| 54 | 51}; | ||
| 55 | 52#endif | ||
| 50 | 38·public: | ||
| 51 | 39 | ||
| 52 | 40·using·T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim, | ||
| 53 | FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>; | ||
| 54 | 41 | ||
| 55 | 42·constexpr·static·unsigned·int·topologyId·=·Capabilities:: | ||
| 56 | hasSingleGeometryType<typename·GV::Grid>::topologyId;·//·meaningless·if | ||
| 57 | hasFixedElementType·is·false | ||
| 58 | 43·constexpr·static·GeometryType·type·=·GeometryType(topologyId,·GV:: | ||
| 59 | dimension); | ||
| 60 | 44 | ||
| 61 | 45·using·FiniteElement·=·std::conditional_t<hasFixedElementType, | ||
| 62 | 46·std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>, | ||
| 63 | 47·LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>; | ||
| 64 | 48 | ||
| 65 | 49·static·std::size_t·numVariants(GeometryType·type) | ||
| 66 | 50·{ | ||
| 67 | 51·if·(order!=1)·//·I·am·not·sure·whether·the·formula·below·is·correct·for·all | ||
| 68 | orders. | ||
| 69 | 52·DUNE_THROW(NotImplemented,·"Only·Nedelec·elements·of·order·1·are | ||
| 70 | implemented!"); | ||
| 71 | 53 | 56 | 53 |
| 57 | 59template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·> | ||
| 58 | 60struct·SignatureTraits·{}; | ||
| 59 | 61 | ||
| 60 | 62#ifndef·DOXYGEN | ||
| 61 | 64template<class·T> | ||
| 62 | 65struct·SignatureTraits<T,·true> | ||
| 63 | 66·:·public·SignatureTraits<decltype(&T::operator()),·true> | ||
| 64 | 67{}; | ||
| 65 | 68 | ||
| 66 | 70template·<typename·C,·typename·R,·typename·D> | ||
| 67 | 71struct·SignatureTraits<R(C::*)(D)·const,·true> | ||
| 68 | 72·:·public·SignatureTraits<R(D),·true> | ||
| 69 | 73{}; | ||
| 70 | 74 | ||
| 71 | 76template·<typename·C,·typename·R,·typename·D> | ||
| 72 | 77struct·SignatureTraits<R(C::*)(D),·true> | ||
| 73 | 78·:·public·SignatureTraits<R(D),·true> | ||
| 74 | 79{}; | ||
| 75 | 80 | ||
| 76 | 82template·<typename·R,·typename·D> | ||
| 77 | 83struct·SignatureTraits<R(*)(D),·true> | ||
| 78 | 84·:·public·SignatureTraits<R(D),·true> | ||
| Max diff block lines reached; 13863/18942 bytes (73.19%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 60 lines modified | Offset 88, 62 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 99 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 99 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/typetree/treepath.hh></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 104 | </div> | 100 | </div> |
| 105 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 106 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
| 107 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 108 | Classes</h2></td></tr> | 104 | Classes</h2></td></tr> |
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 105 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AHasStaticSize_3C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AHasStaticSize_3C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01506.html">Dune::Functions::HasStatic[·...·truncated·by·diffoscope;·len:·10,·SHA:·30c45880e6d937a2393cee9c2d12161a8b7792ff1e2c5bd5c73398c7e5d7832b·...·]·></a></td></tr> |
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·type·is·a·statically·sized·container.··<a·href="a01506.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AStaticSizeOrZero_3C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AStaticSizeOrZero_3C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01510.html">Dune::Functions::StaticSizeOrZero<·T·></a></td></tr> | ||
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Obtain·size·of·statically·sized·container,·or·0·if·dynamic·size.··<a·href="a01510.html#details">More...</a><br·/></td></tr> | ||
| 110 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
| 111 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 112 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
| 113 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 112 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 114 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 113 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 115 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
| 116 | <tr·class="heading"><td·colspan="2"><h2·id="header- | 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 117 | Functions</h2></td></tr> | ||
| 118 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"·id="r_a17589fdc18b015644525c7ad037e6441"><td·class="memTemplParams"·colspan="2">template<class·RB,·class·TP>·</td></tr> | ||
| 119 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a17589fdc18b015644525c7ad037e6441">Dune::Functions::SubspaceBasis</a>·(const·RB·&,·const·TP)·->·SubspaceBasis<·RB,·TP·></td></tr> | ||
| 120 | <tr·class="memitem:aa5a95a8db4998a1cbfc36f86b3bf7fca"·id="r_aa5a95a8db4998a1cbfc36f86b3bf7fca"><td·class="memTemplParams"·colspan="2">template<class·RootRootBasis,·class·InnerTP,·class·OuterTP>·</td></tr> | ||
| 121 | <tr·class="memitem:aa5a95a8db4998a1cbfc36f86b3bf7fca·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#aa5a95a8db4998a1cbfc36f86b3bf7fca">Dune::Functions::SubspaceBasis</a>·(const·SubspaceBasis<·RootRootBasis,·InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std::decay_t<·decltype(rootBasis.rootBasis())>,·decltype(Dune::TypeTree::join(rootBasis.prefixPath(),·prefixPath))></td></tr> | ||
| 122 | <tr·class="memitem:a6e116b9fe81aac2fed32284922a2d28c"·id="r_a6e116b9fe81aac2fed32284922a2d28c"><td·class="memTemplParams"·colspan="2">template<class·RootBasis,·class...·PrefixTreeIndices>·</td></tr> | ||
| 123 | <tr·class="memitem:a6e116b9fe81aac2fed32284922a2d28c·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a6e116b9fe81aac2fed32284922a2d28c">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·TypeTree::TreePath<·PrefixTreeIndices...·>·&prefixPath)</td></tr> | ||
| 124 | <tr·class="memdesc:a6e116b9fe81aac2fed32284922a2d28c"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a02142.html">SubspaceBasis</a>·from·a·root·basis·and·a·prefixPath.··<br·/></td></tr> | ||
| 125 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"·id="r_abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplParams"·colspan="2">template<class·RootBasis,·class...·PrefixTreeIndices>·</td></tr> | ||
| 126 | 116 | Typedefs</h2></td></tr> | |
| 117 | <tr·class="memitem:gae56cc95e9c26568861b3fddae9983080"·id="r_gae56cc95e9c26568861b3fddae9983080"><td·class="memTemplParams"·colspan="2">template<class·T,·class...·Args>·</td></tr> | ||
| 118 | <tr·class="memitem:gae56cc95e9c26568861b3fddae9983080·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">Dune::Functions::enableIfConstructible</a></td></tr> | ||
| 119 | <tr·class="memdesc:gae56cc95e9c26568861b3fddae9983080"><td·class="mdescLeft"> </td><td·class="mdescRight">Helper·to·constrain·forwarding·constructors.··<br·/></td></tr> | ||
| 120 | <tr·class="memitem:ga3e9a8b5a2dac8ad92d9000f0e7187ba4"·id="r_ga3e9a8b5a2dac8ad92d9000f0e7187ba4"><td·class="memTemplParams"·colspan="2">template<class·T>·</td></tr> | ||
| 121 | <tr·class="memitem:ga3e9a8b5a2dac8ad92d9000f0e7187ba4·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html#ga3e9a8b5a2dac8ad92d9000f0e7187ba4">Dune::Functions::StaticSize</a></td></tr> | ||
| 122 | <tr·class="memdesc:ga3e9a8b5a2dac8ad92d9000f0e7187ba4"><td·class="mdescLeft"> </td><td·class="mdescRight">Obtain·size·of·statically·sized·container·as·integral_constant,·or·fail.··<br·/></td></tr> | ||
| 123 | </table><table·class="memberdecls"> | ||
| 124 | <tr·class="heading"><td·colspan="2"><h2·id="header-var-members"·class="groupheader"><a·id="var-members"·name="var-members"></a> | ||
| 125 | Variables</h2></td></tr> | ||
| 126 | <tr·class="memitem:a2af05857c767d4f5ef189624a63d5861"·id="r_a2af05857c767d4f5ef189624a63d5861"><td·class="memTemplParams"·colspan="2">template<class·T>·</td></tr> | ||
| 127 | <tr·class="memitem:a2af05857c767d4f5ef189624a63d5861·template"><td·class="memItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a2af05857c767d4f5ef189624a63d5861">Dune::Functions::HasStaticSize_v</a>·=·<a·class="el"·href="a01506.html">HasStaticSize</a><T>::value</td></tr> | ||
| 128 | <tr·class="memdesc:a2af05857c767d4f5ef189624a63d5861"><td·class="mdescLeft"> </td><td·class="mdescRight">A·variable·template·representing·the·value·of·<a·class="el"·href="a01506.html">HasStaticSize</a>.··<br·/></td></tr> | ||
| 127 | </table> | 129 | </table> |
| 128 | </div><!--·contents·--> | 130 | </div><!--·contents·--> |
| 129 | </div><!--·doc-content·--> | 131 | </div><!--·doc-content·--> |
| 130 | <div·id="page-nav"·class="page-nav-panel"> | 132 | <div·id="page-nav"·class="page-nav-panel"> |
| 131 | <div·id="page-nav-resize-handle"></div> | 133 | <div·id="page-nav-resize-handle"></div> |
| 132 | <div·id="page-nav-tree"> | 134 | <div·id="page-nav-tree"> |
| 133 | <div·id="page-nav-contents"> | 135 | <div·id="page-nav-contents"> |
| 134 | </div><!--·page-nav-contents·--> | 136 | </div><!--·page-nav-contents·--> |
| 135 | </div><!--·page-nav-tree·--> | 137 | </div><!--·page-nav-tree·--> |
| 136 | </div><!--·page-nav·--> | 138 | </div><!--·page-nav·--> |
| 137 | </div><!--·container·--> | 139 | </div><!--·container·--> |
| 138 | <!--·start·footer·part·--> | 140 | <!--·start·footer·part·--> |
| 139 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 141 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 140 | ··<ul> | 142 | ··<ul> |
| 141 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 143 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00092.html">type_traits.hh</a></li> |
| 142 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 144 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 143 | ··</ul> | 145 | ··</ul> |
| 144 | </div> | 146 | </div> |
| 145 | </body> | 147 | </body> |
| 146 | </html> | 148 | </html> |
| Offset 1, 39 lines modified | Offset 1, 34 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | subspacebasis.hh·File·Reference | ||
| 6 | 5 | type_traits.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 7 | #include·<dune/common/hybridutilities.hh> | ||
| 7 | #include·<dune/common/typeutilities.hh> | 8 | #include·<dune/common/typeutilities.hh> |
| 8 | #include·<dune/common/concept.hh> | ||
| 9 | #include·<dune/common/typetree/treepath.hh> | ||
| 10 | #include·<dune/functions/common/type_traits.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 13 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 14 | Classes | 10 | Classes |
| 15 | 11 | struct· ·Dune::Functions::HasStaticSize<_T_> | |
| 12 | ········Check·if·type·is·a·statically·sized·container.·More... | ||
| 13 | struct· ·Dune::Functions::StaticSizeOrZero<_T_> | ||
| 14 | ········Obtain·size·of·statically·sized·container,·or·0·if·dynamic·size. | ||
| 15 | ·········More... | ||
| 16 | Namespaces | 16 | Namespaces |
| 17 | namespace· ·Dune | 17 | namespace· ·Dune |
| 18 | namespace· ·Dune::Functions | 18 | namespace· ·Dune::Functions |
| 19 | 19 | Typedefs | |
| 20 | template<class· | 20 | template<class·T,·class...·Args> |
| 21 | using ·Dune::Functions::enableIfConstructible | ||
| 22 | ······Helper·to·constrain·forwarding·constructors. | ||
| 23 | template<class·T> | ||
| 24 | using ·Dune::Functions::StaticSize | ||
| 25 | ······Obtain·size·of·statically·sized·container·as·integral_constant,·or·fail. | ||
| 26 | Variables | ||
| 27 | template<class·T> | ||
| 28 | constexpr·bool ·Dune::Functions::HasStaticSize_v·=·HasStaticSize<T>::value | ||
| 29 | ···············A·variable·template·representing·the·value·of·HasStaticSize. | ||
| 21 | ···· ·Dune::Functions::SubspaceBasis·(const·RB·&,·const·TP)·->·SubspaceBasis< | ||
| 22 | ······RB,·TP·> | ||
| 23 | template<class·RootRootBasis,·class·InnerTP,·class·OuterTP> | ||
| 24 | ···· ·Dune::Functions::SubspaceBasis·(const·SubspaceBasis<·RootRootBasis, | ||
| 25 | ······InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std:: | ||
| 26 | ······decay_t<·decltype(rootBasis.rootBasis())>,·decltype(Dune::TypeTree::join | ||
| 27 | ······(rootBasis.prefixPath(),·prefixPath))> | ||
| 28 | template<class·RootBasis,·class...·PrefixTreeIndices> | ||
| 29 | auto ·Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
| 30 | ······TypeTree::TreePath<·PrefixTreeIndices...·>·&prefixPath) | ||
| 31 | ·····Create·SubspaceBasis·from·a·root·basis·and·a·prefixPath. | ||
| 32 | template<class·RootBasis,·class...·PrefixTreeIndices> | ||
| 33 | auto ·Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
| 34 | ······PrefixTreeIndices·&...·prefixTreeIndices) | ||
| 35 | ····*·dune | 30 | ····*·dune |
| 36 | ····*·functions | 31 | ····*·functions |
| 37 | ····*·functionspacebases | ||
| 38 | ····*· | 32 | ····*·common |
| 33 | ····*·type_traits.hh | ||
| 39 | ····*·Generated·by·[doxygen]1.15.0 | 34 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 7 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00092·=·[ | 1 | var·a00092·=·[ |
| 2 | ····["Dune::Functions::enableIfConstructible",·"a00314.html#gae56cc95e9c26568861b3fddae9983080",·null], | ||
| 3 | ····["Dune::Functions::StaticSize",·"a00314.html#ga3e9a8b5a2dac8ad92d9000f0e7187ba4",·null], | ||
| 4 | ····["Dune::Functions::HasStaticSize_v",·"a00318.html#a2af05857c767d4f5ef189624a63d5861",·null] | ||
| 2 | ····["Dune::Functions::SubspaceBasis<·RB,·TP·>",·"a02142.html",·"a02142"], | ||
| 3 | ····["Dune::Functions::SubspaceBasis",·"a00318.html#a17589fdc18b015644525c7ad037e6441",·null], | ||
| 4 | ····["Dune::Functions::SubspaceBasis",·"a00318.html#aa5a95a8db4998a1cbfc36f86b3bf7fca",·null], | ||
| 5 | ····["Dune::Functions::subspaceBasis",·"a00318.html#abb8781cf3fb98ca29446be66bcf65ac4",·null], | ||
| 6 | ····["Dune::Functions::subspaceBasis",·"a00318.html#a6e116b9fe81aac2fed32284922a2d28c",·null] | ||
| 7 | ]; | 5 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 213 lines modified | Offset 88, 81 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">type_traits.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 107 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
| 109 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 110 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 112 | <div·class="line"><a·id="l0001 | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00161.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a03877.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 115 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 118 | <div·class="line"><a·id="l000 | 111 | <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="a00317.html">Dune</a>·{</div> |
| 119 | <div·class="line"><a·id="l000 | 112 | <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="a00318.html">Functions</a>·{</div> |
| 120 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 121 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span></div> |
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 123 | <div·class="line"><a·id="l0002 | 115 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args></div> |
| 116 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">···30</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">enableIfConstructible</a>·=·std::enable_if_t<</div> | ||
| 124 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> | ||
| 125 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02142.html">···28</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02142.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a></div> | ||
| 126 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
| 127 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··std::is_constructible_v<T,·Args...>,·<span·class="keywordtype">int</span>>;</div> |
| 128 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
| 129 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a02142.html#aaa9c058bcb0bc05bdba112801201f281">···32</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02142.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB;</div> | ||
| 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 119 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 131 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02142.html#a00d424aa40e6c051f610a308317cc57e">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02142.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·<span·class="keyword">typename</span>·RootBasis::LocalView;</div> | ||
| 132 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 133 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a02142.html#a5dcb19c46539c51ce32a6fdc55738387">···36</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02142.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>·=·TP;</div> | ||
| 134 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span></div> |
| 121 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
| 122 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> | ||
| 123 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01506.html">···43</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01506.html">HasStaticSize</a>·:</div> | ||
| 124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>·IsIntegralConstant<decltype(Dune::Hybrid::size(std::declval<T>()))></div> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02142.html#a6e7dd708494382dad7cc288ce6cfe6b8">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02142.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>·=·<span·class="keyword">typename</span>·RootBasis::GridView;</div> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span></div> | ||
| 137 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a02142.html#acb8fddcafde83205b67e57926c84ace5">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02142.html#acb8fddcafde83205b67e57926c84ace5">MultiIndex</a>·=·<span·class="keyword">typename</span>·RootBasis::MultiIndex;</div> | ||
| 138 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02142.html#ad328a135f42bb2a6b9bf60983f61f254">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02142.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·=·std::size_t;</div> | ||
| 140 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span></div> | 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{};</div> |
| 141 | < | 126 | </div> |
| 142 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span></div> |
| 143 | <div·class="line"><a·id="l0004 | 128 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
| 129 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00318.html#a2af05857c767d4f5ef189624a63d5861">···49</a></span><span·class="keyword">inline</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00318.html#a2af05857c767d4f5ef189624a63d5861">HasStaticSize_v</a>·=·<a·class="code·hl_struct"·href="a01506.html">HasStaticSize<T>::value</a>;</div> | ||
| 144 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 130 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 145 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span></div> | 131 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span></div> |
| 132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
| 146 | <div·class="foldopen"·id="foldopen000 | 133 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> |
| 147 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02142.html#aee8689dac160442b891bc738c55c1087">···53</a></span>··<a·class="code·hl_function"·href="a02142.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02142.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>&·<a·class="code·hl_function"·href="a02142.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02142.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>&·<a·class="code·hl_function"·href="a02142.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
| 148 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<a·class="code·hl_variable"·href="a02142.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>(&<a·class="code·hl_function"·href="a02142.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>),</div> | ||
| 149 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01510.html">···60</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01510.html">StaticSizeOrZero</a>·:</div> |
| 135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">public</span>·std::conditional_t<HasStaticSize_v<T>,</div> | ||
| 136 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····decltype(Dune::Hybrid::size(std::declval<T>())),</div> | ||
| 150 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····std::integral_constant<std::size_t,0>></div> |
| 138 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>{};</div> | ||
| 151 | </div> | 139 | </div> |
| 152 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span></div> |
| 153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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> | ||
| 154 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> | ||
| 155 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02142.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">···64</a></span>··<a·class="code·hl_function"·href="a02142.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_function"·href="a02142.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis<RootRootBasis,·InnerTP></a>&·<a·class="code·hl_function"·href="a02142.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·OuterTP&·<a·class="code·hl_function"·href="a02142.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
| 156 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_function"·href="a02142.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a>(<a·class="code·hl_function"·href="a02142.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a02142.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>(),·<a·class="code·hl_namespace"·href="a00317.html">Dune</a>::TypeTree::join(<a·class="code·hl_function"·href="a02142.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a02142.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>(),·<a·class="code·hl_function"·href="a02142.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>))</div> | ||
| 157 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{}</div> | ||
| 158 | </div> | ||
| 159 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 160 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> | ||
| 161 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | ||
| 162 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02142.html#a8ce8499d3a9117e5138f1ba231a80fcf">···71</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02142.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>&·<a·class="code·hl_function"·href="a02142.html#a8ce8499d3a9117e5138f1ba231a80fcf">gridView</a>()<span·class="keyword">·const</span></div> | ||
| 163 | <div·class="line"><a·id="l0007 | 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
| 164 | <div·class="line"><a·id="l0007 | 142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00314.html#ga3e9a8b5a2dac8ad92d9000f0e7187ba4">···71</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00314.html#ga3e9a8b5a2dac8ad92d9000f0e7187ba4">StaticSize</[·...·truncated·by·diffoscope;·len:·50,·SHA:·8552d6413880b8a65abcc9750f2b5e51115b390e394ecb7363402da7f67e10d1·...·]</div> |
| 143 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">decltype</span>(Dune::Hybrid::size(std::declval<T>()))>;</div> | ||
| 165 | <div·class="line"><a·id="l0007 | 144 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 166 | </div> | ||
| 167 | <div·class="line"><a·id="l0007 | 145 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
| 146 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH</span></div> | ||
| 149 | <div·class="ttc"·id="aa00314_html_ga3e9a8b5a2dac8ad92d9000f0e7187ba4"><div·class="ttname"><a·href="a00314.html#ga3e9a8b5a2dac8ad92d9000f0e7187ba4">Dune::Functions::StaticSize</a></div><div·class="ttdeci">std::enable_if_t<·HasStaticSize_v<·T·>,·decltype(Dune::Hybrid::size(std::declval<·T·>()))>·StaticSize</div><div·class="ttdoc">Obtain·size·of·statically·sized·container·as·integral_constant,·or·fail.</div><div·class="ttdef"><b>Definition</b>·type_traits.hh:71</div></div> | ||
| 150 | <div·class="ttc"·id="aa00314_html_gae56cc95e9c26568861b3fddae9983080"><div·class="ttname"><a·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">Dune::Functions::enableIfConstructible</a></div><div·class="ttdeci">std::enable_if_t<·std::is_constructible_v<·T,·Args...·>,·int·>·enableIfConstructible</div><div·class="ttdoc">Helper·to·constrain·forwarding·constructors.</div><div·class="ttdef"><b>Definition</b>·type_traits.hh:30</div></div> | ||
| 168 | <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="}"> | ||
| 169 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02142.html#acbfda46d0971e6f82b7649e195663702">···79</a></span>··<a·class="code·hl_typedef"·href="a02142.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·<a·class="code·hl_function"·href="a02142.html#acbfda46d0971e6f82b7649e195663702">dimension</a>()<span·class="keyword">·const</span></div> | ||
| 170 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">··</span>{</div> | ||
| 171 | <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="a02142.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->dimension();</div> | ||
| 172 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··}</div> | ||
| 173 | </div> | ||
| 174 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span></div> | ||
| 175 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> | ||
| 176 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a02142.html#abe1c4a616c0acdf861fbbc5f52046645">···85</a></span>··<a·class="code·hl_typedef"·href="a02142.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·<a·class="code·hl_function"·href="a02142.html#abe1c4a616c0acdf861fbbc5f52046645">size</a>()<span·class="keyword">·const</span></div> | ||
| 177 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">··</span>{</div> | ||
| 178 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a02142.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->size();</div> | ||
| 179 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> | ||
| 180 | </div> | ||
| 181 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span></div> | ||
| Max diff block lines reached; 11199/48150 bytes (23.26%) of diff not shown. | |||
| Offset 1, 249 lines modified | Offset 1, 85 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | type_traits.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<type_traits> |
| 19 | 11 | ||
| 19 | 1 | 20 | 12#include·<dune/common/hybridutilities.hh> |
| 20 | 12#include·<dune/common/concept.hh> | ||
| 21 | 13 | ||
| 22 | 14#include·<dune/common/typetree/treepath.hh> | ||
| 23 | 15 | ||
| 24 | 1 | 21 | 13#include·<dune/common/typeutilities.hh> |
| 22 | 14 | ||
| 25 | 17#include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
| 26 | 18#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 27 | 19 | ||
| 28 | 20 | ||
| 29 | 21 | ||
| 30 | 23 | 15namespace·Dune·{ | |
| 31 | 24 | 16namespace·Functions·{ | |
| 25 | 17 | ||
| 26 | 18 | ||
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 26 | ||
| 35 | 2 | 27 | 29template<class·T,·class...·Args> |
| 28 | 30using·enableIfConstructible·=·std::enable_if_t< | ||
| 29 | 31·std::is_constructible_v<T,·Args...>,·int>; | ||
| 30 | 32 | ||
| 36 | 28class·SubspaceBasis | ||
| 37 | 29{ | ||
| 38 | 30public: | ||
| 39 | 31 | ||
| 40 | 32·using·RootBasis·=·RB; | ||
| 41 | 33 | 31 | 33 |
| 32 | 34 | ||
| 33 | 42template<class·T> | ||
| 34 | 43struct·HasStaticSize·: | ||
| 35 | 44·public·IsIntegralConstant<decltype(Dune::Hybrid::size(std::declval<T>()))> | ||
| 36 | 45{}; | ||
| 37 | 46 | ||
| 38 | 48template<class·T> | ||
| 39 | 49inline·constexpr·bool·HasStaticSize_v·=·HasStaticSize<T>::value; | ||
| 42 | 34·using·RootLocalView·=·typename·RootBasis::LocalView; | ||
| 43 | 35 | ||
| 44 | 36·using·PrefixPath·=·TP; | ||
| 45 | 37 | ||
| 46 | 39·using·GridView·=·typename·RootBasis::GridView; | ||
| 47 | 40 | ||
| 48 | 42·using·MultiIndex·=·typename·RootBasis::MultiIndex; | ||
| 49 | 43 | ||
| 50 | 44·using·size_type·=·std::size_t; | ||
| 51 | 45 | ||
| 52 | 47·using·LocalView·=·SubspaceLocalView<RootLocalView,_PrefixPath>; | ||
| 53 | 48 | ||
| 54 | 49·using·SizePrefix·=·typename·RootBasis::SizePrefix; | ||
| 55 | 50 | 40 | 50 |
| 56 | 51 | 41 | 51 |
| 42 | 59template<class·T> | ||
| 43 | 60struct·StaticSizeOrZero·: | ||
| 44 | 61·public·std::conditional_t<HasStaticSize_v<T>, | ||
| 45 | 62·decltype(Dune::Hybrid::size(std::declval<T>())), | ||
| 46 | 63·std::integral_constant<std::size_t,0>> | ||
| 47 | 64{}; | ||
| 48 | 65 | ||
| 49 | 70template<class·T> | ||
| 50 | 71using·StaticSize·=·std::enable_if_t<HasStaticSize_v<T>, | ||
| 51 | 72·decltype(Dune::Hybrid::size(std::declval<T>()))>; | ||
| 52 | 73 | ||
| 53 | 74 | ||
| 54 | 75}}·//·namespace·Dune::Functions | ||
| 55 | 76 | ||
| 56 | 77#endif·//·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH | ||
| 57 | Dune::Functions::StaticSize | ||
| 58 | std::enable_if_t<·HasStaticSize_v<·T·>,·decltype(Dune::Hybrid::size(std:: | ||
| 59 | declval<·T·>()))>·StaticSize | ||
| 60 | Obtain·size·of·statically·sized·container·as·integral_constant,·or·fail. | ||
| 61 | Definition·type_traits.hh:71 | ||
| 62 | Dune::Functions::enableIfConstructible | ||
| 63 | std::enable_if_t<·std::is_constructible_v<·T,·Args...·>,·int·> | ||
| 64 | enableIfConstructible | ||
| 65 | Helper·to·constrain·forwarding·constructors. | ||
| 66 | Definition·type_traits.hh:30 | ||
| 57 | 53·SubspaceBasis(const·RootBasis&·rootBasis,·const·PrefixPath&·prefixPath)·: | ||
| 58 | 54·rootBasis_(&rootBasis), | ||
| 59 | 55·prefixPath_(prefixPath) | ||
| 60 | 56·{} | ||
| 61 | 57 | ||
| 62 | 63·template<class·RootRootBasis,·class·InnerTP,·class·OuterTP> | ||
| 63 | 64·SubspaceBasis(const·SubspaceBasis<RootRootBasis,_InnerTP>&·rootBasis,·const | ||
| 64 | OuterTP&·prefixPath)·: | ||
| 65 | 65·SubspaceBasis(rootBasis.rootBasis(),·Dune::TypeTree::join | ||
| 66 | (rootBasis.prefixPath(),·prefixPath)) | ||
| 67 | 66·{} | ||
| 68 | 67 | ||
| 69 | 68 | ||
| 70 | 71·const·GridView&·gridView()·const | ||
| 71 | 72·{ | ||
| 72 | 73·return·rootBasis_->gridView(); | ||
| 73 | 74·} | ||
| 74 | 75 | ||
| 75 | 79·size_type·dimension()·const | ||
| 76 | 80·{ | ||
| 77 | 81·return·rootBasis_->dimension(); | ||
| 78 | 82·} | ||
| 79 | 83 | ||
| 80 | 85·size_type·size()·const | ||
| 81 | 86·{ | ||
| 82 | 87·return·rootBasis_->size(); | ||
| 83 | 88·} | ||
| 84 | 89 | ||
| 85 | 91·size_type·size(const·SizePrefix&·prefix)·const | ||
| 86 | 92·{ | ||
| Max diff block lines reached; 4212/9677 bytes (43.53%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·r | 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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 73 lines modified | Offset 88, 55 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">r | 94 | ··<div·class="headertitle"><div·class="title">differentiablefunctionfromcallables.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 99 | <code>#include·<dune/ | 98 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 100 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 101 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
| 102 | <code>#include·<dune/localfunctions/raviartthomas.hh></code><br·/> | ||
| 103 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></code><br·/> | ||
| 104 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></code><br·/> | ||
| 105 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></code><br·/> | ||
| 106 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></code><br·/> | ||
| 107 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></code><br·/> | ||
| 108 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></code><br·/> | ||
| 109 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></code><br·/> | ||
| 110 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></code><br·/> | ||
| 111 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
| 112 | <code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 113 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 114 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 115 | </div> | 102 | </div> |
| 116 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 117 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
| 118 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 119 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
| 120 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ARaviartThomasPreBasis_3C_20GV_2C_20k_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ARaviartThomasPreBasis_3C_20GV_2C_20k_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02118.html">Dune::Functions::RaviartThomasPreBasis<·GV,·k·></a></td></tr> | ||
| 121 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADifferentiableFunctionFromCallables_3C_20Range_28Domain_29_2C_20DerivativeTraits_2C_20F_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADifferentiableFunctionFromCallables_3C_20Range_28Domain_29_2C_20DerivativeTraits_2C_20F_20_3E"><td·class="memItemLeft"·align="righ[·...·truncated·by·diffoscope;·len:·198,·SHA:·644ac2cb5a60466072cbf5e2cf5703e1c2ca100238eeb5aef2df3f8a3b2fe389·...·]·></a></td></tr> |
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01298.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>.··<a·href="a01274.html#details">More...</a><br·/></td></tr> | ||
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADifferentiableFunctionFromCallables_3C_20Range_28Domain_29_2C_20DerivativeTraits_2C_20F_2C_20DF_2C_20Derivatives_2E_2E_2E_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADifferentiableFunctionFromCallables_3C_20Range_28Domain_29_2C_20DerivativeTraits_2C_20F_2C_20DF_2C_20Derivatives_2E_2E_2E_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01278.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></a></td></tr> | ||
| 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01298.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>.··<a·href="a01278.html#details">More...</a><br·/></td></tr> | ||
| 122 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 123 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 124 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
| 125 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 114 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 126 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 115 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 127 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 128 | </table><table·class="memberdecls"> | ||
| 129 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 130 | Typedefs</h2></td></tr> | ||
| 131 | <tr·class="memitem:aa6f8708cc5252d126207e014a8e0bff9"·id="r_aa6f8708cc5252d126207e014a8e0bff9"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k>·</td></tr> | ||
| 132 | <tr·class="memitem:aa6f8708cc5252d126207e014a8e0bff9·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#aa6f8708cc5252d126207e014a8e0bff9">Dune::Functions::RaviartThomasBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a02118.html">RaviartThomasPreBasis</a><GV,·k>·></td></tr> | ||
| 133 | <tr·class="memdesc:aa6f8708cc5252d126207e014a8e0bff9"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.··<br·/></td></tr> | ||
| 134 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
| 135 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 136 | Functions</h2></td></tr> | 118 | Functions</h2></td></tr> |
| 137 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"·id="r_gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
| 138 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gac7c656af99728aa385381f5d78ae0b98">Dune::Functions::BasisFactory::raviartThomas</a>·()</td></tr> | ||
| 139 | <tr·class="mem | 119 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"·id="r_gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplParams"·colspan="2">template<class·Signature,·template<·class·>·class·DerivativeTraits,·class...·F>·</td></tr> |
| 120 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449·template"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01270.html">DifferentiableFunctionFromCallables</a><·Signature,·DerivativeTraits,·F...·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">Dune::Functions::makeDifferentiableFunctionFromCallables</a>·(const·<a·class="el"·href="a01438.html">SignatureTag</a><·Signature,·DerivativeTraits·>·&signatureTag,·F·&&...·f)</td></tr> | ||
| 121 | <tr·class="memdesc:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01238.html">DifferentiableFunction</a>·from·callables.··<br·/></td></tr> | ||
| 140 | </table> | 122 | </table> |
| 141 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
| 142 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
| 143 | <div·id="page-nav"·class="page-nav-panel"> | 125 | <div·id="page-nav"·class="page-nav-panel"> |
| 144 | <div·id="page-nav-resize-handle"></div> | 126 | <div·id="page-nav-resize-handle"></div> |
| 145 | <div·id="page-nav-tree"> | 127 | <div·id="page-nav-tree"> |
| 146 | <div·id="page-nav-contents"> | 128 | <div·id="page-nav-contents"> |
| 147 | </div><!--·page-nav-contents·--> | 129 | </div><!--·page-nav-contents·--> |
| 148 | </div><!--·page-nav-tree·--> | 130 | </div><!--·page-nav-tree·--> |
| 149 | </div><!--·page-nav·--> | 131 | </div><!--·page-nav·--> |
| 150 | </div><!--·container·--> | 132 | </div><!--·container·--> |
| 151 | <!--·start·footer·part·--> | 133 | <!--·start·footer·part·--> |
| 152 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 134 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 153 | ··<ul> | 135 | ··<ul> |
| 154 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 136 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00095.html">differentiablefunctionfromcallables.hh</a></li> |
| 155 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 137 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 156 | ··</ul> | 138 | ··</ul> |
| 157 | </div> | 139 | </div> |
| 158 | </body> | 140 | </body> |
| 159 | </html> | 141 | </html> |
| Offset 1, 45 lines modified | Offset 1, 39 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | differentiablefunctionfromcallables.hh·File·Reference | ||
| 5 | raviartthomasbasis.hh·File·Reference | ||
| 6 | #include·<array> | ||
| 7 | #include·<dune/common/exceptions.hh> | ||
| 8 | #include·<dune/ | 6 | #include·<dune/common/typeutilities.hh> |
| 7 | #include·<dune/common/hybridutilities.hh> | ||
| 8 | #include·<dune/functions/common/signature.hh> | ||
| 9 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 10 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 9 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 10 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 11 | #include·<dune/localfunctions/raviartthomas.hh> | ||
| 12 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
| 13 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
| 14 | #include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
| 15 | #include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
| 16 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
| 17 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
| 18 | #include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
| 19 | #include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 22 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 23 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 24 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 25 | Classes | 12 | Classes |
| 26 | class· ·Dune::Functions::RaviartThomasPreBasis<_GV,_k_> | ||
| 27 | class· ·Dune::Functions:: | 13 | class· ·Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), |
| 14 | ········DerivativeTraits,_F_> | ||
| 15 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
| 16 | ·······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits>. | ||
| 17 | ········More... | ||
| 18 | class· ·Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
| 19 | ········DerivativeTraits,_F,_DF,_Derivatives..._> | ||
| 20 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
| 21 | ·······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits>. | ||
| 22 | ········More... | ||
| 28 | Namespaces | 23 | Namespaces |
| 29 | namespace· ·Dune | 24 | namespace· ·Dune |
| 30 | namespace· ·Dune::Functions | 25 | namespace· ·Dune::Functions |
| 31 | namespace· ·Dune::Functions::BasisFactory | ||
| 32 | Typedefs | ||
| 33 | template<typename·GV,·int·k> | ||
| 34 | using ·Dune::Functions::RaviartThomasBasis·= | ||
| 35 | ·······DefaultGlobalBasis<RaviartThomasPreBasis<GV,·k>·> | ||
| 36 | ······Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space. | ||
| 37 | Functions | 26 | Functions |
| 38 | template<std::size_t·k> | ||
| 39 | auto ·Dune::Functions::BasisFactory::raviartThomas·() | ||
| 40 | 27 | template<class·Signature,·template<·class·>·class·DerivativeTraits,·class...·F> | |
| 28 | DifferentiableFunctionFromCallables<·Dune::Functions:: | ||
| 29 | Signature,·DerivativeTraits,·F...·> ·makeDifferentiableFunctionFromCallables | ||
| 30 | ·····································(const·SignatureTag<·Signature, | ||
| 31 | ·····································DerivativeTraits·>·&signatureTag,·F·&&... | ||
| 32 | ·····································f) | ||
| 33 | ····································Create·a·DifferentiableFunction·from | ||
| 34 | ·····································callables. | ||
| 41 | ····*·dune | 35 | ····*·dune |
| 42 | ····*·functions | 36 | ····*·functions |
| 43 | ····*·functionspacebases | ||
| 44 | ····*· | 37 | ····*·common |
| 38 | ····*·differentiablefunctionfromcallables.hh | ||
| 45 | ····*·Generated·by·[doxygen]1.15.0 | 39 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 6 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00095·=·[ | 1 | var·a00095·=·[ |
| 2 | ····["Dune::Functions::makeDifferentiableFunctionFromCallables",·"a00308.html#gad3bb1b3fe74c7f750a3980f4c0ce0449",·null] | ||
| 2 | ····["Dune::Functions::RaviartThomasPreBasis<·GV,·k·>",·"a02118.html",·"a02118"], | ||
| 3 | ····["Dune::Functions::RaviartThomasNode<·GV,·k·>",·"a02114.html",·"a02114"], | ||
| 4 | ····["Dune::Functions::RaviartThomasBasis",·"a00318.html#aa6f8708cc5252d126207e014a8e0bff9",·null], | ||
| 5 | ····["Dune::Functions::BasisFactory::raviartThomas",·"a00312.html#gac7c656af99728aa385381f5d78ae0b98",·null] | ||
| 6 | ]; | 3 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·r | 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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 468 lines modified | Offset 88, 171 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">r | 94 | ··<div·class="headertitle"><div·class="title">differentiablefunctionfromcallables.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 109 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 110 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/functions/common/signature.hh</a>></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></span></div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 123 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00140.html">dune/functions/common/functionconcepts.hh</a>></span></div> |
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 127 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | ||
| 128 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> |
| 129 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 130 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 131 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01270.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01270.html">DifferentiableFunctionFromCallables</a>;</div> | ||
| 132 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo</div> | ||
| 135 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
| 138 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span></div> |
| 127 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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> | ||
| 128 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> | ||
| 129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01274.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01274.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a><Range(Domain),·DerivativeTraits,·F></div> | ||
| 139 | <div·class="line"><a·id="l0004 | 130 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> |
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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="l000 | 131 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> |
| 142 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span></div> |
| 143 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01274.html#acffaa1044b3ca19944d0f78fc0ff1ac4">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01274.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</[·...·truncated·by·diffoscope;·len:·18,·SHA:·8388dd6fcecc798317fdac873f8a3b339807789a57470457e7b28c669b41caef·...·];</div> |
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 135 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01274.html#acce6cff869c703e4f707474228581e03">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01274.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01434.html">SignatureTraits<Signature>::RawSignature</a>;</div> | ||
| 145 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span></div> |
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01274.html#af3d92b77ee01a494d609225d37eb5259">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01274.html#af3d92b77ee01a494d609225d37eb5259">DerivativeSignature</a>·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(Domain);</div> | ||
| 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,1></div> | ||
| 148 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span></div> |
| 149 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01274.html#a1213bfc3682b37f706a9f0b1e958cfbe">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01274.html#a1213bfc3682b37f706a9f0b1e958cfbe">Derivative<[·...·truncated·by·diffoscope;·len:·121,·SHA:·388b9e702109b32199b22cd4f93f9332e473ddd0017eed8f909da62c0ce26dd5·...·];</div> |
| 150 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span></div> |
| 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 153 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF>·=·0></div> |
| 142 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | ||
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01274.html#a9509c11776197d4e92b8d1f0ad2a10cb">···65</a></span>··<a·class="code·hl_function"·href="a01274.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a>(FF&&·f)·:</div> | ||
| 154 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····f_(std::forward<FF>(f))</div> |
| 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">using·</span>FiniteElement·=·RT03DLocalFiniteElement<D,R>;</div> | ||
| 156 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{}</div> |
| 146 | </div> | ||
| 157 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> |
| 158 | <div·class=" | 148 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> |
| 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01274.html#a720d931d3d5ea77435ea74436c6ab489">···70</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
| 159 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">··</span>{</div> |
| 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">return</span>·f_(x);</div> | ||
| 160 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> |
| 153 | </div> | ||
| 161 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
| 162 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
| 163 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span></div> |
| 155 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
| 156 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00308.html#ga8bec39fece3c312f2030bab07b2e8721">···80</a></span>··<span·class="keyword">friend</span>·<a·class="code·hl_typedef"·href="a01274.html#a1213bfc3682b37f706a9f0b1e958cfbe">Derivative</a>·<a·class="code·hl_friend"·href="a00308.html#ga8bec39fece3c312f2030bab07b2e8721">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_function"·href="a01274.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a>&·t)</div> | ||
| 164 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 165 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 166 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,0></div> | ||
| 167 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div> |
| 168 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> |
| 169 | <div·class="line"><a·id="l000 | 159 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div> |
| 160 | </div> | ||
| 170 | <div·class="line"><a·id="l000 | 161 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
| 171 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 172 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> |
| 173 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··F·f_;</div> |
| 174 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">using·</span>FiniteElement·=·RT1Cube2DLocalFiniteElement<D,R>;</div> | ||
| 175 | <div·class="line"><a·id="l000 | 164 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>};</div> |
| Max diff block lines reached; 76933/106660 bytes (72.13%) of diff not shown. | |||
| Offset 1, 551 lines modified | Offset 1, 208 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | r | 5 | differentiablefunctionfromcallables.hh |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10 | ||
| 18 | 10#include·<array> | ||
| 19 | 11#include·<dune/common/exceptions.hh> | ||
| 20 | 12 | ||
| 21 | 1 | 19 | 11#include·<dune/common/typeutilities.hh> |
| 22 | 1 | 20 | 12#include·<dune/common/hybridutilities.hh> |
| 21 | 13 | ||
| 22 | 14#include·<dune/functions/common/signature.hh> | ||
| 23 | 15 | 23 | 15 |
| 24 | 16#include·<dune/functions/common/differentiablefunction.hh> | ||
| 25 | 17#include·<dune/functions/common/functionconcepts.hh> | ||
| 26 | 18 | ||
| 27 | 19 | ||
| 28 | 20 | ||
| 29 | 21namespace·Dune·{ | ||
| 30 | 22namespace·Functions·{ | ||
| 31 | 23 | ||
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 26template<class·Signature,·template<class>·class·DerivativeTraits,·class... | ||
| 35 | Callables> | ||
| 36 | 27class·DifferentiableFunctionFromCallables; | ||
| 37 | 28 | ||
| 38 | 29 | ||
| 39 | 30 | ||
| 40 | 47template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 41 | class·F> | ||
| 42 | 48class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits,·F> | ||
| 43 | 49{ | ||
| 44 | 50public: | ||
| 45 | 51 | ||
| 46 | 53·using·Signature·=·Range(Domain); | ||
| 47 | 54 | ||
| 48 | 55·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 49 | 56 | ||
| 50 | 58·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 51 | (Domain); | ||
| 52 | 59 | ||
| 53 | 61·using·Derivative·=·DifferentiableFunction<DerivativeSignature, | ||
| 54 | DerivativeTraits>; | ||
| 55 | 62 | ||
| 56 | 64·template<class·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF> | ||
| 57 | =·0> | ||
| 58 | 65·DifferentiableFunctionFromCallables(FF&&·f)·: | ||
| 59 | 66·f_(std::forward<FF>(f)) | ||
| 60 | 67·{} | ||
| 24 | 16#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 25 | 17#include·<dune/localfunctions/raviartthomas.hh> | ||
| 26 | 18#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
| 27 | 19#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
| 28 | 20#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
| 29 | 21#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
| 30 | 22#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
| 31 | 23#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
| 32 | 24#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
| 33 | 25#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
| 34 | 26 | ||
| 35 | 27#include·<dune/functions/functionspacebases/ | ||
| 36 | globalvaluedlocalfiniteelement.hh> | ||
| 37 | 28#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 38 | 29#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 39 | 30#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 40 | 31 | ||
| 41 | 32namespace·Dune·{ | ||
| 42 | 33namespace·Functions·{ | ||
| 43 | 34 | ||
| 44 | 35namespace·Impl·{ | ||
| 45 | 36 | ||
| 46 | 37·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 47 | 38·struct·RaviartThomasSimplexLocalInfo | ||
| 48 | 39·{ | ||
| 49 | 40·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
| 50 | 41·using·FiniteElement·=·void*; | ||
| 51 | 42·}; | ||
| 52 | 43 | ||
| 53 | 44·template<typename·D,·typename·R> | ||
| 54 | 45·struct·RaviartThomasSimplexLocalInfo<2,D,R,0> | ||
| 55 | 46·{ | ||
| 56 | 47·using·FiniteElement·=·RT02DLocalFiniteElement<D,R>; | ||
| 57 | 48·}; | ||
| 58 | 49 | ||
| 59 | 50·template<typename·D,·typename·R> | ||
| 60 | 51·struct·RaviartThomasSimplexLocalInfo<2,D,R,1> | ||
| 61 | 52·{ | ||
| 62 | 53·using·FiniteElement·=·RT12DLocalFiniteElement<D,R>; | ||
| 63 | 54·}; | ||
| 64 | 55 | ||
| 65 | 56·template<typename·D,·typename·R> | ||
| 66 | 57·struct·RaviartThomasSimplexLocalInfo<3,D,R,0> | ||
| 67 | 58·{ | ||
| 68 | 59·using·FiniteElement·=·RT03DLocalFiniteElement<D,R>; | ||
| 69 | 60·}; | ||
| 70 | 61 | ||
| 71 | 62·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 72 | 63·struct·RaviartThomasCubeLocalInfo | ||
| 73 | 64·{ | ||
| 74 | 65·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
| 75 | 66·using·FiniteElement·=·void*; | ||
| 76 | 67·}; | ||
| 77 | 68 | 61 | 68 |
| 62 | 70·Range·operator()·(const·Domain&·x)·const | ||
| 78 | 69·template<typename·D,·typename·R> | ||
| 79 | 70·struct·RaviartThomasCubeLocalInfo<2,D,R,0> | ||
| 80 | 71·{ | 63 | 71·{ |
| 81 | 72· | 64 | 72·return·f_(x); |
| 82 | 73·} | 65 | 73·} |
| 83 | 74 | 66 | 74 |
| 67 | 80·friend·Derivative·derivative(const·DifferentiableFunctionFromCallables&·t) | ||
| 84 | 75·template<typename·D,·typename·R> | ||
| Max diff block lines reached; 19565/25341 bytes (77.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·l | 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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 55 lines modified | Offset 88, 39 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">l | 94 | ··<div·class="headertitle"><div·class="title">localfunction_imp.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·<cassert></code><br·/> | ||
| 98 | <code>#include·<type_traits></code><br·/> | ||
| 99 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00 | 97 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 102 | <code>#include·<dune/ | 98 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 103 | </div> | 99 | </div> |
| 104 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 100 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 105 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
| 106 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 107 | Classes</h2></td></tr> | ||
| 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALFEPreBasisMixin_3C_20GV_2C_20LFE_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALFEPreBasisMixin_3C_20GV_2C_20LFE_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01950.html">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.··<a·href="a01950.html#details">More...</a><br·/></td></tr> | ||
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALFEPreBasisMixin_3C_20GV_2C_20LFE_20_3E_3A_3ANode"·id="r_Dune_3A_3AFunctions_3A_3ALFEPreBasisMixin_3C_20GV_2C_20LFE_20_3E_3A_3ANode"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01954.html">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node</a></td></tr> | ||
| 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the·<a·class="el"·href="a01950.html"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.">LFEPreBasisMixin</a>·of·type·<span·class="tt">LFE</span>.··<a·href="a01954.html#details">More...</a><br·/></td></tr> | ||
| 112 | </table><table·class="memberdecls"> | ||
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 114 | Namespaces</h2></td></tr> | 103 | Namespaces</h2></td></tr> |
| 115 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 104 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 116 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 117 | </table><table·class="memberdecls"> | ||
| 118 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 119 | Functions</h2></td></tr> | ||
| 120 | <tr·class="memitem:af37105e3e3c8d996b2a3551286f01be9"·id="r_af37105e3e3c8d996b2a3551286f01be9"><td·class="memTemplParams"·colspan="2">template<class·GV,·class·LFE>·</td></tr> | ||
| 121 | <tr·class="memitem:af37105e3e3c8d996b2a3551286f01be9·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#af37105e3e3c8d996b2a3551286f01be9">Dune::Functions::LFEPreBasisMixin</a>·(const·GV·&,·const·LFE·&,·MCMGLayout)·->·LFEPreBasisMixin<·GV,·LFE·></td></tr> | ||
| 122 | </table> | 106 | </table> |
| 123 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
| 124 | </div><!--·doc-content·--> | 108 | </div><!--·doc-content·--> |
| 125 | <div·id="page-nav"·class="page-nav-panel"> | 109 | <div·id="page-nav"·class="page-nav-panel"> |
| 126 | <div·id="page-nav-resize-handle"></div> | 110 | <div·id="page-nav-resize-handle"></div> |
| 127 | <div·id="page-nav-tree"> | 111 | <div·id="page-nav-tree"> |
| 128 | <div·id="page-nav-contents"> | 112 | <div·id="page-nav-contents"> |
| 129 | </div><!--·page-nav-contents·--> | 113 | </div><!--·page-nav-contents·--> |
| 130 | </div><!--·page-nav-tree·--> | 114 | </div><!--·page-nav-tree·--> |
| 131 | </div><!--·page-nav·--> | 115 | </div><!--·page-nav·--> |
| 132 | </div><!--·container·--> | 116 | </div><!--·container·--> |
| 133 | <!--·start·footer·part·--> | 117 | <!--·start·footer·part·--> |
| 134 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 118 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 135 | ··<ul> | 119 | ··<ul> |
| 136 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 120 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00098.html">localfunction_imp.hh</a></li> |
| 137 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 121 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 138 | ··</ul> | 122 | ··</ul> |
| 139 | </div> | 123 | </div> |
| 140 | </body> | 124 | </body> |
| 141 | </html> | 125 | </html> |
| Offset 1, 31 lines modified | Offset 1, 16 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | localfunction_imp.hh·File·Reference | ||
| 6 | #include·<dune/functions/common/type_traits.hh> | ||
| 7 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 5 | lfeprebasismixin.hh·File·Reference | ||
| 6 | #include·<cassert> | ||
| 7 | #include·<type_traits> | ||
| 8 | #include·<dune/common/exceptions.hh> | ||
| 9 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 10 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 11 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 12 | Go_to_the_source_code_of_this_file. | 8 | Go_to_the_source_code_of_this_file. |
| 13 | Classes | ||
| 14 | class· ·Dune::Functions::LFEPreBasisMixin<_GV,_LFE_> | ||
| 15 | ·······A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a | ||
| 16 | ········DOF·layout.·More... | ||
| 17 | class· ·Dune::Functions::LFEPreBasisMixin<_GV,_LFE_>::Node | ||
| 18 | ·······Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the | ||
| 19 | ········LFEPreBasisMixin·of·type·LFE.·More... | ||
| 20 | Namespaces | 9 | Namespaces |
| 21 | namespace· ·Dune | 10 | namespace· ·Dune |
| 22 | namespace· ·Dune::Functions | 11 | namespace· ·Dune::Functions |
| 23 | Functions | ||
| 24 | template<class·GV,·class·LFE> | ||
| 25 | ·Dune::Functions::LFEPreBasisMixin·(const·GV·&,·const·LFE·&,·MCMGLayout)·- | ||
| 26 | ··>·LFEPreBasisMixin<·GV,·LFE·> | ||
| 27 | ····*·dune | 12 | ····*·dune |
| 28 | ····*·functions | 13 | ····*·functions |
| 29 | ····*·functionspacebases | ||
| 30 | ····*· | 14 | ····*·common |
| 15 | ····*·localfunction_imp.hh | ||
| 31 | ····*·Generated·by·[doxygen]1.15.0 | 16 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·l | 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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 167 lines modified | Offset 88, 98 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">l | 94 | ··<div·class="headertitle"><div·class="title">localfunction_imp.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cassert></span></div> | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<t | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 111 | <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/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 116 | <div·class="line"><a·id="l000 | 111 | <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="a00317.html">Dune</a>·{</div> |
| 112 | <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="a00318.html">Functions</a>·{</div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span></div> | ||
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·LFE></div> | ||
| 119 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> | ||
| 120 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01950.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a>·:</div> | ||
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">LeafPreBasisMapperMixin</a><·GV·></div> | ||
| 122 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">LeafPreBasisMapperMixin<·GV·></a>;</div> | ||
| 124 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 125 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> |
| 126 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//</span></div> |
| 127 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01950.html#ae1eb6bf264da93bbcc70215df165f1b7">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01950.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>·=·GV;</div> | ||
| 128 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> |
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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> | ||
| 129 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">class·</span>LocalFunctionWrapperInterface·:</div> |
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
| 130 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> |
| 131 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">public</span>:</div> |
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&)·=·0;</div> | ||
| 132 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····std::enable_if_t<std::is_default_constructible_v<LFE_>,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 133 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 134 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">···75</a></span>··<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01950.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>&·gv,·MCMGLayout·layout)</div> | ||
| 135 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 136 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()·=·0;</div> |
| 137 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 138 | </div> | 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()·<span·class="keyword">const</span>·=·0;</div> |
| 139 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>·<<span·class="keyword">class</span>·LFE_></div> | ||
| 141 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 142 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()·<span·class="keyword">const</span>·=·0;</div> |
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 143 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 144 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····,·lfe_(std::forward<LFE_>(lfe))</div> | ||
| 145 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{}</div> | ||
| 146 | </div> | 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> |
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>LocalFunctionWrapperImplementation·:</div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
| 147 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>Base·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
| 148 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> | ||
| 149 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01950.html#a92ba80af2449a0efe6318acba50c1b4c">···92</a></span>··Node·<a·class="code·hl_function"·href="a01950.html#a92ba80af2449a0efe6318acba50c1b4c">makeNode</a>·()<span·class="keyword">·const</span></div> | ||
| 150 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div> |
| 151 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 152 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 153 | </div> | 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&·context)</div> |
| 154 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> |
| 155 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····this->get().bind(context);</div> |
| 156 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··}</div> |
| 157 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 158 | </div> | 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()</div> |
| 159 | <div·class="line"><a·id="l00 | 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> |
| 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····this->get().unbind();</div> | ||
| 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div> | ||
| 152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
| 160 | <div·class="line"><a·id="l00 | 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">··</span>{</div> |
| 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·this->get().bound();</div> | ||
| 161 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·LFE></div> | ||
| 162 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a00318.html#af37105e3e3c8d996b2a3551286f01be9">··103</a></span><a·class="code·hl_function"·href="a00318.html#af37105e3e3c8d996b2a3551286f01be9">LFEPreBasisMixin</a>(<span·class="keyword">const</span>·GV&,·<span·class="keyword">const</span>·LFE&,·MCMGLayout)</div> | ||
| 163 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··->·<a·class="code·hl_class"·href="a01950.html">LFEPreBasisMixin<GV,LFE></a>;</div> | ||
| 164 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
| 165 | <div·class="line"><a·id="l00 | 156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> |
| 166 | <div·class="line"><a·id="l00 | 157 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()<span·class="keyword">·const</span></div> | ||
| 159 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 160 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·this->get().localContext();</div> | ||
| 167 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·LFE></div> | ||
| 168 | <div·class="foldopen"·id="foldopen00118"·data-start="{"·data-end="};"> | ||
| 169 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01954.html">··118</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a><GV,LFE>::<a·class="code·hl_function"·href="a01954.html#aa7baa9aa43691060a81422d16fb756d0">Node</a></div> | ||
| 170 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02006.html">LeafBasisNode</a></div> | ||
| 171 | <div·class="line"><a·id="l00 | 161 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> |
| 172 | <div·class="line"><a·id="l00 | 162 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>};</div> |
| 173 | <div·class="line"><a·id="l00 | 163 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 174 | <div·class="line"><a·id="l00 | 164 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>}}}·<span·class="comment">//·namespace·Dune::Functions::Imp</span></div> |
| 165 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 166 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 167 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 168 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> | ||
| Max diff block lines reached; 7795/38581 bytes (20.20%) of diff not shown. | |||
| Offset 1, 187 lines modified | Offset 1, 96 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | l | 5 | localfunction_imp.hh |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cassert> | ||
| 19 | 1 | 18 | 10#include·<dune/functions/common/type_traits.hh> |
| 19 | 11#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 20 | 12 | 20 | 12 |
| 21 | 13 | 21 | 13 |
| 22 | 14 | 22 | 14 |
| 23 | 15namespace·Dune·{ | ||
| 23 | 15#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 24 | 16#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 25 | 17 | ||
| 26 | 18#include·<dune/grid/common/mcmgmapper.hh> | ||
| 27 | 19 | ||
| 28 | 24 | 16namespace·Functions·{ | |
| 29 | 21 | ||
| 30 | 54template·<class·GV,·class·LFE> | ||
| 31 | 55class·LFEPreBasisMixin·: | ||
| 32 | 56·public·LeafPreBasisMapperMixin<·GV·> | ||
| 33 | 57{ | ||
| 34 | 58·using·Base·=·LeafPreBasisMapperMixin<_GV_>; | ||
| 35 | 25 | 17namespace·Imp·{ | |
| 26 | 18 | ||
| 27 | 19//·Interface·of·type·erasure·wrapper | ||
| 28 | 20// | ||
| 29 | 21//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 30 | ...) | ||
| 31 | 22//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 32 | 23template<class·Signature,·class·DerivativeInterface,·class·LocalContext> | ||
| 33 | 24class·LocalFunctionWrapperInterface·: | ||
| 34 | 25·public·DifferentiableFunctionWrapperInterface<Signature, | ||
| 35 | DerivativeInterface> | ||
| 36 | 26{ | ||
| 36 | 37 | 27public: | |
| 38 | 28·virtual·void·bind(const·LocalContext&)·=·0; | ||
| 39 | 29 | ||
| 40 | 30·virtual·void·unbind()·=·0; | ||
| 41 | 31 | ||
| 42 | 32·virtual·bool·bound()·const·=·0; | ||
| 43 | 33 | ||
| 44 | 34·virtual·const·LocalContext&·localContext()·const·=·0; | ||
| 45 | 35}; | ||
| 46 | 36 | ||
| 47 | 37 | ||
| 48 | 38//·Implementation·of·type·erasure·wrapper | ||
| 49 | 39template<class·Signature,·class·DerivativeInterface,·class·LocalContext, | ||
| 50 | class·B> | ||
| 51 | 40class·LocalFunctionWrapperImplementation·: | ||
| 52 | 41·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 53 | DerivativeInterface,·B> | ||
| 54 | 42{ | ||
| 55 | 43·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 56 | DerivativeInterface,·B>; | ||
| 57 | 44public: | ||
| 58 | 45·using·Base::Base; | ||
| 59 | 46 | ||
| 60 | 47·virtual·void·bind(const·LocalContext&·context) | ||
| 61 | 48·{ | ||
| 62 | 49·this->get().bind(context); | ||
| 63 | 50·} | ||
| 64 | 51 | ||
| 65 | 52·virtual·void·unbind() | ||
| 66 | 53·{ | ||
| 67 | 54·this->get().unbind(); | ||
| 68 | 55·} | ||
| 69 | 56 | ||
| 70 | 57·virtual·bool·bound()·const | ||
| 71 | 58·{ | ||
| 72 | 59·return·this->get().bound(); | ||
| 73 | 60·} | ||
| 37 | 61 | 74 | 61 |
| 38 | 63·using·GridView·=·GV; | ||
| 39 | 64 | ||
| 40 | 6 | 75 | 62·virtual·const·LocalContext&·localContext()·const |
| 76 | 63·{ | ||
| 77 | 64·return·this->get().localContext(); | ||
| 78 | 65·} | ||
| 79 | 66}; | ||
| 41 | 67 | 80 | 67 |
| 81 | 68}}}·//·namespace·Dune::Functions::Imp | ||
| 82 | 69 | ||
| 83 | 70 | ||
| 84 | 71 | ||
| 85 | 72#endif·//·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | ||
| 86 | type_traits.hh | ||
| 87 | differentiablefunction_imp.hh | ||
| 88 | Dune | ||
| 89 | Definition·monomialset.hh:19 | ||
| 42 | 73·template·<class·LFE_·=·LFE, | ||
| 43 | 74·std::enable_if_t<std::is_default_constructible_v<LFE_>,·int>·=·0> | ||
| 44 | 75·LFEPreBasisMixin·(const·GridView&·gv,·MCMGLayout·layout) | ||
| 45 | 76·:·Base(gv,·layout) | ||
| 46 | 77·,·lfe_{} | ||
| 47 | 78·{} | ||
| 48 | 79 | ||
| 49 | 85·template·<class·LFE_> | ||
| 50 | 86·LFEPreBasisMixin·(const·GridView&·gv,·LFE_&&·lfe,·MCMGLayout·layout) | ||
| 51 | 87·:·Base(gv,·layout) | ||
| 52 | 88·,·lfe_(std::forward<LFE_>(lfe)) | ||
| 53 | 89·{} | ||
| 54 | 90 | ||
| 55 | 92·Node·makeNode·()·const | ||
| 56 | 93·{ | ||
| 57 | 94·return·Node(lfe_); | ||
| 58 | 95·} | ||
| 59 | 96 | ||
| 60 | 97private: | ||
| 61 | 98·LFE·lfe_; | ||
| 62 | 99}; | ||
| 63 | 100 | ||
| 64 | 101//·deduction·guide | ||
| Max diff block lines reached; 2935/7578 bytes (38.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 56 lines modified | Offset 88, 56 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">defaultderivativetraits.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<utility></code><br·/> | 98 | <code>#include·<utility></code><br·/> |
| 99 | <code>#include·<dune/common/ | 99 | <code>#include·<dune/common/fvector.hh></code><br·/> |
| 100 | <code>#include·< | 100 | <code>#include·<dune/common/fmatrix.hh></code><br·/> |
| 101 | </div> | 101 | </div> |
| 102 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 105 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AInvalidRange"·id="r_Dune_3A_3AFunctions_3A_3AInvalidRange"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01202.html">Dune::Functions::InvalidRange</a></td></tr> |
| 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Dummy·range·class·to·be·used·if·no·proper·type·is·available.··<a·href="a01202.html#details">More...</a><br·/></td></tr> |
| 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20Signature_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20Signature_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01[·...·truncated·by·diffoscope;·len:·69,·SHA:·8f50d4080bc3e9c02a80e233f07237b1f417e39ed1db96efb6e064bb628382f7·...·]</a></td></tr> |
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01206.html#details">More...</a><br·/></td></tr> |
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20double_28double_29_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20double_28double_29_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01210.html">Dune::Functions::DefaultDerivativeTraits<·double(double)·></a></td></tr> | ||
| 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01210.html#details">More...</a><br·/></td></tr> | ||
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20K_28FieldVector_3C_20K_2C_20n_20_3E_29_3E"·id="r_Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20K_28FieldVector_3C_20K_2C_20n_20_3E_29_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01214.html">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></a></td></tr> | ||
| 113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01214.html#details">More...</a><br·/></td></tr> | ||
| 114 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20FieldVector_3C_20K_2C_20m_20_3E_28FieldVector_3C_20K_2C_20n_20_3E_29_3E"·id="r_Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20FieldVector_3C_20K_2C_20m_20_3E_28FieldVector_3C_20K_2C_20n_20_3E_29_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01218.html">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01218.html#details">More...</a><br·/></td></tr> | ||
| 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20FieldMatrix_3C_20K_2C_201_2C_20m_20_3E_28FieldVector_3C_20K_2C_20n_20_3E_29_3E"·id="r_Dune_3A_3AFunctions_3A_3ADefaultDerivativeTraits_3C_20FieldMatrix_3C_20K_2C_201_2C_20m_20_3E_28FieldVector_3C_20K_2C_20n_20_3E_29_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01222.html">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
| 117 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01222.html#details">More...</a><br·/></td></tr> | ||
| 110 | </table><table·class="memberdecls"> | 118 | </table><table·class="memberdecls"> |
| 111 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 119 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 112 | Namespaces</h2></td></tr> | 120 | Namespaces</h2></td></tr> |
| 113 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 121 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 114 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 122 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 115 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental"·id="r_Dune_3A_3AFunctions_3A_3AExperimental"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00325.html">Dune::Functions::Experimental</a></td></tr> | ||
| 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AExperimental_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3AExperimental_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00331.html">Dune::Functions::Experimental::BasisFactory</a></td></tr> | ||
| 117 | </table><table·class="memberdecls"> | ||
| 118 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 119 | Functions</h2></td></tr> | ||
| 120 | <tr·class="memitem:gac8fb8e934e9b092c8da8de6b22e69e82"·id="r_gac8fb8e934e9b092c8da8de6b22e69e82"><td·class="memTemplParams"·colspan="2">template<class·SubDomainBasisFactory,·class·<a·class="el"·href="a01490.html">SubDomain</a>>·</td></tr> | ||
| 121 | <tr·class="memitem:gac8fb8e934e9b092c8da8de6b22e69e82·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gac8fb8e934e9b092c8da8de6b22e69e82">Dune::Functions::Experimental::BasisFactory::restrict</a>·(SubDomainBasisFactory·&&subPreBasisFactory,·const·<a·class="el"·href="a01490.html">SubDomain</a>·&subDomain)</td></tr> | ||
| 122 | <tr·class="memdesc:gac8fb8e934e9b092c8da8de6b22e69e82"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·RestrictedPreBasisFactory.··<br·/></td></tr> | ||
| 123 | </table> | 123 | </table> |
| 124 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 125 | </div><!--·doc-content·--> | 125 | </div><!--·doc-content·--> |
| 126 | <div·id="page-nav"·class="page-nav-panel"> | 126 | <div·id="page-nav"·class="page-nav-panel"> |
| 127 | <div·id="page-nav-resize-handle"></div> | 127 | <div·id="page-nav-resize-handle"></div> |
| 128 | <div·id="page-nav-tree"> | 128 | <div·id="page-nav-tree"> |
| 129 | <div·id="page-nav-contents"> | 129 | <div·id="page-nav-contents"> |
| 130 | </div><!--·page-nav-contents·--> | 130 | </div><!--·page-nav-contents·--> |
| 131 | </div><!--·page-nav-tree·--> | 131 | </div><!--·page-nav-tree·--> |
| 132 | </div><!--·page-nav·--> | 132 | </div><!--·page-nav·--> |
| 133 | </div><!--·container·--> | 133 | </div><!--·container·--> |
| 134 | <!--·start·footer·part·--> | 134 | <!--·start·footer·part·--> |
| 135 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 135 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 136 | ··<ul> | 136 | ··<ul> |
| 137 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 137 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00101.html">defaultderivativetraits.hh</a></li> |
| 138 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 138 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 139 | ··</ul> | 139 | ··</ul> |
| 140 | </div> | 140 | </div> |
| 141 | </body> | 141 | </body> |
| 142 | </html> | 142 | </html> |
| Offset 1, 30 lines modified | Offset 1, 33 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | restrictedbasis.hh·File·Reference | ||
| 6 | 5 | defaultderivativetraits.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 7 | #include·<utility> | 7 | #include·<utility> |
| 8 | #include·<dune/common/ | 8 | #include·<dune/common/fvector.hh> |
| 9 | #include·<dune/ | 9 | #include·<dune/common/fmatrix.hh> |
| 10 | Go_to_the_source_code_of_this_file. | 10 | Go_to_the_source_code_of_this_file. |
| 11 | Classes | 11 | Classes |
| 12 | class· ·Dune::Functions::Experimental::RestrictedPreBasis<_GV,_SDPB,_SD_> | ||
| 13 | ·······A·pre-basis·restricted·to·a·sub-domain.·More... | ||
| 14 | class· ·Dune::Functions::Experimental::RestrictedPreBasis<_GV,_SDPB,_SD_>::Node | ||
| 15 | 12 | ·class· ·Dune::Functions::InvalidRange | |
| 13 | ········Dummy·range·class·to·be·used·if·no·proper·type·is·available.·More... | ||
| 14 | struct· ·Dune::Functions::DefaultDerivativeTraits<_Signature_> | ||
| 15 | ········Default·implementation·for·derivative·traits.·More... | ||
| 16 | struct· ·Dune::Functions::DefaultDerivativeTraits<_double(double)_> | ||
| 17 | ········Default·implementation·for·derivative·traits.·More... | ||
| 18 | struct· ·Dune::Functions::DefaultDerivativeTraits<_K(FieldVector<_K,_n_>)> | ||
| 19 | ········Default·implementation·for·derivative·traits.·More... | ||
| 20 | struct· ·Dune::Functions::DefaultDerivativeTraits<_FieldVector<_K,_m_> | ||
| 21 | ·········(FieldVector<_K,_n_>)> | ||
| 22 | ········Default·implementation·for·derivative·traits.·More... | ||
| 23 | struct· ·Dune::Functions::DefaultDerivativeTraits<_FieldMatrix<_K,_1,_m_> | ||
| 24 | ·········(FieldVector<_K,_n_>)> | ||
| 25 | ········Default·implementation·for·derivative·traits.·More... | ||
| 16 | Namespaces | 26 | Namespaces |
| 17 | namespace· ·Dune | 27 | namespace· ·Dune |
| 18 | namespace· ·Dune::Functions | 28 | namespace· ·Dune::Functions |
| 19 | namespace· ·Dune::Functions::Experimental | ||
| 20 | namespace· ·Dune::Functions::Experimental::BasisFactory | ||
| 21 | Functions | ||
| 22 | template<class·SubDomainBasisFactory,·class·SubDomain> | ||
| 23 | auto ·Dune::Functions::Experimental::BasisFactory::restrict | ||
| 24 | ······(SubDomainBasisFactory·&&subPreBasisFactory,·const·SubDomain·&subDomain) | ||
| 25 | ·····Create·a·RestrictedPreBasisFactory. | ||
| 26 | ····*·dune | 29 | ····*·dune |
| 27 | ····*·functions | 30 | ····*·functions |
| 28 | ····*·functionspacebases | ||
| 29 | ····*· | 31 | ····*·common |
| 32 | ····*·defaultderivativetraits.hh | ||
| 30 | ····*·Generated·by·[doxygen]1.15.0 | 33 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 274 lines modified | Offset 88, 103 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">defaultderivativetraits.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/ | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 111 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> |
| 112 | <div·class="line"><a·id="l0001 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 114 | <div·class="line"><a·id="l0001 | 112 | <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="a00317.html">Dune</a>·{</div> |
| 113 | <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="a00318.html">Functions</a>·{</div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span> | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span></div> |
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span></div> | ||
| 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·SDPB,·<span·class="keyword">class</span>·SD></div> | ||
| 119 | <div·class="foldopen"·id="foldopen000 | 117 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> |
| 120 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01202.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01202.html">InvalidRange</a></div> |
| 121 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
| 122 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>This·=·<a·class="code·hl_function"·href="a02130.html#a02f6710a057cbaddb0023cf2ebece75b">RestrictedPreBasis<GV,·SDPB,·SD></a>;</div> | ||
| 123 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">public</span>:</div> | ||
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02130.html#a75e2e136751ffc474b433ce63b3f6af3">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02130.html#a75e2e136751ffc474b433ce63b3f6af3">SubDomain</a>·=·SD;</div> | ||
| 127 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02130.html#a13c43b32ad36431eb6addaf55ded23cd">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02130.html#a13c43b32ad36431eb6addaf55ded23cd">SubDomainPreBasis</a>·=·SDPB;</div> | ||
| 128 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a02130.html#a8d5ec5a8aa6df4be7eed717fecd2efe1">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02130.html#a8d5ec5a8aa6df4be7eed717fecd2efe1">SubDomainGridView</a>·=·<span·class="keyword">typename</span>·SubDomainPreBasis::GridView;</div> | ||
| 129 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{};</div> |
| 130 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a02130.html#a6548f5df74d3d5ab9bf28fe6908b5895">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02130.html#a6548f5df74d3d5ab9bf28fe6908b5895">GridView</a>·=·GV;</div> | ||
| 131 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span></div> | ||
| 132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02130.html#a00399e7a6ab02d2302968c31fef87b09">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02130.html#a00399e7a6ab02d2302968c31fef87b09">size_type</a>·=·std::size_t;</div> | ||
| 133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span></div> | ||
| 134 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> | ||
| 135 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02134.html">···60</a></span>··<span·class="keyword">class·</span><a·class="code·hl_function"·href="a02134.html#aad0c7aeb41e245be871f1115463b2cb6">Node</a></div> | ||
| 136 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····:·<span·class="keyword">public</span>·SubDomainPreBasis::Node</div> | ||
| 137 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div> | ||
| 138 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">using·</span>Base·=·<span·class="keyword">typename</span>·SubDomainPreBasis::Node;</div> | ||
| 139 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>:</div> | ||
| 140 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a02134.html#a1900d0ed95d5a19b1b0479164ff54297">···66</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02134.html#a1900d0ed95d5a19b1b0479164ff54297">Element</a>·=·<span·class="keyword">typename</span>·Base::Element;</div> | ||
| 142 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 143 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
| 144 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a02134.html#aad0c7aeb41e245be871f1115463b2cb6">···68</a></span>····<a·class="code·hl_function"·href="a02134.html#aad0c7aeb41e245be871f1115463b2cb6">Node</a>(Base&&·base,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02130.html#a8d5ec5a8aa6df4be7eed717fecd2efe1">SubDomainGridView</a>&·subDomainGridView,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02130.html#a75e2e136751ffc474b433ce63b3f6af3">SubDomain</a>&·<a·class="code·hl_function"·href="a02134.html#a880fab4516d58e3fe5779be9d3003f89">subDomain</a>)</div> | ||
| 145 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······:·Base(base)</div> | ||
| 146 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······,·subDomainGridView_(subDomainGridView)</div> | ||
| 147 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······,·subDomain_(<a·class="code·hl_function"·href="a02134.html#a880fab4516d58e3fe5779be9d3003f89">subDomain</a>)</div> | ||
| 148 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····{}</div> | ||
| 149 | </div> | 120 | </div> |
| 150 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 151 | <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}"> | ||
| 152 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02134.html#a3ef3eaea5af845cfa8bbf6435792e1ee">···74</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02134.html#a3ef3eaea5af845cfa8bbf6435792e1ee">bind</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02134.html#a1900d0ed95d5a19b1b0479164ff54297">Element</a>&·element)</div> | ||
| 153 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div> | ||
| 154 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">if</span>·(subDomainGridView_.contains(element))</div> | ||
| 155 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········Base::bind(element);</div> | ||
| 156 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="keywordflow">else</span></div> | ||
| 157 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span></div> |
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
| 124 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
| 125 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01206.html">···40</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a></div> | ||
| 158 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········Dune::TypeTree::forEachNode(<span·class="keyword">static_cast<</span>Base&<span·class="keyword">></span>(*<span·class="keyword">this</span>)·,·[&](<span·class="keyword">auto</span>&·node,·<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·treePath)·{</div> | ||
| 159 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········Dune::Functions::Impl::BasisNodeSetupHelper::setOffset(node,·this->offset());</div> | ||
| 160 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········Dune::Functions::Impl::BasisNodeSetupHelper::setSize(node,·0);</div> | ||
| 161 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········});</div> | ||
| 162 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 127 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01206.html#a3f8978146cb9b334705b651d84194b98">···43</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01202.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01206.html#a3f8978146cb9b334705b651d84194b98">Range</a>;</div> | ||
| 163 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> |
| 164 | </div> | 129 | </div> |
| 165 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 166 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | ||
| 167 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a02134.html#a880fab4516d58e3fe5779be9d3003f89">···87</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02130.html#a75e2e136751ffc474b433ce63b3f6af3">SubDomain</a>&·<a·class="code·hl_function"·href="a02134.html#a880fab4516d58e3fe5779be9d3003f89">subDomain</a>()<span·class="keyword">·const</span></div> | ||
| 168 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">····</span>{</div> | ||
| 169 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<span·class="keywordflow">return</span>·subDomain_;</div> | ||
| 170 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span></div> |
| 132 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><></div> | ||
| 133 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01210.html">···55</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a><·double(double)·></div> | ||
| 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> | ||
| 136 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01210.html#a801e37f182d8c16ba1cfd72de1f17688">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_typedef"·href="a01210.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a>;</div> | ||
| 137 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>};</div> | ||
| 171 | </div> | 138 | </div> |
| 172 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> |
| 173 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">private</span>:</div> | ||
| 174 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02130.html#a8d5ec5a8aa6df4be7eed717fecd2efe1">SubDomainGridView</a>&·subDomainGridView_;</div> | ||
| 175 | <div·class="line"><a·id="l000 | 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>·K,·<span·class="keywordtype">int</span>·n></div> |
| 141 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="};"> | ||
| 142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01214.html">···71</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a><K(FieldVector<K,n>)></div> | ||
| 176 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>{</div> |
| 144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01214.html#ad1603332ee1c64f89c0fc18a8ee273d6">···74</a></span>··<span·class="keyword">typedef</span>·FieldVector<K,n>·<a·class="code·hl_typedef"·href="a01214.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a>;</div> | ||
| 145 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div> | ||
| 177 | </div> | 146 | </div> |
| 178 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span></div> |
| 148 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</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> | ||
| 179 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a02130.html#af20c67264733d637cc3d0d8f48d4e80e">···97</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02130.html#a00399e7a6ab02d2302968c31fef87b09">size_type</a>·<a·class="code·hl_variable"·href="a02130.html#af20c67264733d637cc3d0d8f48d4e80e">maxMultiIndexSize</a>·=·SubDomainPreBasis::maxMultiIndexSize;</div> | ||
| 180 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a02130.html#a26452be4072c157d75e388e1315ab806">···98</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a02130.html#a00399e7a6ab02d2302968c31fef87b09">size_type</a>·<a·class="code·hl_variable"·href="a02130.html#a26452be4072c157d75e388e1315ab806">minMultiIndexSize</a>·=·SubDomainPreBasis::minMultiIndexSize;</div> | ||
| Max diff block lines reached; 1077/62467 bytes (1.72%) of diff not shown. | |||
| Offset 1, 320 lines modified | Offset 1, 105 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | defaultderivativetraits.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RESTRICTEDBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<type_traits> |
| 19 | 11#include·<utility> | 19 | 11#include·<utility> |
| 20 | 12 | 20 | 12 |
| 21 | 13#include·<dune/common/ | 21 | 13#include·<dune/common/fvector.hh> |
| 22 | 14 | ||
| 23 | 15#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 24 | 16 | ||
| 25 | 17 | ||
| 26 | 1 | 22 | 14#include·<dune/common/fmatrix.hh> |
| 23 | 15 | ||
| 24 | 16namespace·Dune·{ | ||
| 25 | 17namespace·Functions·{ | ||
| 26 | 18 | ||
| 27 | 19 | 27 | 19 |
| 28 | 20 | 28 | 20 |
| 29 | 21 | ||
| 30 | 42template<class·GV,·class·SDPB,·class·SD> | ||
| 31 | 43class·RestrictedPreBasis | ||
| 32 | 44{ | ||
| 33 | 29 | 26class·InvalidRange | |
| 30 | 27{}; | ||
| 31 | 28 | ||
| 32 | 29 | ||
| 33 | 39template<class·Signature> | ||
| 34 | 40struct·DefaultDerivativeTraits | ||
| 35 | 41{ | ||
| 36 | 43·typedef·InvalidRange·Range; | ||
| 37 | 44}; | ||
| 38 | 45 | ||
| 34 | 46 | 39 | 46 |
| 40 | 54template<> | ||
| 41 | 55struct·DefaultDerivativeTraits<·double(double)·> | ||
| 42 | 56{ | ||
| 43 | 58·typedef·double·Range; | ||
| 44 | 59}; | ||
| 45 | 60 | ||
| 46 | 70template<typename·K,·int·n> | ||
| 47 | 71struct·DefaultDerivativeTraits<K(FieldVector<K,n>)> | ||
| 48 | 72{ | ||
| 49 | 74·typedef·FieldVector<K,n>·Range; | ||
| 50 | 75}; | ||
| 51 | 76 | ||
| 52 | 86template<typename·K,·int·n,·int·m> | ||
| 53 | 87struct·DefaultDerivativeTraits<FieldVector<K,m>(FieldVector<K,n>)> | ||
| 54 | 88{ | ||
| 55 | 90·typedef·FieldMatrix<K,m,n>·Range; | ||
| 56 | 91}; | ||
| 57 | 92 | ||
| 58 | 102template<typename·K,·int·n,·int·m> | ||
| 59 | 103struct·DefaultDerivativeTraits<FieldMatrix<K,1,m>(FieldVector<K,n>)> | ||
| 60 | 104{ | ||
| 61 | 106·typedef·FieldMatrix<K,m,n>·Range; | ||
| 62 | 107}; | ||
| 63 | 108 | ||
| 64 | 109 | ||
| 65 | 110}}·//·namespace·Dune::Functions | ||
| 66 | 111 | ||
| 35 | 47public: | ||
| 36 | 48 | ||
| 37 | 49·using·SubDomain·=·SD; | ||
| 38 | 50·using·SubDomainPreBasis·=·SDPB; | ||
| 39 | 51·using·SubDomainGridView·=·typename·SubDomainPreBasis::GridView; | ||
| 40 | 52 | ||
| 41 | 54·using·GridView·=·GV; | ||
| 42 | 55 | ||
| 43 | 57·using·size_type·=·std::size_t; | ||
| 44 | 58 | ||
| 45 | 60·class·Node | ||
| 46 | 61·:·public·SubDomainPreBasis::Node | ||
| 47 | 62·{ | ||
| 48 | 63·using·Base·=·typename·SubDomainPreBasis::Node; | ||
| 49 | 64·public: | ||
| 50 | 65 | ||
| 51 | 66·using·Element·=·typename·Base::Element; | ||
| 52 | 67 | ||
| 53 | 68·Node(Base&&·base,·const·SubDomainGridView&·subDomainGridView,·const | ||
| 54 | SubDomain&·subDomain) | ||
| 55 | 69·:·Base(base) | ||
| 56 | 70·,·subDomainGridView_(subDomainGridView) | ||
| 57 | 71·,·subDomain_(subDomain) | ||
| 58 | 72·{} | ||
| 59 | 73 | ||
| 60 | 74·void·bind(const·Element&·element) | ||
| 61 | 75·{ | ||
| 62 | 76·if·(subDomainGridView_.contains(element)) | ||
| 63 | 77·Base::bind(element); | ||
| 64 | 78·else | ||
| 65 | 79·{ | ||
| 66 | 80·Dune::TypeTree::forEachNode(static_cast<Base&>(*this)·,·[&](auto&·node, | ||
| 67 | const·auto&·treePath)·{ | ||
| 68 | 81·Dune::Functions::Impl::BasisNodeSetupHelper::setOffset(node,·this->offset | ||
| 69 | ()); | ||
| 70 | 82·Dune::Functions::Impl::BasisNodeSetupHelper::setSize(node,·0); | ||
| 71 | 83·}); | ||
| 72 | 84·} | ||
| 73 | 85·} | ||
| 74 | 86 | ||
| 75 | 87·const·SubDomain&·subDomain()·const | ||
| 76 | 88·{ | ||
| 77 | 89·return·subDomain_; | ||
| 78 | 90·} | ||
| 79 | 91 | ||
| 80 | 92·private: | ||
| 81 | 93·const·SubDomainGridView&·subDomainGridView_; | ||
| 82 | 94·const·SubDomain&·subDomain_; | ||
| 83 | 95·}; | ||
| 84 | 96 | ||
| 85 | 97·static·constexpr·size_type·maxMultiIndexSize·=·SubDomainPreBasis:: | ||
| 86 | maxMultiIndexSize; | ||
| Max diff block lines reached; 9135/12832 bytes (71.19%) 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 62 lines modified | Offset 88, 47 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">typeerasure.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<typeinfo></code><br·/> |
| 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 99 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/typetree/nodeconcepts.hh></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00 | 99 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00122_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a001 | 100 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> |
| 106 | <code>#include·<<a·class="el"·href="a0 | 101 | <code>#include·<<a·class="el"·href="a00107_source.html">dune/functions/common/polymorphicsmallobject.hh</a>></code><br·/> |
| 107 | </div> | 102 | </div> |
| 108 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 109 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 111 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ATypeErasureBase_3C_20Interface_2C_20Implementation_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ATypeErasureBase_3C_20Interface_2C_20Implementation_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class[·...·truncated·by·diffoscope;·len:·139,·SHA:·b37b1fddd39703b71e6e5a31bca0f504e1ccb0f0255885bc7fdd5e962965b653·...·]·></a></td></tr> |
| 113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·for·type-erased·interface·wrapper.··<a·href="a01526.html#details">More...</a><br·/></td></tr> |
| 114 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
| 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 116 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
| 117 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 112 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 118 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 113 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 119 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 120 | </table><table·class="memberdecls"> | ||
| 121 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 122 | Functions</h2></td></tr> | ||
| 123 | <tr·class="memitem:gad1b5c7a712be185869dd34172f19dae1"·id="r_gad1b5c7a712be185869dd34172f19dae1"><td·class="memTemplParams"·colspan="2">template<class·ChildPreBasisFactory,·class·<a·class="el"·href="a01618.html">IndexMergingStrategy</a>>·</td></tr> | ||
| 124 | <tr·class="memitem:gad1b5c7a712be185869dd34172f19dae1·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gad1b5c7a712be185869dd34172f19dae1">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·std::size_t·k,·const·<a·class="el"·href="a01618.html">IndexMergingStrategy</a>·&)</td></tr> | ||
| 125 | <tr·class="memdesc:gad1b5c7a712be185869dd34172f19dae1"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a02042.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 126 | <tr·class="memitem:ga6d03224fd86e6f56642f98313a6adf7d"·id="r_ga6d03224fd86e6f56642f98313a6adf7d"><td·class="memTemplParams"·colspan="2">template<class·ChildPreBasisFactory>·</td></tr> | ||
| 127 | <tr·class="memitem:ga6d03224fd86e6f56642f98313a6adf7d·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga6d03224fd86e6f56642f98313a6adf7d">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·std::size_t·k)</td></tr> | ||
| 128 | <tr·class="memdesc:ga6d03224fd86e6f56642f98313a6adf7d"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a02042.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 129 | </table> | 114 | </table> |
| 130 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
| 131 | </div><!--·doc-content·--> | 116 | </div><!--·doc-content·--> |
| 132 | <div·id="page-nav"·class="page-nav-panel"> | 117 | <div·id="page-nav"·class="page-nav-panel"> |
| 133 | <div·id="page-nav-resize-handle"></div> | 118 | <div·id="page-nav-resize-handle"></div> |
| 134 | <div·id="page-nav-tree"> | 119 | <div·id="page-nav-tree"> |
| 135 | <div·id="page-nav-contents"> | 120 | <div·id="page-nav-contents"> |
| 136 | </div><!--·page-nav-contents·--> | 121 | </div><!--·page-nav-contents·--> |
| 137 | </div><!--·page-nav-tree·--> | 122 | </div><!--·page-nav-tree·--> |
| 138 | </div><!--·page-nav·--> | 123 | </div><!--·page-nav·--> |
| 139 | </div><!--·container·--> | 124 | </div><!--·container·--> |
| 140 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 141 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 142 | ··<ul> | 127 | ··<ul> |
| 143 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 128 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00104.html">typeerasure.hh</a></li> |
| 144 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 129 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 145 | ··</ul> | 130 | ··</ul> |
| 146 | </div> | 131 | </div> |
| 147 | </body> | 132 | </body> |
| 148 | </html> | 133 | </html> |
| Offset 1, 37 lines modified | Offset 1, 23 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | typeerasure.hh·File·Reference | |
| 6 | #include·< | 6 | #include·<typeinfo> |
| 7 | #include·<dune/common/typeutilities.hh> | 7 | #include·<dune/common/typeutilities.hh> |
| 8 | #include·<dune/common/indices.hh> | ||
| 9 | #include·<dune/common/typetree/nodeconcepts.hh> | ||
| 10 | #include·<dune/functions/common/utility.hh> | ||
| 11 | #include·<dune/functions/common/type_traits.hh> | 8 | #include·<dune/functions/common/type_traits.hh> |
| 9 | #include·<dune/functions/common/interfaces.hh> | ||
| 10 | #include·<dune/functions/common/polymorphicsmallobject.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 16 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 17 | Classes | 12 | Classes |
| 18 | class· ·Dune::Functions::DynamicPowerPreBasis<_IMS,_SPB_> | ||
| 19 | 13 | class· ·Dune::Functions::TypeErasureBase<_Interface,_Implementation,_bufferSize | |
| 14 | ········> | ||
| 15 | ·······Base·class·for·type-erased·interface·wrapper.·More... | ||
| 20 | Namespaces | 16 | Namespaces |
| 21 | namespace· ·Dune | 17 | namespace· ·Dune |
| 22 | namespace· ·Dune::Functions | 18 | namespace· ·Dune::Functions |
| 23 | namespace· ·Dune::Functions::BasisFactory | ||
| 24 | Functions | ||
| 25 | template<class·ChildPreBasisFactory,·class·IndexMergingStrategy> | ||
| 26 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 27 | ······&&childPreBasisFactory,·std::size_t·k,·const·IndexMergingStrategy·&) | ||
| 28 | ·····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis. | ||
| 29 | template<class·ChildPreBasisFactory> | ||
| 30 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 31 | ······&&childPreBasisFactory,·std::size_t·k) | ||
| 32 | ·····Create·a·factory·builder·that·can·build·a·PowerPreBasis. | ||
| 33 | ····*·dune | 19 | ····*·dune |
| 34 | ····*·functions | 20 | ····*·functions |
| 35 | ····*·functionspacebases | ||
| 36 | ····*· | 21 | ····*·common |
| 22 | ····*·typeerasure.hh | ||
| 37 | ····*·Generated·by·[doxygen]1.15.0 | 23 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 528 lines modified | Offset 88, 186 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">typeerasure.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<typeinfo></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typetree/nodeconcepts.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00191.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00134.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00122.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 117 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/common/interfaces.hh</a>></span></div> |
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00107.html">dune/functions/common/polymorphicsmallobject.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 114 | <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="a00317.html">Dune</a>·{</div> | ||
| 115 | <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="a00318.html">Functions</a>·{</div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span> | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span></div> |
| 120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | ||
| 122 | <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="a00318.html">Functions</a>·{</div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·This·is·the·reusable·part·of·the·dynamic·power·bases.·It·contains</span></div> | ||
| 127 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span>TypeErasureWrapperInterface·:</div> |
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//···DynamicPowerPreBasis</span></div> | ||
| 129 | <div·class="line"><a·id="l0003 | 122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>·Interface,</div> |
| 123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">public</span>·PolymorphicType<TypeErasureWrapperInterface<Interface>></div> | ||
| 130 | <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> | ||
| 131 | <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> | ||
| 132 | <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> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 134 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 135 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">template</span><<span·class="keyword">class</span>·IMS,·<span·class="keyword">class</span>·SPB></div> | ||
| 136 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> | ||
| 137 | <div·class="line"><a·id="l0004 | 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</span>:</div> |
| 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::type_info&·target_type()·<span·class="keyword">const</span>·=·0;</div> | ||
| 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> | ||
| 138 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 139 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 140 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span></div> |
| 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface,·<span·class="keyword">class</span>·T></div> | ||
| 141 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">class·</span>TypeErasureWrapperBase·:</div> |
| 133 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>·TypeErasureWrapperInterface<Interface></div> | ||
| 142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span></div> | ||
| 143 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01826.html#a922c368c47035de35be42b4da3f963dd">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01826.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>·=·SPB;</div> | ||
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div> |
| 145 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">public</span>:</div> |
| 136 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0></div> | ||
| 146 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··TypeErasureWrapperBase(TT&&·t)·:</div> |
| 147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01826.html#a0153c5e605e77a8b205e17f78820c84b">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01826.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·=·std::size_t;</div> | ||
| 148 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····wrapped_(std::forward<TT>(t))</div> |
| 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{}</div> | ||
| 149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01826.html#a0ce03c6cde3049e3faf1ee2debf5c40d">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01826.html#a0ce03c6cde3049e3faf1ee2debf5c40d">IndexMergingStrategy</a>·=·IMS;</div> | ||
| 150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span></div> | ||
| 151 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01826.html#adf801c05490b41152cc5ef63c2855a61">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01826.html#adf801c05490b41152cc5ef63c2855a61">Node</a>·=·<a·class="code·hl_class"·href="a02018.html">DynamicPowerBasisNode<typename·SubPreBasis::Node></a>;</div> | ||
| 152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01826.html#a4777f6061409c22e48bcd685c3c3d698">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01826.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01826.html#a4777f6061409c22e48bcd685c3c3d698">maxMultiIndexSize</a>·=·SubPreBasis::maxMultiIndexSize·+·isBlocked;</div> | ||
| 154 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01826.html#afc84d993bba25c9429877c76e8a722e5">···71</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01826.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01826.html#afc84d993bba25c9429877c76e8a722e5">minMultiIndexSize</a>·=·SubPreBasis::minMultiIndexSize·+·isBlocked;</div> | ||
| 155 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01826.html#a8f87320978269fc52293ca6ef70239db">···72</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01826.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01826.html#a8f87320978269fc52293ca6ef70239db">multiIndexBufferSize</a>·=·SubPreBasis::multiIndexBufferSize·+·isBlocked;</div> | ||
| 156 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> | 140 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> |
| 157 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> | ||
| 158 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····disableCopyMove<<a·class="code·hl_function"·href="a01826.html#a0fe2f62daa16567953f11aca5727df00">DynamicPowerPreBasis</a>,·SFArgs...>·=·0,</div> | ||
| 159 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_typedef"·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01826.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
| 160 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> | ||
| 161 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01826.html#a0fe2f62daa16567953f11aca5727df00">···82</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01826.html#a0fe2f62daa16567953f11aca5727df00">DynamicPowerPreBasis</a>(std::size_t·c,·SFArgs&&...·sfArgs)·:</div> | ||
| 162 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<a·class="code·hl_variable"·href="a01826.html#aee27ec153820ad6c61016bfa6476eae0">children_</a>(c),</div> | ||
| 163 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_variable"·href="a01826.html#a6fd5610a86770689d4130d8df12ae007">subPreBasis_</a>(std::forward<SFArgs>(sfArgs)...)</div> | ||
| 164 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··T&·get()</div> |
| 165 | <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="a01826.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>>(),·<span·class="stringliteral">"Subprebasis·passed·to·DynamicPowerPreBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 166 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> |
| 143 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
| 144 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | ||
| 145 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span></div> | ||
| 146 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">const</span>·T&·get()<span·class="keyword">·const</span></div> | ||
| 147 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">··</span>{</div> | ||
| 148 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
| 149 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div> | ||
| 150 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">protected</span>:</div> | ||
| 152 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">using·</span>Wrapped·=·T;</div> | ||
| 153 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··Wrapped·wrapped_;</div> | ||
| 154 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>};</div> | ||
| 155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
| 157 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span></div> | ||
| Max diff block lines reached; 70578/121341 bytes (58.17%) of diff not shown. | |||
| Offset 1, 626 lines modified | Offset 1, 191 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | typeerasure.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DYNAMICPOWERBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<typeinfo> |
| 19 | 11 | ||
| 19 | 1 | 20 | 12#include·<dune/common/typeutilities.hh> |
| 20 | 12#include·<dune/common/indices.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/common/typetree/nodeconcepts.hh> | ||
| 23 | 15 | ||
| 24 | 16#include·<dune/functions/common/utility.hh> | ||
| 25 | 1 | 22 | 14#include·<dune/functions/common/type_traits.hh> |
| 26 | 18#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 27 | 19#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 28 | 20#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 29 | 23 | 15#include·<dune/functions/common/interfaces.hh> | |
| 24 | 16#include·<dune/functions/common/polymorphicsmallobject.hh> | ||
| 25 | 17 | ||
| 26 | 18namespace·Dune·{ | ||
| 27 | 19namespace·Functions·{ | ||
| 28 | 20namespace·Imp·{ | ||
| 29 | 21 | ||
| 30 | 22 | 30 | 22 |
| 31 | 23 | 31 | 23 |
| 32 | 37template<class·Interface> | ||
| 33 | 38class·TypeErasureWrapperInterface·: | ||
| 34 | 39·public·Interface, | ||
| 35 | 40·public·PolymorphicType<TypeErasureWrapperInterface<Interface>> | ||
| 36 | 41{ | ||
| 37 | 42public: | ||
| 38 | 43·virtual·const·std::type_info&·target_type()·const·=·0; | ||
| 39 | 44}; | ||
| 40 | 45 | ||
| 41 | 46 | ||
| 42 | 47 | ||
| 32 | 24 | ||
| 33 | 25namespace·Dune·{ | ||
| 34 | 26namespace·Functions·{ | ||
| 35 | 27 | ||
| 36 | 28 | ||
| 37 | 29/ | ||
| 38 | /·***************************************************************************** | ||
| 39 | 30//·This·is·the·reusable·part·of·the·dynamic·power·bases.·It·contains | ||
| 40 | 31// | ||
| 41 | 32//·DynamicPowerPreBasis | ||
| 42 | 33// | ||
| 43 | 34//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 44 | shared | ||
| 45 | 35//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 46 | 36//·and·can·be·used·without·a·global·basis. | ||
| 47 | 37/ | ||
| 48 | /·***************************************************************************** | ||
| 49 | 38 | ||
| 50 | 43 | 64template<class·Interface,·class·T> | |
| 44 | 65class·TypeErasureWrapperBase·: | ||
| 45 | 66·public·TypeErasureWrapperInterface<Interface> | ||
| 46 | 67{ | ||
| 51 | 49class·DynamicPowerPreBasis | ||
| 52 | 50{ | ||
| 53 | 51·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
| 54 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
| 55 | 52 | ||
| 56 | 47 | 68public: | |
| 48 | 69·template<class·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0> | ||
| 49 | 70·TypeErasureWrapperBase(TT&&·t)·: | ||
| 50 | 71·wrapped_(std::forward<TT>(t)) | ||
| 51 | 72·{} | ||
| 57 | 54 | ||
| 58 | 56·using·SubPreBasis·=·SPB; | ||
| 59 | 57 | ||
| 60 | 59·using·GridView·=·typename·SPB::GridView; | ||
| 61 | 60 | ||
| 62 | 62·using·size_type·=·std::size_t; | ||
| 63 | 63 | ||
| 64 | 65·using·IndexMergingStrategy·=·IMS; | ||
| 65 | 66 | ||
| 66 | 68·using·Node·=·DynamicPowerBasisNode<typename_SubPreBasis::Node>; | ||
| 67 | 69 | ||
| 68 | 70·static·constexpr·size_type·maxMultiIndexSize·=·SubPreBasis:: | ||
| 69 | maxMultiIndexSize·+·isBlocked; | ||
| 70 | 71·static·constexpr·size_type·minMultiIndexSize·=·SubPreBasis:: | ||
| 71 | minMultiIndexSize·+·isBlocked; | ||
| 72 | 72·static·constexpr·size_type·multiIndexBufferSize·=·SubPreBasis:: | ||
| 73 | multiIndexBufferSize·+·isBlocked; | ||
| 74 | 73 | 52 | 73 |
| 53 | 75·T&·get() | ||
| 54 | 76·{ | ||
| 55 | 77·return·wrapped_; | ||
| 75 | 79·template<class...·SFArgs, | ||
| 76 | 80·disableCopyMove<DynamicPowerPreBasis,·SFArgs...>·=·0, | ||
| 77 | 81·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
| 78 | 82·explicit·DynamicPowerPreBasis(std::size_t·c,·SFArgs&&...·sfArgs)·: | ||
| 79 | 83·children_(c), | ||
| 80 | 84·subPreBasis_(std::forward<SFArgs>(sfArgs)...) | ||
| 81 | 85·{ | ||
| 82 | 86·static_assert(models<Concept::PreBasis<GridView>,·SubPreBasis>(), | ||
| 83 | "Subprebasis·passed·to·DynamicPowerPreBasis·does·not·model·the·PreBasis | ||
| 84 | concept."); | ||
| 85 | 56 | 78·} | |
| 86 | 88 | ||
| 87 | 90·void·initializeIndices() | ||
| 88 | 91·{ | ||
| 89 | 92·subPreBasis_.initializeIndices(); | ||
| 90 | 93·} | ||
| 91 | 94 | ||
| 92 | 96·const·GridView&·gridView()·const | ||
| 93 | 97·{ | ||
| 94 | 98·return·subPreBasis_.gridView(); | ||
| 95 | 99·} | ||
| 96 | 100 | ||
| 97 | 57 | 79 | |
| 58 | 81·const·T&·get()·const | ||
| Max diff block lines reached; 18642/27445 bytes (67.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 24 lines modified | Offset 88, 29 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">polymorphicsmallobject.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·< | 97 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
| 98 | <code>#include·<type_traits></code><br·/> | ||
| 99 | <code>#include·<utility></code><br·/> | 98 | <code>#include·<utility></code><br·/> |
| 100 | <code>#include·< | 99 | <code>#include·<type_traits></code><br·/> |
| 100 | <code>#include·<algorithm></code><br·/> | ||
| 101 | </div> | 101 | </div> |
| 102 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 105 | Classes</h2></td></tr> | ||
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3APolymorphicSmallObject_3C_20Base_2C_20bufferSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3APolymorphicSmallObject_3C_20Base_2C_20bufferSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01422.html">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·></a></td></tr> | ||
| 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·providing·small·object·optimization·with·polymorphic·types.··<a·href="a01422.html#details">More...</a><br·/></td></tr> | ||
| 108 | </table><table·class="memberdecls"> | ||
| 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 105 | Namespaces</h2></td></tr> | 110 | Namespaces</h2></td></tr> |
| 106 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 111 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 107 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 112 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 108 | </table> | 113 | </table> |
| 109 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 110 | </div><!--·doc-content·--> | 115 | </div><!--·doc-content·--> |
| Offset 116, 13 lines modified | Offset 121, 13 lines modified | ||
| 116 | </div><!--·page-nav-contents·--> | 121 | </div><!--·page-nav-contents·--> |
| 117 | </div><!--·page-nav-tree·--> | 122 | </div><!--·page-nav-tree·--> |
| 118 | </div><!--·page-nav·--> | 123 | </div><!--·page-nav·--> |
| 119 | </div><!--·container·--> | 124 | </div><!--·container·--> |
| 120 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 121 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 122 | ··<ul> | 127 | ··<ul> |
| 123 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 128 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00107.html">polymorphicsmallobject.hh</a></li> |
| 124 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 129 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 125 | ··</ul> | 130 | ··</ul> |
| 126 | </div> | 131 | </div> |
| 127 | </body> | 132 | </body> |
| 128 | </html> | 133 | </html> |
| Offset 1, 18 lines modified | Offset 1, 22 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | polymorphicsmallobject.hh·File·Reference | ||
| 6 | #include·<cstddef> | ||
| 5 | transformedfiniteelementmixin.hh·File·Reference | ||
| 6 | #include·<array> | ||
| 7 | #include·<type_traits> | ||
| 8 | #include·<utility> | 7 | #include·<utility> |
| 9 | #include·< | 8 | #include·<type_traits> |
| 9 | #include·<algorithm> | ||
| 10 | Go_to_the_source_code_of_this_file. | 10 | Go_to_the_source_code_of_this_file. |
| 11 | Classes | ||
| 12 | class· ·Dune::Functions::PolymorphicSmallObject<_Base,_bufferSize_> | ||
| 13 | ·······A·wrapper·providing·small·object·optimization·with·polymorphic·types. | ||
| 14 | ········More... | ||
| 11 | Namespaces | 15 | Namespaces |
| 12 | namespace· ·Dune | 16 | namespace· ·Dune |
| 13 | namespace· ·Dune::Functions | 17 | namespace· ·Dune::Functions |
| 14 | ····*·dune | 18 | ····*·dune |
| 15 | ····*·functions | 19 | ····*·functions |
| 16 | ····*·functionspacebases | ||
| 17 | ····*· | 20 | ····*·common |
| 21 | ····*·polymorphicsmallobject.hh | ||
| 18 | ····*·Generated·by·[doxygen]1.15.0 | 22 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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:·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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 129 lines modified | Offset 88, 208 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">polymorphicsmallobject.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cstddef></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 109 | <div·class="line"><a·id="l0001 | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span> | 111 | <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="a00317.html">Dune</a>·{</div> |
| 112 | <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="a00318.html">Functions</a>·{</div> | ||
| 112 | <div·class="line"><a·id="l0001 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 113 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class</span>·FEImplementation,·<span·class="keyword">class</span>·ReferenceLocalBasisTraits></div> | ||
| 114 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">class·</span>TransformedLocalBasis</div> | ||
| 115 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span></div> |
| 115 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Base,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
| 116 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01422.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01422.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a></div> | ||
| 116 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">public</span>:</div> | ||
| 117 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">using·</span>Traits·=·ReferenceLocalBasisTraits;</div> | ||
| 118 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····TransformedLocalBasis(FEImplementation·<span·class="keyword">const</span>&·feImpl)</div> | ||
| 120 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······:·feImpl_(&feImpl)</div> | ||
| 121 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····{}</div> | ||
| 122 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
| 123 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">public</span>:</div> | ||
| 124 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">auto</span>·size()<span·class="keyword">·const</span></div> | ||
| 125 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">····</span>{</div> | ||
| 126 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keywordflow">return</span>·feImpl_->size();</div> | ||
| 127 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····}</div> | ||
| 128 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> |
| 129 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keywordtype">void</span>·evaluateFunction(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·Traits::DomainType·&x,</div> | ||
| 130 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·Actual·buffer·size·must·be·>·0</span></div> |
| 120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·actualBufferSize·=·std::max(<span·class="keyword">sizeof</span>(std::byte),·bufferSize);</div> | ||
| 131 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 132 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······feImpl_->referenceLocalBasis().evaluateFunction(x,·rangeBuffer_);</div> | ||
| 133 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······out.resize(size());</div> | ||
| 134 | <div·class="line"><a·id="l0005 | 122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·Alignment·requirement·for·the·buffer.·The·`Derived`·type·must·have</span></div> |
| 123 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·an·alignment·requirement·that·is·a·divisor·of·`bufferAlignment`</span></div> | ||
| 124 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·bufferAlignment·=·<span·class="keyword">alignof</span>(std::max_align_t);</div> | ||
| 135 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
| 136 | <div·class="line"><a·id="l0005 | 126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> |
| 137 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordtype">void</span>·evaluateJacobian(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·Traits::DomainType·&x,</div> | ||
| 138 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span> | 127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> |
| 128 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01422.html#ab91da8192c7c5d7a796d79145ce97c84">···62</a></span>··<a·class="code·hl_function"·href="a01422.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>()·:</div> | ||
| 139 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····p_(nullptr)</div> |
| 140 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······feImpl_->referenceLocalBasis().evaluateJacobian(x,·jacobianBuffer_);</div> | ||
| 141 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{}</div> |
| 142 | < | 132 | </div> |
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span> | 133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span></div> |
| 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span></div> | ||
| 145 | <div·class="line"><a·id="l0007 | 134 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Derived,</div> |
| 135 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········std::enable_if_t<std::is_base_of_v<Base,·std::remove_cv_t<</div> | ||
| 146 | <div·class="line"><a·id="l0007 | 136 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··········std::remove_reference_t<Derived>>>,·<span·class="keywordtype">int</span>>·=·0></div> |
| 147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">void</span>·evaluateHessian(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·Traits::DomainType·&x,</div> | ||
| 148 | <div·class=" | 137 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> |
| 138 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01422.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">···75</a></span>··<a·class="code·hl_function"·href="a01422.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">PolymorphicSmallObject</a>(Derived&&·derived)</div> | ||
| 149 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> |
| 150 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·useBuffer·=·(<span·class="keyword">sizeof</span>(Derived)·<=·bufferSize)</div> |
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········&&·(bufferAlignment·%·<span·class="keyword">alignof</span>(Derived)·==·0);</div> | ||
| 151 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 152 | <div·class="line"><a·id="l0008 | 143 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(useBuffer)·{</div> |
| 144 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······p_·=·<span·class="keyword">new</span>·(&buffer_)·Derived(std::forward<Derived>(derived));</div> | ||
| 153 | <div·class="line"><a·id="l0008 | 145 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}·<span·class="keywordflow">else</span>·{</div> |
| 146 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······p_·=·<span·class="keyword">new</span>·Derived(std::forward<Derived>(derived));</div> | ||
| 147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> | ||
| 148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> | ||
| 149 | </div> | ||
| 154 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span></div> | 150 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span></div> |
| 151 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> | ||
| 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01422.html#a4b1d4df1c0a49f22c3da8beff0412560">···88</a></span>··<a·class="code·hl_function"·href="a01422.html#a4b1d4df1c0a49f22c3da8beff0412560">PolymorphicSmallObject</a>(<a·class="code·hl_function"·href="a01422.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>&&·other)·<span·class="keyword">noexcept</span></div> | ||
| 155 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordtype">void</span>·partial(std::array<unsigned·int,·Traits::dimDomain>·<span·class="keyword">const</span>·&order,</div> | ||
| 156 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·················<span·class="keyword">const</span>·<span·class="keyword">typename</span>·Traits::DomainType·&x,</div> | ||
| 157 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·················std::vector<typename·Traits::RangeType>·&out)<span·class="keyword">·const</span></div> | ||
| 158 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">····</span>{</div> | ||
| 159 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······feImpl_->referenceLocalBasis().partial(order,·x,·rangeBuffer_);</div> | ||
| 160 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······out.resize(size());</div> | ||
| 161 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······feImpl_->transform(rangeBuffer_,·out);</div> | ||
| 162 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····}</div> | ||
| 163 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span></div> | ||
| 164 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keyword">auto</span>·order()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·feImpl_->referenceLocalBasis().order();·}</div> | ||
| 165 | <div·class="line"><a·id="l00 | 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div> |
| 154 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····moveToWrappedObject(std::move(other));</div> | ||
| 166 | <div·class="line"><a·id="l00 | 155 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> |
| 156 | </div> | ||
| 167 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····FEImplementation·<span·class="keyword">const</span>*·feImpl_;</div> | ||
| 168 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keyword">mutable</span>·std::vector<typename·Traits::RangeType>·rangeBuffer_;</div> | ||
| 169 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keyword">mutable</span>·std::vector<typename·Traits::JacobianType>·jacobianBuffer_;</div> | ||
| 170 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keyword">mutable</span>·std::vector<typename·Traits::HessianType>·hessianBuffer_;</div> | ||
| 171 | <div·class="line"><a·id="l00 | 157 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span></div> |
| 158 | <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="}"> | ||
| 159 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01422.html#a9d9b0d1436228de2c11df7acacad66ae">···94</a></span>··<a·class="code·hl_function"·href="a01422.html#a9d9b0d1436228de2c11df7acacad66ae">PolymorphicSmallObject</a>(<span·class="keyword">const</span>·<a·class="code·hl_function"·href="a01422.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>&·other)</div> | ||
| 172 | <div·class="line"><a·id="l00 | 160 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div> |
| 173 | <div·class="line"><a·id="l00 | 161 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····copyToWrappedObject(other);</div> |
| Max diff block lines reached; 9363/44996 bytes (20.81%) of diff not shown. | |||
| Offset 1, 120 lines modified | Offset 1, 208 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | polymorphicsmallobject.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDFINITEELEMENTMIXIN_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cstddef> | ||
| 18 | 10#include·<array> | ||
| 19 | 11#include·<type_traits> | ||
| 20 | 1 | 19 | 11#include·<utility> |
| 21 | 1 | 20 | 12#include·<type_traits> |
| 21 | 13#include·<algorithm> | ||
| 22 | 14 | 22 | 14 |
| 23 | 15namespace·Dune·{ | ||
| 23 | 1 | 24 | 16namespace·Functions·{ |
| 24 | 16 | ||
| 25 | 24template<class·FEImplementation,·class·ReferenceLocalBasisTraits> | ||
| 26 | 25class·TransformedLocalBasis | ||
| 27 | 26{ | ||
| 28 | 27·public: | ||
| 29 | 28·using·Traits·=·ReferenceLocalBasisTraits; | ||
| 30 | 29 | ||
| 31 | 30·TransformedLocalBasis(FEImplementation·const&·feImpl) | ||
| 32 | 31·:·feImpl_(&feImpl) | ||
| 33 | 32·{} | ||
| 34 | 33 | ||
| 35 | 34·public: | ||
| 36 | 39·auto·size()·const | ||
| 37 | 40·{ | ||
| 38 | 41·return·feImpl_->size(); | ||
| 39 | 42·} | ||
| 40 | 43 | ||
| 41 | 45·void·evaluateFunction(const·typename·Traits::DomainType·&x, | ||
| 42 | 25 | 17 | |
| 26 | 18 | ||
| 27 | 49template<class·Base,·size_t·bufferSize> | ||
| 28 | 50class·PolymorphicSmallObject | ||
| 29 | 51{ | ||
| 30 | 52·//·Actual·buffer·size·must·be·>·0 | ||
| 31 | 53·static·constexpr·std::size_t·actualBufferSize·=·std::max(sizeof(std::byte), | ||
| 32 | bufferSize); | ||
| 33 | 54 | ||
| 34 | 55·//·Alignment·requirement·for·the·buffer.·The·`Derived`·type·must·have | ||
| 35 | 56·//·an·alignment·requirement·that·is·a·divisor·of·`bufferAlignment` | ||
| 36 | 57·static·constexpr·std::size_t·bufferAlignment·=·alignof(std::max_align_t); | ||
| 37 | 58 | ||
| 38 | 59public: | ||
| 39 | 60 | ||
| 40 | 62·PolymorphicSmallObject()·: | ||
| 41 | 63·p_(nullptr) | ||
| 42 | 64·{} | ||
| 43 | 65 | ||
| 44 | 72·template<class·Derived, | ||
| 45 | 73·std::enable_if_t<std::is_base_of_v<Base,·std::remove_cv_t< | ||
| 46 | 74·std::remove_reference_t<Derived>>>,·int>·=·0> | ||
| 47 | 75·PolymorphicSmallObject(Derived&&·derived) | ||
| 43 | 48 | 76·{ | |
| 49 | 77·constexpr·bool·useBuffer·=·(sizeof(Derived)·<=·bufferSize) | ||
| 50 | 78·&&·(bufferAlignment·%·alignof(Derived)·==·0); | ||
| 51 | 79 | ||
| 52 | 80·if·constexpr·(useBuffer)·{ | ||
| 53 | 81·p_·=·new·(&buffer_)·Derived(std::forward<Derived>(derived)); | ||
| 54 | 82·}·else·{ | ||
| 55 | 83·p_·=·new·Derived(std::forward<Derived>(derived)); | ||
| 56 | 84·} | ||
| 44 | 48·feImpl_->referenceLocalBasis().evaluateFunction(x,·rangeBuffer_); | ||
| 45 | 49·out.resize(size()); | ||
| 46 | 50·feImpl_->transform(rangeBuffer_,·out); | ||
| 47 | 51·} | ||
| 48 | 52 | ||
| 49 | 59·void·evaluateJacobian(const·typename·Traits::DomainType·&x, | ||
| 50 | 60·std::vector<typename·Traits::JacobianType>·&out)·const | ||
| 51 | 61·{ | ||
| 52 | 62·feImpl_->referenceLocalBasis().evaluateJacobian(x,·jacobianBuffer_); | ||
| 53 | 63·out.resize(size()); | ||
| 54 | 64·feImpl_->transform(jacobianBuffer_,·out); | ||
| 55 | 65·} | ||
| 56 | 66 | ||
| 57 | 77·template<class·TT, | ||
| 58 | 78·std::enable_if_t<std::is_same_v<TT,·typename·Traits::HessianType>,·int>·=·0> | ||
| 59 | 79·void·evaluateHessian(const·typename·Traits::DomainType·&x, | ||
| 60 | 80·std::vector<TT>·&out)·const | ||
| 61 | 81·{ | ||
| 62 | 82·feImpl_->referenceLocalBasis().evaluateHessian(x,·hessianBuffer_); | ||
| 63 | 83·out.resize(size()); | ||
| 64 | 84·feImpl_->transform(hessianBuffer_,·out); | ||
| 65 | 85·} | 57 | 85·} |
| 66 | 86 | 58 | 86 |
| 59 | 88·PolymorphicSmallObject(PolymorphicSmallObject&&·other)·noexcept | ||
| 67 | 94·void·partial(std::array<unsigned·int,·Traits::dimDomain>·const·&order, | ||
| 68 | 95·const·typename·Traits::DomainType·&x, | ||
| 69 | 96·std::vector<typename·Traits::RangeType>·&out)·const | ||
| 70 | 60 | 89·{ | |
| 71 | 98·feImpl_->referenceLocalBasis().partial(order,·x,·rangeBuffer_); | ||
| 72 | 99·out.resize(size()); | ||
| 73 | 61 | 90·moveToWrappedObject(std::move(other)); | |
| 62 | 91·} | ||
| 63 | 92 | ||
| 64 | 94·PolymorphicSmallObject(const·PolymorphicSmallObject&·other) | ||
| 65 | 95·{ | ||
| 66 | 96·copyToWrappedObject(other); | ||
| 67 | 97·} | ||
| 68 | 98 | ||
| 69 | 100·~PolymorphicSmallObject() | ||
| 74 | 101· | 70 | 101·{ |
| 75 | 102 | ||
| 76 | 104·auto·order()·const·{·return·feImpl_->referenceLocalBasis().order();·} | ||
| 77 | 105 | ||
| 78 | 106·private: | ||
| 79 | 107·FEImplementation·const*·feImpl_; | ||
| 80 | 108·mutable·std::vector<typename·Traits::RangeType>·rangeBuffer_; | ||
| 81 | 109·mutable·std::vector<typename·Traits::JacobianType>·jacobianBuffer_; | ||
| 82 | 110·mutable·std::vector<typename·Traits::HessianType>·hessianBuffer_; | ||
| 83 | 1 | 71 | 102·destroyWrappedObject(); |
| 72 | 103·} | ||
| Max diff block lines reached; 2735/8940 bytes (30.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 66 lines modified | Offset 88, 40 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">differentiablefunction_imp.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> | 97 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
| 98 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a00 | 99 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 100 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 103 | </div> | 100 | </div> |
| 104 | <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 105 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
| 106 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 107 | Classes</h2></td></tr> | ||
| 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALagrangeDGPreBasis_3C_20GV_2C_20k_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALagrangeDGPreBasis_3C_20GV_2C_20k_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01938.html">Dune::Functions::LagrangeDGPreBasis<·GV,·k,·R·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">PreBasis·implementation·for·a·Lagrangean-DG·finite·element·space.··<a·href="a01938.html#details">More...</a><br·/></td></tr> | ||
| 110 | </table><table·class="memberdecls"> | ||
| 111 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 112 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
| 113 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 105 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 114 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 106 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 115 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 116 | </table><table·class="memberdecls"> | ||
| 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 118 | Typedefs</h2></td></tr> | ||
| 119 | <tr·class="memitem:a27276910e0d1b3e7e58b3ae40a419948"·id="r_a27276910e0d1b3e7e58b3ae40a419948"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k,·typename·R·=·double>·</td></tr> | ||
| 120 | <tr·class="memitem:a27276910e0d1b3e7e58b3ae40a419948·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a27276910e0d1b3e7e58b3ae40a419948">Dune::Functions::LagrangeDGNode</a>·=·<a·class="el"·href="a01930.html">LagrangeNode</a><GV,·k,·R></td></tr> | ||
| 121 | <tr·class="memitem:gad2b4404cb87483db843459e8f120e44d"·id="r_gad2b4404cb87483db843459e8f120e44d"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k·=·-1,·typename·R·=·double>·</td></tr> | ||
| 122 | <tr·class="memitem:gad2b4404cb87483db843459e8f120e44d·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gad2b4404cb87483db843459e8f120e44d">Dune::Functions::LagrangeDGBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01938.html">LagrangeDGPreBasis</a><GV,·k,·R>·></td></tr> | ||
| 123 | <tr·class="memdesc:gad2b4404cb87483db843459e8f120e44d"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·Lagrangean-DG·finite·element·space.··<br·/></td></tr> | ||
| 124 | </table><table·class="memberdecls"> | ||
| 125 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 126 | Functions</h2></td></tr> | ||
| 127 | <tr·class="memitem:ga383b7a1202716e3773acab3642350df3"·id="r_ga383b7a1202716e3773acab3642350df3"><td·class="memTemplParams"·colspan="2">template<std::size_t·order,·typename·R·=·double>·</td></tr> | ||
| 128 | <tr·class="memitem:ga383b7a1202716e3773acab3642350df3·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga383b7a1202716e3773acab3642350df3">Dune::Functions::BasisFactory::lagrangeDG</a>·()</td></tr> | ||
| 129 | <tr·class="memdesc:ga383b7a1202716e3773acab3642350df3"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis.··<br·/></td></tr> | ||
| 130 | <tr·class="memitem:ga7ffaa3ab4154ac5d06ae9dc76695cb42"·id="r_ga7ffaa3ab4154ac5d06ae9dc76695cb42"><td·class="memTemplParams"·colspan="2">template<typename·R·=·double>·</td></tr> | ||
| 131 | <tr·class="memitem:ga7ffaa3ab4154ac5d06ae9dc76695cb42·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga7ffaa3ab4154ac5d06ae9dc76695cb42">Dune::Functions::BasisFactory::lagrangeDG</a>·(unsigned·int·order)</td></tr> | ||
| 132 | <tr·class="memdesc:ga7ffaa3ab4154ac5d06ae9dc76695cb42"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis.··<br·/></td></tr> | ||
| 133 | </table> | 107 | </table> |
| 134 | </div><!--·contents·--> | 108 | </div><!--·contents·--> |
| 135 | </div><!--·doc-content·--> | 109 | </div><!--·doc-content·--> |
| 136 | <div·id="page-nav"·class="page-nav-panel"> | 110 | <div·id="page-nav"·class="page-nav-panel"> |
| 137 | <div·id="page-nav-resize-handle"></div> | 111 | <div·id="page-nav-resize-handle"></div> |
| 138 | <div·id="page-nav-tree"> | 112 | <div·id="page-nav-tree"> |
| 139 | <div·id="page-nav-contents"> | 113 | <div·id="page-nav-contents"> |
| 140 | </div><!--·page-nav-contents·--> | 114 | </div><!--·page-nav-contents·--> |
| 141 | </div><!--·page-nav-tree·--> | 115 | </div><!--·page-nav-tree·--> |
| 142 | </div><!--·page-nav·--> | 116 | </div><!--·page-nav·--> |
| 143 | </div><!--·container·--> | 117 | </div><!--·container·--> |
| 144 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 145 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 119 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 146 | ··<ul> | 120 | ··<ul> |
| 147 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 121 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00110.html">differentiablefunction_imp.hh</a></li> |
| 148 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 122 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 149 | ··</ul> | 123 | ··</ul> |
| 150 | </div> | 124 | </div> |
| 151 | </body> | 125 | </body> |
| 152 | </html> | 126 | </html> |
| Offset 1, 39 lines modified | Offset 1, 17 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | differentiablefunction_imp.hh·File·Reference | |
| 6 | #include·<dune/common/exceptions.hh> | 6 | #include·<dune/common/exceptions.hh> |
| 7 | #include·<dune/common/ | 7 | #include·<dune/common/concept.hh> |
| 8 | #include·<dune/functions/common/type_traits.hh> | ||
| 8 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 9 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 10 | #include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 12 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 13 | Classes | ||
| 14 | class· ·Dune::Functions::LagrangeDGPreBasis<_GV,_k,_R_> | ||
| 15 | ·······PreBasis·implementation·for·a·Lagrangean-DG·finite·element·space. | ||
| 16 | ········More... | ||
| 17 | Namespaces | 10 | Namespaces |
| 18 | namespace· ·Dune | 11 | namespace· ·Dune |
| 19 | namespace· ·Dune::Functions | 12 | namespace· ·Dune::Functions |
| 20 | namespace· ·Dune::Functions::BasisFactory | ||
| 21 | Typedefs | ||
| 22 | template<typename·GV,·int·k,·typename·R·=·double> | ||
| 23 | using ·Dune::Functions::LagrangeDGNode·=·LagrangeNode<GV,·k,·R> | ||
| 24 | template<typename·GV,·int·k·=·-1,·typename·R·=·double> | ||
| 25 | using ·Dune::Functions::LagrangeDGBasis·= | ||
| 26 | ·······DefaultGlobalBasis<LagrangeDGPreBasis<GV,·k,·R>·> | ||
| 27 | ······Basis·of·a·scalar·k-th-order·Lagrangean-DG·finite·element·space. | ||
| 28 | Functions | ||
| 29 | template<std::size_t·order,·typename·R·=·double> | ||
| 30 | auto ·Dune::Functions::BasisFactory::lagrangeDG·() | ||
| 31 | ·····Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis. | ||
| 32 | template<typename·R·=·double> | ||
| 33 | auto ·Dune::Functions::BasisFactory::lagrangeDG·(unsigned·int·order) | ||
| 34 | ·····Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis. | ||
| 35 | ····*·dune | 13 | ····*·dune |
| 36 | ····*·functions | 14 | ····*·functions |
| 37 | ····*·functionspacebases | ||
| 38 | ····*· | 15 | ····*·common |
| 16 | ····*·differentiablefunction_imp.hh | ||
| 39 | ····*·Generated·by·[doxygen]1.15.0 | 17 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 237 lines modified | Offset 88, 126 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">differentiablefunction_imp.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/ | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l0001 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 114 | <div·class="line"><a·id="l0001 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 117 | <div·class="line"><a·id="l000 | 112 | <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="a00317.html">Dune</a>·{</div> |
| 118 | <div·class="line"><a·id="l000 | 113 | <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="a00318.html">Functions</a>·{</div> |
| 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
| 124 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 125 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span></div> |
| 126 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>HasFreeDerivative</div> |
| 127 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> |
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 131 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> |
| 119 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">auto</span>·require(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
| 120 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<a·class="code·hl_function"·href="a00308.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f)</div> | ||
| 121 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··);</div> | ||
| 132 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>};</div> |
| 133 | <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,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> | ||
| 134 | <div·class="line"><a·id="l0003 | 123 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 124 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 135 | <div·class="line"><a·id="l0003 | 125 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
| 136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</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> | ||
| 137 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> | ||
| 138 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01938.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01938.html#a8bd952dffe29e4624ab39f7eb74e33c0">LagrangeDGPreBasis</a>·:</div> | ||
| 139 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> |
| 127 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··std::enable_if_t<</div> | ||
| 128 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····models<·HasFreeDerivative,·F>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 129 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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="a00308.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f))</div> | ||
| 140 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
| 141 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00308.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f);</div> |
| 142 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>}</div> |
| 143 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 145 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
| 136 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> | ||
| 146 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··std::enable_if_t<</div> |
| 147 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keywordflow">return</span>·[<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>](Dune::GeometryType·type,·<span·class="keywordtype">size_t</span>·dimGrid)·{</div> | ||
| 148 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····not(models<·HasFreeDerivative,·F>())·,·<span·class="keywordtype">int</span>>·=·0></div> |
| 139 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>Dummy·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)</div> | ||
| 149 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> |
| 150 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">if</span>·(type.isLine())</div> | ||
| 151 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1;</div> | ||
| 152 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">if</span>·(type.isTriangle())</div> | ||
| 153 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> |
| 142 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> | ||
| 143 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 145 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface></div> | ||
| 154 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface</div> |
| 155 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········<span·class="keywordflow">return</span>·(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1)*(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1);</div> | ||
| 156 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keywordflow">if</span>·(type.isTetrahedron())</div> | ||
| 157 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{};</div> |
| 149 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 158 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> |
| 152 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
| 153 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 154 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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> | ||
| 155 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface<Range(Domain),·DerivativeInterface></div> | ||
| 159 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··········<span·class="keywordflow">return</span>·(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1)*(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1)*(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+2)/2;</div> | ||
| 160 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">if</span>·(type.isHexahedron())</div> | ||
| 161 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··········<span·class="keywordflow">return</span>·(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1)*(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1)*(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1);</div> | ||
| 162 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keywordflow">if</span>·(type.isPyramid())</div> | ||
| 163 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··········<span·class="keywordflow">return</span>·(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+1)*(<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+2)*(2*<a·class="code·hl_function"·href="a01938.html#a3b5f511957cdfba217fb5b1798f6178d">order</a>+3)/6;</div> | ||
| 164 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Using·LagrangeDGPreBasis·with·non-supported·GeometryType"</span>);</div> | ||
| 165 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{</div> |
| 166 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div> |
| 158 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)·<span·class="keyword">const</span>·=·0;</div> | ||
| 167 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div> | ||
| 168 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}</div> | ||
| 169 | <div·class="line"><a·id="l000 | 159 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 160 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">virtual</span>·DerivativeInterface·<a·class="code·hl_function"·href="a00308.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
| 161 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div> | ||
| 162 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 163 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 165 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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> | ||
| 166 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation</div> | ||
| Max diff block lines reached; 34588/59725 bytes (57.91%) of diff not shown. | |||
| Offset 1, 294 lines modified | Offset 1, 126 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | differentiablefunction_imp.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<dune/common/exceptions.hh> | 18 | 10#include·<dune/common/exceptions.hh> |
| 19 | 11#include·<dune/common/ | 19 | 11#include·<dune/common/concept.hh> |
| 20 | 12 | 20 | 12 |
| 21 | 13#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 22 | 14#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 23 | 15#include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
| 24 | 16#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 25 | 17 | ||
| 26 | 1 | 21 | 13#include·<dune/functions/common/type_traits.hh> |
| 22 | 14 | ||
| 23 | 15 | ||
| 24 | 16namespace·Dune·{ | ||
| 25 | 17namespace·Functions·{ | ||
| 26 | 18namespace·Imp·{ | ||
| 27 | 19 | 27 | 19 |
| 28 | 23struct·HasFreeDerivative | ||
| 28 | 20 | ||
| 29 | 21namespace·Dune·{ | ||
| 30 | 22namespace·Functions·{ | ||
| 31 | 23 | ||
| 32 | 24 | 29 | 24{ |
| 30 | 25·template<class·F> | ||
| 31 | 26·auto·require(F&&·f)·->·decltype( | ||
| 32 | 27·derivative(f) | ||
| 33 | 28·); | ||
| 34 | 29}; | ||
| 35 | 30 | ||
| 36 | 31 | ||
| 37 | 32 | ||
| 38 | 33template<class·Dummy,·class·F, | ||
| 39 | 34·std::enable_if_t< | ||
| 40 | 35·models<·HasFreeDerivative,·F>()·,·int>·=·0> | ||
| 41 | 36auto·derivativeIfImplemented(const·F&·f)·->·decltype(derivative(f)) | ||
| 42 | 37{ | ||
| 43 | 38·return·derivative(f); | ||
| 33 | 25 | ||
| 34 | 26/ | ||
| 35 | /·***************************************************************************** | ||
| 36 | 27//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 37 | 28// | ||
| 38 | 29//·LagrangeDGPreBasis | ||
| 39 | 30//·LagrangeDGNode | ||
| 40 | 31// | ||
| 41 | 32//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 42 | shared | ||
| 43 | 33//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 44 | 34//·and·can·be·used·without·a·global·basis. | ||
| 45 | 35/ | ||
| 46 | /·***************************************************************************** | ||
| 47 | 36 | ||
| 48 | 37template<typename·GV,·int·k,·typename·R=double> | ||
| 49 | 38using·LagrangeDGNode·=·LagrangeNode<GV,_k,_R>; | ||
| 50 | 39 | 44 | 39} |
| 51 | 48template<typename·GV,·int·k,·typename·R=double> | ||
| 52 | 49class·LagrangeDGPreBasis·: | ||
| 53 | 45 | 40 | |
| 46 | 41 | ||
| 47 | 42 | ||
| 48 | 43template<class·Dummy,·class·F, | ||
| 49 | 44·std::enable_if_t< | ||
| 50 | 45·not(models<·HasFreeDerivative,·F>())·,·int>·=·0> | ||
| 51 | 46Dummy·derivativeIfImplemented(const·F&·f) | ||
| 52 | 47{ | ||
| 53 | 48·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
| 54 | 49} | ||
| 55 | 50 | ||
| 54 | 51 | 56 | 51 |
| 55 | 52·using·Base·=·Dune::Functions::LeafPreBasisMapperMixin<GV>; | ||
| 56 | 53 | ||
| 57 | 54·static·constexpr·bool·useDynamicOrder·=·(k<0); | ||
| 58 | 55 | ||
| 59 | 56·static·MCMGLayout·dofLayout(int·order) | ||
| 60 | 57·{ | ||
| 61 | 58·return·[order](Dune::GeometryType·type,·size_t·dimGrid)·{ | ||
| 62 | 59·if·(type.dim()·==·dimGrid) | ||
| 63 | 60·{ | ||
| 64 | 61·if·(type.isLine()) | ||
| 65 | 62·return·order+1; | ||
| 66 | 63·if·(type.isTriangle()) | ||
| 67 | 64·return·(order+1)*(order+2)/2; | ||
| 68 | 65·if·(type.isQuadrilateral()) | ||
| 69 | 66·return·(order+1)*(order+1); | ||
| 70 | 67·if·(type.isTetrahedron()) | ||
| 71 | 68·return·(order+1)*(order+2)*(order+3)/6; | ||
| 72 | 69·if·(type.isPrism()) | ||
| 73 | 70·return·(order+1)*(order+1)*(order+2)/2; | ||
| 74 | 71·if·(type.isHexahedron()) | ||
| 75 | 72·return·(order+1)*(order+1)*(order+1); | ||
| 76 | 73·if·(type.isPyramid()) | ||
| 77 | 74·return·(order+1)*(order+2)*(2*order+3)/6; | ||
| 78 | 75·DUNE_THROW(Dune::NotImplemented,·"Using·LagrangeDGPreBasis·with·non- | ||
| 79 | supported·GeometryType"); | ||
| 80 | 76·} | ||
| 81 | 77·return·0; | ||
| 82 | 78·}; | ||
| 83 | 57 | 52 | |
| 58 | 53template<class·Signature,·class·DerivativeInterface> | ||
| 59 | 54class·DifferentiableFunctionWrapperInterface | ||
| 60 | 55{}; | ||
| 61 | 56 | ||
| 62 | 57//·Interface·of·type·erasure·wrapper | ||
| 63 | 58// | ||
| 64 | 59//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 65 | ...) | ||
| 66 | 60//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 67 | 61template<class·Range,·class·Domain,·class·DerivativeInterface> | ||
| 68 | 62class·DifferentiableFunctionWrapperInterface<Range(Domain), | ||
| 69 | DerivativeInterface> | ||
| 70 | 63{ | ||
| Max diff block lines reached; 7664/12164 bytes (63.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 62 lines modified | Offset 88, 75 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">reserveddeque.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·· | ||
| 98 | <a·href="#details">More...</a></p> | ||
| 97 | <div·class="textblock"><code>#include·< | 99 | <div·class="textblock"><code>#include·<algorithm></code><br·/> |
| 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 99 | <code>#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></code><br·/> | ||
| 103 | <code>#include·< | 100 | <code>#include·<iostream></code><br·/> |
| 101 | <code>#include·<cstddef></code><br·/> | ||
| 102 | <code>#include·<initializer_list></code><br·/> | ||
| 103 | <code>#include·<dune/common/genericiterator.hh></code><br·/> | ||
| 104 | </div> | 104 | </div> |
| 105 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 106 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
| 107 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 108 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AHierarchicalLagrangePreBasis_3C_20GV_2C_201_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AHierarchicalLagrangePreBasis_3C_20GV_2C_201_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01886.html">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·></a></td></tr> | ||
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AReservedDeque_3C_20T_2C_20n_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AReservedDeque_3C_20T_2C_20n_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01426.html">Dune::Functio[·...·truncated·by·diffoscope;·len:·26,·SHA:·a0c025a99cf73eb82b5260d1af94de4bd2b65a948691bfac993b18f24b4ca55e·...·]·></a></td></tr> |
| 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·double-ended·queue·(deque)·class·with·statically·reserved·memory.··<a·href="a01426.html#details">More...</a><br·/></td></tr> | ||
| 111 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 113 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
| 114 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 114 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 115 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 115 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 117 | </table><table·class="memberdecls"> | ||
| 118 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 119 | Typedefs</h2></td></tr> | ||
| 120 | <tr·class="memitem:ga672fd1722c7436f43bd10531af4dd8c1"·id="r_ga672fd1722c7436f43bd10531af4dd8c1"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k,·typename·R·=·double>·</td></tr> | ||
| 121 | <tr·class="memitem:ga672fd1722c7436f43bd10531af4dd8c1·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga672fd1722c7436f43bd10531af4dd8c1">Dune::Functions::HierarchicalLagrangeBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01882.html">HierarchicalLagrangePreBasis</a><GV,·k,·R>·></td></tr> | ||
| 122 | <tr·class="memdesc:ga672fd1722c7436f43bd10531af4dd8c1"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space.··<br·/></td></tr> | ||
| 123 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
| 124 | <tr·class="heading"><td·colspan="2"><h2·id="header-f | 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-define-members"·class="groupheader"><a·id="define-members"·name="define-members"></a> |
| 125 | 118 | Macros</h2></td></tr> | |
| 119 | <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"·id="r_a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)</td></tr> | ||
| 126 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"·id="r_gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplParams"·colspan="2">template<int·k,·typename·R·=·double>·</td></tr> | ||
| 127 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gae1668779c06b647fd909294cbedf28cf">Dune::Functions::BasisFactory::hierarchicalLagrange</a>·()</td></tr> | ||
| 128 | <tr·class="memdesc:gae1668779c06b647fd909294cbedf28cf"><td·class="mdescLeft"> </td><td·class="mdescRight">A·factory·that·can·create·a·HierarchicalLagrange·pre-basis.··<br·/></td></tr> | ||
| 129 | </table> | 120 | </table> |
| 121 | <a·name="details"·id="details"></a><h2·id="header-details"·class="groupheader">Detailed·Description</h2> | ||
| 122 | <div·class="textblock"><p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·</p> | ||
| 123 | </div><a·name="doc-define-members"·id="doc-define-members"></a><h2·id="header-doc-define-members"·class="groupheader">Macro·Definition·Documentation</h2> | ||
| 124 | <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a> | ||
| 125 | <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">◆ </a></span>CHECKSIZE</h2> | ||
| 126 | <div·class="memitem"> | ||
| 127 | <div·class="memproto"> | ||
| 128 | ······<table·class="memname"> | ||
| 129 | ········<tr> | ||
| 130 | ··········<td·class="memname">#define·CHECKSIZE</td> | ||
| 131 | ··········<td>(</td> | ||
| 132 | ··········<td·class="paramtype"></td>··········<td·class="paramname"><span·class="paramname"><em>X</em></span></td><td>)</td> | ||
| 133 | ··········<td></td> | ||
| 134 | ········</tr> | ||
| 135 | ······</table> | ||
| 136 | </div><div·class="memdoc"> | ||
| 137 | <b>Value:</b><div·class="fragment"><div·class="line">{}</div> | ||
| 138 | </div><!--·fragment·--> | ||
| 139 | </div> | ||
| 140 | </div> | ||
| 130 | </div><!--·contents·--> | 141 | </div><!--·contents·--> |
| 131 | </div><!--·doc-content·--> | 142 | </div><!--·doc-content·--> |
| 132 | <div·id="page-nav"·class="page-nav-panel"> | 143 | <div·id="page-nav"·class="page-nav-panel"> |
| 133 | <div·id="page-nav-resize-handle"></div> | 144 | <div·id="page-nav-resize-handle"></div> |
| 134 | <div·id="page-nav-tree"> | 145 | <div·id="page-nav-tree"> |
| 135 | <div·id="page-nav-contents"> | 146 | <div·id="page-nav-contents"> |
| 136 | </div><!--·page-nav-contents·--> | 147 | </div><!--·page-nav-contents·--> |
| 137 | </div><!--·page-nav-tree·--> | 148 | </div><!--·page-nav-tree·--> |
| 138 | </div><!--·page-nav·--> | 149 | </div><!--·page-nav·--> |
| 139 | </div><!--·container·--> | 150 | </div><!--·container·--> |
| 140 | <!--·start·footer·part·--> | 151 | <!--·start·footer·part·--> |
| 141 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 152 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 142 | ··<ul> | 153 | ··<ul> |
| 143 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 154 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00113.html">reserveddeque.hh</a></li> |
| 144 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 155 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 145 | ··</ul> | 156 | ··</ul> |
| 146 | </div> | 157 | </div> |
| 147 | </body> | 158 | </body> |
| 148 | </html> | 159 | </html> |
| Offset 1, 34 lines modified | Offset 1, 34 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | hierarchicallagrangebasis.hh·File·Reference | ||
| 6 | 5 | reserveddeque.hh·File·Reference | |
| 6 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
| 7 | More... | ||
| 8 | #include·<algorithm> | ||
| 9 | #include·<iostream> | ||
| 10 | #include·<cstddef> | ||
| 11 | #include·<initializer_list> | ||
| 7 | #include·<dune/common/e | 12 | #include·<dune/common/genericiterator.hh> |
| 8 | #include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
| 9 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 10 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/lfeprebasismixin.hh> | ||
| 12 | #include·<dune/geometry/type.hh> | ||
| 13 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 14 | Classes | 14 | Classes |
| 15 | class· ·Dune::Functions::HierarchicalLagrangePreBasis<_GV,_1,_R_> | ||
| 16 | class· ·Dune::Functions:: | 15 | class· ·Dune::Functions::ReservedDeque<_T,_n_> |
| 16 | ·······A·double-ended·queue·(deque)·class·with·statically·reserved·memory. | ||
| 17 | ········More... | ||
| 17 | Namespaces | 18 | Namespaces |
| 18 | namespace· ·Dune | 19 | namespace· ·Dune |
| 19 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 21 | Macros | ||
| 22 | #define ·CHECKSIZE(X) | ||
| 23 | *****·Detailed·Description·***** | ||
| 24 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
| 25 | *****·Macro·Definition·Documentation·***** | ||
| 26 | *****·◆ CHECKSIZE·***** | ||
| 27 | #define·CHECKSIZE·(··X·) | ||
| 28 | Value: | ||
| 29 | {} | ||
| 20 | namespace· ·Dune::Functions::BasisFactory | ||
| 21 | Typedefs | ||
| 22 | template<typename·GV,·int·k,·typename·R·=·double> | ||
| 23 | using ·Dune::Functions::HierarchicalLagrangeBasis·= | ||
| 24 | ·······DefaultGlobalBasis<HierarchicalLagrangePreBasis<GV,·k,·R>·> | ||
| 25 | ······Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space. | ||
| 26 | Functions | ||
| 27 | template<int·k,·typename·R·=·double> | ||
| 28 | auto ·Dune::Functions::BasisFactory::hierarchicalLagrange·() | ||
| 29 | ·····A·factory·that·can·create·a·HierarchicalLagrange·pre-basis. | ||
| 30 | ····*·dune | 30 | ····*·dune |
| 31 | ····*·functions | 31 | ····*·functions |
| 32 | ····*·functionspacebases | ||
| 33 | ····*· | 32 | ····*·common |
| 33 | ····*·reserveddeque.hh | ||
| 34 | ····*·Generated·by·[doxygen]1.15.0 | 34 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 6 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00113·=·[ | 1 | var·a00113·=·[ |
| 2 | ····["CHECKSIZE",·"a00113.html#a65543e75bc949ecdb95a25b1f4e11675",·null] | ||
| 2 | ····["Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·>",·"a01886.html",·"a01886"], | ||
| 3 | ····["Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·>",·"a01890.html",·"a01890"], | ||
| 4 | ····["Dune::Functions::HierarchicalLagrangeBasis",·"a00312.html#ga672fd1722c7436f43bd10531af4dd8c1",·null], | ||
| 5 | ····["Dune::Functions::BasisFactory::hierarchicalLagrange",·"a00312.html#gae1668779c06b647fd909294cbedf28cf",·null] | ||
| 6 | ]; | 3 | ]; |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 136 lines modified | Offset 88, 294 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">reserveddeque.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span></div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 106 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></span></div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 116 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<algorithm></span></div> |
| 108 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iostream></span></div> | ||
| 109 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | ||
| 119 | <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="a00318.html">Functions</a>·{</div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="comment">//·*****************************************************************************</span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="comment">//·Implementation·for·Hierarchical·Lagrange·Basis</span></div> | ||
| 123 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<initializer_list></span></div> |
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="comment">//·-·only·orders·k=1,2·are·implemented·up·to·now</span></div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·-·order·k=1·is·identical·to·the·standard·Lagrange·basis</span></div> | ||
| 126 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 112 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 127 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDDEQUE</span></div> |
| 128 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> |
| 129 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</span></div> |
| 130 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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> | ||
| 131 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00113.html#a65543e75bc949ecdb95a25b1f4e11675">···24</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> |
| 118 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#endif</span></div> | ||
| 132 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 120 | <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="a00317.html">Dune</a>·{</div> | ||
| 121 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 122 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span></div> | ||
| 133 | <div·class="line"><a·id="l0004 | 123 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·n></div> |
| 134 | <div·class="foldopen"·id="foldopen0004 | 124 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> |
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01426.html">···48</a></span>··<span·class="keyword">class·</span><a·class="code·hl_function"·href="a01426.html#a1a933bab5b5adcc06dfd9408aa98e6a5">ReservedDeque</a></div> | ||
| 135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01886.html">···47</a></span>····<span·class="keyword">class·</span><a·class="code·hl_function"·href="a01886.html#a75186c538531513affbe4173b802684b">HierarchicalLagrangePreBasis</a><GV,1,R></div> | ||
| 136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a><GV,·LagrangeSimplexLocalFiniteElement<typename·GV::ctype,R,GV::dimension,1>></div> | ||
| 137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·· | 126 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> |
| 138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin<GV,·LagrangeSimplexLocalFiniteElement<typename·GV::ctype,R,GV::dimension,1></a>>;</div> | ||
| 139 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div> |
| 140 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
| 141 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01886.html#a75186c538531513affbe4173b802684b">···52</a></span>······<a·class="code·hl_function"·href="a01886.html#a75186c538531513affbe4173b802684b">HierarchicalLagrangePreBasis</a>·(<span·class="keyword">const</span>·GV&·<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>)·:</div> | ||
| 142 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········Base(<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>,·[](GeometryType·gt,·int)·->·std::size_t·{·return·gt.isVertex()·?·1·:·0;·})</div> | ||
| 143 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······{</div> | ||
| 144 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 145 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 146 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>············DUNE_THROW(Dune::NotImplemented,</div> | ||
| 147 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··············<span·class="stringliteral">"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 148 | <div·class="line"><a·id="l0005 | 128 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span></div> |
| 129 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span></div> | ||
| 130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01426.html#a1a11a57db6a51cd6ceebc8aba56e87d9">···55</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01426.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a>;</div> | ||
| 131 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01426.html#a65bd934ebbbb695648a6f506d8914861">···57</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01426.html#a65bd934ebbbb695648a6f506d8914861">pointer</a>;</div> | ||
| 132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01426.html#a9d97a3dd5165e57039304aab2c6065b3">···59</a></span>····<span·class="keyword">typedef</span>·T&·<a·class="code·hl_typedef"·href="a01426.html#a9d97a3dd5165e57039304aab2c6065b3">reference</a>;</div> | ||
| 133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01426.html#a841549562074d4cf71f7cac885b5e351">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&·<a·class="code·hl_typedef"·href="a01426.html#a841549562074d4cf71f7cac885b5e351">const_reference</a>;</div> | ||
| 134 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01426.html#ae274c5849a958b0d61a6047ae8849ce4">···63</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01426.html#ae274c5849a958b0d61a6047ae8849ce4">size_type</a>;</div> | ||
| 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01426.html#a9caae6b45eb4e86efd054b5b21e17ecb">···65</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01426.html#a9caae6b45eb4e86efd054b5b21e17ecb">difference_type</a>;</div> | ||
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01426.html#a165ae75902a942b5a9a01a540d5e92b3">···67</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<ReservedDeque,·value_type>·<a·class="code·hl_typedef"·href="a01426.html#a165ae75902a942b5a9a01a540d5e92b3">iterator</a>;</div> | ||
| 137 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01426.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">···69</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·<a·class="code·hl_typedef"·href="a01426.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">const_iterator</a>;</div> | ||
| 149 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span></div> |
| 150 | </div> | ||
| 151 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span></div> |
| 152 | </div> | ||
| 153 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span></div> |
| 154 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></div> | ||
| 155 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};"> | ||
| 156 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01890.html">···64</a></span>····<span·class="keyword">class·</span><a·class="code·hl_function"·href="a01890.html#a8c3ea0a10cbe0b443245d686bc3e823c">HierarchicalLagrangePreBasis</a><GV,2,R></div> | ||
| 157 | <div·class=" | 141 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}"> |
| 142 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01426.html#a1a933bab5b5adcc06dfd9408aa98e6a5">···76</a></span>····<a·class="code·hl_function"·href="a01426.html#a1a933bab5b5adcc06dfd9408aa98e6a5">ReservedDeque</a>()·:</div> | ||
| 143 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······size_(0),</div> | ||
| 144 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······first_(0)</div> | ||
| 158 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{}</div> |
| 159 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin<GV,·HierarchicalP2LocalFiniteElement<typename·GV::ctype,R,GV::dimension></a>>;</div> | ||
| 160 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">public</span>:</div> | ||
| 161 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
| 162 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01890.html#a8c3ea0a10cbe0b443245d686bc3e823c">···69</a></span>······<a·class="code·hl_function"·href="a01890.html#a8c3ea0a10cbe0b443245d686bc3e823c">HierarchicalLagrangePreBasis</a>·(<span·class="keyword">const</span>·GV&·<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>)·:</div> | ||
| 163 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········Base(<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>,·[](GeometryType·gt,·int)·->·std::size_t·{·return·(gt.isVertex()·||·gt.isLine())·?·1·:·0;·})</div> | ||
| 164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······{</div> | ||
| 165 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 166 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 167 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>············DUNE_THROW(Dune::NotImplemented,</div> | ||
| 168 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··············<span·class="stringliteral">"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 169 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········}</div> | ||
| 170 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······}</div> | ||
| 171 | </div> | 146 | </div> |
| 172 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div> | ||
| 173 | </div> | ||
| 174 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
| 175 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
| 176 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keyword">namespace·</span>BasisFactory·{</div> | ||
| Max diff block lines reached; 15124/67612 bytes (22.37%) of diff not shown. | |||
| Offset 1, 152 lines modified | Offset 1, 330 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | reserveddeque.hh | |
| 6 | Go_to_the_documentation_of_this_file. | 6 | Go_to_the_documentation_of_this_file. |
| 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 7 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 8 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 9 | 3 | 9 | 3 |
| 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 11 | AUTHORS.md | 11 | AUTHORS.md |
| 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 13 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 11 | ||
| 20 | 12#include·<dune/common/exceptions.hh> | ||
| 21 | 13 | 18 | 13 |
| 22 | 14#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
| 23 | 15 | ||
| 24 | 16#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 25 | 17#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 26 | 18#include·<dune/functions/functionspacebases/lfeprebasismixin.hh> | ||
| 27 | 19 | ||
| 28 | 20#include·<dune/geometry/type.hh> | ||
| 29 | 19 | 14#include·<algorithm> | |
| 20 | 15#include·<iostream> | ||
| 21 | 16#include·<cstddef> | ||
| 22 | 17#include·<initializer_list> | ||
| 23 | 18 | ||
| 24 | 19#include·<dune/common/genericiterator.hh> | ||
| 25 | 20 | ||
| 26 | 21#ifdef·CHECK_RESERVEDDEQUE | ||
| 27 | 22#define·CHECKSIZE(X)·assert(X) | ||
| 28 | 23#else | ||
| 29 | 24#define·CHECKSIZE(X)·{} | ||
| 30 | 25#endif | ||
| 31 | 26 | ||
| 30 | 2 | 32 | 27namespace·Dune·{ |
| 31 | 2 | 33 | 28namespace·Functions·{ |
| 34 | 29 | ||
| 35 | 47·template<class·T,·int·n> | ||
| 36 | 48·class·ReservedDeque | ||
| 32 | 24 | ||
| 33 | 25·/ | ||
| 34 | /·***************************************************************************** | ||
| 35 | 26·//·Implementation·for·Hierarchical·Lagrange·Basis | ||
| 36 | 27·// | ||
| 37 | 28·//·-·only·orders·k=1,2·are·implemented·up·to·now | ||
| 38 | 29·//·-·order·k=1·is·identical·to·the·standard·Lagrange·basis | ||
| 39 | 30·//·-·implementation·is·restricted·to·simplex·grids | ||
| 40 | 31·// | ||
| 41 | 32·/ | ||
| 42 | /·***************************************************************************** | ||
| 43 | 33 | ||
| 44 | 43·template<typename·GV,·int·k,·typename·R·=·double> | ||
| 45 | 44·class·HierarchicalLagrangePreBasis; | ||
| 46 | 45 | ||
| 47 | 46·template<typename·GV,·typename·R> | ||
| 48 | 47·class·HierarchicalLagrangePreBasis<GV,1,R> | ||
| 49 | 48·:·public·LFEPreBasisMixin<GV,·LagrangeSimplexLocalFiniteElement<typename | ||
| 50 | GV::ctype,R,GV::dimension,1>> | ||
| 51 | 49·{ | 37 | 49·{ |
| 52 | 50·using·Base·=·LFEPreBasisMixin<GV,_LagrangeSimplexLocalFiniteElement<typename | ||
| 53 | GV::ctype,R,GV::dimension,1>>; | ||
| 54 | 5 | 38 | 50·public: |
| 39 | 51 | ||
| 40 | 53 | ||
| 41 | 55·typedef·T·value_type; | ||
| 42 | 57·typedef·T*·pointer; | ||
| 43 | 59·typedef·T&·reference; | ||
| 44 | 61·typedef·const·T&·const_reference; | ||
| 45 | 63·typedef·size_t·size_type; | ||
| 46 | 65·typedef·std::ptrdiff_t·difference_type; | ||
| 47 | 67·typedef·Dune::GenericIterator<ReservedDeque,·value_type>·iterator; | ||
| 48 | 69·typedef·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·const_ | ||
| 49 | iterator; | ||
| 50 | 70 | ||
| 51 | 72 | ||
| 52 | 74 | ||
| 53 | 76·ReservedDeque()·: | ||
| 54 | 77·size_(0), | ||
| 55 | 78·first_(0) | ||
| 56 | 79·{} | ||
| 55 | 52·HierarchicalLagrangePreBasis·(const·GV&·gridView)·: | ||
| 56 | 53·Base(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·gt.isVertex | ||
| 57 | ()·?·1·:·0;·}) | ||
| 58 | 54·{ | ||
| 59 | 55·for·(auto·gt·:·gridView.indexSet().types(0))·{ | ||
| 60 | 56·if·(!gt.isSimplex()) | ||
| 61 | 57·DUNE_THROW(Dune::NotImplemented, | ||
| 62 | 58·"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 63 | 59·} | ||
| 64 | 60·} | ||
| 65 | 61·}; | ||
| 66 | 62 | ||
| 67 | 63·template<typename·GV,·typename·R> | ||
| 68 | 64·class·HierarchicalLagrangePreBasis<GV,2,R> | ||
| 69 | 65·:·public·LFEPreBasisMixin<GV,·HierarchicalP2LocalFiniteElement<typename·GV:: | ||
| 70 | ctype,R,GV::dimension>> | ||
| 71 | 66·{ | ||
| 72 | 67·using·Base·=·LFEPreBasisMixin<GV,_HierarchicalP2LocalFiniteElement<typename | ||
| 73 | GV::ctype,R,GV::dimension>>; | ||
| 74 | 68·public: | ||
| 75 | 69·HierarchicalLagrangePreBasis·(const·GV&·gridView)·: | ||
| 76 | 70·Base(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·(gt.isVertex | ||
| 77 | ()·||·gt.isLine())·?·1·:·0;·}) | ||
| 78 | 71·{ | ||
| 79 | 72·for·(auto·gt·:·gridView.indexSet().types(0))·{ | ||
| 80 | 73·if·(!gt.isSimplex()) | ||
| 81 | 74·DUNE_THROW(Dune::NotImplemented, | ||
| 82 | 75·"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 83 | 76·} | ||
| 84 | 77·} | ||
| 85 | 78·}; | ||
| 86 | 79 | ||
| 87 | 80 | 57 | 80 |
| 58 | 81·ReservedDeque(std::initializer_list<T>·const·&l) | ||
| 59 | 82·{ | ||
| 60 | 83·assert(l.size()·<=·n);//·Actually,·this·is·not·needed·any·more! | ||
| 61 | 84·size_·=·l.size(); | ||
| 62 | 85·std::copy_n(l.begin(),·size_,·data_); | ||
| 88 | 81·namespace·BasisFactory·{ | ||
| Max diff block lines reached; 5689/13255 bytes (42.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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 66 lines modified | Offset 88, 43 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">interfaces.hh·File·Reference</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 99 | <code>#include·<dune/localfunctions/lagrange/cache.hh></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 103 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> | ||
| 104 | </div> | 98 | </div> |
| 105 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> | 99 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 106 | <table·class="memberdecls"> | 100 | <table·class="memberdecls"> |
| 107 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 108 | Classes</h2></td></tr> | 102 | Classes</h2></td></tr> |
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3APolymorphicType_3C_20Interface_20_3E"·id="r_Dune_3A_3AFunctions_3A_3APolymorphicType_3C_20Interface_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01378.html">Dune::F[·...·truncated·by·diffoscope;·len:·39,·SHA:·ca9ec0e814f299ecf80fce1afaae6119f04d4cf3d09604a9365353bcff7ed25f·...·]·></a></td></tr> |
| 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·with·polymorphic·type·boiler·plate·code.··<a·href="a01378.html#details">More...</a><br·/></td></tr> |
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALagrangeNode_3C_20GV_2C_20k_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALagrangeNode_3C_20GV_2C_20k_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01930.html">Dune::Functions::LagrangeNode<·GV,·k,·R·></a></td></tr> | ||
| 112 | </table><table·class="memberdecls"> | 105 | </table><table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 114 | Namespaces</h2></td></tr> | 107 | Namespaces</h2></td></tr> |
| 115 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> | 108 | <tr·class="memitem:Dune"·id="r_Dune"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">Dune</a></td></tr> |
| 116 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> | 109 | <tr·class="memitem:Dune_3A_3AFunctions"·id="r_Dune_3A_3AFunctions"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html">Dune::Functions</a></td></tr> |
| 117 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisFactory"·id="r_Dune_3A_3AFunctions_3A_3ABasisFactory"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 118 | </table><table·class="memberdecls"> | ||
| 119 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 120 | Typedefs</h2></td></tr> | ||
| 121 | <tr·class="memitem:ga6407ae0fc50439a66ca3570b161bfa19"·id="r_ga6407ae0fc50439a66ca3570b161bfa19"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k·=·-1,·typename·R·=·double>·</td></tr> | ||
| 122 | <tr·class="memitem:ga6407ae0fc50439a66ca3570b161bfa19·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga6407ae0fc50439a66ca3570b161bfa19">Dune::Functions::LagrangeBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01934.html">LagrangePreBasis</a><GV,·k,·R>·></td></tr> | ||
| 123 | <tr·class="memdesc:ga6407ae0fc50439a66ca3570b161bfa19"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space.··<br·/></td></tr> | ||
| 124 | </table><table·class="memberdecls"> | ||
| 125 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 126 | Functions</h2></td></tr> | ||
| 127 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"·id="r_ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·typename·R·=·double>·</td></tr> | ||
| 128 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga5106c08bf6dd8eaca7d06075d581d760">Dune::Functions::BasisFactory::lagrange</a>·()</td></tr> | ||
| 129 | <tr·class="memdesc:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis.··<br·/></td></tr> | ||
| 130 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"·id="r_ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplParams"·colspan="2">template<typename·R·=·double>·</td></tr> | ||
| 131 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">Dune::Functions::BasisFactory::lagrange</a>·(int·order)</td></tr> | ||
| 132 | <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.··<br·/></td></tr> | ||
| 133 | </table> | 110 | </table> |
| 134 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
| 135 | </div><!--·doc-content·--> | 112 | </div><!--·doc-content·--> |
| 136 | <div·id="page-nav"·class="page-nav-panel"> | 113 | <div·id="page-nav"·class="page-nav-panel"> |
| 137 | <div·id="page-nav-resize-handle"></div> | 114 | <div·id="page-nav-resize-handle"></div> |
| 138 | <div·id="page-nav-tree"> | 115 | <div·id="page-nav-tree"> |
| 139 | <div·id="page-nav-contents"> | 116 | <div·id="page-nav-contents"> |
| 140 | </div><!--·page-nav-contents·--> | 117 | </div><!--·page-nav-contents·--> |
| 141 | </div><!--·page-nav-tree·--> | 118 | </div><!--·page-nav-tree·--> |
| 142 | </div><!--·page-nav·--> | 119 | </div><!--·page-nav·--> |
| 143 | </div><!--·container·--> | 120 | </div><!--·container·--> |
| 144 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
| 145 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 146 | ··<ul> | 123 | ··<ul> |
| 147 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_ | 124 | ····<li·class="navelem"><a·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li><li·class="navelem"><a·href="a00116.html">interfaces.hh</a></li> |
| 148 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> | 125 | ····<li·class="footer">Generated·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.15.0·</li> |
| 149 | ··</ul> | 126 | ··</ul> |
| 150 | </div> | 127 | </div> |
| 151 | </body> | 128 | </body> |
| 152 | </html> | 129 | </html> |
| Offset 1, 39 lines modified | Offset 1, 18 lines modified | ||
| 1 | [Logo]·Dune-Functions 2.11 | 1 | [Logo]·Dune-Functions 2.11 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | 5 | interfaces.hh·File·Reference | |
| 6 | #include·<type_traits> | 6 | #include·<type_traits> |
| 7 | #include·<dune/common/exceptions.hh> | ||
| 8 | #include·<dune/localfunctions/lagrange/cache.hh> | ||
| 9 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 10 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 12 | #include·<dune/grid/common/capabilities.hh> | ||
| 13 | Go_to_the_source_code_of_this_file. | 7 | Go_to_the_source_code_of_this_file. |
| 14 | Classes | 8 | Classes |
| 9 | class· ·Dune::Functions::PolymorphicType<_Interface_> | ||
| 10 | ·······Base·class·with·polymorphic·type·boiler·plate·code.·More... | ||
| 15 | class· ·Dune::Functions::LagrangePreBasis<_GV,_k,_R_> | ||
| 16 | ·······A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·More... | ||
| 17 | class· ·Dune::Functions::LagrangeNode<_GV,_k,_R_> | ||
| 18 | Namespaces | 11 | Namespaces |
| 19 | namespace· ·Dune | 12 | namespace· ·Dune |
| 20 | namespace· ·Dune::Functions | 13 | namespace· ·Dune::Functions |
| 21 | namespace· ·Dune::Functions::BasisFactory | ||
| 22 | Typedefs | ||
| 23 | template<typename·GV,·int·k·=·-1,·typename·R·=·double> | ||
| 24 | using ·Dune::Functions::LagrangeBasis·=·DefaultGlobalBasis<LagrangePreBasis<GV, | ||
| 25 | ·······k,·R>·> | ||
| 26 | ······Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space. | ||
| 27 | Functions | ||
| 28 | template<std::size_t·k,·typename·R·=·double> | ||
| 29 | auto ·Dune::Functions::BasisFactory::lagrange·() | ||
| 30 | ·····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis. | ||
| 31 | template<typename·R·=·double> | ||
| 32 | auto ·Dune::Functions::BasisFactory::lagrange·(int·order) | ||
| 33 | ·····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a | ||
| 34 | ······run-time·order. | ||
| 35 | ····*·dune | 14 | ····*·dune |
| 36 | ····*·functions | 15 | ····*·functions |
| 37 | ····*·functionspacebases | ||
| 38 | ····*· | 16 | ····*·common |
| 17 | ····*·interfaces.hh | ||
| 39 | ····*·Generated·by·[doxygen]1.15.0 | 18 | ····*·Generated·by·[doxygen]1.15.0 |
| 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"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> | 6 | <meta·name="generator"·content="Doxygen·1.15.0"/> |
| 7 | <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 | <script·type="text/javascript"·src="clipboard.js"></script> | 12 | <script·type="text/javascript"·src="clipboard.js"></script> |
| 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 13 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
| 14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
| 15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
| Offset 88, 594 lines modified | Offset 88, 70 lines modified | ||
| 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 88 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
| 89 | </div> | 89 | </div> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | </div> | 92 | </div> |
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title"> | 94 | ··<div·class="headertitle"><div·class="title">interfaces.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <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> | 97 | <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> |
| 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 98 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR·LGPL-3.0-or-later</span></div> |
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_INTERFACES_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_INTERFACES_HH</span></div> |
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span> | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/cache.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00167.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> | ||
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 117 | <div·class="line"><a·id="l000 | 109 | <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="a00317.html">Dune</a>·{</div> |
| 118 | <div·class="line"><a·id="l000 | 110 | <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="a00318.html">Functions</a>·{</div> |
| 119 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains</span></div> | ||
| 122 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 123 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> |
| 124 | <div·class="line"><a·id="l0002 | 114 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> |
| 115 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> | ||
| 116 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01378.html">···28</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01378.html">PolymorphicType</a></div> | ||
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 117 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 128 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div> |
| 129 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span></div> |
| 120 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> | ||
| 121 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01378.html#ae65ec09f3c0f320f0e5890c3e028fa2a">···33</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01378.html#ae65ec09f3c0f320f0e5890c3e028fa2a">~PolymorphicType</a>()</div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{}</div> |
| 131 | <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> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01930.html">LagrangeNode</a>;</div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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> | ||
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01934.html">LagrangePreBasis</a>;</div> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span></div> | ||
| 139 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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> | ||
| 140 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="};"> | ||
| 141 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01934.html">···63</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01934.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>·:</div> | ||
| 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01946.html">LeafPreBasisMixin</a><·LagrangePreBasis<GV,k,R>·></div> | ||
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>{</div> | ||
| 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 145 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·useDynamicOrder·=·(k<0);</div> | ||
| 146 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">public</span>:</div> | ||
| 148 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span></div> | ||
| 149 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01934.html#aaa2add570edd22047fd5cfba570dd982">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01934.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>·=·GV;</div> | ||
| 150 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> | ||
| 151 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01934.html#a62ff21d04ec74a6f369d6ba2cab1155a">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01934.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·=·std::size_t;</div> | ||
| 152 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span></div> | ||
| 153 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01934.html#a2762f1eade252d79b05070788f18012d">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01934.html#a2762f1eade252d79b05070788f18012d">Node</a>·=·<a·class="code·hl_class"·href="a01930.html">LagrangeNode<GV,·k,·R></a>;</div> | ||
| 154 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span></div> | ||
| 155 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> | ||
| 156 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01934.html#a982937b8e5348046761303330fc35d18">···81</a></span>··<a·class="code·hl_function"·href="a01934.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01934.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv)</div> | ||
| 157 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··:·<a·class="code·hl_function"·href="a01934.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>(gv,·std::numeric_limits<unsigned·int>::max())</div> | ||
| 158 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> | ||
| 159 | </div> | 123 | </div> |
| 160 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span></div> | ||
| 161 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 162 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01934.html#a791cbc108e89b7effc1c668b800667bb">···86</a></span>··<a·class="code·hl_function"·href="a01934.html#a791cbc108e89b7effc1c668b800667bb">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01934.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01934.html#abbd87ea8be342b39e287babfec846db4">order</a>)·:</div> | ||
| 163 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_variable"·href="a01934.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>(gv),·<a·class="code·hl_variable"·href="a01934.html#a11e81295a666f35d4194270867721960">order_</a>(<a·class="code·hl_function"·href="a01934.html#abbd87ea8be342b39e287babfec846db4">order</a>)</div> | ||
| 164 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div> | ||
| 165 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordflow">if</span>·(!useDynamicOrder·&&·<a·class="code·hl_function"·href="a01934.html#abbd87ea8be342b39e287babfec846db4">order</a>!=std::numeric_limits<unsigned·int>::max())</div> | ||
| 166 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······DUNE_THROW(RangeError,·<span·class="stringliteral">"Template·argument·k·has·to·be·-1·when·supplying·a·run-time·order!"</span>);</div> | ||
| 167 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
| 168 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i<=dim;·i++)</div> | ||
| 169 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span></div> |
| 125 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01378.html#a56439d136ed112196bb2bf1a7aca42e7">···44</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01378.html#a56439d136ed112196bb2bf1a7aca42e7">clone</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
| 170 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<a·class="code·hl_variable"·href="a01934.html#abfa5632c391ed7160d081c63ab154377">dofsPerCube_</a>[i]·=·<a·class="code·hl_function"·href="a01934.html#a015986cee132f7ebd91ad8f3845a84be">computeDofsPerCube</a>(i);</div> | ||
| 171 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<a·class="code·hl_variable"·href="a01934.html#a39dcb5d78ac1216c75a75660e2d61849">dofsPerSimplex_</a>[i]·=·<a·class="code·hl_function"·href="a01934.html#a01edf36372c30d045823bb5a330526e6">computeDofsPerSimplex</a>(i);</div> | ||
| 172 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span></div> |
| 173 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<a·class="code·hl_variable"·href="a01934.html#ade4d334b8ac70f9c18fc15a9eba04815">dofsPerPrism_</a>·=·<a·class="code·hl_function"·href="a01934.html#a0c0e8ce0766d2a59986cb5daebe86132">computeDofsPerPrism</a>();</div> | ||
| 174 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01378.html#a342f459670ff8ac9ef58314a95ca972d">···55</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01378.html#a342f459670ff8ac9ef58314a95ca972[·...·truncated·by·diffoscope;·len:·98,·SHA:·b0680e1896b20af3e4b017365a898265c7ec2a9375b5f40688b9d9b21d8afa6c·...·];</div> |
| 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span></div> | ||
| 129 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01378.html#a937e58884f58dfac27f85c80024be57c">···66</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01378.html#a937e58884f58dfac27f85c80024be57c">move</a>(<span·class="keywordtype">void</span>*·buffer)·=·0;</div> | ||
| 175 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>};</div> |
| 176 | </div> | ||
| 177 | <div·class="line"><a·id="l00100"· | ||