| 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 | ·4146364ed53cc3430b8531c930496d94·5497412·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····2 | 2 | -rw-r--r--···0········0········0····23012·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··5474208·2026-02-06·16:11:35.000000·data.tar.xz |
| Offset 1, 37 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_source.html | 5 | usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html |
| 6 | usr/share/doc/libdune-functions-doc/doxygen/a00044.html | 6 | usr/share/doc/libdune-functions-doc/doxygen/a00044.html |
| 7 | usr/share/doc/libdune-functions-doc/doxygen/a00044.js | ||
| 8 | usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html | 7 | usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html |
| 9 | usr/share/doc/libdune-functions-doc/doxygen/a00047.html | 8 | usr/share/doc/libdune-functions-doc/doxygen/a00047.html |
| 10 | usr/share/doc/libdune-functions-doc/doxygen/a00047.js | 9 | usr/share/doc/libdune-functions-doc/doxygen/a00047.js |
| 11 | usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html | 10 | usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html |
| 12 | usr/share/doc/libdune-functions-doc/doxygen/a00050.html | 11 | usr/share/doc/libdune-functions-doc/doxygen/a00050.html |
| 12 | usr/share/doc/libdune-functions-doc/doxygen/a00050.js | ||
| 13 | 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 | 14 | usr/share/doc/libdune-functions-doc/doxygen/a00053.html |
| 15 | usr/share/doc/libdune-functions-doc/doxygen/a00053.js | ||
| 15 | usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html | 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_source.html | 24 | usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html |
| 24 | usr/share/doc/libdune-functions-doc/doxygen/a00065.html | 25 | usr/share/doc/libdune-functions-doc/doxygen/a00065.html |
| 26 | usr/share/doc/libdune-functions-doc/doxygen/a00065.js | ||
| 25 | usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html | 27 | usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html |
| 26 | usr/share/doc/libdune-functions-doc/doxygen/a00068.html | 28 | usr/share/doc/libdune-functions-doc/doxygen/a00068.html |
| 27 | usr/share/doc/libdune-functions-doc/doxygen/a00068.js | ||
| 28 | usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html | 29 | usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html |
| 29 | usr/share/doc/libdune-functions-doc/doxygen/a00071.html | 30 | usr/share/doc/libdune-functions-doc/doxygen/a00071.html |
| 30 | usr/share/doc/libdune-functions-doc/doxygen/a00071.js | ||
| 31 | usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html | 31 | usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html |
| 32 | usr/share/doc/libdune-functions-doc/doxygen/a00074.html | 32 | usr/share/doc/libdune-functions-doc/doxygen/a00074.html |
| 33 | usr/share/doc/libdune-functions-doc/doxygen/a00074.js | 33 | usr/share/doc/libdune-functions-doc/doxygen/a00074.js |
| 34 | usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | 34 | usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html |
| 35 | usr/share/doc/libdune-functions-doc/doxygen/a00077.html | 35 | usr/share/doc/libdune-functions-doc/doxygen/a00077.html |
| 36 | usr/share/doc/libdune-functions-doc/doxygen/a00077.js | 36 | usr/share/doc/libdune-functions-doc/doxygen/a00077.js |
| 37 | usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html | 37 | usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html |
| Offset 43, 72 lines modified | Offset 43, 80 lines modified | ||
| 43 | usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html | 43 | usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html |
| 44 | usr/share/doc/libdune-functions-doc/doxygen/a00086.html | 44 | usr/share/doc/libdune-functions-doc/doxygen/a00086.html |
| 45 | usr/share/doc/libdune-functions-doc/doxygen/a00086.js | 45 | usr/share/doc/libdune-functions-doc/doxygen/a00086.js |
| 46 | usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html | 46 | usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html |
| 47 | usr/share/doc/libdune-functions-doc/doxygen/a00089.html | 47 | usr/share/doc/libdune-functions-doc/doxygen/a00089.html |
| 48 | usr/share/doc/libdune-functions-doc/doxygen/a00089.js | 48 | usr/share/doc/libdune-functions-doc/doxygen/a00089.js |
| 49 | usr/share/doc/libdune-functions-doc/doxygen/a00089_source.html | 49 | usr/share/doc/libdune-functions-doc/doxygen/a00089_source.html |
| 50 | usr/share/doc/libdune-functions-doc/doxygen/a00092.html | ||
| 51 | usr/share/doc/libdune-functions-doc/doxygen/a00092.js | ||
| 52 | usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html | ||
| 50 | usr/share/doc/libdune-functions-doc/doxygen/a00095.html | 53 | usr/share/doc/libdune-functions-doc/doxygen/a00095.html |
| 51 | usr/share/doc/libdune-functions-doc/doxygen/a00095.js | 54 | usr/share/doc/libdune-functions-doc/doxygen/a00095.js |
| 52 | usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html | 55 | usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html |
| 53 | usr/share/doc/libdune-functions-doc/doxygen/a00098.html | 56 | usr/share/doc/libdune-functions-doc/doxygen/a00098.html |
| 57 | usr/share/doc/libdune-functions-doc/doxygen/a00098.js | ||
| 54 | usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html | 58 | usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html |
| 55 | usr/share/doc/libdune-functions-doc/doxygen/a00101.html | 59 | usr/share/doc/libdune-functions-doc/doxygen/a00101.html |
| 56 | usr/share/doc/libdune-functions-doc/doxygen/a00101.js | 60 | usr/share/doc/libdune-functions-doc/doxygen/a00101.js |
| 57 | usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html | 61 | usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html |
| 58 | usr/share/doc/libdune-functions-doc/doxygen/a00104.html | 62 | usr/share/doc/libdune-functions-doc/doxygen/a00104.html |
| 63 | usr/share/doc/libdune-functions-doc/doxygen/a00104.js | ||
| 59 | usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html | 64 | usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html |
| 60 | usr/share/doc/libdune-functions-doc/doxygen/a00107.html | 65 | usr/share/doc/libdune-functions-doc/doxygen/a00107.html |
| 61 | usr/share/doc/libdune-functions-doc/doxygen/a00107.js | 66 | usr/share/doc/libdune-functions-doc/doxygen/a00107.js |
| 62 | usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html | 67 | usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html |
| 63 | usr/share/doc/libdune-functions-doc/doxygen/a00110.html | ||
| 64 | usr/share/doc/libdune-functions-doc/doxygen/a00110.js | ||
| 65 | usr/share/doc/libdune-functions-doc/doxygen/a00110_source.html | ||
| 66 | usr/share/doc/libdune-functions-doc/doxygen/a00113.html | 68 | usr/share/doc/libdune-functions-doc/doxygen/a00113.html |
| 67 | usr/share/doc/libdune-functions-doc/doxygen/a00113.js | 69 | usr/share/doc/libdune-functions-doc/doxygen/a00113.js |
| 68 | usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html | 70 | usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html |
| 69 | usr/share/doc/libdune-functions-doc/doxygen/a00116.html | 71 | usr/share/doc/libdune-functions-doc/doxygen/a00116.html |
| 70 | usr/share/doc/libdune-functions-doc/doxygen/a00116.js | 72 | usr/share/doc/libdune-functions-doc/doxygen/a00116.js |
| 71 | usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html | 73 | usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html |
| 72 | usr/share/doc/libdune-functions-doc/doxygen/a00119.html | 74 | usr/share/doc/libdune-functions-doc/doxygen/a00119.html |
| 73 | usr/share/doc/libdune-functions-doc/doxygen/a00119.js | 75 | usr/share/doc/libdune-functions-doc/doxygen/a00119.js |
| 74 | usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html | 76 | usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html |
| 75 | usr/share/doc/libdune-functions-doc/doxygen/a00122.html | 77 | usr/share/doc/libdune-functions-doc/doxygen/a00122.html |
| 76 | usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html | 78 | usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html |
| 77 | usr/share/doc/libdune-functions-doc/doxygen/a00125.html | 79 | usr/share/doc/libdune-functions-doc/doxygen/a00125.html |
| 78 | usr/share/doc/libdune-functions-doc/doxygen/a00125.js | ||
| 79 | usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html | 80 | usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html |
| 80 | usr/share/doc/libdune-functions-doc/doxygen/a00128.html | 81 | usr/share/doc/libdune-functions-doc/doxygen/a00128.html |
| 82 | usr/share/doc/libdune-functions-doc/doxygen/a00128.js | ||
| 81 | usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html | 83 | usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html |
| 82 | usr/share/doc/libdune-functions-doc/doxygen/a00131.html | 84 | usr/share/doc/libdune-functions-doc/doxygen/a00131.html |
| 83 | usr/share/doc/libdune-functions-doc/doxygen/a00131.js | 85 | usr/share/doc/libdune-functions-doc/doxygen/a00131.js |
| 84 | usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html | 86 | usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html |
| 85 | usr/share/doc/libdune-functions-doc/doxygen/a00134.html | 87 | usr/share/doc/libdune-functions-doc/doxygen/a00134.html |
| 88 | usr/share/doc/libdune-functions-doc/doxygen/a00134.js | ||
| 86 | usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html | 89 | usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html |
| 87 | usr/share/doc/libdune-functions-doc/doxygen/a00137.html | 90 | usr/share/doc/libdune-functions-doc/doxygen/a00137.html |
| 88 | usr/share/doc/libdune-functions-doc/doxygen/a00137.js | 91 | usr/share/doc/libdune-functions-doc/doxygen/a00137.js |
| 89 | usr/share/doc/libdune-functions-doc/doxygen/a00137_source.html | 92 | usr/share/doc/libdune-functions-doc/doxygen/a00137_source.html |
| 90 | usr/share/doc/libdune-functions-doc/doxygen/a00140.html | 93 | usr/share/doc/libdune-functions-doc/doxygen/a00140.html |
| 91 | usr/share/doc/libdune-functions-doc/doxygen/a00140.js | 94 | usr/share/doc/libdune-functions-doc/doxygen/a00140.js |
| 92 | usr/share/doc/libdune-functions-doc/doxygen/a00140_source.html | 95 | usr/share/doc/libdune-functions-doc/doxygen/a00140_source.html |
| 93 | usr/share/doc/libdune-functions-doc/doxygen/a00143.html | 96 | usr/share/doc/libdune-functions-doc/doxygen/a00143.html |
| 97 | usr/share/doc/libdune-functions-doc/doxygen/a00143.js | ||
| 94 | usr/share/doc/libdune-functions-doc/doxygen/a00143_source.html | 98 | usr/share/doc/libdune-functions-doc/doxygen/a00143_source.html |
| 95 | usr/share/doc/libdune-functions-doc/doxygen/a00146.html | 99 | usr/share/doc/libdune-functions-doc/doxygen/a00146.html |
| 96 | usr/share/doc/libdune-functions-doc/doxygen/a00146.js | 100 | usr/share/doc/libdune-functions-doc/doxygen/a00146.js |
| 97 | usr/share/doc/libdune-functions-doc/doxygen/a00146_source.html | 101 | usr/share/doc/libdune-functions-doc/doxygen/a00146_source.html |
| 98 | usr/share/doc/libdune-functions-doc/doxygen/a00149.html | 102 | usr/share/doc/libdune-functions-doc/doxygen/a00149.html |
| 103 | usr/share/doc/libdune-functions-doc/doxygen/a00149.js | ||
| 99 | usr/share/doc/libdune-functions-doc/doxygen/a00149_source.html | 104 | usr/share/doc/libdune-functions-doc/doxygen/a00149_source.html |
| 100 | usr/share/doc/libdune-functions-doc/doxygen/a00152.html | 105 | usr/share/doc/libdune-functions-doc/doxygen/a00152.html |
| 106 | usr/share/doc/libdune-functions-doc/doxygen/a00152.js | ||
| 101 | usr/share/doc/libdune-functions-doc/doxygen/a00152_source.html | 107 | usr/share/doc/libdune-functions-doc/doxygen/a00152_source.html |
| 102 | usr/share/doc/libdune-functions-doc/doxygen/a00155.html | 108 | usr/share/doc/libdune-functions-doc/doxygen/a00155.html |
| 109 | usr/share/doc/libdune-functions-doc/doxygen/a00155.js | ||
| 103 | usr/share/doc/libdune-functions-doc/doxygen/a00155_source.html | 110 | usr/share/doc/libdune-functions-doc/doxygen/a00155_source.html |
| 104 | usr/share/doc/libdune-functions-doc/doxygen/a00158.html | 111 | usr/share/doc/libdune-functions-doc/doxygen/a00158.html |
| 105 | usr/share/doc/libdune-functions-doc/doxygen/a00158.js | 112 | usr/share/doc/libdune-functions-doc/doxygen/a00158.js |
| 106 | usr/share/doc/libdune-functions-doc/doxygen/a00158_source.html | 113 | usr/share/doc/libdune-functions-doc/doxygen/a00158_source.html |
| 107 | usr/share/doc/libdune-functions-doc/doxygen/a00161.html | 114 | usr/share/doc/libdune-functions-doc/doxygen/a00161.html |
| 115 | usr/share/doc/libdune-functions-doc/doxygen/a00161.js | ||
| 108 | usr/share/doc/libdune-functions-doc/doxygen/a00161_source.html | 116 | usr/share/doc/libdune-functions-doc/doxygen/a00161_source.html |
| 109 | usr/share/doc/libdune-functions-doc/doxygen/a00164.html | 117 | usr/share/doc/libdune-functions-doc/doxygen/a00164.html |
| 110 | usr/share/doc/libdune-functions-doc/doxygen/a00164.js | 118 | usr/share/doc/libdune-functions-doc/doxygen/a00164.js |
| 111 | usr/share/doc/libdune-functions-doc/doxygen/a00164_source.html | 119 | usr/share/doc/libdune-functions-doc/doxygen/a00164_source.html |
| 112 | usr/share/doc/libdune-functions-doc/doxygen/a00167.html | 120 | usr/share/doc/libdune-functions-doc/doxygen/a00167.html |
| 113 | usr/share/doc/libdune-functions-doc/doxygen/a00167.js | 121 | usr/share/doc/libdune-functions-doc/doxygen/a00167.js |
| 114 | usr/share/doc/libdune-functions-doc/doxygen/a00167_source.html | 122 | usr/share/doc/libdune-functions-doc/doxygen/a00167_source.html |
| Offset 127, 15 lines modified | Offset 135, 14 lines modified | ||
| 127 | usr/share/doc/libdune-functions-doc/doxygen/a00182.html | 135 | usr/share/doc/libdune-functions-doc/doxygen/a00182.html |
| Max diff block lines reached; 4131/11572 bytes (35.70%) 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)·····5678·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)····46487·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html | ||
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7350·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.html | ||
| 13 | -rw-r--r--···0·root·········(0)·root·········(0)······298·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.js | ||
| 14 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 11 | -rw-r--r--···0·root·········(0)·root·········(0)····15530·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html |
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····6117·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.html | ||
| 13 | -rw-r--r--···0·root·········(0)·root·········(0)····23978·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html | ||
| 15 | -rw-r--r--···0·root·········(0)·root·········(0)·····8279·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····8279·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.html |
| 16 | -rw-r--r--···0·root·········(0)·root·········(0)······229·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.js | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······229·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.js |
| 17 | -rw-r--r--···0·root·········(0)·root·········(0)····40776·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html | 16 | -rw-r--r--···0·root·········(0)·root·········(0)····40776·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html |
| 18 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 17 | -rw-r--r--···0·root·········(0)·root·········(0)·····9334·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.html |
| 19 | -rw-r--r--···0·root·········(0)·root·········(0)····58596·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html | ||
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······349·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)····1 | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····18796·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html |
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)····12021·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.html | ||
| 21 | -rw-r--r--···0·root·········(0)·root·········(0)······738·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.js | ||
| 22 | -rw-r--r--···0·root·········(0)·root·········(0)···140764·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html | ||
| 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····7664·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)·····7664·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)······138·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)······138·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)····32568·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)····32568·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)·····9334·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.html | ||
| 26 | -rw-r--r--···0·root·········(0)·root·········(0)······349·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)····18796·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html | ||
| 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····6117·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.html | ||
| 29 | -rw-r--r--···0·root·········(0)·root·········(0)····23978·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html | ||
| 30 | -rw-r--r--···0·root·········(0)·root·········(0)·····6696·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065.html | ||
| 31 | -rw-r--r--···0·root·········(0)·root·········(0)····36929·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html | ||
| 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····8905·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····8905·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.html |
| 33 | -rw-r--r--···0·root·········(0)·root·········(0)······237·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 27 | -rw-r--r--···0·root·········(0)·root·········(0)······237·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.js |
| 34 | -rw-r--r--···0·root·········(0)·root·········(0)····52097·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 28 | -rw-r--r--···0·root·········(0)·root·········(0)····52097·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html |
| 35 | -rw-r--r--···0·root·········(0)·root·········(0)····12021·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071.html | ||
| 36 | -rw-r--r--···0·root·········(0)·root·········(0)······738·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071.js | ||
| 37 | -rw-r--r--···0·root·········(0)·root·········(0)···140764·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html | ||
| 38 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 29 | -rw-r--r--···0·root·········(0)·root·········(0)·····6696·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.html |
| 39 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 30 | -rw-r--r--···0·root·········(0)·root·········(0)····36929·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)···· | 31 | -rw-r--r--···0·root·········(0)·root·········(0)·····7350·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)···· | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······298·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065.js |
| 42 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 33 | -rw-r--r--···0·root·········(0)·root·········(0)····14613·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)···· | 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)···· | 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 |
| 45 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 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 |
| 46 | -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 |
| 47 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 38 | -rw-r--r--···0·root·········(0)·root·········(0)·····9150·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.html |
| 48 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 39 | -rw-r--r--···0·root·········(0)·root·········(0)······411·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.js |
| 49 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 40 | -rw-r--r--···0·root·········(0)·root·········(0)····48829·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html |
| 50 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 41 | -rw-r--r--···0·root·········(0)·root·········(0)·····6382·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.html |
| 51 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 42 | -rw-r--r--···0·root·········(0)·root·········(0)······104·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.js |
| 52 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····36705·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html |
| 53 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····9484·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.html |
| 54 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 45 | -rw-r--r--···0·root·········(0)·root·········(0)······326·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.js |
| 55 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 46 | -rw-r--r--···0·root·········(0)·root·········(0)····41581·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html |
| 56 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 47 | -rw-r--r--···0·root·········(0)·root·········(0)·····9935·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.html |
| 57 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 48 | -rw-r--r--···0·root·········(0)·root·········(0)······430·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.js |
| 58 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 49 | -rw-r--r--···0·root·········(0)·root·········(0)····65713·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html |
| 59 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····9555·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086.html |
| 60 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 51 | -rw-r--r--···0·root·········(0)·root·········(0)······312·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086.js |
| 61 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 52 | -rw-r--r--···0·root·········(0)·root·········(0)····39397·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)····· | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····9983·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)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)······412·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)··· | 55 | -rw-r--r--···0·root·········(0)·root·········(0)···119410·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)···· | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····6322·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)····· | 57 | -rw-r--r--···0·root·········(0)·root·········(0)······104·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)···· | 58 | -rw-r--r--···0·root·········(0)·root·········(0)····18777·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)···· | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·····8129·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)···· | 60 | -rw-r--r--···0·root·········(0)·root·········(0)······325·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)···· | 61 | -rw-r--r--···0·root·········(0)·root·········(0)····19137·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)···· | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····11086·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)····· | 63 | -rw-r--r--···0·root·········(0)·root·········(0)······739·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098.js |
| 73 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 64 | -rw-r--r--···0·root·········(0)·root·········(0)····28727·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html |
| 74 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····8725·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101.html |
| 75 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 66 | -rw-r--r--···0·root·········(0)·root·········(0)······310·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101.js |
| 76 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····28737·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html |
| 77 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····8102·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104.html |
| 78 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 69 | -rw-r--r--···0·root·········(0)·root·········(0)······209·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104.js |
| 79 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 70 | -rw-r--r--···0·root·········(0)·root·········(0)····30565·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html |
| 80 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 71 | -rw-r--r--···0·root·········(0)·root·········(0)····10161·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107.html |
| 81 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 72 | -rw-r--r--···0·root·········(0)·root·········(0)······193·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107.js |
| 82 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)···143927·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html |
| 83 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 74 | -rw-r--r--···0·root·········(0)·root·········(0)····11960·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113.html |
| 84 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 75 | -rw-r--r--···0·root·········(0)·root·········(0)······296·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113.js |
| 85 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 76 | -rw-r--r--···0·root·········(0)·root·········(0)···224405·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html |
| 86 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 77 | -rw-r--r--···0·root·········(0)·root·········(0)·····6452·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116.html |
| 87 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 78 | -rw-r--r--···0·root·········(0)·root·········(0)·······94·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116.js |
| 88 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····14502·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html |
| 89 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 80 | -rw-r--r--···0·root·········(0)·root·········(0)·····9685·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119.html |
| 90 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······789·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119.js |
| 91 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 82 | -rw-r--r--···0·root·········(0)·root·········(0)····99734·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html |
| 92 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 83 | -rw-r--r--···0·root·········(0)·root·········(0)·····5534·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122.html |
| 93 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 84 | -rw-r--r--···0·root·········(0)·root·········(0)····19797·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html |
| 94 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 85 | -rw-r--r--···0·root·········(0)·root·········(0)·····5438·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125.html |
| 95 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)····14410·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html |
| 96 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 87 | -rw-r--r--···0·root·········(0)·root·········(0)·····7800·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128.html |
| 97 | -rw-r--r--···0·root·········(0)·root·········(0)······ | 88 | -rw-r--r--···0·root·········(0)·root·········(0)······310·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128.js |
| 98 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 89 | -rw-r--r--···0·root·········(0)·root·········(0)····32298·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html |
| 99 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 90 | -rw-r--r--···0·root·········(0)·root·········(0)·····9294·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131.html |
| 100 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 91 | -rw-r--r--···0·root·········(0)·root·········(0)······317·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131.js |
| 101 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 92 | -rw-r--r--···0·root·········(0)·root·········(0)····51286·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html |
| 102 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····9222·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134.html |
| 103 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 94 | -rw-r--r--···0·root·········(0)·root·········(0)······445·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134.js |
| 104 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 95 | -rw-r--r--···0·root·········(0)·root·········(0)····24786·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html |
| 105 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 96 | -rw-r--r--···0·root·········(0)·root·········(0)·····9938·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00137.html |
| 106 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 97 | -rw-r--r--···0·root·········(0)·root·········(0)······232·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00137.js |
| 107 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 98 | -rw-r--r--···0·root·········(0)·root·········(0)····89656·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00137_source.html |
| 108 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 99 | -rw-r--r--···0·root·········(0)·root·········(0)·····9358·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00140.html |
| 109 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 100 | -rw-r--r--···0·root·········(0)·root·········(0)······398·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00140.js |
| 110 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 101 | -rw-r--r--···0·root·········(0)·root·········(0)····73483·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00140_source.html |
| 111 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 102 | -rw-r--r--···0·root·········(0)·root·········(0)····17530·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00143.html |
| 112 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 103 | -rw-r--r--···0·root·········(0)·root·········(0)·····1428·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00143.js |
| 113 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 104 | -rw-r--r--···0·root·········(0)·root·········(0)····73624·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00143_source.html |
| 114 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 105 | -rw-r--r--···0·root·········(0)·root·········(0)·····8745·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00146.html |
| 115 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 106 | -rw-r--r--···0·root·········(0)·root·········(0)······251·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00146.js |
| 116 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····52279·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00146_source.html |
| 117 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····9331·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00149.html |
| 118 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 109 | -rw-r--r--···0·root·········(0)·root·········(0)······487·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00149.js |
| 119 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 110 | -rw-r--r--···0·root·········(0)·root·········(0)····41518·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00149_source.html |
| 120 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 111 | -rw-r--r--···0·root·········(0)·root·········(0)····12771·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00152.html |
| 121 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00152.js |
| 122 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 113 | -rw-r--r--···0·root·········(0)·root·········(0)····67782·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00152_source.html |
| 123 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····6694·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00155.html |
| 124 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 115 | -rw-r--r--···0·root·········(0)·root·········(0)·······98·2026-02-06·16:11:35.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00155.js |
| Max diff block lines reached; 3317/67416 bytes (4.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:·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, 33 lines modified | Offset 88, 23 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·<optional></code><br·/> | ||
| 98 | <code>#include·<type_traits></code><br·/> | ||
| 99 | <code>#include·<utility></code><br·/> | ||
| 100 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00 | 97 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00227_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00 | 98 | <code>#include·<<a·class="el"·href="a00239_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a00248_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 105 | </div> | 100 | </div> |
| 106 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 107 | <table·class="memberdecls"> | 102 | <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> | ||
| 109 | Classes</h2></td></tr> | ||
| 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· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02194.html">Dune::Functions::CoarseFunctionOnFineGridView<·GridFunction,·GV,·DerivativeTraits·></a></td></tr> | ||
| 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> | ||
| 112 | </table><table·class="memberdecls"> | ||
| 113 | <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> |
| 114 | Namespaces</h2></td></tr> | 104 | 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> | 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> |
| 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> | 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> |
| 117 | </table> | 107 | </table> |
| 118 | </div><!--·contents·--> | 108 | </div><!--·contents·--> |
| 119 | </div><!--·doc-content·--> | 109 | </div><!--·doc-content·--> |
| Offset 125, 13 lines modified | Offset 115, 13 lines modified | ||
| 125 | </div><!--·page-nav-contents·--> | 115 | </div><!--·page-nav-contents·--> |
| 126 | </div><!--·page-nav-tree·--> | 116 | </div><!--·page-nav-tree·--> |
| 127 | </div><!--·page-nav·--> | 117 | </div><!--·page-nav·--> |
| 128 | </div><!--·container·--> | 118 | </div><!--·container·--> |
| 129 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
| 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 120 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 131 | ··<ul> | 121 | ··<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_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00041.html"> | 122 | ····<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">gridfunction_imp.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> | 123 | ····<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> | 124 | ··</ul> |
| 135 | </div> | 125 | </div> |
| 136 | </body> | 126 | </body> |
| 137 | </html> | 127 | </html> |
| Offset 1, 27 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 | coarsefunctiononfinegridview.hh·File·Reference | ||
| 6 | #include·<optional> | ||
| 7 | #include·<type_traits> | ||
| 8 | #include·<utility> | ||
| 9 | #include·<dune/common/referencehelper.hh> | ||
| 10 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 11 | #include·<dune/functions/common/ | 6 | #include·<dune/functions/common/type_traits.hh> |
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 13 | #include·<dune/functions/ | 7 | #include·<dune/functions/common/interfaces.hh> |
| 8 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 14 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | ||
| 16 | class· ·Dune::Functions::CoarseFunctionOnFineGridView<_GridFunction,_GV, | ||
| 17 | ········DerivativeTraits_> | ||
| 18 | ·······A·wrapper·representing·a·coarse·grid·function·on·a·fine·gridview. | ||
| 19 | ········More... | ||
| 20 | Namespaces | 10 | Namespaces |
| 21 | namespace· ·Dune | 11 | namespace· ·Dune |
| 22 | namespace· ·Dune::Functions | 12 | namespace· ·Dune::Functions |
| 23 | ····*·dune | 13 | ····*·dune |
| 24 | ····*·functions | 14 | ····*·functions |
| 25 | ····*·gridfunctions | 15 | ····*·gridfunctions |
| 26 | ····*· | 16 | ····*·gridfunction_imp.hh |
| 27 | ····*·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, 236 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="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_GRIDFUNCTIONS_ | 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_GRIDFUNCTIONS_ | 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·<o | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00227.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="a00239.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·<utili | 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00248.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> | 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> | 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>·</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="a00098.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="a00143.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="a00056.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="a00062.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></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> |
| 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> | ||
| 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></div> | ||
| 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><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=Dune::Functions::DefaultDerivativeTraits></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> | ||
| 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> |
| 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span></div> | ||
| 125 | <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>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> | ||
| 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> | ||
| 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> | ||
| 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</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> | ||
| 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="l0004 | 138 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> |
| 131 | <div·class="line"><a·id="l0004 | 139 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> | ||
| 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 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>·=·GV;</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> | ||
| 140 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
| 141 | <div·class="line"><a·id="l000 | 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> | ||
| 142 | <div·class="line"><a·id="l0005 | 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> | ||
| 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> | ||
| 146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
| 147 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">public</span>:</div> |
| 148 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 149 | <div·class="line"><a·id="l000 | 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> | ||
| 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> | ||
| 153 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
| 154 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 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> | ||
| 156 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 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> | ||
| 150 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 160 | <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>· | 161 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 152 | <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> | ||
| 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">localFunction</a>(<a·class="code·hl_friend"·href="a02194.html#a23549a34a6c2a7b41633dce396fa5481">derivative</a>(std::declval<CoarseFunctionOnFineGridView>())));</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> | ||
| 155 | <div·class="line"><a·id="l0007 | 164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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> | ||
| 157 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······:·element_()</div> | ||
| 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> | ||
| Max diff block lines reached; 10878/54285 bytes (20.04%) of diff not shown. | |||
| Offset 1, 289 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_GRIDFUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<optional> | ||
| 19 | 11#include·<type_traits> | ||
| 20 | 1 | 18 | 10#include·<dune/functions/common/type_traits.hh> |
| 19 | 11#include·<dune/functions/common/interfaces.hh> | ||
| 20 | 12#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14 | 22 | 14 |
| 23 | 15 | 23 | 15 |
| 24 | 16namespace·Dune·{ | ||
| 24 | 16#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 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 | 25 | 17namespace·Functions·{ | |
| 30 | 22 | ||
| 31 | 26 | 18namespace·Imp·{ | |
| 27 | 19 | ||
| 28 | 23struct·HasFreeLocalFunction | ||
| 32 | 24 | 29 | 24{ |
| 33 | 39template<class·GridFunction,·class·GV,·template<class>·class | ||
| 34 | DerivativeTraits=Dune::Functions::DefaultDerivativeTraits> | ||
| 35 | 40class·CoarseFunctionOnFineGridView | ||
| 36 | 41{ | ||
| 37 | 30 | 25·template<class·F> | |
| 31 | 26·auto·require(F&&·f)·->·decltype( | ||
| 32 | 27·localFunction(f) | ||
| 33 | 28·); | ||
| 34 | 29}; | ||
| 35 | 30 | ||
| 36 | 31 | ||
| 37 | 32 | ||
| 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; | ||
| 38 | 43 | 51 | 43 |
| 39 | 44·auto&&·rawFunction()·const | ||
| 40 | 45·{ | ||
| 41 | 46·return·Dune::resolveRef(function_); | ||
| 42 | 47·} | ||
| 43 | 4 | 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> | ||
| 62 | 52{ | ||
| 63 | 53·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 64 | DerivativeInterface,·B>; | ||
| 44 | 65 | 54public: | |
| 66 | 55·using·Base::Base; | ||
| 67 | 56 | ||
| 68 | 57·virtual·LocalFunctionInterface·wrappedLocalFunction()·const | ||
| 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 | 69 | 58·{ | |
| 64 | 66·using·Traits·=·typename·CoarseFunctionOnFineGridView::Traits:: | ||
| 65 | 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}; | ||
| 66 | 67 | 78 | 67 |
| 67 | 68 | 79 | 68 |
| 68 | 69 | 80 | 69 |
| 81 | 70}}}·//·namespace·Dune::Functions::Imp | ||
| 82 | 71 | ||
| 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 | 83 | 72 |
| 84 | 73 | ||
| 85 | 74#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH | ||
| 86 | type_traits.hh | ||
| 87 | interfaces.hh | ||
| 88 | differentiablefunction_imp.hh | ||
| Max diff block lines reached; 4447/12107 bytes (36.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:·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, 27 lines modified | Offset 88, 25 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 | </div> | 98 | </div> |
| 99 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> | 99 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 100 | <table·class="memberdecls"> | 100 | <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> | 101 | <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> | 102 | Classes</h2></td></tr> |
| 103 | <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"> | 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> |
| 105 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20Signature_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20Signature_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02294.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·></a></td></tr> | ||
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20R_28LocalDomain_29_3E"·id="r_Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20R_28LocalDomain_29_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02298.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)></a></td></tr> | ||
| 107 | </table><table·class="memberdecls"> | 105 | </table><table·class="memberdecls"> |
| 108 | <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> |
| 109 | Namespaces</h2></td></tr> | 107 | Namespaces</h2></td></tr> |
| 110 | <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> |
| 111 | <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> |
| 112 | </table> | 110 | </table> |
| 113 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
| Offset 120, 13 lines modified | Offset 118, 13 lines modified | ||
| 120 | </div><!--·page-nav-contents·--> | 118 | </div><!--·page-nav-contents·--> |
| 121 | </div><!--·page-nav-tree·--> | 119 | </div><!--·page-nav-tree·--> |
| 122 | </div><!--·page-nav·--> | 120 | </div><!--·page-nav·--> |
| 123 | </div><!--·container·--> | 121 | </div><!--·container·--> |
| 124 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
| 125 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 126 | ··<ul> | 124 | ··<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_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00044.html"> | 125 | ····<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">gridviewentityset.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> | 126 | ····<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> | 127 | ··</ul> |
| 130 | </div> | 128 | </div> |
| 131 | </body> | 129 | </body> |
| 132 | </html> | 130 | </html> |
| Offset 1, 22 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 | localderivativetraits.hh·File·Reference | ||
| 6 | 5 | gridviewentityset.hh·File·Reference | |
| 6 | #include·<memory> | ||
| 7 | Go_to_the_source_code_of_this_file. | 7 | Go_to_the_source_code_of_this_file. |
| 8 | Classes | 8 | Classes |
| 9 | class· ·Dune::Functions::GridViewEntitySet<_GV,_cd_> | ||
| 10 | ·······An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·More... | ||
| 9 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits_> | ||
| 10 | ········Derivative·traits·for·local·functions.·More... | ||
| 11 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 12 | ·········>::Traits<_Signature_> | ||
| 13 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 14 | ·········>::Traits<_R(LocalDomain)> | ||
| 15 | Namespaces | 11 | Namespaces |
| 16 | namespace· ·Dune | 12 | namespace· ·Dune |
| 17 | namespace· ·Dune::Functions | 13 | namespace· ·Dune::Functions |
| 18 | ····*·dune | 14 | ····*·dune |
| 19 | ····*·functions | 15 | ····*·functions |
| 20 | ····*·gridfunctions | 16 | ····*·gridfunctions |
| 21 | ····*· | 17 | ····*·gridviewentityset.hh |
| 22 | ····*·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, 79 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="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_GRIDFUNCTIONS_ | 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_GRIDFUNCTIONS_ | 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>·</div> | 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>·</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>·</div> | ||
| 110 | <div·class="line"><a·id="l0001 | 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> | 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></div> | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> |
| 114 | <div·class="line"><a·id="l000 | 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="foldopen000 | 115 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> |
| 116 | <div·class="line"><a·id="l000 | 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> |
| 117 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
| 118 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a02290.html#a2dc0b1d49311457bb686a04972f8aee4">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02290.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
| 119 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02290.html#a0339d22fe9243285caf3a79a286912b5">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02290.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
| 120 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
| 122 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> | ||
| 123 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02294.html">···37</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02294.html">Traits</a></div> | ||
| 124 | <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> |
| 125 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02294.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">···39</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01202.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a02294.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a>;</div> | ||
| 126 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 127 | </div> | 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#a1952f7f975b4[·...·truncated·by·diffoscope;·len:·36,·SHA:·228d45a5c00fac59be50991d16247c2225e6f1fd3e7161b004f4b7f157fa6d02·...·]/div> |
| 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> | ||
| 123 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··};</div> | ||
| 124 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span></div> | ||
| 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·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>;</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> | ||
| 128 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 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> | ||
| 129 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·R></div> | ||
| 130 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> | ||
| 131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02298.html">···43</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02294.html">Traits</a><R(<a·class="code·hl_typedef"·href="a02290.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>)></div> | ||
| 132 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span></div> |
| 133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a022 | 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·class="code·hl_typedef"·href="a02278.html#a82d03b324e66290459b11d00f5[·...·truncated·by·diffoscope;·len:·22,·SHA:·707a44934fab423959fdc97ff280391b7dc88dc9028f0074172ae82fa040ecdb·...·]</a>;</div> |
| 134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 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> | ||
| 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> | ||
| 138 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····gv_(gv)</div> | ||
| 139 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> | ||
| 135 | </div> | 140 | </div> |
| 136 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span></div> |
| 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> | ||
| 144 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">··</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> | ||
| 146 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> | ||
| 137 | </div> | 147 | </div> |
| 138 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> |
| 139 | <div·class=" | 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> | ||
| 140 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> |
| 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> | ||
| 141 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> |
| 142 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH</span></div> | ||
| 143 | < | 154 | </div> |
| 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> | ||
| 158 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">··</span>{</div> | ||
| 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> | ||
| 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="}"> | ||
| 164 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02278.html#a1e115d056b4517cbef7a2c2007132ab7">···74</a></span>··<a·class="code·hl_typedef"·href="a02278.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_function"·href="a02278.html#a1e115d056b4517cbef7a2c2007132ab7">end</a>()<span·class="keyword">·const</span></div> | ||
| 165 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">··</span>{</div> | ||
| 166 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordflow">return</span>·gv_.template·<a·class="code·hl_function"·href="a02278.html#a1e115d056b4517cbef7a2c2007132ab7">end<codim></a>();</div> | ||
| 167 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··}</div> | ||
| 168 | </div> | ||
| 169 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span></div> | ||
| 170 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
| 171 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02278.html#a3f882a9eb425fd9dae3c23c829512642">···80</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02278.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>&·<a·class="code·hl_function"·href="a02278.html#a3f882a9eb425fd9dae3c23c829512642">gridView</a>()<span·class="keyword">·const</span></div> | ||
| 172 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">··</span>{</div> | ||
| 173 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">return</span>·gv_;</div> | ||
| 174 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div> | ||
| 175 | </div> | ||
| 176 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
| 177 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> | ||
| 178 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<a·class="code·hl_typedef"·href="a02278.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>·gv_;</div> | ||
| 179 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>};</div> | ||
| 180 | </div> | ||
| 181 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
| 182 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
| 183 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//·end·of·namespace·Dune::Functions</span></div> | ||
| 184 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>}·<span·class="comment">//·end·of·namespace·Dune</span></div> | ||
| 185 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
| Max diff block lines reached; 9039/30473 bytes (29.66%) of diff not shown. | |||
| Offset 1, 82 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_GRIDFUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10 | ||
| 19 | 1 | 18 | 10#include·<memory> |
| 19 | 11 | ||
| 20 | 12 | 20 | 12 |
| 21 | 13 | ||
| 22 | 1 | 21 | 13namespace·Dune·{ |
| 22 | 14 | ||
| 23 | 15namespace·Functions·{ | 23 | 15namespace·Functions·{ |
| 24 | 16 | 24 | 16 |
| 25 | 17 | 25 | 17 |
| 26 | 30template<class·EntitySet,·template<class>·class | ||
| 27 | DerivativeTraits=DefaultDerivativeTraits> | ||
| 28 | 31struct·LocalDerivativeTraits | ||
| 29 | 32{ | ||
| 30 | 33·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 31 | 34·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 32 | 35 | ||
| 33 | 36·template<class·Signature> | ||
| 34 | 37·struct·Traits | ||
| 35 | 38·{ | ||
| 36 | 39·typedef·InvalidRange·Range; | ||
| 37 | 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; | ||
| 38 | 41 | 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; | ||
| 39 | 42·template<class·R> | ||
| 40 | 43·struct·Traits<R(LocalDomain)> | ||
| 41 | 44·{ | ||
| 42 | 45·using·Range·=·typename·DerivativeTraits<R(Domain)>::Range; | ||
| 43 | 46·}; | ||
| 44 | 47}; | ||
| 45 | 48 | ||
| 46 | 49 | 46 | 49 |
| 47 | 50}}·//·namespace·Dune::Functions | ||
| 48 | 51 | ||
| 49 | 52#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
| 50 | de | 47 | 51·GridViewEntitySet(const·GridView&·gv)·: |
| 48 | 52·gv_(gv) | ||
| 49 | 53·{} | ||
| 50 | 54 | ||
| 51 | 56·bool·contains(const·Element&·e)·const | ||
| 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·} | ||
| 65 | 72 | ||
| 66 | 74·const_iterator·end()·const | ||
| 67 | 75·{ | ||
| 68 | 76·return·gv_.template·end<codim>(); | ||
| 69 | 77·} | ||
| 70 | 78 | ||
| 71 | 80·const·GridView&·gridView()·const | ||
| 72 | 81·{ | ||
| 73 | 82·return·gv_; | ||
| 74 | 83·} | ||
| 75 | 84 | ||
| 76 | 85private: | ||
| 77 | 86·GridView·gv_; | ||
| 78 | 87}; | ||
| 79 | 88 | ||
| 80 | 89 | ||
| 81 | 90}·//·end·of·namespace·Dune::Functions | ||
| 82 | 91}·//·end·of·namespace·Dune | ||
| 83 | 92 | ||
| 84 | 93#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH | ||
| 51 | Dune | 85 | Dune |
| 52 | Definition·monomialset.hh:19 | 86 | Definition·monomialset.hh:19 |
| 53 | Dune::Functions | 87 | Dune::Functions |
| 54 | Definition·monomialset.hh:19 | 88 | Definition·monomialset.hh:19 |
| 55 | Dune::Functions::InvalidRange | ||
| 56 | Dummy·range·class·to·be·used·if·no·proper·type·is·available. | ||
| 57 | Definition·defaultderivativetraits.hh:27 | ||
| 58 | Dune::Functions::DefaultDerivativeTraits | ||
| 59 | Default·implementation·for·derivative·traits. | ||
| 60 | Definition·defaultderivativetraits.hh:41 | ||
| 61 | Dune::Functions::LocalDerivativeTraits | ||
| 62 | Derivative·traits·for·local·functions. | ||
| 63 | Definition·localderivativetraits.hh:32 | ||
| 64 | Dune::Functions::LocalDerivativeTraits::Domain | ||
| 65 | typename·EntitySet::GlobalCoordinate·Domain | ||
| 66 | Definition·localderivativetraits.hh:34 | ||
| 67 | Dune::Functions::LocalDerivativeTraits::LocalDomain | ||
| 68 | typename·EntitySet::LocalCoordinate·LocalDomain | ||
| 69 | Definition·localderivativetraits.hh:33 | ||
| 70 | Dune::Functions::LocalDerivativeTraits::Traits | ||
| Max diff block lines reached; 134/5941 bytes (2.26%) of diff not shown. | |||
| Offset 95, 16 lines modified | Offset 95, 16 lines modified | ||
| 95 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh·File·Reference</div></div> | 95 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh·File·Reference</div></div> |
| 96 | </div><!--header--> | 96 | </div><!--header--> |
| 97 | <div·class="contents"> | 97 | <div·class="contents"> |
| 98 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 98 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 99 | <code>#include·<tuple></code><br·/> | 99 | <code>#include·<tuple></code><br·/> |
| 100 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | 100 | <code>#include·<dune/common/referencehelper.hh></code><br·/> |
| 101 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 101 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 102 | <code>#include·<<a·class="el"·href="a00 | 102 | <code>#include·<<a·class="el"·href="a00272_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a00 | 103 | <code>#include·<<a·class="el"·href="a00215_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | 104 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 105 | </div> | 105 | </div> |
| 106 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 107 | <table·class="memberdecls"> | 107 | <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> | 108 | <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> | 109 | Classes</h2></td></tr> |
| 110 | <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.html">Dune::Functions::ComposedGridFunction<·OF,·IF·></a></td></tr> | 110 | <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.html">Dune::Functions::ComposedGridFunction<·OF,·IF·></a></td></tr> |
| Offset 106, 16 lines modified | Offset 106, 16 lines modified | ||
| 106 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 106 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 107 | <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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 108 | <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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> |
| 109 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 109 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 110 | <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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> |
| 111 | <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="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 112 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 112 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 113 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 113 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00272.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 114 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 114 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00215.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
| 115 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | 115 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
| 116 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 116 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 117 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 117 | <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><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | 118 | <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> |
| 119 | <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> | 119 | <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> |
| 120 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 120 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 121 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 121 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| Offset 274, 16 lines modified | Offset 274, 16 lines modified | ||
| 274 | <div·class="line"><a·id="l00265"·name="l00265"></a><span·class="lineno">··265</span>·</div> | 274 | <div·class="line"><a·id="l00265"·name="l00265"></a><span·class="lineno">··265</span>·</div> |
| 275 | <div·class="line"><a·id="l00266"·name="l00266"></a><span·class="lineno">··266</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | 275 | <div·class="line"><a·id="l00266"·name="l00266"></a><span·class="lineno">··266</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
| 276 | <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>·</div> | 276 | <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>·</div> |
| 277 | <div·class="line"><a·id="l00268"·name="l00268"></a><span·class="lineno">··268</span>·</div> | 277 | <div·class="line"><a·id="l00268"·name="l00268"></a><span·class="lineno">··268</span>·</div> |
| 278 | <div·class="line"><a·id="l00269"·name="l00269"></a><span·class="lineno">··269</span>·</div> | 278 | <div·class="line"><a·id="l00269"·name="l00269"></a><span·class="lineno">··269</span>·</div> |
| 279 | <div·class="line"><a·id="l00270"·name="l00270"></a><span·class="lineno">··270</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH</span></div> | 279 | <div·class="line"><a·id="l00270"·name="l00270"></a><span·class="lineno">··270</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH</span></div> |
| 280 | <div·class="ttc"·id="aa00056_html"><div·class="ttname"><a·href="a00056.html">gridfunction.hh</a></div></div> | 280 | <div·class="ttc"·id="aa00056_html"><div·class="ttname"><a·href="a00056.html">gridfunction.hh</a></div></div> |
| 281 | <div·class="ttc"·id="aa00098_html"><div·class="ttname"><a·href="a00098.html">defaultderivativetraits.hh</a></div></div> | ||
| 282 | <div·class="ttc"·id="aa00 | 281 | <div·class="ttc"·id="aa00215_html"><div·class="ttname"><a·href="a00215.html">differentiablefunction.hh</a></div></div> |
| 282 | <div·class="ttc"·id="aa00272_html"><div·class="ttname"><a·href="a00272.html">defaultderivativetraits.hh</a></div></div> | ||
| 283 | <div·class="ttc"·id="aa00308_html_ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><div·class="ttname"><a·href="a00308.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::ComposedGridFunction::makeComposedGridFunction</a></div><div·class="ttdeci">auto·makeComposedGridFunction(OF·&&outerFunction,·IF·&&...·innerFunction)</div><div·class="ttdoc">Create·a·ComposedGridFunction·that·composes·grid-functions·with·another·function.</div><div·class="ttdef"><b>Definition</b>·composedgridfunction.hh:258</div></div> | 283 | <div·class="ttc"·id="aa00308_html_ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><div·class="ttname"><a·href="a00308.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::ComposedGridFunction::makeComposedGridFunction</a></div><div·class="ttdeci">auto·makeComposedGridFunction(OF·&&outerFunction,·IF·&&...·innerFunction)</div><div·class="ttdoc">Create·a·ComposedGridFunction·that·composes·grid-functions·with·another·function.</div><div·class="ttdef"><b>Definition</b>·composedgridfunction.hh:258</div></div> |
| 284 | <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> | 284 | <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> |
| 285 | <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> | 285 | <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> |
| 286 | <div·class="ttc"·id="aa00318_html_ae70612d0758e301c3168bdeb2dad5bff"><div·class="ttname"><a·href="a00318.html#ae70612d0758e301c3168bdeb2dad5bff">Dune::Functions::ComposedGridFunction</a></div><div·class="ttdeci">ComposedGridFunction(const·OF·&,·const·IF·&...)·->·ComposedGridFunction<·OF,·IF...·></div></div> | 286 | <div·class="ttc"·id="aa00318_html_ae70612d0758e301c3168bdeb2dad5bff"><div·class="ttname"><a·href="a00318.html#ae70612d0758e301c3168bdeb2dad5bff">Dune::Functions::ComposedGridFunction</a></div><div·class="ttdeci">ComposedGridFunction(const·OF·&,·const·IF·&...)·->·ComposedGridFunction<·OF,·IF...·></div></div> |
| 287 | <div·class="ttc"·id="aa01206_html"><div·class="ttname"><a·href="a01206.html">Dune::Functions::DefaultDerivativeTraits</a></div><div·class="ttdoc">Default·implementation·for·derivative·traits.</div><div·class="ttdef"><b>Definition</b>·defaultderivativetraits.hh:41</div></div> | 287 | <div·class="ttc"·id="aa01206_html"><div·class="ttname"><a·href="a01206.html">Dune::Functions::DefaultDerivativeTraits</a></div><div·class="ttdoc">Default·implementation·for·derivative·traits.</div><div·class="ttdef"><b>Definition</b>·defaultderivativetraits.hh:41</div></div> |
| 288 | <div·class="ttc"·id="aa02202_html"><div·class="ttname"><a·href="a02202.html">Dune::Functions::ComposedGridFunction</a></div><div·class="ttdoc">Composition·of·grid·functions·with·another·function.</div><div·class="ttdef"><b>Definition</b>·composedgridfunction.hh:46</div></div> | 288 | <div·class="ttc"·id="aa02202_html"><div·class="ttname"><a·href="a02202.html">Dune::Functions::ComposedGridFunction</a></div><div·class="ttdoc">Composition·of·grid·functions·with·another·function.</div><div·class="ttdef"><b>Definition</b>·composedgridfunction.hh:46</div></div> |
| 289 | <div·class="ttc"·id="aa02202_html_a145b7b5d536222897e403d6151491e0b"><div·class="ttname"><a·href="a02202.html#a145b7b5d536222897e403d6151491e0b">Dune::Functions::ComposedGridFunction::outerFunction_</a></div><div·class="ttdeci">OuterFunction·outerFunction_</div><div·class="ttdef"><b>Definition</b>·composedgridfunction.hh:225</div></div> | 289 | <div·class="ttc"·id="aa02202_html_a145b7b5d536222897e403d6151491e0b"><div·class="ttname"><a·href="a02202.html#a145b7b5d536222897e403d6151491e0b">Dune::Functions::ComposedGridFunction::outerFunction_</a></div><div·class="ttdeci">OuterFunction·outerFunction_</div><div·class="ttdef"><b>Definition</b>·composedgridfunction.hh:225</div></div> |
| Offset 177, 16 lines modified | Offset 177, 16 lines modified | ||
| 177 | 265 | 177 | 265 |
| 178 | 266}}·//·namespace·Dune::Functions | 178 | 266}}·//·namespace·Dune::Functions |
| 179 | 267 | 179 | 267 |
| 180 | 268 | 180 | 268 |
| 181 | 269 | 181 | 269 |
| 182 | 270#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH | 182 | 270#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH |
| 183 | gridfunction.hh | 183 | gridfunction.hh |
| 184 | defaultderivativetraits.hh | ||
| 185 | differentiablefunction.hh | 184 | differentiablefunction.hh |
| 185 | defaultderivativetraits.hh | ||
| 186 | Dune::Functions::ComposedGridFunction::makeComposedGridFunction | 186 | Dune::Functions::ComposedGridFunction::makeComposedGridFunction |
| 187 | auto·makeComposedGridFunction(OF·&&outerFunction,·IF·&&...·innerFunction) | 187 | auto·makeComposedGridFunction(OF·&&outerFunction,·IF·&&...·innerFunction) |
| 188 | Create·a·ComposedGridFunction·that·composes·grid-functions·with·another | 188 | Create·a·ComposedGridFunction·that·composes·grid-functions·with·another |
| 189 | function. | 189 | function. |
| 190 | Definition·composedgridfunction.hh:258 | 190 | Definition·composedgridfunction.hh:258 |
| 191 | Dune | 191 | Dune |
| 192 | Definition·monomialset.hh:19 | 192 | Definition·monomialset.hh:19 |
| 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, 53 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·<type_traits></code><br·/> | ||
| 99 | <code>#include·<utility></code><br·/> | ||
| 100 | <code>#include·<limits></code><br·/> | ||
| 101 | <code>#include·<algorithm></code><br·/> | ||
| 102 | <code>#include·<cmath></code><br·/> | ||
| 103 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 104 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | 99 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 107 | <code>#include·<<a·class="el"·href="a000 | 100 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code><br·/> | ||
| 108 | </div> | 102 | </div> |
| 109 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 110 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
| 111 | <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> |
| 112 | Classes</h2></td></tr> | 106 | 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> | ||
| 114 | <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> | ||
| 115 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
| 116 | <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> |
| 117 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></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> | 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> |
| 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> | 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> | ||
| 120 | </table> | 124 | </table> |
| 121 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 122 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
| 123 | <div·id="page-nav"·class="page-nav-panel"> | 127 | <div·id="page-nav"·class="page-nav-panel"> |
| 124 | <div·id="page-nav-resize-handle"></div> | 128 | <div·id="page-nav-resize-handle"></div> |
| 125 | <div·id="page-nav-tree"> | 129 | <div·id="page-nav-tree"> |
| 126 | <div·id="page-nav-contents"> | 130 | <div·id="page-nav-contents"> |
| 127 | </div><!--·page-nav-contents·--> | 131 | </div><!--·page-nav-contents·--> |
| 128 | </div><!--·page-nav-tree·--> | 132 | </div><!--·page-nav-tree·--> |
| 129 | </div><!--·page-nav·--> | 133 | </div><!--·page-nav·--> |
| 130 | </div><!--·container·--> | 134 | </div><!--·container·--> |
| 131 | <!--·start·footer·part·--> | 135 | <!--·start·footer·part·--> |
| 132 | <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!·--> |
| 133 | ··<ul> | 137 | ··<ul> |
| 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="a00050.html"> | 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="a00050.html">gridviewfunction.hh</a></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> | 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> |
| 136 | ··</ul> | 140 | ··</ul> |
| 137 | </div> | 141 | </div> |
| 138 | </body> | 142 | </body> |
| 139 | </html> | 143 | </html> |
| Offset 1, 29 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 | gridviewfunction.hh·File·Reference | ||
| 6 | #include·<memory> | ||
| 5 | finefunctiononcoarsegridview.hh·File·Reference | ||
| 6 | #include·<optional> | ||
| 7 | #include·<type_traits> | ||
| 8 | #include·<utility> | ||
| 9 | #include·<limits> | ||
| 10 | #include·<algorithm> | ||
| 11 | #include·<cmath> | ||
| 12 | #include·<dune/common/ | 7 | #include·<dune/common/concept.hh> |
| 13 | #include·<dune/geometry/type.hh> | ||
| 14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 15 | #include·<dune/functions/gridfunctions/gridfunction.hh> | 8 | #include·<dune/functions/gridfunctions/gridfunction.hh> |
| 16 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | 9 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 10 | #include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 17 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 18 | Classes | 12 | Classes |
| 19 | class· ·Dune::Functions:: | 13 | class· ·Dune::Functions::GridViewFunction<_Signature,_GridView, |
| 20 | ········DerivativeTraits_> | 14 | ········DerivativeTraits,_bufferSize_> |
| 21 | 15 | class· ·Dune::Functions::GridViewFunction<_Range(Domain),_GV,_DerivativeTraits, | |
| 16 | ········bufferSize_> | ||
| 17 | ·······Wrapper·class·for·functions·defined·on·a·GridView.·More... | ||
| 22 | Namespaces | 18 | Namespaces |
| 23 | namespace· ·Dune | 19 | namespace· ·Dune |
| 24 | 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. | ||
| 25 | ····*·dune | 35 | ····*·dune |
| 26 | ····*·functions | 36 | ····*·functions |
| 27 | ····*·gridfunctions | 37 | ····*·gridfunctions |
| 28 | ····*· | 38 | ····*·gridviewfunction.hh |
| 29 | ····*·Generated·by·[doxygen]1.15.0 | 39 | ····*·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:·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, 327 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="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_GRIDFUNCTIONS_ | 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_GRIDFUNCTIONS_ | 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><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="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 113 | <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/concept.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="a00056.html">dune/functions/gridfunctions/gridfunction.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="a00044.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="a00059.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> | ||
| 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/geometry/type.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="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/functions/common/defaultderivativetraits.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="a00056.html">dune/functions/gridfunctions/gridfunction.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="a00062.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="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> |
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 123 | <div·class="line"><a·id="l0002 | 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> |
| 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="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> | ||
| 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="a02282.html">···25</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02282.html">GridViewFunction</a></div> | ||
| 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{};</div> | ||
| 124 | </div> | ||
| 125 | <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> | 126 | <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">namespace·</span>ReferenceElementUtilities·{</div> | ||
| 126 | <div·class="line"><a·id="l000 | 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> | ||
| 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> | ||
| 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> | ||
| 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="l0004 | 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> | ||
| 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="l0004 | 134 | <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="l000 | 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[·...·truncated·by·diffoscope;·len:·6,·SHA:·ed8c03e6ae84df3d0989279075941638347c9f1da296339d98b135d9ffe0b8db·...·];</div> |
| 136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 144 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> | ||
| 146 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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 | < | 139 | </div> |
| 140 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 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> | ||
| 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> | ||
| 155 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> |
| 156 | <div·class="line"><a·id="l000 | 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> |
| 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> | ||
| Max diff block lines reached; 49077/69281 bytes (70.84%) of diff not shown. | |||
| Offset 1, 372 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_GRIDFUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<memory> | ||
| 19 | 11 | ||
| 18 | 10#include·<optional> | ||
| 19 | 11#include·<type_traits> | ||
| 20 | 12#include·<utility> | ||
| 21 | 13#include·<limits> | ||
| 22 | 14#include·<algorithm> | ||
| 23 | 15#include·<cmath> | ||
| 24 | 16 | ||
| 25 | 1 | 20 | 12#include·<dune/common/concept.hh> |
| 21 | 13 | ||
| 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 | ||
| 26 | 18 | 26 | 18 |
| 27 | 19namespace·Dune·{ | ||
| 27 | 19#include·<dune/geometry/type.hh> | ||
| 28 | 20 | ||
| 29 | 21#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 30 | 22#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 31 | 23#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 32 | 24 | ||
| 33 | 2 | 28 | 20namespace·Functions·{ |
| 34 | 26 | ||
| 35 | 2 | 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 | ||
| 36 | 28 | 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) | ||
| 60 | 73{ | ||
| 61 | 74·return·std::forward<F>(f); | ||
| 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{ | ||
| 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} | 62 | 75} |
| 87 | 76 | 63 | 76 |
| 88 | 77 | 64 | 77 |
| Max diff block lines reached; 10845/15126 bytes (71.70%) 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:·g | 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, 40 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">g | 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·<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·/> | ||
| 98 | <code>#include·<<a·class="el"·href="a001 | 104 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a001 | 105 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> |
| 106 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 107 | <code>#include·<<a·class="el"·href="a00056_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="a00197_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
| 100 | </div> | 110 | </div> |
| 101 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> | 111 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 102 | <table·class="memberdecls"> | 112 | <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> | ||
| 114 | Classes</h2></td></tr> | ||
| 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·class="memItemRight"·valign="bottom"><a·class="el"·href="a02210.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·></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> | ||
| 125 | </table><table·class="memberdecls"> | ||
| 103 | <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> |
| 104 | Namespaces</h2></td></tr> | 127 | Namespaces</h2></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> | 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> |
| 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> | 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> | ||
| 131 | </table><table·class="memberdecls"> | ||
| 132 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 133 | Functions</h2></td></tr> | ||
| 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> | ||
| 107 | </table> | 137 | </table> |
| 108 | </div><!--·contents·--> | 138 | </div><!--·contents·--> |
| 109 | </div><!--·doc-content·--> | 139 | </div><!--·doc-content·--> |
| 110 | <div·id="page-nav"·class="page-nav-panel"> | 140 | <div·id="page-nav"·class="page-nav-panel"> |
| 111 | <div·id="page-nav-resize-handle"></div> | 141 | <div·id="page-nav-resize-handle"></div> |
| 112 | <div·id="page-nav-tree"> | 142 | <div·id="page-nav-tree"> |
| 113 | <div·id="page-nav-contents"> | 143 | <div·id="page-nav-contents"> |
| 114 | </div><!--·page-nav-contents·--> | 144 | </div><!--·page-nav-contents·--> |
| 115 | </div><!--·page-nav-tree·--> | 145 | </div><!--·page-nav-tree·--> |
| 116 | </div><!--·page-nav·--> | 146 | </div><!--·page-nav·--> |
| 117 | </div><!--·container·--> | 147 | </div><!--·container·--> |
| 118 | <!--·start·footer·part·--> | 148 | <!--·start·footer·part·--> |
| 119 | <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!·--> |
| 120 | ··<ul> | 150 | ··<ul> |
| 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="a00053.html">g | 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="a00053.html">discreteglobalbasisfunction.hh</a></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> | 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> |
| 123 | ··</ul> | 153 | ··</ul> |
| 124 | </div> | 154 | </div> |
| 125 | </body> | 155 | </body> |
| 126 | </html> | 156 | </html> |
| Offset 1, 17 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 | g | 5 | discreteglobalbasisfunction.hh·File·Reference |
| 6 | #include·<memory> | ||
| 7 | #include·<optional> | ||
| 6 | #include·<dune/ | 8 | #include·<dune/common/typetraits.hh> |
| 9 | #include·<dune/common/shared_ptr.hh> | ||
| 10 | #include·<dune/grid/utility/hierarchicsearch.hh> | ||
| 11 | #include·<dune/common/typetree/traversal.hh> | ||
| 12 | #include·<dune/common/typetree/treecontainer.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
| 15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 7 | #include·<dune/functions/ | 17 | #include·<dune/functions/backends/concepts.hh> |
| 8 | #include·<dune/functions/ | 18 | #include·<dune/functions/backends/istlvectorbackend.hh> |
| 9 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | ||
| 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... | ||
| 10 | Namespaces | 38 | Namespaces |
| 11 | namespace· ·Dune | 39 | namespace· ·Dune |
| 12 | namespace· ·Dune::Functions | 40 | namespace· ·Dune::Functions |
| 41 | namespace· ·Dune::Functions::ImplDoc | ||
| 42 | Functions | ||
| 43 | template<typename·R,·typename·B,·typename·V> | ||
| 44 | auto ·Dune::Functions::makeDiscreteGlobalBasisFunction·(B·&&basis,·V·&&vector) | ||
| 45 | ·····Generate·a·DiscreteGlobalBasisFunction. | ||
| 13 | ····*·dune | 46 | ····*·dune |
| 14 | ····*·functions | 47 | ····*·functions |
| 15 | ····*·gridfunctions | 48 | ····*·gridfunctions |
| 16 | ····*·g | 49 | ····*·discreteglobalbasisfunction.hh |
| 17 | ····*·Generated·by·[doxygen]1.15.0 | 50 | ····*·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:·g | 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, 98 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">g | 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="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 97 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 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_GRIDFUNCTIONS_G | 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_GRIDFUNCTIONS_G | 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·< | 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><span·class="preprocessor">#include·<<a·class="code"·href="a00155.html">dune/functions/common/differentiablefunction_imp.hh</a>></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="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> |
| 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> | 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> | ||
| 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><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 115 | <div·class="line"><a·id="l0001 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 116 | <div·class="line"><a·id="l000 | 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> | ||
| 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="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="l0002 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/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="a00128.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="a00044.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="a00056.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="a00197.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
| 121 | <div·class="line"><a·id="l0002 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 122 | <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> | ||
| 123 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 126 | <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> | 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="l0003 | 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><span·class="keyword">template</span><<span·class="keyword">typename</span>·B,·<span·class="keyword">typename</span>·V,·<span·class="keyword">typename</span>·NTRE></div> | ||
| 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> | ||
| 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="l000 | 134 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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="l000 | 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="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>·=·B;</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> | ||
| 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> | ||
| 145 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 146 | <div·class="line"><a·id="l000 | 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> | ||
| 147 | <div·class="line"><a·id="l000 | 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> | ||
| 148 | <div·class="line"><a·id="l0005 | 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> | ||
| 149 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 154 | <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> | ||
| 151 | <div·class="line"><a·id="l0005 | 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> | ||
| 152 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·localFunction(this->get());</div> | ||
| 153 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
| 154 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 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> | ||
| 156 | <div·class="line"><a·id="l000 | 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> |
| 157 | <div·class=" | 158 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> |
| 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> | ||
| 158 | <div·class="line"><a·id="l0006 | 160 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> |
| 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#a869d1890dea002afea9673d30bf7a6f9">entitySet</a>;</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> | ||
| 159 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>};</div> | 165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div> |
| 166 | </div> | ||
| 160 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 167 | <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> | 168 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">public</span>:</div> |
| 162 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| Max diff block lines reached; 124181/148778 bytes (83.47%) of diff not shown. | |||
| Offset 1, 97 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 | g | 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_GRIDFUNCTIONS_G | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_G | 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> |
| 22 | 14#include·<dune/common/shared_ptr.hh> | ||
| 19 | 11#include·<dune/functions/common/interfaces.hh> | ||
| 20 | 12#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 21 | 13 | ||
| 22 | 14 | ||
| 23 | 15 | 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 | 24 | 16#include·<dune/grid/utility/hierarchicsearch.hh> | |
| 25 | 17 | ||
| 26 | 18#include·<dune/common/typetree/traversal.hh> | ||
| 27 | 19#include·<dune/common/typetree/treecontainer.hh> | ||
| 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·{ | ||
| 35 | 30 | 38 | 30 |
| 36 | 31 | 39 | 31 |
| 40 | 32namespace·ImplDoc·{ | ||
| 41 | 33 | ||
| 42 | 34template<typename·B,·typename·V,·typename·NTRE> | ||
| 43 | 35class·DiscreteGlobalBasisFunctionBase | ||
| 44 | 36{ | ||
| 37 | 32 | ||
| 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 | 45 | 37public: | |
| 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> | ||
| 62 | 52{ | ||
| 63 | 53·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 64 | DerivativeInterface,·B>; | ||
| 65 | 54public: | ||
| 66 | 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: | ||
| 67 | 56 | 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 | ||
| 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 | 6 | 70 | 61·{ |
| 75 | 64·return·this->get().entitySet(); | ||
| 76 | 6 | 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; | ||
| 77 | 66}; | 75 | 66·}; |
| 78 | 67 | 76 | 67 |
| 79 | 68 | ||
| 80 | 69 | ||
| Max diff block lines reached; 30849/35316 bytes (87.35%) of diff not shown. | |||
| Offset 93, 21 lines modified | Offset 93, 21 lines modified | ||
| 93 | <div·class="header"> | 93 | <div·class="header"> |
| 94 | ··<div·class="headertitle"><div·class="title">gridfunction.hh·File·Reference</div></div> | 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·<type_traits></code><br·/> | 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a00 | 99 | <code>#include·<<a·class="el"·href="a00257_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> |
| 100 | <code>#include·<<a·class="el"·href="a00 | 100 | <code>#include·<<a·class="el"·href="a00272_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00215_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> |
| 102 | <code>#include·<<a·class="el"·href="a00 | 102 | <code>#include·<<a·class="el"·href="a00275_source.html">dune/functions/common/localfunction.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a00 | 103 | <code>#include·<<a·class="el"·href="a00263_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a000 | 104 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> |
| 105 | <code>#include·<<a·class="el"·href="a000 | 105 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></code><br·/> |
| 106 | </div> | 106 | </div> |
| 107 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> | 107 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 108 | <table·class="memberdecls"> | 108 | <table·class="memberdecls"> |
| 109 | <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> |
| 110 | Classes</h2></td></tr> | 110 | Classes</h2></td></tr> |
| 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">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02254.html">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·></a></td></tr> | 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">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02254.html">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·></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> | 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> |
| Offset 104, 21 lines modified | Offset 104, 21 lines modified | ||
| 104 | <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="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
| 105 | <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="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
| 106 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 106 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 107 | <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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 108 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 108 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 109 | <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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 110 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 110 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 111 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 111 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00257.html">dune/functions/common/typeerasure.hh</a>></span></div> |
| 112 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 112 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00272.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 113 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 113 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00215.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
| 114 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 114 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00275.html">dune/functions/common/localfunction.hh</a>></span></div> |
| 115 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 115 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00263.html">dune/functions/common/functionconcepts.hh</a>></span></div> |
| 116 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 116 | <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/localderivativetraits.hh</a>></span></div> |
| 117 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 117 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></span></div> |
| 118 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 118 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 119 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 119 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 120 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 120 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 121 | <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="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> |
| 122 | <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="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> |
| 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 124 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 124 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| Offset 236, 21 lines modified | Offset 236, 21 lines modified | ||
| 236 | <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div> | 236 | <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div> |
| 237 | <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>·</div> | 237 | <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>·</div> |
| 238 | <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | 238 | <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
| 239 | <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>·</div> | 239 | <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>·</div> |
| 240 | <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div> | 240 | <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div> |
| 241 | <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div> | 241 | <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div> |
| 242 | <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> | 242 | <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
| 243 | <div·class="ttc"·id="aa00044_html"><div·class="ttname"><a·href="a00044.html">localderivativetraits.hh</a></div></div> | ||
| 244 | <div·class="ttc"·id="aa000 | 243 | <div·class="ttc"·id="aa00041_html"><div·class="ttname"><a·href="a00041.html">gridfunction_imp.hh</a></div></div> |
| 245 | <div·class="ttc"·id="aa000 | 244 | <div·class="ttc"·id="aa00065_html"><div·class="ttname"><a·href="a00065.html">localderivativetraits.hh</a></div></div> |
| 246 | <div·class="ttc"·id="aa00 | 245 | <div·class="ttc"·id="aa00215_html"><div·class="ttname"><a·href="a00215.html">differentiablefunction.hh</a></div></div> |
| 247 | <div·class="ttc"·id="aa00131_html"><div·class="ttname"><a·href="a00131.html">localfunction.hh</a></div></div> | ||
| 248 | <div·class="ttc"·id="aa00137_html"><div·class="ttname"><a·href="a00137.html">functionconcepts.hh</a></div></div> | ||
| 249 | <div·class="ttc"·id="aa00 | 246 | <div·class="ttc"·id="aa00257_html"><div·class="ttname"><a·href="a00257.html">typeerasure.hh</a></div></div> |
| 247 | <div·class="ttc"·id="aa00263_html"><div·class="ttname"><a·href="a00263.html">functionconcepts.hh</a></div></div> | ||
| 248 | <div·class="ttc"·id="aa00272_html"><div·class="ttname"><a·href="a00272.html">defaultderivativetraits.hh</a></div></div> | ||
| 249 | <div·class="ttc"·id="aa00275_html"><div·class="ttname"><a·href="a00275.html">localfunction.hh</a></div></div> | ||
| 250 | <div·class="ttc"·id="aa00306_html_ga1691be3e84b0405cc8a7ebcd598bd861"><div·class="ttname"><a·href="a00306.html#ga1691be3e84b0405cc8a7ebcd598bd861">Dune::Functions::Concept::isGridFunction</a></div><div·class="ttdeci">static·constexpr·bool·isGridFunction()</div><div·class="ttdoc">Check·if·F·models·the·GridFunction·concept·with·given·signature·and·entity·set.</div><div·class="ttdef"><b>Definition</b>·functionconcepts.hh:273</div></div> | 250 | <div·class="ttc"·id="aa00306_html_ga1691be3e84b0405cc8a7ebcd598bd861"><div·class="ttname"><a·href="a00306.html#ga1691be3e84b0405cc8a7ebcd598bd861">Dune::Functions::Concept::isGridFunction</a></div><div·class="ttdeci">static·constexpr·bool·isGridFunction()</div><div·class="ttdoc">Check·if·F·models·the·GridFunction·concept·with·given·signature·and·entity·set.</div><div·class="ttdef"><b>Definition</b>·functionconcepts.hh:273</div></div> |
| 251 | <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> | 251 | <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> |
| 252 | <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> | 252 | <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> |
| 253 | <div·class="ttc"·id="aa00320_html"><div·class="ttname"><a·href="a00320.html">Dune::Functions::Concept</a></div><div·class="ttdef"><b>Definition</b>·backends/concepts.hh:17</div></div> | 253 | <div·class="ttc"·id="aa00320_html"><div·class="ttname"><a·href="a00320.html">Dune::Functions::Concept</a></div><div·class="ttdef"><b>Definition</b>·backends/concepts.hh:17</div></div> |
| 254 | <div·class="ttc"·id="aa01206_html"><div·class="ttname"><a·href="a01206.html">Dune::Functions::DefaultDerivativeTraits</a></div><div·class="ttdoc">Default·implementation·for·derivative·traits.</div><div·class="ttdef"><b>Definition</b>·defaultderivativetraits.hh:41</div></div> | 254 | <div·class="ttc"·id="aa01206_html"><div·class="ttname"><a·href="a01206.html">Dune::Functions::DefaultDerivativeTraits</a></div><div·class="ttdoc">Default·implementation·for·derivative·traits.</div><div·class="ttdef"><b>Definition</b>·defaultderivativetraits.hh:41</div></div> |
| 255 | <div·class="ttc"·id="aa01382_html"><div·class="ttname"><a·href="a01382.html">Dune::Functions::LocalFunction</a></div><div·class="ttdef"><b>Definition</b>·localfunction.hh:34</div></div> | 255 | <div·class="ttc"·id="aa01382_html"><div·class="ttname"><a·href="a01382.html">Dune::Functions::LocalFunction</a></div><div·class="ttdef"><b>Definition</b>·localfunction.hh:34</div></div> |
| 256 | <div·class="ttc"·id="aa01526_html_a2ccacb87d5aefd102388090c1a090cf8"><div·class="ttname"><a·href="a01526.html#a2ccacb87d5aefd102388090c1a090cf8">Dune::Functions::TypeErasureBase<·Imp::GridFunctionTraits<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>::Concept,·Imp::GridFunctionTraits<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>::template·Model·>::TypeErasureBase</a></div><div·class="ttdeci">TypeErasureBase(T·&&t)</div><div·class="ttdef"><b>Definition</b>·typeerasure.hh:174</div></div> | 256 | <div·class="ttc"·id="aa01526_html_a2ccacb87d5aefd102388090c1a090cf8"><div·class="ttname"><a·href="a01526.html#a2ccacb87d5aefd102388090c1a090cf8">Dune::Functions::TypeErasureBase<·Imp::GridFunctionTraits<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>::Concept,·Imp::GridFunctionTraits<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>::template·Model·>::TypeErasureBase</a></div><div·class="ttdeci">TypeErasureBase(T·&&t)</div><div·class="ttdef"><b>Definition</b>·typeerasure.hh:174</div></div> |
| Offset 150, 21 lines modified | Offset 150, 21 lines modified | ||
| 150 | 186 | 150 | 186 |
| 151 | 187 | 151 | 187 |
| 152 | 188}}·//·namespace·Dune::Functions | 152 | 188}}·//·namespace·Dune::Functions |
| 153 | 189 | 153 | 189 |
| 154 | 190 | 154 | 190 |
| 155 | 191 | 155 | 191 |
| 156 | 192#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH | 156 | 192#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH |
| 157 | localderivativetraits.hh | ||
| 158 | gridfunction_imp.hh | 157 | gridfunction_imp.hh |
| 159 | 158 | localderivativetraits.hh | |
| 160 | differentiablefunction.hh | 159 | differentiablefunction.hh |
| 161 | localfunction.hh | ||
| 162 | functionconcepts.hh | ||
| 163 | typeerasure.hh | 160 | typeerasure.hh |
| 161 | functionconcepts.hh | ||
| 162 | defaultderivativetraits.hh | ||
| 163 | localfunction.hh | ||
| 164 | Dune::Functions::Concept::isGridFunction | 164 | Dune::Functions::Concept::isGridFunction |
| 165 | static·constexpr·bool·isGridFunction() | 165 | static·constexpr·bool·isGridFunction() |
| 166 | Check·if·F·models·the·GridFunction·concept·with·given·signature·and·entity·set. | 166 | Check·if·F·models·the·GridFunction·concept·with·given·signature·and·entity·set. |
| 167 | Definition·functionconcepts.hh:273 | 167 | Definition·functionconcepts.hh:273 |
| 168 | Dune | 168 | Dune |
| 169 | Definition·monomialset.hh:19 | 169 | Definition·monomialset.hh:19 |
| 170 | Dune::Functions | 170 | Dune::Functions |
| 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:·gridviewfunction.hh·File·Reference</title> | 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, 57 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">gridviewfunction.hh·File·Reference</div></div> | 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·< | 98 | <code>#include·<optional></code><br·/> |
| 99 | <code>#include·<dune/common/copyableoptional.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 99 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00221_source.html">dune/functions/common/signature.hh</a>></code><br·/> |
| 100 | <code>#include·<<a·class="el"·href="a00 | 102 | <code>#include·<<a·class="el"·href="a00272_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00 | 103 | <code>#include·<<a·class="el"·href="a00248_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00215_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
| 102 | </div> | 107 | </div> |
| 103 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 104 | <table·class="memberdecls"> | 109 | <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> | 110 | <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> | 111 | Classes</h2></td></tr> |
| 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="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02282.html">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 108 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AGridViewFunction_3C_20Range_28Domain_29_2C_20GV_2C_20DerivativeTraits | 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> |
| 109 | <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> |
| 110 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
| 111 | <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> |
| 112 | Namespaces</h2></td></tr> | 116 | 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> | 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> |
| 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> | 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> |
| 115 | </table><table·class="memberdecls"> | 119 | </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> | 120 | <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> | 121 | Functions</h2></td></tr> |
| 118 | <tr·class="memitem:a | 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·=·std:[·...·truncated·by·diffoscope;·len:·32,·SHA:·ed8e872256e1d2c165cb53275302a309ddb0e86de692fcf3ad1f01c31c1e2af1·...·]>·</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> | ||
| 119 | <tr·class="memitem: | 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> |
| 120 | <tr·class="memdesc: | 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> |
| 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> | ||
| 124 | </table> | 127 | </table> |
| 125 | </div><!--·contents·--> | 128 | </div><!--·contents·--> |
| 126 | </div><!--·doc-content·--> | 129 | </div><!--·doc-content·--> |
| 127 | <div·id="page-nav"·class="page-nav-panel"> | 130 | <div·id="page-nav"·class="page-nav-panel"> |
| 128 | <div·id="page-nav-resize-handle"></div> | 131 | <div·id="page-nav-resize-handle"></div> |
| 129 | <div·id="page-nav-tree"> | 132 | <div·id="page-nav-tree"> |
| 130 | <div·id="page-nav-contents"> | 133 | <div·id="page-nav-contents"> |
| 131 | </div><!--·page-nav-contents·--> | 134 | </div><!--·page-nav-contents·--> |
| 132 | </div><!--·page-nav-tree·--> | 135 | </div><!--·page-nav-tree·--> |
| 133 | </div><!--·page-nav·--> | 136 | </div><!--·page-nav·--> |
| 134 | </div><!--·container·--> | 137 | </div><!--·container·--> |
| 135 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 136 | <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!·--> |
| 137 | ··<ul> | 140 | ··<ul> |
| 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="a00059.html">gridviewfunction.hh</a></li> | 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="a00059.html">analyticgridviewfunction.hh</a></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> | 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> |
| 140 | ··</ul> | 143 | ··</ul> |
| 141 | </div> | 144 | </div> |
| 142 | </body> | 145 | </body> |
| 143 | </html> | 146 | </html> |
| Offset 1, 39 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 | gridviewfunction.hh·File·Reference | 5 | analyticgridviewfunction.hh·File·Reference |
| 6 | #include·< | 6 | #include·<type_traits> |
| 7 | #include·<optional> | ||
| 7 | #include·<dune/common/co | 8 | #include·<dune/common/copyableoptional.hh> |
| 8 | #include·<dune/ | 9 | #include·<dune/common/typeutilities.hh> |
| 10 | #include·<dune/functions/common/signature.hh> | ||
| 11 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 12 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 13 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 9 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | 14 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 10 | #include·<dune/functions/gridfunctions/ | 15 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> |
| 11 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 17 | Classes |
| 13 | class· ·Dune::Functions::GridViewFunction<_Signature,_GridView, | ||
| 14 | ········DerivativeTraits,_bufferSize_> | ||
| 15 | class· ·Dune::Functions::GridViewFunction<_Range(Domain),_GV,_ | 18 | class· ·Dune::Functions::AnalyticGridViewFunction<_Range(Domain),_GV,_F, |
| 16 | ········bufferSize_> | ||
| 17 | 19 | ········DerivativeTraits_> | |
| 20 | ·······Class·wrapping·any·differentiable·function·as·grid·function.·More... | ||
| 18 | Namespaces | 21 | Namespaces |
| 19 | namespace· ·Dune | 22 | namespace· ·Dune |
| 20 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 21 | Functions | 24 | Functions |
| 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>> | ||
| 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 | ···· | 28 | ···· ·Dune::Functions::AnalyticGridViewFunction·(const·F·&,·const·GridView·&)·- |
| 31 | ···················&gridView)·->·decltype(makeAnalyticGridViewFunction(std:: | ||
| 32 | ···················forward<·F·>(f),·gridView)) | ||
| 33 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 34 | ······· | 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. | ||
| 35 | ····*·dune | 34 | ····*·dune |
| 36 | ····*·functions | 35 | ····*·functions |
| 37 | ····*·gridfunctions | 36 | ····*·gridfunctions |
| 38 | ····*·gridviewfunction.hh | 37 | ····*·analyticgridviewfunction.hh |
| 39 | ····*·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·a00059·=·[ | 1 | var·a00059·=·[ |
| 2 | ····["Dune::Functions::AnalyticGridViewFunction",·"a00318.html#a4982d31e3f878344c48b9825e82a4426",·null], | ||
| 3 | ····["Dune::Functions::makeAnalyticGridViewFunction",·"a00308.html#gaf49863bf9728775c1ae6a718aeaaba45",·null] | ||
| 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] | ||
| 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:·gridviewfunction.hh·Source·File</title> | 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, 110 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">gridviewfunction.hh</div></div> | 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="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_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH</span></div> | 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_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_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="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> |
| 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/typeutilities.hh></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="a00068.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></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> |
| 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> | ||
| 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> | ||
| 117 | <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="a00221.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="a00272.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="a00248.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="a00215.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="a00044.html">dune/functions/gridfunctions/gridviewentityset.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="a00065.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>·</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="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> | ||
| 121 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> | ||
| 122 | <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><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> | ||
| 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span> | 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 124 | </div> | ||
| 125 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 126 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</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="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> | ||
| 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="l000 | 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction;</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="l000 | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 137 | <div·class="line"><a·id="l000 | 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</sp[·...·truncated·by·diffoscope;·len:·141,·SHA:·d0f761860d7333b86e14624bb073fdcf409ce5b6005a7ae4cf835070f5408b57·...·];</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> | ||
| 138 | <div·class="line"><a·id="l000 | 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> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span>GridView·=·GV;</div> | ||
| 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> | ||
| 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="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> | ||
| 162 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> | ||
| 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> | ||
| 164 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{</div> | ||
| 165 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····element_·=·element;</div> | ||
| 166 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····geometry_.emplace(element_.geometry());</div> | ||
| 167 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div> | ||
| 168 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span></div> | ||
| 169 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordtype">void</span>·unbind()</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>····geometry_.reset();</div> | ||
| 172 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> | ||
| 173 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span></div> | ||
| 174 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
| 175 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">··</span>{</div> | ||
| 176 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast<</span><span·class="keywordtype">bool</span><span·class="keyword">></span>(geometry_);</div> | ||
| 177 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··}</div> | ||
| 178 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span></div> | ||
| 179 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··Range·operator()(<span·class="keyword">const</span>·LocalDomain&·x)<span·class="keyword">·const</span></div> | ||
| 180 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="keyword">··</span>{</div> | ||
| 181 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····assert(!!geometry_);</div> | ||
| Max diff block lines reached; 12906/62675 bytes (20.59%) of diff not shown. | |||
| Offset 1, 114 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 | gridviewfunction.hh | 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_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<memory> | ||
| 19 | 1 | 18 | 10#include·<type_traits> |
| 19 | 11#include·<optional> | ||
| 20 | 12 | ||
| 20 | 1 | 21 | 13#include·<dune/common/copyableoptional.hh> |
| 21 | 13 | ||
| 22 | 14#include·<dune/ | 22 | 14#include·<dune/common/typeutilities.hh> |
| 23 | 15 | ||
| 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> | ||
| 23 | 28 | 20#include·<dune/functions/gridfunctions/gridviewentityset.hh> | |
| 24 | 29 | 21#include·<dune/functions/gridfunctions/localderivativetraits.hh> | |
| 25 | 17 | ||
| 26 | 18 | ||
| 27 | 19namespace·Dune·{ | ||
| 28 | 20namespace·Functions·{ | ||
| 29 | 21 | ||
| 30 | 22 | 30 | 22 |
| 31 | 23 | 31 | 23 |
| 32 | 24namespace·Dune·{ | ||
| 33 | 25namespace·Functions·{ | ||
| 34 | 26 | ||
| 35 | 27namespace·Imp·{ | ||
| 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 | 36 | 28 |
| 38 | 29 | 37 | 29template<class·Signature,·class·GV,·class·FLocal,·template<class>·class |
| 38 | DerivativeTraits=DefaultDerivativeTraits> | ||
| 39 | 30class·LocalAnalyticGridViewFunction; | ||
| 40 | 31 | ||
| 39 | 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{ | ||
| 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 | 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); | ||
| 51 | 39 | ||
| 48 | 52 | 40·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) | ||
| 60 | 73{ | ||
| 61 | 74·return·std::forward<F>(f); | ||
| 62 | 75} | ||
| 63 | 76 | ||
| 64 | 77 | ||
| 65 | 78 | ||
| 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 | grid | 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)), | ||
| Max diff block lines reached; 6408/15439 bytes (41.51%) 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, 25 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·<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·/> | ||
| 102 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 98 | </div> | 105 | </div> |
| 99 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 100 | <table·class="memberdecls"> | 107 | <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> | 108 | <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> | 109 | Classes</h2></td></tr> |
| 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 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::F[·...·truncated·by·diffoscope;·len:·39,·SHA:·92f5bdd8d628b169e820ab841d9ef20078a21c48a1eb9e876a2502d0a2a8a38f·...·]·></a></td></tr> |
| 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> |
| 105 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 106 | <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> |
| 107 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
| 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> | 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> |
| 110 | </table> | 117 | </table> |
| 111 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| Offset 118, 13 lines modified | Offset 125, 13 lines modified | ||
| 118 | </div><!--·page-nav-contents·--> | 125 | </div><!--·page-nav-contents·--> |
| 119 | </div><!--·page-nav-tree·--> | 126 | </div><!--·page-nav-tree·--> |
| 120 | </div><!--·page-nav·--> | 127 | </div><!--·page-nav·--> |
| 121 | </div><!--·container·--> | 128 | </div><!--·container·--> |
| 122 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
| 123 | <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!·--> |
| 124 | ··<ul> | 131 | ··<ul> |
| 125 | ····<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"> | 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="a00062.html">facenormalgridfunction.hh</a></li> |
| 126 | ····<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> |
| 127 | ··</ul> | 134 | ··</ul> |
| 128 | </div> | 135 | </div> |
| 129 | </body> | 136 | </body> |
| 130 | </html> | 137 | </html> |
| Offset 1, 18 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 | gridviewentityset.hh·File·Reference | ||
| 6 | 5 | facenormalgridfunction.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 7 | #include·<optional> | ||
| 8 | #include·<dune/common/exceptions.hh> | ||
| 9 | #include·<dune/common/typeutilities.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> | ||
| 7 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 8 | Classes | 15 | Classes |
| 9 | class· ·Dune::Functions::GridViewEntitySet<_GV,_cd_> | ||
| 10 | 16 | class· ·Dune::Functions::FaceNormalGridFunction<_GV_> | |
| 17 | ·······Grid·function·implementing·the·piecewise·element·face·normal.·More... | ||
| 11 | Namespaces | 18 | Namespaces |
| 12 | namespace· ·Dune | 19 | namespace· ·Dune |
| 13 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 14 | ····*·dune | 21 | ····*·dune |
| 15 | ····*·functions | 22 | ····*·functions |
| 16 | ····*·gridfunctions | 23 | ····*·gridfunctions |
| 17 | ····*· | 24 | ····*·facenormalgridfunction.hh |
| 18 | ····*·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, 128 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="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_GRIDFUNCTIONS_ | 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_GRIDFUNCTIONS_ | 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> | 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> | 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> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> | ||
| 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> | ||
| 117 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
| 118 | <div·class="line"><a·id="l000 | 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> | ||
| 119 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 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">GridView</a>;</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="preprocessor">#include·<dune/common/rangeutilities.hh></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="preprocessor">#include·<dune/geometry/referenceelements.hh></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> |
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.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="a00044.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 124 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 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·class="code·hl_typedef"·href="a02278.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>;</div> | ||
| 126 | <div·class="line"><a·id="l000 | 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> | ||
| 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> | ||
| 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>Impl·{</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="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·class="code·hl_typedef"·href="a02278.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>;</div> | ||
| 133 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span></div> | ||
| 134 | <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> |
| 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> | ||
| 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="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> | ||
| 138 | <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> | ||
| 139 | <div·class="line"><a·id="l000 | 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="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> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····normal·/=·normal.two_norm();</div> | ||
| 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> | ||
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····c·-=·x;</div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 176 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····{</div> | ||
| 177 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······element_·=·element;</div> | ||
| 178 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······geometry_.emplace(element_.geometry());</div> | ||
| 179 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····}</div> | ||
| Max diff block lines reached; 11197/52421 bytes (21.36%) of diff not shown. | |||
| Offset 1, 141 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_GRIDFUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<memory> | ||
| 19 | 1 | 18 | 10#include·<type_traits> |
| 19 | 11#include·<optional> | ||
| 20 | 12 | 20 | 12 |
| 21 | 13namespace·Dune·{ | ||
| 22 | 14 | ||
| 23 | 15namespace·Functions·{ | ||
| 24 | 1 | 21 | 13#include·<dune/common/exceptions.hh> |
| 22 | 14#include·<dune/common/typeutilities.hh> | ||
| 23 | 15#include·<dune/common/rangeutilities.hh> | ||
| 24 | 16#include·<dune/geometry/referenceelements.hh> | ||
| 25 | 17 | 25 | 17 |
| 26 | 25template<class·GV,·int·cd> | ||
| 27 | 26class·GridViewEntitySet | ||
| 28 | 27{ | ||
| 29 | 26 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | |
| 27 | 19#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 28 | 20 | ||
| 29 | 21 | ||
| 30 | 22namespace·Dune::Functions·{ | ||
| 31 | 23 | ||
| 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) | ||
| 30 | 29 | 37 | 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 | 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))) | ||
| 41 | 33·{ | ||
| 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) | ||
| 51 | 43·{ | ||
| 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 | ||
| 50 | 54 | 62 | 54 |
| 51 | 56·bool·contains(const·Element&·e)·const | ||
| 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·} | ||
| 65 | 72 | ||
| 66 | 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: | ||
| 77 | 81 | ||
| 78 | 82·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
| 79 | DefaultDerivativeTraits,·16>; | ||
| 80 | 83 | ||
| 81 | 84·class·LocalFunction | ||
| 67 | 82 | 85·{ | |
| 83 | 86·using·Geometry·=·typename·Element::Geometry; | ||
| 84 | 87·static·const·int·dimension·=·GV::dimension; | ||
| 85 | 88·public: | ||
| 68 | 76·return·gv_.template·end<codim>(); | ||
| 69 | 77·} | ||
| Max diff block lines reached; 6335/10168 bytes (62.30%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·localderivativetraits.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 32 lines modified | Offset 88, 27 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">localderivativetraits.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·<<a·class="el"·href="a00272_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 97 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | ||
| 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·/> | ||
| 102 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 105 | </div> | 98 | </div> |
| 106 | <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> |
| 107 | <table·class="memberdecls"> | 100 | <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> | 101 | <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> | 102 | Classes</h2></td></tr> |
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"[·...·truncated·by·diffoscope;·len:·120,·SHA:·4af653f2f5ebb7bad470e394a7352fb3aece3545d771b5a75c0a4f92d599ebc0·...·]·></a></td></tr> |
| 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·traits·for·local·functions.··<a·href="a02290.html#details">More...</a><br·/></td></tr> |
| 105 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20Signature_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20Signature_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02294.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·></a></td></tr> | ||
| 106 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20R_28LocalDomain_29_3E"·id="r_Dune_3A_3AFunctions_3A_3ALocalDerivativeTraits_3C_20EntitySet_2C_20DerivativeTraits_20_3E_3A_3ATraits_3C_20R_28LocalDomain_29_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02298.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)></a></td></tr> | ||
| 112 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 114 | Namespaces</h2></td></tr> | 109 | 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> | 110 | <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> | 111 | <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> | 112 | </table> |
| 118 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
| Offset 125, 13 lines modified | Offset 120, 13 lines modified | ||
| 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_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00065.html"> | 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_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00065.html">localderivativetraits.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, 25 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 | localderivativetraits.hh·File·Reference | ||
| 6 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 5 | facenormalgridfunction.hh·File·Reference | ||
| 6 | #include·<type_traits> | ||
| 7 | #include·<optional> | ||
| 8 | #include·<dune/common/exceptions.hh> | ||
| 9 | #include·<dune/common/typeutilities.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> | ||
| 14 | Go_to_the_source_code_of_this_file. | 7 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | 8 | Classes |
| 16 | class· ·Dune::Functions::FaceNormalGridFunction<_GV_> | ||
| 17 | 9 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits_> | |
| 10 | ········Derivative·traits·for·local·functions.·More... | ||
| 11 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 12 | ·········>::Traits<_Signature_> | ||
| 13 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 14 | ·········>::Traits<_R(LocalDomain)> | ||
| 18 | Namespaces | 15 | Namespaces |
| 19 | namespace· ·Dune | 16 | namespace· ·Dune |
| 20 | namespace· ·Dune::Functions | 17 | namespace· ·Dune::Functions |
| 21 | ····*·dune | 18 | ····*·dune |
| 22 | ····*·functions | 19 | ····*·functions |
| 23 | ····*·gridfunctions | 20 | ····*·gridfunctions |
| 24 | ····*· | 21 | ····*·localderivativetraits.hh |
| 25 | ····*·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:·localderivativetraits.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 210 lines modified | Offset 88, 79 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">localderivativetraits.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_GRIDFUNCTIONS_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_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_GRIDFUNCTIONS_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_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·<type_traits></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> |
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00272.html">dune/functions/common/defaultderivativetraits.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><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> | ||
| 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="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·<<a·class="code"·href="a00056.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="a00062.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></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 | 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> |
| 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="a00318.html">Functions</a>·{</div> |
| 121 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 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> | ||
| 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="l000 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> |
| 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=<a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a>></div> | ||
| 115 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};"> | ||
| 116 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a02290.html">···31</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02290.html">LocalDerivativeTraits</a></div> | ||
| 125 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> |
| 118 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a02290.html#a2dc0b1d49311457bb686a04972f8aee4">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02290.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
| 119 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02290.html#a0339d22fe9243285caf3a79a286912b5">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02290.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
| 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> | ||
| 129 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
| 121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
| 122 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> | ||
| 123 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02294.html">···37</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02294.html">Traits</a></div> | ||
| 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> | ||
| 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·· | 124 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> |
| 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword"> | 125 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02294.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">···39</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01202.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a02294.html#ab37a5c5f4de2d44c5334bab[·...·truncated·by·diffoscope;·len:·20,·SHA:·0fc960f7e805b07822a2b99015fa927bad707af8ec6ca8e7a5c9f066974bccb0·...·];</div> |
| 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·· | 126 | <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>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 176 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····{</div> | ||
| 177 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······element_·=·element;</div> | ||
| 178 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······geometry_.emplace(element_.geometry());</div> | ||
| 179 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····}</div> | ||
| 180 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | ||
| 181 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keywordtype">void</span>·unbind()</div> | ||
| 182 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····{</div> | ||
| 183 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······geometry_.reset();</div> | ||
| 184 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····}</div> | ||
| 185 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span></div> | ||
| 186 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
| 187 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">····</span>{</div> | ||
| 188 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="keywordflow">return</span>·<span·class="keyword">static_cast<</span><span·class="keywordtype">bool</span><span·class="keyword">></span>(geometry_);</div> | ||
| Max diff block lines reached; 9235/43860 bytes (21.06%) of diff not shown. | |||
| Offset 1, 230 lines modified | Offset 1, 82 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 | localderivativetraits.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_GRIDFUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 1 | 18 | 10 |
| 19 | 11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 20 | 12 | 20 | 12 |
| 21 | 13#include·<dune/common/exceptions.hh> | ||
| 22 | 14#include·<dune/common/typeutilities.hh> | ||
| 23 | 15#include·<dune/common/rangeutilities.hh> | ||
| 24 | 1 | 21 | 13 |
| 22 | 14namespace·Dune·{ | ||
| 23 | 15namespace·Functions·{ | ||
| 24 | 16 | ||
| 25 | 17 | 25 | 17 |
| 26 | 30template<class·EntitySet,·template<class>·class | ||
| 27 | DerivativeTraits=DefaultDerivativeTraits> | ||
| 28 | 31struct·LocalDerivativeTraits | ||
| 29 | 32{ | ||
| 30 | 33·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 31 | 34·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 32 | 35 | ||
| 33 | 36·template<class·Signature> | ||
| 34 | 37·struct·Traits | ||
| 26 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 27 | 19#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 28 | 20 | ||
| 29 | 21 | ||
| 30 | 22namespace·Dune::Functions·{ | ||
| 31 | 23 | ||
| 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))) | ||
| 41 | 3 | 35 | 38·{ |
| 36 | 39·typedef·InvalidRange·Range; | ||
| 37 | 40·}; | ||
| 38 | 41 | ||
| 39 | 42·template<class·R> | ||
| 40 | 43·struct·Traits<R(LocalDomain)> | ||
| 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) | ||
| 51 | 4 | 41 | 44·{ |
| 42 | 45·using·Range·=·typename·DerivativeTraits<R(Domain)>::Range; | ||
| 43 | 46·}; | ||
| 44 | 47}; | ||
| 45 | 48 | ||
| 46 | 49 | ||
| 47 | 50}}·//·namespace·Dune::Functions | ||
| 48 | 51 | ||
| 49 | 52#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
| 50 | defaultderivativetraits.hh | ||
| 51 | Dune | ||
| 52 | Definition·monomialset.hh:19 | ||
| 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: | ||
| 77 | 81 | ||
| 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() | ||
| 94 | 108·{ | ||
| 95 | 109·geometry_.reset(); | ||
| 96 | 110·} | ||
| 97 | 111 | ||
| 98 | 114·bool·bound()·const | ||
| Max diff block lines reached; 3485/9014 bytes (38.66%) 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:·a | 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, 60 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">a | 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·<dune/common/copyableoptional.hh></code><br·/> | ||
| 100 | <code>#include·< | 99 | <code>#include·<utility></code><br·/> |
| 101 | <code>#include·< | 100 | <code>#include·<dune/common/referencehelper.hh></code><br·/> |
| 102 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00272_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 103 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00 | 102 | <code>#include·<<a·class="el"·href="a00233_source.html">dune/functions/common/geometryinancestor.hh</a>></code><br·/> |
| 105 | <code>#include·<<a·class="el"·href="a000 | 103 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 106 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/ | 104 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 107 | </div> | 105 | </div> |
| 108 | <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> |
| 109 | <table·class="memberdecls"> | 107 | <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> | 108 | <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> | 109 | Classes</h2></td></tr> |
| 112 | <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:·151,·SHA:·17736a04049bbc436433ad4a3de18aebfa728a52d6723dbce19767aab9aa6948·...·],·DerivativeTraits·></a></td></tr> |
| 113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> |
| 114 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 115 | <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> |
| 116 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
| 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> | 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> |
| 119 | </table><table·class="memberdecls"> | ||
| 120 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 121 | Functions</h2></td></tr> | ||
| 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·=·std::invoke_result_t<F,Domain>>·</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> | ||
| 127 | </table> | 117 | </table> |
| 128 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| 129 | </div><!--·doc-content·--> | 119 | </div><!--·doc-content·--> |
| 130 | <div·id="page-nav"·class="page-nav-panel"> | 120 | <div·id="page-nav"·class="page-nav-panel"> |
| 131 | <div·id="page-nav-resize-handle"></div> | 121 | <div·id="page-nav-resize-handle"></div> |
| 132 | <div·id="page-nav-tree"> | 122 | <div·id="page-nav-tree"> |
| 133 | <div·id="page-nav-contents"> | 123 | <div·id="page-nav-contents"> |
| 134 | </div><!--·page-nav-contents·--> | 124 | </div><!--·page-nav-contents·--> |
| 135 | </div><!--·page-nav-tree·--> | 125 | </div><!--·page-nav-tree·--> |
| 136 | </div><!--·page-nav·--> | 126 | </div><!--·page-nav·--> |
| 137 | </div><!--·container·--> | 127 | </div><!--·container·--> |
| 138 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
| 139 | <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!·--> |
| 140 | ··<ul> | 130 | ··<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_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li><li·class="navelem"><a·href="a00068.html">a | 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> |
| 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> | 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> |
| 143 | ··</ul> | 133 | ··</ul> |
| 144 | </div> | 134 | </div> |
| 145 | </body> | 135 | </body> |
| 146 | </html> | 136 | </html> |
| Offset 1, 38 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 | coarsefunctiononfinegridview.hh·File·Reference | ||
| 5 | analyticgridviewfunction.hh·File·Reference | ||
| 6 | #include·<type_traits> | ||
| 7 | #include·<optional> | 6 | #include·<optional> |
| 8 | #include·<dune/common/copyableoptional.hh> | ||
| 9 | #include·<dune/common/typeutilities.hh> | ||
| 10 | #include·< | 7 | #include·<type_traits> |
| 8 | #include·<utility> | ||
| 9 | #include·<dune/common/referencehelper.hh> | ||
| 11 | #include·<dune/functions/common/defaultderivativetraits.hh> | 10 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 12 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 13 | #include·<dune/functions/common/ | 11 | #include·<dune/functions/common/geometryinancestor.hh> |
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 14 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | 13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 15 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 16 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 17 | Classes | 15 | Classes |
| 18 | class· ·Dune::Functions:: | 16 | class· ·Dune::Functions::CoarseFunctionOnFineGridView<_GridFunction,_GV, |
| 19 | ········DerivativeTraits_> | 17 | ········DerivativeTraits_> |
| 20 | ······· | 18 | ·······A·wrapper·representing·a·coarse·grid·function·on·a·fine·gridview. |
| 19 | ········More... | ||
| 21 | Namespaces | 20 | Namespaces |
| 22 | namespace· ·Dune | 21 | namespace· ·Dune |
| 23 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 24 | Functions | ||
| 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. | ||
| 34 | ····*·dune | 23 | ····*·dune |
| 35 | ····*·functions | 24 | ····*·functions |
| 36 | ····*·gridfunctions | 25 | ····*·gridfunctions |
| 37 | ····*·a | 26 | ····*·coarsefunctiononfinegridview.hh |
| 38 | ····*·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:·a | 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, 268 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">a | 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_GRIDFUNCTIONS_A | 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_GRIDFUNCTIONS_A | 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·<type_traits></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·<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/copyableoptional.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·<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> | ||
| 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="a00 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00272.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="a00 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00233.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="a00155.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></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·<<a·class="code"·href="a00056.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
| 116 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></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> |
| 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> | ||
| 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>·</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="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="l0002 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span></div> |
| 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="l000 | 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>&l[·...·truncated·by·diffoscope;·len:·110,·SHA:·44131526f1cd5da6b3fae3995e44ae2e01a2a96fa0bd89125e45d3bba2eef9e3·...·]DefaultDerivativeTraits></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> | ||
| 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="l000 | 124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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="l000 | 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> |
| 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="l000 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 136 | <div·class="line"><a·id="l0004 | 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> |
| 137 | <div·class="line"><a·id="l0004 | 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> | ||
| 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> | ||
| 141 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 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="l000 | 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> |
| 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 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>·=·GV;</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> | ||
| 149 | <div·class="line"><a·id="l0005 | 140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
| 141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">private</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="l0005 | 142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
| 153 | <div·class="line"><a·id="l000 | 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> | ||
| 154 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">class·</span>CoarseLocalFunctionOnFineGridView</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="l0006 | 148 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> |
| 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> | ||
| 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> | 150 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 162 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> | ||
| 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> | ||
| 164 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{</div> | ||
| 165 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····element_·=·element;</div> | ||
| 166 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····geometry_.emplace(element_.geometry());</div> | ||
| 167 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div> | ||
| 168 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span></div> | ||
| 169 | <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> |
| 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>····geometry_.reset();</div> | ||
| 172 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> | ||
| 173 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 174 | <div·class="line"><a·id="l000 | 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">localFunction</a>(<a·class="code[·...·truncated·by·diffoscope;·len:·134,·SHA:·ad8c9099c3c3b853c65543d381e5c3fca19c7b61f135e0bef0829d7628b12e15·...·]</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> | ||
| 175 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span></div> |
| 176 | <div·class="line"><a·id="l000 | 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>·Coa[·...·truncated·by·diffoscope;·len:·34,·SHA:·b40ad376393903b87e943d3d95c1d3567ae035098f3a2fe843ebbe3b32a4006b·...·]</div> |
| Max diff block lines reached; 52910/89798 bytes (58.92%) of diff not shown. | |||
| Offset 1, 350 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 | a | 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_GRIDFUNCTIONS_A | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COARSEFUNCTIONONFINEGRIDVIEW_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_A | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COARSEFUNCTIONONFINEGRIDVIEW_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 1 | 18 | 10#include·<optional> |
| 20 | 12 | ||
| 21 | 13#include·<dune/common/copyableoptional.hh> | ||
| 22 | 1 | 19 | 11#include·<type_traits> |
| 20 | 12#include·<utility> | ||
| 21 | 13 | ||
| 22 | 14#include·<dune/common/referencehelper.hh> | ||
| 23 | 15 | 23 | 15 |
| 24 | 16#include·<dune/functions/common/signature.hh> | ||
| 25 | 1 | 24 | 16#include·<dune/functions/common/defaultderivativetraits.hh> |
| 26 | 18#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 27 | 1 | 25 | 17#include·<dune/functions/common/geometryinancestor.hh> |
| 28 | 26 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | |
| 29 | 27 | 19#include·<dune/functions/gridfunctions/gridviewentityset.hh> | |
| 28 | 20 | ||
| 29 | 21namespace·Dune::Functions·{ | ||
| 30 | 22 | 30 | 22 |
| 31 | 23 | 31 | 23 |
| 32 | 24 | ||
| 32 | 24namespace·Dune·{ | ||
| 33 | 25namespace·Functions·{ | ||
| 34 | 26 | ||
| 35 | 27namespace·Imp·{ | ||
| 36 | 28 | ||
| 37 | 33 | 39template<class·GridFunction,·class·GV,·template<class>·class | |
| 38 | DerivativeTraits=DefaultDerivativeTraits> | 34 | DerivativeTraits=Dune::Functions::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 | 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 | ||
| 46 | 44 | 49public: | |
| 45 | 50 | ||
| 47 | 36·using·Signature·=·Range(LocalDomain); | ||
| 48 | 37·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 49 | 38·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 50 | (LocalDomain); | ||
| 51 | 39 | ||
| 52 | 46 | 51·using·GridView·=·GV; | |
| 53 | 47 | 52·using·EntitySet·=·Dune::Functions::GridViewEntitySet<GridView,_0>; | |
| 54 | 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 | 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 | 55 | 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 | 6 | 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; | ||
| 80 | 67 | 66 | 67 |
| 81 | 68 | ||
| 82 | 77·void·bind(const·Element&·element) | ||
| 83 | 78·{ | ||
| 84 | 79·element_·=·element; | ||
| 85 | 80·geometry_.emplace(element_.geometry()); | ||
| 86 | 81·} | ||
| 87 | 82 | ||
| 88 | 84·void·unbind() | ||
| 89 | 85·{ | ||
| 90 | 86·geometry_.reset(); | ||
| 91 | 87·} | ||
| 92 | 88 | ||
| 93 | 91·bool·bound()·const | ||
| 94 | 92·{ | ||
| 95 | 93·return·static_cast<bool>(geometry_); | ||
| 96 | 94·} | ||
| 97 | 95 | ||
| Max diff block lines reached; 14469/21911 bytes (66.04%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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, 70 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 | <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·<limits></code><br·/> | ||
| 101 | <code>#include·<algorithm></code><br·/> | ||
| 100 | <code>#include·< | 102 | <code>#include·<cmath></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/ | 103 | <code>#include·<dune/common/referencehelper.hh></code><br·/> |
| 104 | <code>#include·< | 104 | <code>#include·<dune/geometry/type.hh></code><br·/> |
| 105 | <code>#include·<<a·class="el"·href="a00 | 105 | <code>#include·<<a·class="el"·href="a00272_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 106 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 107 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | 106 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 108 | <code>#include·<<a·class="el"·href="a0 | 107 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 109 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
| 110 | </div> | 108 | </div> |
| 111 | <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> |
| 112 | <table·class="memberdecls"> | 110 | <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> | 111 | <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> | 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> | ||
| 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·class="memItemRight"·valign="bottom"><a·class="el"·href="a02210.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·></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· | 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> |
| 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> | ||
| 125 | </table><table·class="memberdecls"> | 115 | </table><table·class="memberdecls"> |
| 126 | <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> |
| 127 | Namespaces</h2></td></tr> | 117 | Namespaces</h2></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> | 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> |
| 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> | 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> |
| 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> | ||
| 131 | </table><table·class="memberdecls"> | ||
| 132 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 133 | Functions</h2></td></tr> | ||
| 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> | ||
| 137 | </table> | 120 | </table> |
| 138 | </div><!--·contents·--> | 121 | </div><!--·contents·--> |
| 139 | </div><!--·doc-content·--> | 122 | </div><!--·doc-content·--> |
| 140 | <div·id="page-nav"·class="page-nav-panel"> | 123 | <div·id="page-nav"·class="page-nav-panel"> |
| 141 | <div·id="page-nav-resize-handle"></div> | 124 | <div·id="page-nav-resize-handle"></div> |
| 142 | <div·id="page-nav-tree"> | 125 | <div·id="page-nav-tree"> |
| 143 | <div·id="page-nav-contents"> | 126 | <div·id="page-nav-contents"> |
| 144 | </div><!--·page-nav-contents·--> | 127 | </div><!--·page-nav-contents·--> |
| 145 | </div><!--·page-nav-tree·--> | 128 | </div><!--·page-nav-tree·--> |
| 146 | </div><!--·page-nav·--> | 129 | </div><!--·page-nav·--> |
| 147 | </div><!--·container·--> | 130 | </div><!--·container·--> |
| 148 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
| 149 | <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!·--> |
| 150 | ··<ul> | 133 | ··<ul> |
| 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="a00071.html"> | 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> |
| 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> | 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> |
| 153 | ··</ul> | 136 | ··</ul> |
| 154 | </div> | 137 | </div> |
| 155 | </body> | 138 | </body> |
| 156 | </html> | 139 | </html> |
| Offset 1, 50 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 | ||
| 5 | discreteglobalbasisfunction.hh·File·Reference | ||
| 6 | #include·<memory> | ||
| 7 | #include·<optional> | 6 | #include·<optional> |
| 8 | #include·< | 7 | #include·<type_traits> |
| 8 | #include·<utility> | ||
| 9 | #include·<limits> | ||
| 10 | #include·<algorithm> | ||
| 11 | #include·<cmath> | ||
| 9 | #include·<dune/common/ | 12 | #include·<dune/common/referencehelper.hh> |
| 13 | #include·<dune/geometry/type.hh> | ||
| 14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 10 | #include·<dune/grid/utility/hierarchicsearch.hh> | ||
| 11 | #include·<dune/common/typetree/traversal.hh> | ||
| 12 | #include·<dune/common/typetree/treecontainer.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
| 15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | 15 | #include·<dune/functions/gridfunctions/gridfunction.hh> |
| 16 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 17 | #include·<dune/functions/backends/concepts.hh> | ||
| 18 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | 18 | Classes |
| 19 | class· ·Dune::Functions::FineFunctionOnCoarseGridView<_GridFunction,_GV, | ||
| 20 | ········DerivativeTraits_> | ||
| 21 | ·······A·wrapper·representing·a·fine·grid·function·on·a·gridview.·More... | ||
| 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... | ||
| 38 | Namespaces | 22 | Namespaces |
| 39 | namespace· ·Dune | 23 | namespace· ·Dune |
| 40 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 41 | namespace· ·Dune::Functions::ImplDoc | ||
| 42 | Functions | ||
| 43 | template<typename·R,·typename·B,·typename·V> | ||
| 44 | auto ·Dune::Functions::makeDiscreteGlobalBasisFunction·(B·&&basis,·V·&&vector) | ||
| 45 | ·····Generate·a·DiscreteGlobalBasisFunction. | ||
| 46 | ····*·dune | 25 | ····*·dune |
| 47 | ····*·functions | 26 | ····*·functions |
| 48 | ····*·gridfunctions | 27 | ····*·gridfunctions |
| 49 | ····*· | 28 | ····*·finefunctiononcoarsegridview.hh |
| 50 | ····*·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, 704 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>·</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_GRIDFUNCTIONS_ | 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_ | 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>·</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·<memory></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·<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="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></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·<utility></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> | ||
| 114 | <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·<limits></span></div> |
| 115 | <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·<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> | ||
| 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>·</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="a00272.html">dune/functions/ | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00272.html">dune/functions/common/defaultderivativetraits.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="a00 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/gridfunctions/gridfunction.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="a000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.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="a00056.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="a00086.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
| 123 | <div·class="line"><a·id="l0002 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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 | 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> |
| 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>Impl·{</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">namespace·</span>ReferenceElementUtilities·{</div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</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> | ||
| 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> | ||
| 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><span·class="keyword">template</span><<span·class="keyword">typename</span>·B,·<span·class="keyword">typename</span>·V,·<span·class="keyword">typename</span>·NTRE></div> | ||
| 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> | ||
| 134 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | ||
| 135 | <div·class="line"><a·id="l0003 | 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> |
| 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>·=·B;</div> | ||
| 137 | <div·class="line"><a·id="l0003 | 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> | ||
| 138 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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="l000 | 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>std::abs;</div> |
| 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> | ||
| 142 | <div·class="line"><a·id="l0004 | 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keywordflow">if</span>·(dim·>·1)</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="l0004 | 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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="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> | ||
| 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="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="l000 | 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keywordflow">if</span>·(dim·==·1)</div> |
| 153 | <div·class="line"><a·id="l000 | 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> | ||
| 154 | <div·class="line"><a·id="l000 | 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> | ||
| 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="l0005 | 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> |
| 158 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> | ||
| 159 | <div·class="line"><a·id="l000 | 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> | ||
| 160 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> |
| 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#a869d1890dea002afea9673d30bf7a6f9">entitySet</a>;</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> | ||
| 165 | <div·class="line"><a·id="l0006 | 156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">using·</span>std::abs;</div> |
| 166 | </div> | ||
| 167 | <div·class="line"><a·id="l0006 | 157 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">using·</span>std::max;</div> |
| 168 | <div·class="line"><a·id="l0006 | 158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">using·</span>std::min;</div> |
| 169 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="};"> | ||
| 170 | <div·class="line"><a·id="l0006 | 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> | ||
| Max diff block lines reached; 133898/190695 bytes (70.22%) of diff not shown. | |||
| Offset 1, 884 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 | 14 | 6 |
| 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 15 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FINEFUNCTIONONCOARSEGRIDVIEW_HH |
| 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 16 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FINEFUNCTIONONCOARSEGRIDVIEW_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<memory> | ||
| 19 | 1 | 18 | 10#include·<optional> |
| 20 | 12 | ||
| 21 | 1 | 19 | 11#include·<type_traits> |
| 20 | 12#include·<utility> | ||
| 21 | 13#include·<limits> | ||
| 22 | 14#include·<algorithm> | ||
| 23 | 15#include·<cmath> | ||
| 24 | 16 | ||
| 22 | 1 | 25 | 17#include·<dune/common/referencehelper.hh> |
| 26 | 18 | ||
| 27 | 19#include·<dune/geometry/type.hh> | ||
| 23 | 15 | ||
| 24 | 16#include·<dune/grid/utility/hierarchicsearch.hh> | ||
| 25 | 17 | ||
| 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 | 2 | 29 | 21#include·<dune/functions/common/defaultderivativetraits.hh> |
| 30 | 22#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 31 | 23#include·<dune/functions/gridfunctions/gridviewentityset.hh> | 31 | 23#include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 32 | 24 | ||
| 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 | 2 | 33 | 25namespace·Dune::Functions·{ |
| 34 | 26 | ||
| 35 | 27namespace·Impl·{ | ||
| 36 | 28 | ||
| 37 | 29namespace·ReferenceElementUtilities·{ | ||
| 38 | 30 | 38 | 30 |
| 39 | 31 | ||
| 40 | 32namespace·ImplDoc·{ | ||
| 41 | 33 | ||
| 42 | 34template<typename·B,·typename·V,·typename·NTRE> | ||
| 43 | 35class·DiscreteGlobalBasisFunctionBase | ||
| 44 | 36{ | ||
| 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 | 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{ | ||
| 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 | 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 | 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) | ||
| 70 | 6 | 74 | 64·{ |
| 75 | 65·auto·dist_x_last·=·max(x[dim-1]-scaleFactor,·-x[dim-1]); | ||
| 76 | 66·if·(dist_x_last·<=·tolerance) | ||
| 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·}; | ||
| 76 | 67 | ||
| 77 | 68public: | ||
| 78 | 69·class·LocalFunctionBase | ||
| 79 | 77 | 67·{ | |
| 80 | 71·using·LocalView·=·typename·Basis::LocalView; | ||
| Max diff block lines reached; 38905/44355 bytes (87.71%) 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:·defaultglobalbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 63 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">defaultglobalbasis.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·<c | 97 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
| 98 | <code>#include·<type_traits></code><br·/> | ||
| 99 | <code>#include·<utility></code><br·/> | ||
| 100 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 101 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 102 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
| 103 | <code>#include·<dune/common/typetree/treepath.hh></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00227_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></code><br·/> | ||
| 106 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 107 | <code>#include·<<a·class="el"·href="a00143_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 98 | </div> | 108 | </div> |
| 99 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 109 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 100 | <table·class="memberdecls"> | 110 | <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> | 111 | <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> | 112 | Classes</h2></td></tr> |
| 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 113 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADefaultGlobalBasis_3C_20PB_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADefaultGlobalBasis_3C_20PB_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01818.html">Dune::Functions[·...·truncated·by·diffoscope;·len:·27,·SHA:·f541f8dd3ece9757755531b89624a1ff5c48e41480518e9f131f870d0a369950·...·]·></a></td></tr> |
| 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Global·basis·for·given·pre-basis.··<a·href="a01818.html#details">More...</a><br·/></td></tr> |
| 105 | </table><table·class="memberdecls"> | 115 | </table><table·class="memberdecls"> |
| 106 | <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> |
| 107 | Namespaces</h2></td></tr> | 117 | 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> | 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> |
| 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> | 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> |
| 120 | <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> | ||
| 110 | </table><table·class="memberdecls"> | 121 | </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> | 122 | <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> | 123 | 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 | 124 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"·id="r_a060058e4e3c070530978192cb7c99d39"><td·class="memTemplParams"·colspan="2">template<class·PreBasis>·</td></tr> |
| 125 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a060058e4e3c070530978192cb7c99d39">Dune::Functions::DefaultGlobalBasis</a>·(PreBasis·&&)·->·DefaultGlobalBasis<·std::decay_t<·PreBasis·>·></td></tr> | ||
| 126 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"·id="r_a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplParams"·colspan="2">template<class·GridView,·class·PreBasisFactory>·</td></tr> | ||
| 127 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78·template"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a57d2c8b66fd384768b94af95e4ce5d78">Dune::Functions::DefaultGlobalBasis</a>·(const·GridView·&gv,·PreBasisFactory·&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·></td></tr> | ||
| 128 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"·id="r_a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplParams"·colspan="2">template<class·GridView,·class·PreBasisFactory>·</td></tr> | ||
| 129 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html#a1f0dc55c03c3a9862c76456d5574abe2">Dune::Functions::BasisFactory::makeBasis</a>·(const·GridView·&gridView,·PreBasisFactory·&&preBasisFactory)</td></tr> | ||
| 116 | </table> | 130 | </table> |
| 117 | </div><!--·contents·--> | 131 | </div><!--·contents·--> |
| 118 | </div><!--·doc-content·--> | 132 | </div><!--·doc-content·--> |
| 119 | <div·id="page-nav"·class="page-nav-panel"> | 133 | <div·id="page-nav"·class="page-nav-panel"> |
| 120 | <div·id="page-nav-resize-handle"></div> | 134 | <div·id="page-nav-resize-handle"></div> |
| 121 | <div·id="page-nav-tree"> | 135 | <div·id="page-nav-tree"> |
| 122 | <div·id="page-nav-contents"> | 136 | <div·id="page-nav-contents"> |
| 123 | </div><!--·page-nav-contents·--> | 137 | </div><!--·page-nav-contents·--> |
| 124 | </div><!--·page-nav-tree·--> | 138 | </div><!--·page-nav-tree·--> |
| 125 | </div><!--·page-nav·--> | 139 | </div><!--·page-nav·--> |
| 126 | </div><!--·container·--> | 140 | </div><!--·container·--> |
| 127 | <!--·start·footer·part·--> | 141 | <!--·start·footer·part·--> |
| 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 142 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 129 | ··<ul> | 143 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00074.html">defaultglobalbasis.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> | 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> |
| 132 | ··</ul> | 146 | ··</ul> |
| 133 | </div> | 147 | </div> |
| 134 | </body> | 148 | </body> |
| 135 | </html> | 149 | </html> |
| Offset 1, 25 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 | 5 | defaultglobalbasis.hh·File·Reference | |
| 6 | #include·<c | 6 | #include·<cstddef> |
| 7 | #include·<type_traits> | ||
| 8 | #include·<utility> | ||
| 9 | #include·<dune/common/reservedvector.hh> | ||
| 10 | #include·<dune/common/typeutilities.hh> | ||
| 11 | #include·<dune/common/concept.hh> | ||
| 12 | #include·<dune/common/typetree/treepath.hh> | ||
| 13 | #include·<dune/functions/common/type_traits.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 7 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 8 | Classes | 18 | Classes |
| 9 | class· ·Dune::Functions::TrigonometricFunction<_K,_sinFactor,_cosFactor_> | ||
| 10 | 19 | class· ·Dune::Functions::DefaultGlobalBasis<_PB_> | |
| 20 | ·······Global·basis·for·given·pre-basis.·More... | ||
| 11 | Namespaces | 21 | Namespaces |
| 12 | namespace· ·Dune | 22 | namespace· ·Dune |
| 13 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 24 | namespace· ·Dune::Functions::BasisFactory | ||
| 14 | Functions | 25 | 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 | 26 | template<class·PreBasis> | |
| 27 | ···· ·Dune::Functions::DefaultGlobalBasis·(PreBasis·&&)·->·DefaultGlobalBasis< | ||
| 28 | ······std::decay_t<·PreBasis·>·> | ||
| 29 | template<class·GridView,·class·PreBasisFactory> | ||
| 30 | ···· ·Dune::Functions::DefaultGlobalBasis·(const·GridView·&gv,·PreBasisFactory | ||
| 31 | ······&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·> | ||
| 32 | template<class·GridView,·class·PreBasisFactory> | ||
| 33 | auto ·Dune::Functions::BasisFactory::makeBasis·(const·GridView·&gridView, | ||
| 34 | ······PreBasisFactory·&&preBasisFactory) | ||
| 21 | ····*·dune | 35 | ····*·dune |
| 22 | ····*·functions | 36 | ····*·functions |
| 23 | ····*·analyticfunctions | ||
| 24 | ····*· | 37 | ····*·functionspacebases |
| 38 | ····*·defaultglobalbasis.hh | ||
| 25 | ····*·Generated·by·[doxygen]1.15.0 | 39 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 6 lines modified | ||
| 1 | var·a00074·=·[ | 1 | var·a00074·=·[ |
| 2 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::DefaultGlobalBasis<·PB·>",·"a01818.html",·"a01818"], |
| 3 | ····["Dune::Functions::DefaultGlobalBasis",·"a00318.html#a57d2c8b66fd384768b94af95e4ce5d78",·null], | ||
| 4 | ····["Dune::Functions::DefaultGlobalBasis",·"a00318.html#a060058e4e3c070530978192cb7c99d39",·null], | ||
| 5 | ····["Dune::Functions::BasisFactory::makeBasis",·"a00327.html#a1f0dc55c03c3a9862c76456d5574abe2",·null] | ||
| 3 | ]; | 6 | ]; |
| 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:·defaultglobalbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 252 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">defaultglobalbasis.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">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 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_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_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_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_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·<c | 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>·</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="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>·</div> | ||
| 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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="l000 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 118 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
| 119 | <div·class="line"><a·id="l000 | 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> | ||
| 120 | <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·<dune/common/reservedvector.hh></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="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/concept.hh></span></div> | ||
| 122 | <div·class="line"><a·id="l000 | 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/common/typetree/treepath.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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00227.html">dune/functions/common/type_traits.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="a00155.html">dune/functions/functionspacebases/defaultlocalview.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="a03877.html">dune/functions/functionspacebases/concepts.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="a00143.html">dune/functions/functionspacebases/containerdescriptors.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>·</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="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 125 | <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> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span></div> | ||
| 128 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PB></div> | ||
| 129 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
| 130 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01818.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01818.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a></div> | ||
| 131 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div> | ||
| 132 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 133 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
| 134 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span></div> | ||
| 135 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB;</div> | ||
| 136 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span></div> | ||
| 137 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01818.html#a2d412b124ed69be2e258bc241869847d">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a2d412b124ed69be2e258bc241869847d">PrefixPath</a>·=·TypeTree::TreePath<>;</div> | ||
| 138 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span></div> | ||
| 139 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01818.html#a2b9cab135f3764650ad063d49c4c2fcb">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01586.html#a4e3afd3bbf379a81aad727bb9eb052fb">PreBasis::GridView</a>;</div> | ||
| 140 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span></div> | ||
| 141 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01818.html#a10db3413eda75531530d9b0bf82e8335">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a10db3413eda75531530d9b0bf82e8335">size_type</a>·=·std::size_t;</div> | ||
| 142 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span></div> | ||
| 143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01818.html#a5d4183d967f9cb31b16a9a4727dc7c06">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a5d4183d967f9cb31b16a9a4727dc7c06">LocalView</a>·=·<a·class="code·hl_class"·href="a01822.html">DefaultLocalView<DefaultGlobalBasis<PreBasis></a>>;</div> | ||
| 144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span></div> | ||
| 145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01818.html#a71e8362c3966f9bc4ced844fb8474be7">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a71e8362c3966f9bc4ced844fb8474be7">MultiIndex</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01822.html#a6ecd0d4fbaf18e24acc969cb82e9420a">LocalView::MultiIndex</a>;</div> | ||
| 146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span></div> | ||
| 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01818.html#a00a78eb6f90d02a8c5dd3d4718b14e99">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01818.html#a00a78eb6f90d02a8c5dd3d4718b14e99">SizePrefix</a>·=·Dune::ReservedVector<std::size_t,·PreBasis::multiIndexBufferSize>;</div> | ||
| 148 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span></div> | ||
| 149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·T,</div> | ||
| 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····disableCopyMove<<a·class="code·hl_function"·href="a01818.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>,·T...>·=·0,</div> | ||
| 151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_typedef"·href="a00314.html#gae56cc95e9c26568861b3fddae9983080">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>,·T...>·=·0></div> | ||
| 152 | <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}"> | ||
| 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01818.html#ac8c43e23bffc9116702a479f1c1d01f4">···89</a></span>··<a·class="code·hl_function"·href="a01818.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>(T&&...·t)·:</div> | ||
| 154 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<a·class="code·hl_variable"·href="a01818.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(std::forward<T>(t)...),</div> | ||
| 155 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01818.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
| 156 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··{</div> | ||
| 157 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 158 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<a·class="code·hl_variable"·href="a01818.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
| 159 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··}</div> | ||
| 123 | </div> | 160 | </div> |
| 124 | <div·class="line"><a·id="l000 | 161 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span></div> |
| 162 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>PreBasisFactory,</div> | ||
| 163 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····std::enable_if_t<Dune::IsCallable<PreBasisFactory(<a·class="code·hl_typedef"·href="a01818.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>),·<a·class="code·hl_typedef"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>::value,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 164 | <div·class="foldopen"·id="foldopen00105"·data-start="{"·data-end="}"> | ||
| 165 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01818.html#aca0a06166bf28fbc1f22dbcb7ca98812">··105</a></span>··<a·class="code·hl_function"·href="a01818.html#aca0a06166bf28fbc1f22dbcb7ca98812">DefaultGlobalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01818.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>&·<a·class="code·hl_function"·href="a01818.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>,·PreBasisFactory&&·factory)·:</div> | ||
| 166 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<a·class="code·hl_variable"·href="a01818.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(factory(<a·class="code·hl_function"·href="a01818.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>)),</div> | ||
| 167 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<a·class="code·hl_variable"·href="a01818.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
| 168 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··{</div> | ||
| 169 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 170 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<a·class="code·hl_variable"·href="a01818.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
| 171 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··}</div> | ||
| 125 | </div> | 172 | </div> |
| 126 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00 | 173 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</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="foldopen00 | 174 | <div·class="foldopen"·id="foldopen00114"·data-start="{"·data-end="}"> |
| 130 | <div·class="line"><a·id="l00 | 175 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01818.html#a34897e5d2dd92bf5f34d61e47a9eff66">··114</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01818.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</[·...·truncated·by·diffoscope;·len:·138,·SHA:·21942890489c155cc8f86c366cf6ae2468f82b308d5ab39983acfbc4cfa0b6cf·...·]</div> |
| 131 | <div·class="line"><a·id="l00 | 176 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">··</span>{</div> |
| 132 | <div·class="line"><a·id="l00 | 177 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01818.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.gridView();</div> |
| 133 | <div·class="line"><a·id="l00 | 178 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··}</div> |
| 134 | </div> | 179 | </div> |
| 135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00 | 180 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span></div> |
| 137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 138 | <div·class=" | 181 | <div·class="foldopen"·id="foldopen00120"·data-start="{"·data-end="}"> |
| 182 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01818.html#ae9a040d36416bf5456a7d7cbca241f17">··120</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01818.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>&·<a·class="code·hl_function"·href="a01818.html#ae9a040d36416bf5456a7d7cbca241f17">preBasis</a>()<span·class="keyword">·const</span></div> | ||
| Max diff block lines reached; 13579/53744 bytes (25.27%) of diff not shown. | |||
| Offset 1, 70 lines modified | Offset 1, 301 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 | defaultglobalbasis.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_TRIGONOMETRICFUNCTION_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<c | 18 | 10#include·<cstddef> |
| 19 | 11#include·<type_traits> | ||
| 20 | 12#include·<utility> | ||
| 21 | 13 | ||
| 22 | 14#include·<dune/common/reservedvector.hh> | ||
| 23 | 15#include·<dune/common/typeutilities.hh> | ||
| 24 | 16#include·<dune/common/concept.hh> | ||
| 25 | 17 | ||
| 26 | 18#include·<dune/common/typetree/treepath.hh> | ||
| 27 | 19 | ||
| 28 | 20#include·<dune/functions/common/type_traits.hh> | ||
| 29 | 21#include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
| 30 | 22#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 31 | 23#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 26 | ||
| 35 | 27namespace·Dune·{ | ||
| 36 | 28namespace·Functions·{ | ||
| 37 | 29 | ||
| 38 | 30 | ||
| 39 | 31 | ||
| 40 | 51template<class·PB> | ||
| 41 | 52class·DefaultGlobalBasis | ||
| 19 | 11 | ||
| 20 | 12namespace·Dune·{ | ||
| 21 | 13namespace·Functions·{ | ||
| 22 | 14 | ||
| 23 | 15 | ||
| 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 | ||
| 45 | 50}}·//·namespace·Dune::Functions | ||
| 46 | 51 | ||
| 47 | 52 | ||
| 48 | 53 | 42 | 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 | 43 | 54 | |
| 44 | 55public: | ||
| 45 | 56 | ||
| 46 | 58·using·PreBasis·=·PB; | ||
| 47 | 59 | ||
| 48 | 61·using·PrefixPath·=·TypeTree::TreePath<>; | ||
| 49 | 62 | ||
| 50 | 64·using·GridView·=·typename·PreBasis::GridView; | ||
| 51 | 65 | ||
| 52 | 67·using·size_type·=·std::size_t; | ||
| 53 | 68 | ||
| 54 | 70·using·LocalView·=·DefaultLocalView<DefaultGlobalBasis<PreBasis>>; | ||
| 55 | 71 | ||
| 56 | 73·using·MultiIndex·=·typename·LocalView::MultiIndex; | ||
| 57 | 74 | ||
| 58 | 76·using·SizePrefix·=·Dune::ReservedVector<std::size_t,·PreBasis:: | ||
| 59 | multiIndexBufferSize>; | ||
| 60 | 77 | ||
| 61 | 86·template<class...·T, | ||
| 62 | 87·disableCopyMove<DefaultGlobalBasis,·T...>·=·0, | ||
| 63 | 88·enableIfConstructible<PreBasis,·T...>·=·0> | ||
| 64 | 89·DefaultGlobalBasis(T&&...·t)·: | ||
| 65 | 90·preBasis_(std::forward<T>(t)...), | ||
| 66 | 91·prefixPath_() | ||
| 67 | 92·{ | ||
| 68 | 93·static_assert(models<Concept::PreBasis<GridView>,·PreBasis>(),·"Type·passed | ||
| 69 | to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."); | ||
| 70 | 94·preBasis_.initializeIndices(); | ||
| 71 | 95·} | ||
| 72 | 96 | ||
| 73 | 103·template<class·PreBasisFactory, | ||
| 74 | 104·std::enable_if_t<Dune::IsCallable<PreBasisFactory(GridView),·PreBasis>:: | ||
| 75 | value,·int>·=·0> | ||
| 76 | 105·DefaultGlobalBasis(const·GridView&·gridView,·PreBasisFactory&&·factory)·: | ||
| 77 | 106·preBasis_(factory(gridView)), | ||
| 78 | 107·prefixPath_() | ||
| 79 | 108·{ | ||
| 80 | 109·static_assert(models<Concept::PreBasis<GridView>,·PreBasis>(),·"Type·passed | ||
| 81 | to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."); | ||
| 82 | 110·preBasis_.initializeIndices(); | ||
| 83 | 111·} | ||
| 84 | 112 | ||
| 85 | 114·const·GridView&·gridView()·const | ||
| 86 | 115·{ | ||
| 87 | 116·return·preBasis_.gridView(); | ||
| 88 | 117·} | ||
| 89 | 118 | ||
| 90 | 120·const·PreBasis&·preBasis()·const | ||
| 91 | 121·{ | ||
| 92 | 122·return·preBasis_; | ||
| Max diff block lines reached; 5366/11266 bytes (47.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:·p | 8 | <title>Dune-Functions:·subspacelocalview.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 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">p | 94 | ··<div·class="headertitle"><div·class="title">subspacelocalview.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·<tuple></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/concept.hh></code><br·/> |
| 99 | <code>#include·<dune/common/typetree/childaccess.hh></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 101 | </div> | 101 | </div> |
| 102 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00077_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_3ASubspaceLocalView_3C_20RLV_2C_20PP_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ASubspaceLocalView_3C_20RLV_2C_20PP_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02146.html"[·...·truncated·by·diffoscope;·len:·47,·SHA:·9632b4bfb48ee8b384aa3ba3481dd0ebf1ff7489ae0f5e2fd55fc54fa8d8ad22·...·]·></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">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a02146.html#details">More...</a><br·/></td></tr> |
| 108 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
| 109 | <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> |
| 110 | Namespaces</h2></td></tr> | 110 | 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> | 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> |
| 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> | 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> |
| 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> | 113 | </table> |
| 131 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 132 | </div><!--·doc-content·--> | 115 | </div><!--·doc-content·--> |
| 133 | <div·id="page-nav"·class="page-nav-panel"> | 116 | <div·id="page-nav"·class="page-nav-panel"> |
| 134 | <div·id="page-nav-resize-handle"></div> | 117 | <div·id="page-nav-resize-handle"></div> |
| 135 | <div·id="page-nav-tree"> | 118 | <div·id="page-nav-tree"> |
| 136 | <div·id="page-nav-contents"> | 119 | <div·id="page-nav-contents"> |
| 137 | </div><!--·page-nav-contents·--> | 120 | </div><!--·page-nav-contents·--> |
| 138 | </div><!--·page-nav-tree·--> | 121 | </div><!--·page-nav-tree·--> |
| 139 | </div><!--·page-nav·--> | 122 | </div><!--·page-nav·--> |
| 140 | </div><!--·container·--> | 123 | </div><!--·container·--> |
| 141 | <!--·start·footer·part·--> | 124 | <!--·start·footer·part·--> |
| 142 | <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!·--> |
| 143 | ··<ul> | 126 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00077.html">subspacelocalview.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> | 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> |
| 146 | ··</ul> | 129 | ··</ul> |
| 147 | </div> | 130 | </div> |
| 148 | </body> | 131 | </body> |
| 149 | </html> | 132 | </html> |
| Offset 1, 40 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 | p | 5 | subspacelocalview.hh·File·Reference |
| 6 | #include·< | 6 | #include·<tuple> |
| 7 | #include·<initializer_list> | ||
| 8 | #include·<vector> | ||
| 9 | #include·<dune/common/ | 7 | #include·<dune/common/concept.hh> |
| 8 | #include·<dune/common/typetree/childaccess.hh> | ||
| 9 | #include·<dune/functions/functionspacebases/concepts.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::Polynomial<_K,_C_> | ||
| 13 | 12 | class· ·Dune::Functions::SubspaceLocalView<_RLV,_PP_> | |
| 13 | ·······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... | ||
| 14 | Namespaces | 14 | Namespaces |
| 15 | namespace· ·Dune | 15 | namespace· ·Dune |
| 16 | namespace· ·Dune::Functions | 16 | 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 | 17 | ····*·dune |
| 37 | ····*·functions | 18 | ····*·functions |
| 38 | ····*·analyticfunctions | ||
| 39 | ····*· | 19 | ····*·functionspacebases |
| 20 | ····*·subspacelocalview.hh | ||
| 40 | ····*·Generated·by·[doxygen]1.15.0 | 21 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 8 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00077·=·[ | 1 | var·a00077·=·[ |
| 2 | ····["Dune::Functions::SubspaceLocalView<·RLV,·PP·>",·"a02146.html",·"a02146"] | ||
| 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:·p | 8 | <title>Dune-Functions:·subspacelocalview.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 195 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">p | 94 | ··<div·class="headertitle"><div·class="title">subspacelocalview.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_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_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_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_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·<cmath></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 109 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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>·</div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/concept.hh></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·<dune/common/ | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typetree/childaccess.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><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</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="preprocessor">#include·<<a·class="code"·href="a03877.html">dune/functions/functionspacebases/concepts.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>·</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>Impl·{</div> | ||
| 117 | <div·class="line"><a·id="l0002 | 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> | ||
| 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="l00032"·name="l00032"></a><span·class="lineno">···32</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="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//·Compute·coefficients·of·derivative·of·polynomial.</span></div> | ||
| 131 | <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> | ||
| 132 | <div·class="line"><a·id="l000 | 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>·RB,·<span·class="keyword">class</span>·PP></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="l000 | 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02142.html">SubspaceBasis</a>;</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>·</div> | ||
| 136 | <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="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RLV,·<span·class="keyword">class</span>·PP></div> | ||
| 128 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> | ||
| 129 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a02146.html">···33</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02146.html#aa0d1d0d89f2dd443da6da8d77f6a344f">SubspaceLocalView</a></div> | ||
| 137 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</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="l000 | 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">using·</span>PrefixPath·=·PP;</div> |
| 142 | <div·class="line"><a·id="l000 | 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><span·class="keyword">public</span>:</div> |
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</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="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">return</span>·std::integer_sequence<I,·i*I(j)...>();</div> | ||
| 153 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02146.html#aa1f3b0a89f5d186299ed0a5329562815">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalVi[·...·truncated·by·diffoscope;·len:·13,·SHA:·68f38189b7700f164920334a4fc645743e3b8f7a1daf2d8bab2f39edaed90c95·...·]</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="a02146.html#a3a627e895c213316cb666677fb9176de">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#a3a627e895c213316cb666677fb9176de">GlobalBasis</a>·=·<a·class="code·hl_class"·href="a02142.html">SubspaceBasis<typename·RootLocalView::GlobalBasis,·PrefixPath></a>;</div> | ||
| 138 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span></div> | ||
| 139 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a02146.html#aa050bf0c521425f496729c3947a61bae">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#aa050bf0c521425f496729c3947a61bae">GridView</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02142.html#a6e7dd708494382dad7cc288ce6cfe6b8">GlobalBasis::GridView</a>;</div> | ||
| 140 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span></div> | ||
| 141 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02146.html#aa8331a332fffea09e3bddd41d3d0530b">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
| 142 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span></div> | ||
| 143 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a02146.html#aa53cfe0f5da6f163c89cfe7efd03977d">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·=·std::size_t;</div> | ||
| 154 | <div·class="line"><a·id="l0005 | 144 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span></div> |
| 155 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="comment">//·Compute·coefficients·of·derivative·of·polynomial.</span></div> | ||
| 156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="comment">//·Overload·for·std::integer_sequence</span></div> | ||
| 157 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>I,·I...·i></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="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">else</span></div> | ||
| 162 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a02146.html#ae4f87d4a8978c25f211132aa6001290c">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#ae4f87d4a8978c25f211132aa6001290c">RootTree</a[·...·truncated·by·diffoscope;·len:·61,·SHA:·ec18c5a429caf79098257c8a68826a8b65cffd4527c23fe3e20a193bf40aa6b6·...·];</div> |
| 146 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span></div> | ||
| 147 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02146.html#a04b95239bc90b94a1332233663446cd2">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#a04b95239bc90b94a1332233663446cd2">Tree</a>·=·<span·class="keyword">typename</span>·TypeTree::ChildForTreePath<RootTree,·PrefixPath>;</div> | ||
| 148 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span></div> | ||
| 149 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02146.html#a332b6754582b1108ef353b1b78ae01a3">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02146.html#a332b6754582b1108ef353b1b78ae01a3">MultiIndex</a>·=·<span·class="keyword">typename</span>·RootLocalView::MultiIndex;</div> | ||
| 150 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span></div> | ||
| 151 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | ||
| 152 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02146.html#aa0d1d0d89f2dd443da6da8d77f6a344f">···63</a></span>··<a·class="code·hl_function"·href="a02146.html#aa0d1d0d89f2dd443da6da8d77f6a344f">SubspaceLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02146.html#a3a627e895c213316cb666677fb9176de">GlobalBasis</a>&·<a·class="code·hl_function"·href="a02146.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>,·<span·class="keyword">const</span>·PrefixPath&·<span·class="comment">/*prefixPath*/</span>)·:</div> | ||
| 153 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_variable"·href="a02146.html#a2fb2643d53fb7511f2eb6ddff751043c">globalBasis_</a>(&<a·class="code·hl_function"·href="a02146.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>),</div> | ||
| 154 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_variable"·href="a02146.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>(<a·class="code·hl_function"·href="a02146.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>.rootBasis().localView())</div> | ||
| 163 | <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="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//····static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type·passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept.");</span></div> | ||
| 164 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 157 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> |
| 158 | </div> | ||
| 159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span></div> | ||
| 160 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| Max diff block lines reached; 38585/73492 bytes (52.50%) of diff not shown. | |||
| Offset 1, 280 lines modified | Offset 1, 223 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 | p | 5 | subspacelocalview.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_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cmath> | ||
| 19 | 11#include·<initializer_list> | ||
| 20 | 12#include·<vector> | ||
| 21 | 1 | 18 | 10 |
| 19 | 11#include·<tuple> | ||
| 20 | 12 | ||
| 21 | 13#include·<dune/common/concept.hh> | ||
| 22 | 14 | 22 | 14 |
| 23 | 15#include·<dune/common/ | 23 | 15#include·<dune/common/typetree/childaccess.hh> |
| 24 | 16 | 24 | 16 |
| 25 | 17namespace·Dune·{ | ||
| 26 | 1 | 25 | 17#include·<dune/functions/functionspacebases/concepts.hh> |
| 26 | 18 | ||
| 27 | 19 | 27 | 19 |
| 28 | 20 | ||
| 29 | 21namespace·Dune·{ | ||
| 30 | 22namespace·Functions·{ | ||
| 31 | 23 | ||
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 26template<class·RB,·class·PP> | ||
| 35 | 27class·SubspaceBasis; | ||
| 36 | 28 | ||
| 37 | 29 | ||
| 38 | 30 | ||
| 39 | 32template<class·RLV,·class·PP> | ||
| 40 | 33class·SubspaceLocalView | ||
| 41 | 34{ | ||
| 42 | 35·using·PrefixPath·=·PP; | ||
| 43 | 36 | ||
| 44 | 37public: | ||
| 45 | 38 | ||
| 46 | 39·using·RootLocalView·=·RLV; | ||
| 47 | 40 | ||
| 48 | 42·using·GlobalBasis·=·SubspaceBasis<typename_RootLocalView::GlobalBasis, | ||
| 49 | PrefixPath>; | ||
| 50 | 43 | ||
| 51 | 45·using·GridView·=·typename·GlobalBasis::GridView; | ||
| 52 | 46 | ||
| 53 | 48·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
| 54 | 49 | ||
| 55 | 51·using·size_type·=·std::size_t; | ||
| 56 | 52 | ||
| 57 | 54·using·RootTree·=·typename·RootLocalView::Tree; | ||
| 58 | 55 | ||
| 59 | 57·using·Tree·=·typename·TypeTree::ChildForTreePath<RootTree,·PrefixPath>; | ||
| 28 | 20namespace·Impl·{ | ||
| 29 | 21 | ||
| 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·{ | ||
| 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 | 46·} | ||
| 57 | 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 | 60 | 58 |
| 61 | 60·using·MultiIndex·=·typename·RootLocalView::MultiIndex; | ||
| 62 | 61 | ||
| 63 | 63·SubspaceLocalView(const·GlobalBasis&·globalBasis,·const·PrefixPath&·/ | ||
| 64 | *prefixPath*/)·: | ||
| 65 | 64·globalBasis_(&globalBasis), | ||
| 66 | 65·rootLocalView_(globalBasis.rootBasis().localView()) | ||
| 67 | 66·{ | ||
| 68 | 67//·static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type | ||
| 69 | passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept."); | ||
| 70 | 59·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 71 | 60·//·Overload·for·std::integer_sequence | ||
| 72 | 61·template<class·I,·I...·i> | ||
| 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)>()); | ||
| 80 | 6 | 70 | 68·} |
| 71 | 69 | ||
| Max diff block lines reached; 10351/14676 bytes (70.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:· | 8 | <title>Dune-Functions:·refinedlagrangebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 65 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">refinedlagrangebasis.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/ | 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 99 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/math.hh></code><br·/> | 99 | <code>#include·<dune/common/math.hh></code><br·/> |
| 101 | <code>#include·<dune/c | 100 | <code>#include·<dune/localfunctions/refined.hh></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 104 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 105 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 102 | </div> | 106 | </div> |
| 103 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | 107 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 104 | <table·class="memberdecls"> | 108 | <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> | 109 | <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> | 110 | Classes</h2></td></tr> |
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ARefinedLagrangePreBasis_3C_20GV_2C_20k_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ARefinedLagrangePreBasis_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="a02126.html">Dune::Functions::RefinedLagrangePreBasis<·GV,·k,·R·></a></td></tr> | ||
| 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·refined·Lagrange·bases.··<a·href="a02126.html#details">More...</a><br·/></td></tr> | ||
| 113 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ARefinedLagrangeNode_3C_20GV_2C_20k_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ARefinedLagrangeNode_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="a02122.html">Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·></a></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"> | 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> |
| 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:ga40091bce7151fb1fab2c3548f7cc06b4"·id="r_ga40091bce7151fb1fab2c3548f7cc06b4"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k,·typename·R·=·double>·</td></tr> | ||
| 124 | <tr·class="memitem:ga40091bce7151fb1fab2c3548f7cc06b4·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga40091bce7151fb1fab2c3548f7cc06b4">Dune::Functions::RefinedLagrangeBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a02126.html">RefinedLagrangePreBasis</a><GV,k,R>·></td></tr> | ||
| 125 | <tr·class="memdesc:ga40091bce7151fb1fab2c3548f7cc06b4"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·continuous·Lagrange·finite-element·space·on·a·uniformly·refined·simplex·element.··<br·/></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:gababd87862558eb10c1de9d1c14dc48a6"·id="r_gababd87862558eb10c1de9d1c14dc48a6"><td·class="memTemplParams"·colspan="2">template<int·k,·typename·R·=·double>·</td></tr> | ||
| 130 | <tr·class="memitem:gababd87862558eb10c1de9d1c14dc48a6·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#gababd87862558eb10c1de9d1c14dc48a6">Dune::Functions::BasisFactory::refinedLagrange</a>·()</td></tr> | ||
| 131 | <tr·class="memdesc:gababd87862558eb10c1de9d1c14dc48a6"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·RefinedLagrange·pre-basis.··<br·/></td></tr> | ||
| 118 | </table> | 132 | </table> |
| 119 | </div><!--·contents·--> | 133 | </div><!--·contents·--> |
| 120 | </div><!--·doc-content·--> | 134 | </div><!--·doc-content·--> |
| 121 | <div·id="page-nav"·class="page-nav-panel"> | 135 | <div·id="page-nav"·class="page-nav-panel"> |
| 122 | <div·id="page-nav-resize-handle"></div> | 136 | <div·id="page-nav-resize-handle"></div> |
| 123 | <div·id="page-nav-tree"> | 137 | <div·id="page-nav-tree"> |
| 124 | <div·id="page-nav-contents"> | 138 | <div·id="page-nav-contents"> |
| 125 | </div><!--·page-nav-contents·--> | 139 | </div><!--·page-nav-contents·--> |
| 126 | </div><!--·page-nav-tree·--> | 140 | </div><!--·page-nav-tree·--> |
| 127 | </div><!--·page-nav·--> | 141 | </div><!--·page-nav·--> |
| 128 | </div><!--·container·--> | 142 | </div><!--·container·--> |
| 129 | <!--·start·footer·part·--> | 143 | <!--·start·footer·part·--> |
| 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 144 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 131 | ··<ul> | 145 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00080.html">refinedlagrangebasis.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> | 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> |
| 134 | ··</ul> | 148 | ··</ul> |
| 135 | </div> | 149 | </div> |
| 136 | </body> | 150 | </body> |
| 137 | </html> | 151 | </html> |
| Offset 1, 31 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 | monomialset.hh·File·Reference | ||
| 6 | 5 | refinedlagrangebasis.hh·File·Reference | |
| 6 | #include·<type_traits> | ||
| 7 | #include·<dune/common/ | 7 | #include·<dune/common/exceptions.hh> |
| 8 | #include·<dune/common/fmatrix.hh> | ||
| 9 | #include·<dune/common/math.hh> | 8 | #include·<dune/common/math.hh> |
| 10 | #include·<dune/c | 9 | #include·<dune/localfunctions/refined.hh> |
| 10 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 13 | #include·<dune/geometry/type.hh> | ||
| 14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 16 | Classes |
| 17 | class· ·Dune::Functions::RefinedLagrangePreBasis<_GV,_k,_R_> | ||
| 18 | ·······A·pre-basis·for·a·refined·Lagrange·bases.·More... | ||
| 19 | class· ·Dune::Functions::RefinedLagrangeNode<_GV,_k,_R_> | ||
| 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 | 20 | Namespaces |
| 25 | namespace· ·Dune | 21 | namespace· ·Dune |
| 26 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 23 | namespace· ·Dune::Functions::BasisFactory | ||
| 24 | Typedefs | ||
| 25 | template<typename·GV,·int·k,·typename·R·=·double> | ||
| 26 | using ·Dune::Functions::RefinedLagrangeBasis·= | ||
| 27 | ·······DefaultGlobalBasis<RefinedLagrangePreBasis<GV,k,R>·> | ||
| 28 | ······Nodal·basis·of·a·continuous·Lagrange·finite-element·space·on·a·uniformly | ||
| 29 | ·······refined·simplex·element. | ||
| 30 | Functions | ||
| 31 | template<int·k,·typename·R·=·double> | ||
| 32 | auto ·Dune::Functions::BasisFactory::refinedLagrange·() | ||
| 33 | ·····Create·a·pre-basis·factory·that·can·create·a·RefinedLagrange·pre-basis. | ||
| 27 | ····*·dune | 34 | ····*·dune |
| 28 | ····*·functions | 35 | ····*·functions |
| 29 | ····*·analyticfunctions | ||
| 30 | ····*· | 36 | ····*·functionspacebases |
| 37 | ····*·refinedlagrangebasis.hh | ||
| 31 | ····*·Generated·by·[doxygen]1.15.0 | 38 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 4 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00080·=·[ | 1 | var·a00080·=·[ |
| 2 | ····["Dune::Functions::MonomialSet<·RangeFieldType,·dimension,·maxDegree·>::Derivative",·"a01158.html",·"a01158"], | ||
| 3 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·>",·"a02122.html",·"a02122"], |
| 3 | ····["Dune::Functions::RefinedLagrangeBasis",·"a00312.html#ga40091bce7151fb1fab2c3548f7cc06b4",·null], | ||
| 4 | ····["Dune::Functions::BasisFactory::refinedLagrange",·"a00312.html#gababd87862558eb10c1de9d1c14dc48a6",·null] | ||
| 4 | ]; | 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:·refinedlagrangebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 231 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">refinedlagrangebasis.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_FUNCTIONSPACEBASES_REFINEDLAGRANGEBASIS_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_FUNCTIONSPACEBASES_REFINEDLAGRANGEBASIS_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>·</div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/ | 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><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/math.hh></span></div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span> | 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/c | 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/refined.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><span·class="preprocessor">#include·<<a·class="code"·href="a00074.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="a00191.html">dune/functions/functionspacebases/leafprebasismappermixin.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="a00119.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>·</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> | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
| 119 | <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="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></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="l00026"·name="l00026"></a><span·class="lineno">···26</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="l00028"·name="l00028"></a><span·class="lineno">···28</span>······{</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="l00032"·name="l00032"></a><span·class="lineno">···32</span>······}</div> | ||
| 130 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····}</div> | ||
| 131 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 132 | <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">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</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="a00318.html">Functions</a>·{</div> | ||
| 133 | <div·class="line"><a·id="l000 | 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">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R></div> | ||
| 134 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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">class·</span><a·class="code·hl_class"·href="a02122.html">RefinedLagrangeNode</a>;</div> |
| 138 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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 | 128 | <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</s[·...·truncated·by·diffoscope;·len:·7,·SHA:·c516dcd0fd85ec6ea8f051613cebb34907c5238dbf44e5b368982b8ed38e81a0·...·];</div> |
| 129 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="};"> | ||
| 130 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02126.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a02126.html#abbb9f8f518c22b66f6f15fc88689c03e">RefinedLagrangePreBasis</a>·:</div> | ||
| 131 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">LeafPreBasisMapperMixin</a><·GV·></div> | ||
| 142 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
| 143 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01942.html#aa9a2f627ba4554f88d4f2547ca607855">LeafPreBasisMapperMixin<·GV·></a>;</div> |
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 135 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·DomainFieldType></div> | ||
| 146 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01154.html#a05de337371d24aefc246a28e0614d316">···92</a></span>····<span·class="keyword">constexpr</span>·Dune::FieldVector<RangeFieldType,size>·<a·class="code·hl_function"·href="a01154.html#a05de337371d24aefc246a28e0614d316">operator()</a>(<span·class="keyword">const</span>·Dune::FieldVector<DomainFieldType,dim>&·x)·<span·class="keyword">const</span>;</div> | ||
| 147 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 148 | <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="};"> | ||
| 149 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·refined·basis·only·implemented·for·P0·and·P1</span></div> |
| 138 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">static_assert</span>(k·==·0·||·k·==·1);</div> | ||
| 150 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 151 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······<span·class="keyword">template</span><<span·class="keyword">class</span>·DomainFieldType></div> | ||
| 152 | <div·class="line"><a·id="l00 | 140 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="comment">//·the·layout·is·defined·in·terms·of·a·MCMGLayout·specialized·for·k·==·0·or·1</span></div> |
| 141 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">static</span>·MCMGLayout·dofLayout()</div> | ||
| 153 | <div·class="line"><a·id="l00 | 142 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div> |
| 154 | <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="};"> | ||
| 155 | <div·class="line"><a·id="l00 | 143 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>(k·==·0)</div> |
| 144 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="comment">//·a·refined·P0·basis·assigns·each·element·2^dim·DOFs</span></div> | ||
| 145 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keywordflow">return</span>·[](GeometryType·gt,·<span·class="keywordtype">int</span>)·->·<span·class="keywordtype">size_t</span>·{</div> | ||
| 146 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordflow">return</span>·(gt.dim()·==·dim)·?·(1·<<·dim)·:·0;</div> | ||
| 156 | <div·class="line"><a·id="l00 | 147 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div> |
| 157 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········<span·class="keyword">template</span><<span·class="keyword">class</span>·DomainFieldType></div> | ||
| 158 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a01162.html#a072999014d64755c5c88cc022bd0a31f">··128</a></span>········<span·class="keyword">constexpr</span>·std::array<FieldMatrix<RangeFieldType,dim,·dim>,·<a·class="code·hl_variable"·href="a01154.html#a926bfe369d499fcbf13ed31a935f03fc">size</a>>·<a·class="code·hl_function"·href="a01162.html#a072999014d64755c5c88cc022bd0a31f">operator()</a>(<span·class="keyword">const</span>·Dune::FieldVector<DomainFieldType,dim>&·x)·<span·class="keyword">const</span>;</div> | ||
| 159 | <div·class="line"><a·id="l00 | 148 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>(k·==·1)</div> |
| 149 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//·a·refined·P1·basis·has·the·same·layout·as·a·P2·basis</span></div> | ||
| 150 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">return</span>·[](GeometryType·gt,·<span·class="keywordtype">int</span>)·->·<span·class="keywordtype">size_t</span>·{</div> | ||
| 151 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keywordflow">return</span>·Dune::binomial(<span·class="keywordtype">int</span>(k),<span·class="keywordtype">int</span>(gt.dim()));</div> | ||
| 160 | <div·class="line"><a·id="l00 | 152 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div> |
| 153 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keywordflow">else</span></div> | ||
| 154 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······DUNE_THROW(Dune::NotImplemented,</div> | ||
| 155 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="stringliteral">"Refined·basis·not·implemented·for·higher-order·Lagrange·(k>=2)·elements."</span>);</div> | ||
| 156 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> | ||
| 157 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 158 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div> | ||
| 159 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> | ||
| 160 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02126.html#a996c52d44e30a38a024f3d5729da99f4">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02126.html#a996c52d44e30a38a024f3d5729da99f4">GridView</a>·=·GV;</div> | ||
| 161 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span></div> | ||
| 162 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02126.html#a6ad27542b8813713b8cf00b7eec2af44">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02126.html#a6ad27542b8813713b8cf00b7eec2af44">Node</a>·=·<a·class="code·hl_class"·href="a02122.html">RefinedLagrangeNode<GV,·k,·R></a>;</div> | ||
| 163 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span></div> | ||
| 164 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 165 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a02126.html#abbb9f8f518c22b66f6f15fc88689c03e">···86</a></span>··<a·class="code·hl_function"·href="a02126.html#abbb9f8f518c22b66f6f15fc88689c03e">RefinedLagrangePreBasis</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02126.html#a996c52d44e30a38a024f3d5729da99f4">GridView</a>&·gv)</div> | ||
| 166 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····:·Base(gv,·dofLayout())</div> | ||
| 167 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div> | ||
| 168 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gv.indexSet().types(0))·{</div> | ||
| 169 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······if·(!gt.isSimplex())</div> | ||
| 170 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········DUNE_THROW(Dune::NotImplemented,</div> | ||
| Max diff block lines reached; 67958/110668 bytes (61.41%) of diff not shown. | |||
| Offset 1, 494 lines modified | Offset 1, 268 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 | refinedlagrangebasis.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_FUNCTIONSPACEBASES_REFINEDLAGRANGEBASIS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_REFINEDLAGRANGEBASIS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<type_traits> |
| 19 | 11 | 19 | 11 |
| 20 | 12#include·<dune/common/ | 20 | 12#include·<dune/common/exceptions.hh> |
| 21 | 13#include·<dune/common/fmatrix.hh> | ||
| 22 | 1 | 21 | 13#include·<dune/common/math.hh> |
| 23 | 1 | 22 | 14 |
| 23 | 15#include·<dune/localfunctions/refined.hh> | ||
| 24 | 16 | 24 | 16 |
| 25 | 17 | ||
| 26 | 18 | ||
| 27 | 1 | 25 | 17#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 26 | 18#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 27 | 19#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 28 | 20 | 28 | 20 |
| 29 | 21 | 29 | 21#include·<dune/geometry/type.hh> |
| 30 | 22 | 30 | 22 |
| 31 | 23#include·<dune/grid/common/mcmgmapper.hh> | ||
| 32 | 24 | ||
| 33 | 25 | ||
| 34 | 26namespace·Dune·{ | ||
| 35 | 27namespace·Functions·{ | ||
| 36 | 28 | ||
| 37 | 29template<typename·GV,·int·k,·typename·R> | ||
| 38 | 30class·RefinedLagrangeNode; | ||
| 39 | 31 | ||
| 40 | 43template·<typename·GV,·int·k,·typename·R·=·double> | ||
| 41 | 44class·RefinedLagrangePreBasis·: | ||
| 42 | 45·public·LeafPreBasisMapperMixin<·GV·> | ||
| 43 | 46{ | ||
| 44 | 47·using·Base·=·LeafPreBasisMapperMixin<_GV_>; | ||
| 45 | 48 | ||
| 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·} | ||
| 43 | 34 | ||
| 44 | 35·}·//·namespace·Impl | ||
| 45 | 36 | ||
| 46 | 37 | ||
| 47 | 62·template<class·RangeFieldType,·int·dimension,·int·maxDegree> | ||
| 48 | 63·struct·MonomialSet | ||
| 49 | 64·{ | ||
| 50 | 46 | 49·static·const·int·dim·=·GV::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 | 80·static·constexpr·std::array<std::array<std::size_t,dim>,size>·exponents(); | ||
| 56 | 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 | Dune::FieldVector<DomainFieldType,dim>&·x)·const; | ||
| 66 | 111 | ||
| 67 | 116·struct·Hessian | ||
| 68 | 117·{ | ||
| 69 | 127·template<class·DomainFieldType> | ||
| 70 | 128·constexpr·std::array<FieldMatrix<RangeFieldType,dim,·dim>,·size>·operator() | ||
| 71 | 47 | 50 | |
| 48 | 51·//·refined·basis·only·implemented·for·P0·and·P1 | ||
| 49 | 52·static_assert(k·==·0·||·k·==·1); | ||
| 50 | 53 | ||
| 51 | 54·//·the·layout·is·defined·in·terms·of·a·MCMGLayout·specialized·for·k·==·0·or | ||
| 52 | 1 | ||
| 53 | 55·static·MCMGLayout·dofLayout() | ||
| 54 | 56·{ | ||
| 55 | 57·if·constexpr(k·==·0) | ||
| 56 | 58·//·a·refined·P0·basis·assigns·each·element·2^dim·DOFs | ||
| 57 | 59·return·[](GeometryType·gt,·int)·->·size_t·{ | ||
| 58 | 60·return·(gt.dim()·==·dim)·?·(1·<<·dim)·:·0; | ||
| 59 | 61·}; | ||
| 60 | 62·else·if·constexpr(k·==·1) | ||
| 61 | 63·//·a·refined·P1·basis·has·the·same·layout·as·a·P2·basis | ||
| 62 | 64·return·[](GeometryType·gt,·int)·->·size_t·{ | ||
| 63 | 65·return·Dune::binomial(int(k),int(gt.dim())); | ||
| 64 | 66·}; | ||
| 65 | 67·else | ||
| 66 | 68·DUNE_THROW(Dune::NotImplemented, | ||
| 67 | 69·"Refined·basis·not·implemented·for·higher-order·Lagrange·(k>=2)·elements."); | ||
| 68 | 70·} | ||
| 69 | 71 | ||
| 70 | 72public: | ||
| 71 | 73 | ||
| 72 | 75·using·GridView·=·GV; | ||
| 73 | 76 | ||
| 74 | 78·using·Node·=·RefinedLagrangeNode<GV,_k,_R>; | ||
| 75 | 79 | ||
| 76 | 86·RefinedLagrangePreBasis·(const·GridView&·gv) | ||
| 77 | 87·:·Base(gv,·dofLayout()) | ||
| 78 | 88·{ | ||
| 79 | 89·for·(auto·gt·:·gv.indexSet().types(0))·{ | ||
| 80 | 90·if·(!gt.isSimplex()) | ||
| 81 | 91·DUNE_THROW(Dune::NotImplemented, | ||
| 82 | 92·"Refined·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 83 | 93·} | ||
| 84 | 94·} | ||
| Max diff block lines reached; 16911/21609 bytes (78.26%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·i | 8 | <title>Dune-Functions:·brezzidouglasmarinibasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 69 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">i | 94 | ··<div·class="headertitle"><div·class="title">brezzidouglasmarinibasis.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·<dune/common/exceptions.hh></code><br·/> | 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 99 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
| 100 | <code>#include·<dune/ | 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·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a001 | 107 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> |
| 102 | <code>#include·<dune/istl/bvector.hh></code><br·/> | ||
| 103 | <code>#include·<dune/i | 108 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 109 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 110 | <code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 104 | </div> | 111 | </div> |
| 105 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 112 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 106 | <table·class="memberdecls"> | 113 | <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> | ||
| 115 | 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_3ABrezziDouglasMariniNode_3C_20GV_2C_20k_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ABrezziDouglasMariniNode_3C_20GV_2C_20k_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01670.html">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·></a></td></tr> | ||
| 118 | </table><table·class="memberdecls"> | ||
| 107 | <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> |
| 108 | Namespaces</h2></td></tr> | 120 | Namespaces</h2></td></tr> |
| 109 | <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> |
| 110 | <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> |
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 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> | ||
| 112 | </table><table·class="memberdecls"> | 130 | </table><table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 131 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 114 | Functions</h2></td></tr> | 132 | Functions</h2></td></tr> |
| 115 | <tr·class="memitem:ab0a758fb42acff3284a5e8e20f73f1ee"·id="r_ab0a758fb42acff3284a5e8e20f73f1ee"><td·class="memTemplParams"·colspan="2">template<class·T·=·double,·class·ContainerDescriptor>·</td></tr> | ||
| 116 | <tr·class="memitem:ab0a758fb42acff3284a5e8e20f73f1ee·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#ab0a758fb42acff3284a5e8e20f73f1ee">Dune::Functions::makeISTLVector</a>·(const·ContainerDescriptor·&tree)</td></tr> | ||
| 117 | <tr·class="mem | 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> | ||
| 118 | </table> | 136 | </table> |
| 119 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 120 | </div><!--·doc-content·--> | 138 | </div><!--·doc-content·--> |
| 121 | <div·id="page-nav"·class="page-nav-panel"> | 139 | <div·id="page-nav"·class="page-nav-panel"> |
| 122 | <div·id="page-nav-resize-handle"></div> | 140 | <div·id="page-nav-resize-handle"></div> |
| 123 | <div·id="page-nav-tree"> | 141 | <div·id="page-nav-tree"> |
| 124 | <div·id="page-nav-contents"> | 142 | <div·id="page-nav-contents"> |
| 125 | </div><!--·page-nav-contents·--> | 143 | </div><!--·page-nav-contents·--> |
| 126 | </div><!--·page-nav-tree·--> | 144 | </div><!--·page-nav-tree·--> |
| 127 | </div><!--·page-nav·--> | 145 | </div><!--·page-nav·--> |
| 128 | </div><!--·container·--> | 146 | </div><!--·container·--> |
| 129 | <!--·start·footer·part·--> | 147 | <!--·start·footer·part·--> |
| 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 148 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 131 | ··<ul> | 149 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00083.html">brezzidouglasmarinibasis.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> | 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> |
| 134 | ··</ul> | 152 | ··</ul> |
| 135 | </div> | 153 | </div> |
| 136 | </body> | 154 | </body> |
| 137 | </html> | 155 | </html> |
| Offset 1, 26 lines modified | Offset 1, 48 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 | istlvectorfactory.hh·File·Reference | ||
| 6 | 5 | brezzidouglasmarinibasis.hh·File·Reference | |
| 6 | #include·<array> | ||
| 7 | #include·<dune/common/exceptions.hh> | 7 | #include·<dune/common/exceptions.hh> |
| 8 | #include·<dune/common/fvector.hh> | ||
| 9 | #include·<dune/common/indices.hh> | ||
| 10 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 11 | #include·<dune/istl/bvector.hh> | ||
| 12 | #include·<dune/ | 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> | ||
| 13 | Go_to_the_source_code_of_this_file. | 25 | Go_to_the_source_code_of_this_file. |
| 26 | Classes | ||
| 27 | class· ·Dune::Functions::BrezziDouglasMariniPreBasis<_GV,_k_> | ||
| 28 | class· ·Dune::Functions::BrezziDouglasMariniNode<_GV,_k_> | ||
| 14 | Namespaces | 29 | Namespaces |
| 15 | namespace· ·Dune | 30 | namespace· ·Dune |
| 16 | namespace· ·Dune::Functions | 31 | namespace· ·Dune::Functions |
| 17 | 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. | ||
| 18 | Functions | 39 | Functions |
| 19 | template<class·T·=·double,·class·ContainerDescriptor> | ||
| 20 | auto ·Dune::Functions::makeISTLVector·(const·ContainerDescriptor·&tree) | ||
| 21 | 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. | ||
| 22 | ····*·dune | 44 | ····*·dune |
| 23 | ····*·functions | 45 | ····*·functions |
| 24 | ····*·backends | ||
| 25 | ····*· | 46 | ····*·functionspacebases |
| 47 | ····*·brezzidouglasmarinibasis.hh | ||
| 26 | ····*·Generated·by·[doxygen]1.15.0 | 48 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 6 lines modified | ||
| 1 | var·a00083·=·[ | 1 | var·a00083·=·[ |
| 2 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>",·"a01674.html",·"a01674"], |
| 3 | ····["Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>",·"a01670.html",·"a01670"], | ||
| 4 | ····["Dune::Functions::BrezziDouglasMariniBasis",·"a00318.html#ae2a779cf5ab7b35346c6950e4a1e3979",·null], | ||
| 5 | ····["Dune::Functions::BasisFactory::brezziDouglasMarini",·"a00312.html#ga72847f418332ba3d5444a7f153776610",·null] | ||
| 3 | ]; | 6 | ]; |
| 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:·i | 8 | <title>Dune-Functions:·brezzidouglasmarinibasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 162 lines modified | Offset 88, 366 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">i | 94 | ··<div·class="headertitle"><div·class="title">brezzidouglasmarinibasis.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><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-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="preprocessor">#ifndef·DUNE_FUNCTIONS_BACKENDS_ISTL_VECTORFACTORY_HH</span></div> | ||
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_BACKENDS_ISTL_VECTORFACTORY_HH</span></div> | ||
| 103 | <div·class="line"><a·id="l0000 | 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> | ||
| 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> | ||
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH</span></div> | ||
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#in | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_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·<array></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/exceptions.hh></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/ | 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="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="a00197.html">dune/functions/functionspacebases/containerdescriptors.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 | 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> |
| 113 | <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·<dune/localfunctions/common/virtualwrappers.hh></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="a00318.html">Dune::Functions</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="a00321.html">ContainerDescriptors</a>·{</div> | ||
| 117 | <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/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> | 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="a00188.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="a00119.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="a00074.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="a00191.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></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>·T></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">struct·</span>ISTLVectorFactory</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="keywordtype">void</span>·operator()·(<span·class="keyword">const</span>·Unknown&·tree)<span·class="keyword">·const</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">··</span>{</div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Cannot·create·a·vector.·The·container·descriptor·is·unknown."</span>);</div> | ||
| 125 | <div·class="line"><a·id="l0002 | 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="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> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</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="keyword">template</span><<span·class="keyword">class</span>...·V></div> | ||
| 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00321.html#a3658e9613f94667b90b8692ec47a0242">Tuple<V...></a>&·tree)<span·class="keyword">·const</span></div> | ||
| 129 | <div·class="line"><a·id="l0003 | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·ii)·{</div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">return</span>·Dune::MultiTypeBlockVector<<span·class="keyword">decltype</span>((*this)(tree[ii]))...>{(*this)(tree[ii])...};</div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····},·std::make_index_sequence<<span·class="keyword">sizeof</span>...(V)>());</div> | ||
| 133 | <div·class="line"><a·id="l0003 | 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>··<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> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo</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="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>·</div> | 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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"> | 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="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00321.html#a7fd69d40ddb645de01687b67cc377e13">Array<V,n></a>&·tree)<span·class="keyword">·const</span></div> | ||
| 137 | <div·class="line"><a·id="l0004 | 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo<2,D,R,1></div> |
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·ii)·{</div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keywordflow">return</span>·Dune::BlockVector{(*this)(tree[ii])...};</div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····},·std::make_index_sequence<n>());</div> | ||
| 141 | <div·class="line"><a·id="l0004 | 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</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>··<span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
| 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00321.html#a7692987ba816965c1c2df93c39d50ca8">Vector<V></a>&·tree)<span·class="keyword">·const</span></div> | ||
| 145 | <div·class="line"><a·id="l0004 | 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> |
| 146 | <div·class="line"><a·id="l000 | 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> |
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····Dune::BlockVector<W>·result(tree.size());</div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·tree.size();·++i)</div> | ||
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······result[i]·=·(*<span·class="keyword">this</span>)(tree[i]);</div> | ||
| 150 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div> |
| 151 | <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="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="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo<2,D,R,2></div> | ||
| 152 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> |
| 153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·V,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·UniformArray<V,n>&·tree)<span·class="keyword">·const</span></div> | ||
| 155 | <div·class="line"><a·id="l000 | 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> |
| 156 | <div·class="line"><a·id="l000 | 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> |
| 157 | <div·class="line"><a·id="l000 | 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> | ||
| 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> | ||
| 158 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo</div> |
| 159 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····},·std::make_index_sequence<n>());</div> | ||
| 160 | <div·class="line"><a·id="l000 | 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">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> | ||
| 153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div> | ||
| 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</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="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo<2,D,R,1></div> | ||
| 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">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="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 161 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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">class</span>· | 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="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·UniformVector<V>&·tree)<span·class="keyword">·const</span></div> | ||
| 164 | <div·class="line"><a·id="l0006 | 163 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo<2,D,R,2></div> |
| 165 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">auto</span>·node·=·(*this)(tree[0]);</div> | ||
| Max diff block lines reached; 54450/85744 bytes (63.50%) of diff not shown. | |||
| Offset 1, 169 lines modified | Offset 1, 444 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 | i | 5 | brezzidouglasmarinibasis.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 | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
| 10 | AUTHORS.md | 11 | AUTHORS.md |
| 11 | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | |
| 12 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 14 | 6 | ||
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH | ||
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH | ||
| 13 | 5#ifndef·DUNE_FUNCTIONS_BACKENDS_ISTL_VECTORFACTORY_HH | ||
| 14 | 6#define·DUNE_FUNCTIONS_BACKENDS_ISTL_VECTORFACTORY_HH | ||
| 15 | 7 | ||
| 16 | 8#include·<type_traits> | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<array> | ||
| 18 | 1 | 19 | 11#include·<dune/common/exceptions.hh> |
| 20 | 12#include·<dune/geometry/referenceelements.hh> | ||
| 19 | 11#include·<dune/common/fvector.hh> | ||
| 20 | 12#include·<dune/common/indices.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 23 | 15 | ||
| 24 | 16#include·<dune/istl/bvector.hh> | ||
| 25 | 17#include·<dune/istl/multitypeblockvector.hh> | ||
| 26 | 18 | ||
| 27 | 19namespace·Dune::Functions·{ | ||
| 28 | 20namespace·ContainerDescriptors·{ | ||
| 29 | 22 | 14#include·<dune/localfunctions/common/virtualinterface.hh> | |
| 23 | 15#include·<dune/localfunctions/common/virtualwrappers.hh> | ||
| 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> | ||
| 30 | 22 | 35 | 22 |
| 31 | 23template<class·T> | ||
| 32 | 24struct·ISTLVectorFactory | ||
| 33 | 25{ | ||
| 34 | 26·void·operator()·(const·Unknown&·tree)·const | ||
| 35 | 27·{ | ||
| 36 | 28·DUNE_THROW(Dune::NotImplemented,·"Cannot·create·a·vector.·The·container | ||
| 37 | descriptor·is·unknown."); | ||
| 38 | 2 | 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·{ | ||
| 39 | 30 | 44 | 30 |
| 40 | 31·template<class...·V> | ||
| 41 | 3 | 45 | 31namespace·Impl·{ |
| 46 | 32 | ||
| 47 | 33·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 48 | 34·struct·BDMSimplexLocalInfo | ||
| 42 | 3 | 49 | 35·{ |
| 50 | 36·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 51 | not·implemented,·sorry!"); | ||
| 43 | 34·return·unpackIntegerSequence([&](auto...·ii)·{ | ||
| 44 | 35·return·Dune::MultiTypeBlockVector<decltype((*this)(tree[ii]))...>{(*this) | ||
| 45 | (tree[ii])...}; | ||
| 46 | 36·},·std::make_index_sequence<sizeof...(V)>()); | ||
| 47 | 37·} | 52 | 37·}; |
| 48 | 38 | 53 | 38 |
| 49 | 39·template<class·V,·std::size_t·n> | ||
| 50 | 54 | 39·template<typename·D,·typename·R> | |
| 55 | 40·struct·BDMSimplexLocalInfo<2,D,R,1> | ||
| 51 | 41·{ | 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> | ||
| 52 | 42·return·unpackIntegerSequence([&](auto...·ii)·{ | ||
| 53 | 43·return·Dune::BlockVector{(*this)(tree[ii])...}; | ||
| 54 | 44·},·std::make_index_sequence<n>()); | ||
| 55 | 45·} | ||
| 56 | 46 | ||
| 57 | 47·template<class·V> | ||
| 58 | 48·auto·operator()·(const·Vector<V>&·tree)·const | ||
| 59 | 4 | 63 | 48·{ |
| 60 | 50·using·W·=·decltype((*this)(tree[0])); | ||
| 61 | 51·Dune::BlockVector<W>·result(tree.size()); | ||
| 62 | 52·for·(std::size_t·i·=·0;·i·<·tree.size();·++i) | ||
| 63 | 53·result[i]·=·(*this)(tree[i]); | ||
| 64 | 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 | ||
| 65 | 55· | 70 | 55·{ |
| 66 | 56 | ||
| 67 | 57·template<class·V,·std::size_t·n> | ||
| 68 | 58·auto·operator()·(const·UniformArray<V,n>&·tree)·const | ||
| 69 | 59·{ | ||
| 70 | 60·auto·node·=·(*this)(tree[0]); | ||
| 71 | 61·return·unpackIntegerSequence([&](auto...·ii)·{ | ||
| 72 | 62·return·Dune::BlockVector{((void)(ii),node)...}; | ||
| 73 | 6 | 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; | ||
| 74 | 64·} | 80 | 64·}; |
| 75 | 65 | 81 | 65 |
| 76 | 66·template<class·V> | ||
| 77 | 6 | 82 | 66·template<typename·D,·typename·R> |
| Max diff block lines reached; 14422/19230 bytes (75.00%) 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:·powerbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 61 lines modified | Offset 88, 64 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">powerbasis.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·<cs | 97 | <div·class="textblock"><code>#include·<dune/common/reservedvector.hh></code><br·/> |
| 98 | <code>#include·<utility></code><br·/> | ||
| 99 | <code>#include·<type_traits></code><br·/> | ||
| 100 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 101 | <code>#include·<dune/common/indices.hh></code><br·/> | 99 | <code>#include·<dune/common/indices.hh></code><br·/> |
| 102 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 103 | <code>#include·<dune/common/concept.hh></code><br·/> | 100 | <code>#include·<dune/common/typetree/nodeconcepts.hh></code><br·/> |
| 104 | <code>#include·<<a·class="el"·href="a00 | 101 | <code>#include·<<a·class="el"·href="a00260_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
| 102 | <code>#include·<<a·class="el"·href="a00227_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/functionspacebases/dynamicpowerbasis.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 105 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 106 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 107 | <code>#include·<<a·class="el"·href="a00143_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 108 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 106 | </div> | 109 | </div> |
| 107 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 110 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 108 | <table·class="memberdecls"> | 111 | <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_3APowerPreBasis_3C_20IMS_2C_20SPB_2C_20C_20_3E"·id="r_Dune_3A_3AFunctions_3A_3APowerPreBasis_3C_20IMS_2C_20SPB_2C_20C_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02042.html">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·></a></td></tr> | ||
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·power·bases.··<a·href="a02042.html#details">More...</a><br·/></td></tr> | ||
| 116 | </table><table·class="memberdecls"> | ||
| 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 118 | 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> | 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> |
| 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> | 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> |
| 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> | ||
| 113 | </table><table·class="memberdecls"> | 122 | </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> | 123 | <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> | 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> | ||
| 116 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"·id="r_ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplParams"·colspan="2">template<class·V>·</td></tr> | ||
| 117 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b·template"><td·class="memItemLeft"·align="right"·valign="top">constexpr·auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Dune::Functions::fieldTypes</a>·()</td></tr> | ||
| 118 | <tr·class="memdesc:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·list·of·field·types·in·container.··<br·/></td></tr> | ||
| 119 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"·id="r_af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplParams"·colspan="2">template<class·V>·</td></tr> | ||
| 120 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb·template"><td·class="memItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#af8b09a0411c63ab6a6500a7b6edb9dfb">Dune::Functions::hasUniqueFieldType</a>·()</td></tr> | ||
| 121 | <tr·class="memdesc:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·container·has·a·unique·field·type.··<br·/></td></tr> | ||
| 122 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"·id="r_gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplParams"·colspan="2">template<class·Vector>·</td></tr> | ||
| 123 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00313.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a>·(Vector·&v)</td></tr> | ||
| 124 | <tr·class="memdesc:gae5b9f62f85e3d638423142695a74d056"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.··<br·/></td></tr> | ||
| 125 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"·id="r_ga50a181637103e7abc011235a9fd30611"><td·class="memTemplParams"·colspan="2">template<class·Vector>·</td></tr> | ||
| 126 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00313.html#ga50a181637103e7abc011235a9fd30611">Dune::Functions::istlVectorBackend</a>·(const·Vector·&v)</td></tr> | ||
| 127 | <tr·class="memdesc:ga50a181637103e7abc011235a9fd30611"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·const·ISTL·like·containers.··<br·/></td></tr> | ||
| 128 | </table> | 131 | </table> |
| 129 | </div><!--·contents·--> | 132 | </div><!--·contents·--> |
| 130 | </div><!--·doc-content·--> | 133 | </div><!--·doc-content·--> |
| 131 | <div·id="page-nav"·class="page-nav-panel"> | 134 | <div·id="page-nav"·class="page-nav-panel"> |
| 132 | <div·id="page-nav-resize-handle"></div> | 135 | <div·id="page-nav-resize-handle"></div> |
| 133 | <div·id="page-nav-tree"> | 136 | <div·id="page-nav-tree"> |
| 134 | <div·id="page-nav-contents"> | 137 | <div·id="page-nav-contents"> |
| 135 | </div><!--·page-nav-contents·--> | 138 | </div><!--·page-nav-contents·--> |
| 136 | </div><!--·page-nav-tree·--> | 139 | </div><!--·page-nav-tree·--> |
| 137 | </div><!--·page-nav·--> | 140 | </div><!--·page-nav·--> |
| 138 | </div><!--·container·--> | 141 | </div><!--·container·--> |
| 139 | <!--·start·footer·part·--> | 142 | <!--·start·footer·part·--> |
| 140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 143 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 141 | ··<ul> | 144 | ··<ul> |
| 142 | ····<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00086.html">powerbasis.hh</a></li> |
| 143 | ····<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 | ····<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 | ··</ul> | 147 | ··</ul> |
| 145 | </div> | 148 | </div> |
| 146 | </body> | 149 | </body> |
| 147 | </html> | 150 | </html> |
| Offset 1, 37 lines modified | Offset 1, 40 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 | powerbasis.hh·File·Reference | ||
| 6 | #include·<dune/common/reservedvector.hh> | ||
| 5 | istlvectorbackend.hh·File·Reference | ||
| 6 | #include·<cstddef> | ||
| 7 | #include·<utility> | ||
| 8 | #include·<type_traits> | ||
| 9 | #include·<dune/common/ | 7 | #include·<dune/common/typeutilities.hh> |
| 10 | #include·<dune/common/indices.hh> | 8 | #include·<dune/common/indices.hh> |
| 11 | #include·<dune/common/hybridutilities.hh> | ||
| 12 | #include·<dune/common/concept.hh> | 9 | #include·<dune/common/typetree/nodeconcepts.hh> |
| 13 | #include·<dune/functions/common/ | 10 | #include·<dune/functions/common/utility.hh> |
| 11 | #include·<dune/functions/common/type_traits.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/concepts.hh> | 15 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 16 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 15 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | ||
| 20 | class· ·Dune::Functions::PowerPreBasis<_IMS,_SPB,_C_> | ||
| 21 | ·······A·pre-basis·for·power·bases.·More... | ||
| 16 | Namespaces | 22 | Namespaces |
| 17 | namespace· ·Dune | 23 | namespace· ·Dune |
| 18 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 25 | namespace· ·Dune::Functions::BasisFactory | ||
| 19 | Functions | 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. | ||
| 20 | template<class·V> | ||
| 21 | constexpr·auto ·Dune::Functions::fieldTypes·() | ||
| 22 | ···············Generate·list·of·field·types·in·container. | ||
| 23 | template<class·V> | ||
| 24 | constexpr·bool ·Dune::Functions::hasUniqueFieldType·() | ||
| 25 | ···············Check·if·container·has·a·unique·field·type. | ||
| 26 | template<class·Vector> | ||
| 27 | ··········auto ·Dune::Functions::istlVectorBackend·(Vector·&v) | ||
| 28 | ···············Return·a·vector·backend·wrapping·non-const·ISTL·like | ||
| 29 | ················containers. | ||
| 30 | template<class·Vector> | ||
| 31 | ··········auto ·Dune::Functions::istlVectorBackend·(const·Vector·&v) | ||
| 32 | ···············Return·a·vector·backend·wrapping·const·ISTL·like·containers. | ||
| 33 | ····*·dune | 36 | ····*·dune |
| 34 | ····*·functions | 37 | ····*·functions |
| 35 | ····*·backends | ||
| 36 | ····*· | 38 | ····*·functionspacebases |
| 39 | ····*·powerbasis.hh | ||
| 37 | ····*·Generated·by·[doxygen]1.15.0 | 40 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 6 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00086·=·[ | 1 | var·a00086·=·[ |
| 2 | ····["Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>",·"a02042.html",·"a02042"], | ||
| 3 | ····["Dune::Functions::BasisFactory::power",·"a00312.html#gab84b622cf7be16d0373640b6f0478eb0",·null], | ||
| 4 | ····["Dune::Functions::BasisFactory::power",·"a00312.html#ga0d8eb549af76bc2563ab189e63668ee5",·null] | ||
| 2 | ····["Dune::Functions::fieldTypes",·"a00318.html#ad0a3b4e397e76b3d02cb06a7793fdb7b",·null], | ||
| 3 | ····["Dune::Functions::hasUniqueFieldType",·"a00318.html#af8b09a0411c63ab6a6500a7b6edb9dfb",·null], | ||
| 4 | ····["Dune::Functions::istlVectorBackend",·"a00313.html#ga50a181637103e7abc011235a9fd30611",·null], | ||
| 5 | ····["Dune::Functions::istlVectorBackend",·"a00313.html#gae5b9f62f85e3d638423142695a74d056",·null] | ||
| 6 | ]; | 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:·powerbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 353 lines modified | Offset 88, 205 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">powerbasis.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_FUNCTIONSPACEBASES_ | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_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·<cs | 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·<utilit | 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="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/indices.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/ | 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><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><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><span·class="preprocessor">#include·<dune/common/concept.hh></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="l0001 | 112 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00260.html">dune/functions/common/utility.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="a00227.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 116 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.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="a00182.html">dune/functions/functionspacebases/dynamicpowerbasis.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="a00119.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="a00143.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="a00074.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 117 | <div·class="line"><a·id="l0002 | 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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="l00025"·name="l00025"></a><span·class="lineno">···25</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="keyword">namespace·</span>Impl·{</div> | ||
| 123 | <div·class="line"><a·id="l0002 | 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 124 | <div·class="line"><a·id="l0002 | 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> |
| 125 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 126 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00318.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(V&&·<span·class="comment">/*v*/</span>)</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="keywordflow">return</span>·TypeList<V>{};</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>·</div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">class·</span>V,</div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 133 | <div·class="line"><a·id="l000 | 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="a00318.html">Functions</a>·{</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="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>,·V>())</div> | ||
| 136 | <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="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> | ||
| 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> |
| 138 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//···PowerPreBasis</span></div> |
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">auto</span>·indexRange·=·<span·class="keyword">typename</span>·<span·class="keyword">decltype</span>(range(Hybrid::size(v)))::integer_sequence();</div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·i)·{</div> | ||
| 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">return</span>·uniqueTypeList(std::tuple_cat(<a·class="code·hl_function"·href="a00318.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[i])...));</div> | ||
| 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····},·indexRange);</div> | ||
| 143 | <div·class="line"><a·id="l000 | 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="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> | ||
| 144 | <div·class="line"><a·id="l0004 | 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span></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>}·<span·class="comment">//·namespace·Impl</span></div> | ||
| 147 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 148 | <div·class="line"><a·id="l0005 | 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="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01826.html#a0fe2f62daa16567953f11aca5727df00">DynamicPowerPreBasis</a><IMS,SPB></div> | ||
| 149 | <div·class="line"><a·id="l0005 | 141 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> |
| 142 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01826.html#a0fe2f62daa16567953f11aca5727df00">DynamicPowerPreBasis<IMS,SPB></a>;</div> | ||
| 150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
| 151 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
| 152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00318.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">···67</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00318.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>()</div> | ||
| 153 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 154 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> |
| 155 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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="l00061"·name="l00061"></a><span·class="lineno">···61</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="l00064"·name="l00064"></a><span·class="lineno">···64</span></div> | ||
| 150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a02042.html#a1f0855468818ec475153cb0755cb7ab8">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02042.html#a1f0855468818ec475153cb0755cb7ab8">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01826.html#a0153c5e605e77a8b205e17f78820c84b">Base::size_type</a>;</div> | ||
| 151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span></div> | ||
| 152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02042.html#a1c74f8319f302dc61ba704be6489cf37">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02042.html#a1c74f8319f302dc61ba704be6489cf37">IndexMergingStrategy</a>·=·IMS;</div> | ||
| 153 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span></div> | ||
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02042.html#ae9064a255245dcd3fbd5d1f39aa9f149">···72</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::integral_constant<std::size_t,C>·<a·class="code·hl_variable"·href="a02042.html#ae9064a255245dcd3fbd5d1f39aa9f149">children</a>·=·{};</div> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> | ||
| 156 | <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> | ||
| 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="l00084"·name="l00084"></a><span·class="lineno">···84</span>··{}</div> | ||
| 156 | </div> | 163 | </div> |
| 157 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span></div> | ||
| 158 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
| 159 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> | ||
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00318.html#af8b09a0411c63ab6a6500a7b6edb9dfb">···78</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00318.html#af8b09a0411c63ab6a6500a7b6edb9dfb">hasUniqueFieldType</a>()</div> | ||
| 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> | ||
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keywordflow">return</span>·std::tuple_size_v<std::decay_t<decltype(fieldTypes<V>())>>·==1;</div> | ||
| 163 | <div·class="line"><a·id="l0008 | 164 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span></div> |
| 165 | <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}"> | ||
| Max diff block lines reached; 50806/86954 bytes (58.43%) of diff not shown. | |||
| Offset 1, 370 lines modified | Offset 1, 257 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 | powerbasis.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_ | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH |
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cstddef> | ||
| 19 | 11#include·<utility> | ||
| 20 | 1 | 18 | 10#include·<dune/common/reservedvector.hh> |
| 19 | 11#include·<dune/common/typeutilities.hh> | ||
| 20 | 12#include·<dune/common/indices.hh> | ||
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/common/std/type_traits.hh> | ||
| 23 | 15#include·<dune/common/indices.hh> | ||
| 24 | 16#include·<dune/common/hybridutilities.hh> | ||
| 25 | 1 | 22 | 14#include·<dune/common/typetree/nodeconcepts.hh> |
| 26 | 1 | 23 | 15 |
| 27 | 1 | 24 | 16#include·<dune/functions/common/utility.hh> |
| 25 | 17#include·<dune/functions/common/type_traits.hh> | ||
| 28 | 26 | 18#include·<dune/functions/functionspacebases/basistags.hh> | |
| 29 | 21 | ||
| 30 | 22 | ||
| 31 | 23namespace·Dune·{ | ||
| 32 | 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 | 23#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 32 | 24 | ||
| 33 | 25 | 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 | 66·using·size_type·=·typename·Base::size_type; | ||
| 65 | 67 | ||
| 66 | 69·using·IndexMergingStrategy·=·IMS; | ||
| 34 | 26namespace·Impl·{ | ||
| 35 | 27 | ||
| 36 | 28template<class·V, | ||
| 37 | 29·std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>()·, | ||
| 38 | int>·=·0> | ||
| 39 | 30auto·fieldTypes(V&&·/*v*/) | ||
| 40 | 31{ | ||
| 41 | 32·return·TypeList<V>{}; | ||
| 42 | 33} | ||
| 43 | 34 | ||
| 44 | 35template<class·V, | ||
| 45 | 36·std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(),·int> | ||
| 46 | =·0> | ||
| 47 | 37auto·fieldTypes(V&&·v) | ||
| 48 | 38{ | ||
| 49 | 39·if·constexpr·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>, | ||
| 50 | V>()) | ||
| 51 | 40·return·fieldTypes(v[std::size_t{0}]); | ||
| 52 | 41·else | ||
| 53 | 42·{ | ||
| 54 | 43·auto·indexRange·=·typename·decltype(range(Hybrid::size(v)))::integer_ | ||
| 55 | sequence(); | ||
| 56 | 44·return·unpackIntegerSequence([&](auto...·i)·{ | ||
| 57 | 45·return·uniqueTypeList(std::tuple_cat(fieldTypes(v[i])...)); | ||
| 58 | 46·},·indexRange); | ||
| 59 | 47·} | ||
| 60 | 48} | ||
| 61 | 49 | ||
| 62 | 50}·//·namespace·Impl | ||
| 63 | 51 | ||
| 64 | 52 | ||
| 65 | 53 | ||
| 66 | 66template<class·V> | ||
| 67 | 67constexpr·auto·fieldTypes() | ||
| 68 | 68{ | ||
| 69 | 69·return·decltype(Impl::fieldTypes(std::declval<V>())){}; | ||
| 70 | 70 | 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 | 83·Base(std::size_t(C),·std::forward<SFArgs>(sfArgs)...) | ||
| 75 | 84·{} | ||
| 76 | 85 | ||
| 77 | 89·Node·makeNode()·const | ||
| 78 | 90·{ | ||
| 79 | 91·Node·node{}; | ||
| 80 | 92·for·(std::size_t·i=0;·i<children();·++i) | ||
| 81 | 93·node.setChild(i,·Base::subPreBasis_.makeNode()); | ||
| 82 | 94·return·node; | ||
| 83 | 95·} | ||
| Max diff block lines reached; 13518/19500 bytes (69.32%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·lagrangebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 66 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">lagrangebasis.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·<array></code><br·/> | ||
| 99 | <code>#include·<vector></code><br·/> | ||
| 100 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 101 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
| 102 | <code>#include·<dune/c | 99 | <code>#include·<dune/localfunctions/lagrange/cache.hh></code><br·/> |
| 103 | <code>#include·<dune/common/tuplevector.hh></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a001 | 100 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 103 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> | ||
| 105 | </div> | 104 | </div> |
| 106 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 107 | <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> | ||
| 108 | Classes</h2></td></tr> | ||
| 109 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALagrangePreBasis_3C_20GV_2C_20k_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ALagrangePreBasis_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="a01934.html">Dune::Functions::LagrangePreBasis<·GV,·k,·R·></a></td></tr> | ||
| 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.··<a·href="a01934.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"> | ||
| 108 | <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> |
| 109 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
| 110 | <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> |
| 111 | <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> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 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> | ||
| 113 | </table><table·class="memberdecls"> | 124 | </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> | 125 | <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> | 126 | Functions</h2></td></tr> |
| 116 | <tr·class="memitem:ae0d46a565069f98abf5baea87e1ec3cb"·id="r_ae0d46a565069f98abf5baea87e1ec3cb"><td·class="memTemplParams"·colspan="2">template<class·T,·class·ContainerDescriptor>·</td></tr> | ||
| 117 | <tr·class="memitem:ae0d46a565069f98abf5baea87e1ec3cb·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#ae0d46a565069f98abf5baea87e1ec3cb">Dune::Functions::makeContainer</a>·(const·ContainerDescriptor·&descriptor,·const·T·&defaultValue)</td></tr> | ||
| 118 | <tr·class="memdesc:ae0d46a565069f98abf5baea87e1ec3cb"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·nested·random·access·container·compatible·with·the·container·descriptor.··<br·/></td></tr> | ||
| 119 | <tr·class="memitem:a5615eb8c95f13bfec2cac72f7f3ffcb7"·id="r_a5615eb8c95f13bfec2cac72f7f3ffcb7"><td·class="memTemplParams"·colspan="2">template<class·T,·class·ContainerDescriptor>·</td></tr> | ||
| 120 | <tr·class="memitem:a5615eb8c95f13bfec2cac72f7f3ffcb7·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a5615eb8c95f13bfec2cac72f7f3ffcb7">Dune::Functions::makeContainer</a>·(const·ContainerDescriptor·&descriptor)</td></tr> | ||
| 121 | <tr·class="mem | 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> | ||
| 122 | </table> | 133 | </table> |
| 123 | </div><!--·contents·--> | 134 | </div><!--·contents·--> |
| 124 | </div><!--·doc-content·--> | 135 | </div><!--·doc-content·--> |
| 125 | <div·id="page-nav"·class="page-nav-panel"> | 136 | <div·id="page-nav"·class="page-nav-panel"> |
| 126 | <div·id="page-nav-resize-handle"></div> | 137 | <div·id="page-nav-resize-handle"></div> |
| 127 | <div·id="page-nav-tree"> | 138 | <div·id="page-nav-tree"> |
| 128 | <div·id="page-nav-contents"> | 139 | <div·id="page-nav-contents"> |
| 129 | </div><!--·page-nav-contents·--> | 140 | </div><!--·page-nav-contents·--> |
| 130 | </div><!--·page-nav-tree·--> | 141 | </div><!--·page-nav-tree·--> |
| 131 | </div><!--·page-nav·--> | 142 | </div><!--·page-nav·--> |
| 132 | </div><!--·container·--> | 143 | </div><!--·container·--> |
| 133 | <!--·start·footer·part·--> | 144 | <!--·start·footer·part·--> |
| 134 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 145 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 135 | ··<ul> | 146 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00089.html">lagrangebasis.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> | 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> |
| 138 | ··</ul> | 149 | ··</ul> |
| 139 | </div> | 150 | </div> |
| 140 | </body> | 151 | </body> |
| 141 | </html> | 152 | </html> |
| Offset 1, 33 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 | 5 | lagrangebasis.hh·File·Reference | |
| 6 | #include·<type_traits> | 6 | #include·<type_traits> |
| 7 | #include·<array> | ||
| 8 | #include·<vector> | ||
| 9 | #include·<dune/common/exceptions.hh> | 7 | #include·<dune/common/exceptions.hh> |
| 8 | #include·<dune/localfunctions/lagrange/cache.hh> | ||
| 10 | #include·<dune/common/fvector.hh> | ||
| 11 | #include·<dune/common/indices.hh> | ||
| 12 | #include·<dune/common/tuplevector.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/ | 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> | ||
| 14 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 14 | Classes | ||
| 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_> | ||
| 15 | Namespaces | 18 | Namespaces |
| 16 | namespace· ·Dune | 19 | namespace· ·Dune |
| 17 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 18 | 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. | ||
| 19 | Functions | 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. | ||
| 20 | template<class·T,·class·ContainerDescriptor> | ||
| 21 | auto ·Dune::Functions::makeContainer·(const·ContainerDescriptor·&descriptor, | ||
| 22 | ······const·T·&defaultValue) | ||
| 23 | ·····Construct·a·nested·random·access·container·compatible·with·the·container | ||
| 24 | ······descriptor. | ||
| 25 | template<class·T,·class·ContainerDescriptor> | ||
| 26 | auto ·Dune::Functions::makeContainer·(const·ContainerDescriptor·&descriptor) | ||
| 27 | ·····Construct·a·nested·random·access·container·compatible·with·the·container | ||
| 28 | ······descriptor. | ||
| 29 | ····*·dune | 35 | ····*·dune |
| 30 | ····*·functions | 36 | ····*·functions |
| 31 | ····*·backends | ||
| 32 | ····*· | 37 | ····*·functionspacebases |
| 38 | ····*·lagrangebasis.hh | ||
| 33 | ····*·Generated·by·[doxygen]1.15.0 | 39 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 4 lines modified | Offset 1, 6 lines modified | ||
| 1 | var·a00089·=·[ | 1 | var·a00089·=·[ |
| 2 | ····["Dune::Functions::makeContainer",·"a00318.html#a5615eb8c95f13bfec2cac72f7f3ffcb7",·null], | ||
| 3 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::LagrangeNode<·GV,·k,·R·>",·"a01930.html",·"a01930"], |
| 3 | ····["Dune::Functions::LagrangeBasis",·"a00312.html#ga6407ae0fc50439a66ca3570b161bfa19",·null], | ||
| 4 | ····["Dune::Functions::BasisFactory::lagrange",·"a00312.html#ga5106c08bf6dd8eaca7d06075d581d760",·null], | ||
| 5 | ····["Dune::Functions::BasisFactory::lagrange",·"a00312.html#ga177b4e1b21990d7fc9350ac0caeb3c6c",·null] | ||
| 4 | ]; | 6 | ]; |
| 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:·lagrangebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 144 lines modified | Offset 88, 594 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">lagrangebasis.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><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-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="preprocessor">#ifndef·DUNE_FUNCTIONS_BACKENDS_CONTAINERFACTORY_HH</span></div> | ||
| 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_BACKENDS_CONTAINERFACTORY_HH</span></div> | ||
| 103 | <div·class="line"><a·id="l0000 | 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> | ||
| 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> | ||
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<array></span></div> | ||
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<vector></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><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><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
| 111 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> | ||
| 112 | <div·class="line"><a·id="l000 | 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_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH</span></div> | ||
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH</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> | ||
| 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·<dune/common/exceptions.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·<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="a00119.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="a00074.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="a00092.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> | 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="a00318.html">Dune::Functions</a>·{</div> | ||
| 116 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}"> | ||
| 117 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00321.html">···20</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00321.html">ContainerDescriptors</a>·{</div> | ||
| 118 | <div·class="line"><a·id="l000 | 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> |
| 119 | <div·class="line"><a·id="l0002 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 120 | <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> |
| 121 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">struct·</span>ContainerFactory</div> | ||
| 122 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keywordtype">void</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01766.html">Unknown</a>&·descriptor,·<span·class="keyword">const</span>·T&·defaultValue)<span·class="keyword">·const</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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> |
| 125 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Cannot·create·a·vector.·The·container·descriptor·is·unknown."</span>);</div> | ||
| 126 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··}</div> | ||
| 127 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 128 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·ChildDescriptor></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="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> | ||
| 130 | <div·class="line"><a·id="l000 | 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">//···LagrangePreBasis</span></div> | ||
| 131 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·ii)·{</div> | ||
| 132 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">return</span>·Dune::TupleVector<<span·class="keyword">decltype</span>((*this)(descriptor[ii],·defaultValue))...>{(*this)(descriptor[ii],·defaultValue)...};</div> | ||
| 133 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····},·std::make_index_sequence<<span·class="keyword">sizeof</span>...(ChildDescriptor)>());</div> | ||
| 134 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//···LagrangeNode</span></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="comment">//</span></div> |
| 136 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·ChildDescriptor,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 137 | <div·class="line"><a·id="l000 | 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> | ||
| 138 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> |
| 139 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">using·</span>ChildContainer·=·<span·class="keyword">decltype</span>((*this)(descriptor[0],·defaultValue));</div> | ||
| 140 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·ii)·{</div> | ||
| 141 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······<span·class="keywordflow">return</span>·std::array<ChildContainer,·n>{(*this)(descriptor[ii],·defaultValue)...};</div> | ||
| 142 | <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>·</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> | ||
| 143 | <div·class="line"><a·id="l000 | 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> | ||
| 144 | <div·class="line"><a·id="l0004 | 136 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 145 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·ChildDescriptor></div> | ||
| 146 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00321.html#a7692987ba816965c1c2df93c39d50ca8">Vector<ChildDescriptor></a>&·descriptor,·<span·class="keyword">const</span>·T&·defaultValue)<span·class="keyword">·const</span></div> | ||
| 147 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 148 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">using·</span>ChildContainer·=·<span·class="keyword">decltype</span>((*this)(descriptor[0],·defaultValue));</div> | ||
| 149 | <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="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> | ||
| 150 | <div·class="line"><a·id="l000 | 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> | ||
| 151 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·descriptor.size();·++i)</div> | ||
| 152 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······result.emplace_back((*<span·class="keyword">this</span>)(descriptor[i],·defaultValue));</div> | ||
| 153 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">return</span>·result;</div> | ||
| 154 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div> | ||
| 155 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·ChildDescriptor,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 157 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01774.html">UniformArray<ChildDescriptor,n></a>&·descriptor,·<span·class="keyword">const</span>·T&·defaultValue)<span·class="keyword">·const</span></div> | ||
| 158 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">··</span>{</div> | ||
| 159 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">using·</span>ChildContainer·=·<span·class="keyword">decltype</span>((*this)(descriptor[0],·defaultValue));</div> | ||
| 160 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">auto</span>·childContainer·=·(*this)(descriptor[0],·defaultValue);</div> | ||
| 161 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·ii)·{</div> | ||
| 162 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">return</span>·std::array<ChildContainer,·n>{((void)(ii),childContainer)...};</div> | ||
| 163 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····},·std::make_index_sequence<n>());</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> | 146 | <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>··<span·class="keyword">template</span><<span·class="keyword">class</span>·ChildDescriptor></div> | ||
| 167 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">auto</span>·operator()·(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01778.html">UniformVector<ChildDescriptor></a>&·descriptor,·<span·class="keyword">const</span>·T&·defaultValue)<span·class="keyword">·const</span></div> | ||
| 168 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">public</span>:</div> |
| 169 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">using·</span>ChildContainer·=·<span·class="keyword">decltype</span>((*this)(descriptor[0],·defaultValue));</div> | ||
| 170 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">auto</span>·childContainer·=·(*this)(descriptor[0],·defaultValue);</div> | ||
| 171 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·std::vector<ChildContainer>(descriptor.size(),·childContainer);</div> | ||
| Max diff block lines reached; 108577/139159 bytes (78.02%) of diff not shown. | |||
| Offset 1, 165 lines modified | Offset 1, 723 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 | lagrangebasis.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 | 10 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
| 10 | AUTHORS.md | 11 | AUTHORS.md |
| 11 | 12 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | |
| 12 | LGPL-3.0-or-later | 13 | LGPL-3.0-or-later |
| 13 | 5#ifndef·DUNE_FUNCTIONS_BACKENDS_CONTAINERFACTORY_HH | ||
| 14 | 6#define·DUNE_FUNCTIONS_BACKENDS_CONTAINERFACTORY_HH | ||
| 15 | 14 | 6 | |
| 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH | ||
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH | ||
| 17 | 9 | ||
| 16 | 18 | 10#include·<type_traits> | |
| 17 | 9#include·<array> | ||
| 18 | 10#include·<vector> | ||
| 19 | 11 | ||
| 20 | 1 | 19 | 11#include·<dune/common/exceptions.hh> |
| 20 | 12 | ||
| 21 | 13#include·<dune/localfunctions/lagrange/cache.hh> | ||
| 22 | 14 | ||
| 21 | 13#include·<dune/common/fvector.hh> | ||
| 22 | 14#include·<dune/common/indices.hh> | ||
| 23 | 15#include·<dune/common/tuplevector.hh> | ||
| 24 | 16 | ||
| 25 | 1 | 23 | 15#include·<dune/functions/functionspacebases/nodes.hh> |
| 24 | 16#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 25 | 17#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 26 | 18 | 26 | 18 |
| 27 | 19namespace·Dune::Functions·{ | ||
| 28 | 27 | 19#include·<dune/grid/common/capabilities.hh> | |
| 28 | 20 | ||
| 29 | 21namespace· | 29 | 21namespace·Dune·{ |
| 30 | 22namespace·Functions·{ | ||
| 31 | 23 | ||
| 32 | 24/ | ||
| 33 | /·***************************************************************************** | ||
| 34 | 25//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains | ||
| 35 | 26// | ||
| 36 | 27//·LagrangePreBasis | ||
| 37 | 28//·LagrangeNode | ||
| 38 | 29// | ||
| 39 | 30//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 40 | shared | ||
| 41 | 31//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 42 | 32//·and·can·be·used·without·a·global·basis. | ||
| 43 | 33/ | ||
| 44 | /·***************************************************************************** | ||
| 45 | 34 | ||
| 46 | 35template<typename·GV,·int·k,·typename·R=double> | ||
| 47 | 36class·LagrangeNode; | ||
| 48 | 37 | ||
| 49 | 38template<typename·GV,·int·k,·typename·R=double> | ||
| 50 | 39class·LagrangePreBasis; | ||
| 51 | 40 | ||
| 52 | 41 | ||
| 53 | 42 | ||
| 54 | 62template<typename·GV,·int·k,·typename·R> | ||
| 55 | 63class·LagrangePreBasis·: | ||
| 56 | 64·public·LeafPreBasisMixin<·LagrangePreBasis<GV,k,R>·> | ||
| 57 | 65{ | ||
| 58 | 66·static·const·int·dim·=·GV::dimension; | ||
| 59 | 67·static·const·bool·useDynamicOrder·=·(k<0); | ||
| 30 | 22 | ||
| 31 | 23template<class·T> | ||
| 32 | 24struct·ContainerFactory | ||
| 33 | 25{ | ||
| 34 | 26·void·operator()·(const·Unknown&·descriptor,·const·T&·defaultValue)·const | ||
| 35 | 27·{ | ||
| 36 | 28·DUNE_THROW(Dune::NotImplemented,·"Cannot·create·a·vector.·The·container | ||
| 37 | descriptor·is·unknown."); | ||
| 38 | 29·} | ||
| 39 | 30 | ||
| 40 | 31·template<class...·ChildDescriptor> | ||
| 41 | 32·auto·operator()·(const·Tuple<ChildDescriptor...>&·descriptor,·const·T& | ||
| 42 | defaultValue)·const | ||
| 43 | 33·{ | ||
| 44 | 34·return·unpackIntegerSequence([&](auto...·ii)·{ | ||
| 45 | 35·return·Dune::TupleVector<decltype((*this)(descriptor[ii],·defaultValue))...> | ||
| 46 | {(*this)(descriptor[ii],·defaultValue)...}; | ||
| 47 | 36·},·std::make_index_sequence<sizeof...(ChildDescriptor)>()); | ||
| 48 | 37·} | ||
| 49 | 38 | ||
| 50 | 39·template<class·ChildDescriptor,·std::size_t·n> | ||
| 51 | 40·auto·operator()·(const·Array<ChildDescriptor,n>&·descriptor,·const·T& | ||
| 52 | defaultValue)·const | ||
| 53 | 41·{ | ||
| 54 | 42·using·ChildContainer·=·decltype((*this)(descriptor[0],·defaultValue)); | ||
| 55 | 43·return·unpackIntegerSequence([&](auto...·ii)·{ | ||
| 56 | 44·return·std::array<ChildContainer,·n>{(*this)(descriptor[ii], | ||
| 57 | defaultValue)...}; | ||
| 58 | 45·},·std::make_index_sequence<n>()); | ||
| 59 | 46·} | ||
| 60 | 47 | ||
| 61 | 48·template<class·ChildDescriptor> | ||
| 62 | 49·auto·operator()·(const·Vector<ChildDescriptor>&·descriptor,·const·T& | ||
| 63 | defaultValue)·const | ||
| 64 | 50·{ | ||
| 65 | 51·using·ChildContainer·=·decltype((*this)(descriptor[0],·defaultValue)); | ||
| 66 | 52·auto·result·=·std::vector<ChildContainer>(); | ||
| 67 | 53·result.reserve(descriptor.size()); | ||
| 68 | 54·for·(std::size_t·i·=·0;·i·<·descriptor.size();·++i) | ||
| 69 | 55·result.emplace_back((*this)(descriptor[i],·defaultValue)); | ||
| 70 | 56·return·result; | ||
| 71 | 57·} | ||
| 72 | 58 | ||
| 73 | 59·template<class·ChildDescriptor,·std::size_t·n> | ||
| 74 | 60·auto·operator()·(const·UniformArray<ChildDescriptor,n>&·descriptor,·const·T& | ||
| 75 | defaultValue)·const | ||
| 76 | 61·{ | ||
| 77 | 62·using·ChildContainer·=·decltype((*this)(descriptor[0],·defaultValue)); | ||
| 78 | 63·auto·childContainer·=·(*this)(descriptor[0],·defaultValue); | ||
| 79 | 64·return·unpackIntegerSequence([&](auto...·ii)·{ | ||
| 80 | 65·return·std::array<ChildContainer,·n>{((void)(ii),childContainer)...}; | ||
| 81 | 66·},·std::make_index_sequence<n>()); | ||
| 82 | 67·} | ||
| 83 | 68 | 60 | 68 |
| 61 | 69public: | ||
| 62 | 70 | ||
| 63 | 72·using·GridView·=·GV; | ||
| 64 | 73 | ||
| Max diff block lines reached; 23625/28607 bytes (82.58%) 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:·boundarydofs.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 84 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">boundarydofs.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·<utility></code><br·/> |
| 98 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/functionspacebases/subentitydofs.hh</a>></code><br·/> | ||
| 98 | <code>#include·<cstddef></code><br·/> | ||
| 99 | <code>#include·<limits></code><br·/> | ||
| 100 | <code>#include·<type_traits></code><br·/> | ||
| 101 | <code>#include·<utility></code><br·/> | ||
| 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·/> | ||
| 111 | </div> | 99 | </div> |
| 112 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | 100 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 113 | <table·class="memberdecls"> | 101 | <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> | ||
| 115 | Classes</h2></td></tr> | ||
| 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"·href="a01462.html">Dune::Functions::Experimental::SubDomainIndexSet<·HGV·></a></td></tr> | ||
| 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> | ||
| 133 | </table><table·class="memberdecls"> | ||
| 134 | <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> |
| 135 | Namespaces</h2></td></tr> | 103 | Namespaces</h2></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> | 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> |
| 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> | 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> |
| 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"> | 106 | </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> | 107 | <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> | 108 | 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="mem | 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::LocalVi[·...·truncated·by·diffoscope;·len:·87,·SHA:·c7de5e0f00af95bdea2676ae75b8c1bab7e3e7e48f55ccfd859318513b3b95ae·...·]</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="memdesc:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Loop·over·all·DOFs·on·the·boundary.··<br·/></td></tr> | ||
| 151 | </table> | 118 | </table> |
| 152 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
| 153 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
| 154 | <div·id="page-nav"·class="page-nav-panel"> | 121 | <div·id="page-nav"·class="page-nav-panel"> |
| 155 | <div·id="page-nav-resize-handle"></div> | 122 | <div·id="page-nav-resize-handle"></div> |
| 156 | <div·id="page-nav-tree"> | 123 | <div·id="page-nav-tree"> |
| 157 | <div·id="page-nav-contents"> | 124 | <div·id="page-nav-contents"> |
| 158 | </div><!--·page-nav-contents·--> | 125 | </div><!--·page-nav-contents·--> |
| 159 | </div><!--·page-nav-tree·--> | 126 | </div><!--·page-nav-tree·--> |
| 160 | </div><!--·page-nav·--> | 127 | </div><!--·page-nav·--> |
| 161 | </div><!--·container·--> | 128 | </div><!--·container·--> |
| 162 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
| 163 | <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!·--> |
| 164 | ··<ul> | 131 | ··<ul> |
| 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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00095.html">boundarydofs.hh</a></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> | 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> |
| 167 | ··</ul> | 134 | ··</ul> |
| 168 | </div> | 135 | </div> |
| 169 | </body> | 136 | </body> |
| 170 | </html> | 137 | </html> |
| Offset 1, 66 lines modified | Offset 1, 30 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 | boundarydofs.hh·File·Reference | ||
| 5 | subdomain.hh·File·Reference | ||
| 6 | #include·<array> | ||
| 7 | #include·<cstddef> | ||
| 8 | #include·<limits> | ||
| 9 | #include·<type_traits> | ||
| 10 | #include·<utility> | 6 | #include·<utility> |
| 7 | #include·<dune/functions/functionspacebases/subentitydofs.hh> | ||
| 11 | #include·<vector> | ||
| 12 | #include·<dune/common/exceptions.hh> | ||
| 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> | ||
| 20 | Go_to_the_source_code_of_this_file. | 8 | Go_to_the_source_code_of_this_file. |
| 21 | Classes | ||
| 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... | ||
| 43 | Namespaces | 9 | Namespaces |
| 44 | namespace· ·Dune | 10 | namespace· ·Dune |
| 45 | namespace· ·Dune::Functions | 11 | namespace· ·Dune::Functions |
| 46 | namespace· ·Dune::Functions::Experimental | ||
| 47 | Functions | 12 | 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 | ·····Loop·over·all·DOFs·on·the·boundary. | ||
| 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. | ||
| 62 | ····*·dune | 26 | ····*·dune |
| 63 | ····*·functions | 27 | ····*·functions |
| 64 | ····*·common | ||
| 65 | ····*· | 28 | ····*·functionspacebases |
| 29 | ····*·boundarydofs.hh | ||
| 66 | ····*·Generated·by·[doxygen]1.15.0 | 30 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 11 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00095·=·[ | 1 | var·a00095·=·[ |
| 2 | ····["Dune::Functions::forEachBoundaryDOF",·"a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5",·null], | ||
| 3 | ····["Dune::Functions::forEachBoundaryDOF",·"a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5",·null], | ||
| 4 | ····["Dune::Functions::forEachBoundaryDOF",·"a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5",·null] | ||
| 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] | ||
| 11 | ]; | 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:·boundarydofs.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 806 lines modified | Offset 88, 115 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">boundarydofs.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_CO | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_CO | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_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·<cstddef></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<limits></span></div> | ||
| 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="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<utility></span></div> |
| 111 | <div·class="line"><a·id="l0001 | 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·<<a·class="code"·href="a00101.html">dune/functions/functionspacebases/subentitydofs.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><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</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> | Diff chunk too large, falling back to line-by-line diff (77 lines added, 768 lines removed) | |
| 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> | 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>< | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span></div> |
| 115 | <div·class="line"><a·id="l000 | 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="l000 | 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)·[·...·truncated·by·diffoscope;·len:·7,·SHA:·96b4fe24e6c1731708894e5c18afa9f13f7e2dfe3ac293f866a68a0eeee305b3·...·]</div> |
| 117 | <div·class=" | 117 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}"> |
| 118 | <div·class="line"><a·id="l000 | 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">forEach[·...·truncated·by·diffoscope;·len:·83,·SHA:·6a5bebda48f56b6d759c63d8d8e6aaa8148efc20a1b9e33b8ef72ccd2fbfe267·...·]</div> |
| 119 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 120 | <div·class="line"><a·id="l000 | 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 | 121 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00313.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> |
| 122 | <div·class="line"><a·id="l000 | 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="l000 | 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=" | 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 | 125 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{</div> |
| 126 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······localView.bind(element);</div> |
| 127 | <div·class="line"><a·id="l000 | 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="l000 | 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="l000 | 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="l000 | 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 | 131 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div> |
| 132 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>}</div> |
| 133 | < | 133 | </div> |
| 134 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 135 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 136 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span></div> |
| 137 | <div·class="line"><a·id="l000 | 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 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>()),0)·=·0></div> |
| 139 | <div·class=" | 139 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> |
| 140 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00318.html#gaa60b94e3da01aa62a555f6955a7f09e5">···77</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEach[·...·truncated·by·diffoscope;·len:·83,·SHA:·6a5bebda48f56b6d759c63d8d8e6aaa8148efc20a1b9e33b8ef72ccd2fbfe267·...·]</div> |
| 141 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div> |
| 142 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> |
| 143 | <div·class="line"><a·id="l000 | 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="l000 | 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="l000 | 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="l000 | 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 | 147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{</div> |
| 148 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······localView.bind(element);</div> |
| 149 | <div·class="line"><a·id="l000 | 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="l000 | 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="l000 | 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 | 152 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>············f(localIndex,·localView);</div> |
| 153 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> |
| 154 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>}</div> |
| 155 | < | 155 | </div> |
| 156 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
| 157 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
| 158 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span></div> |
| 159 | <div·class="line"><a·id="l00 | 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="l00 | 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=" | 161 | <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> |
| 162 | <div·class="line"><a·id="l00 | 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">forEac[·...·truncated·by·diffoscope;·len:·83,·SHA:·bd61c991267f62e942719967a977a4d1c4270be7f093ba1526084b314f5a46ec·...·])</div> |
| 163 | <div·class="line"><a·id="l00 | 163 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>{</div> |
| 164 | <div·class="line"><a·id="l00 | 164 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> |
| 165 | <div·class="line"><a·id="l00 | 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="l00 | 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="l00 | 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 | 168 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> |
| 169 | <div·class="line"><a·id="l00 | 169 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····{</div> |
| 170 | <div·class="line"><a·id="l00 | 170 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······localView.bind(element);</div> |
| 171 | <div·class="line"><a·id="l00 | 171 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> |
| 172 | <div·class="line"><a·id="l00 | 172 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> |
| 173 | <div·class="line"><a·id="l00 | 173 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·localIndex:·seDOFs.bind(localView,intersection))</div> |
| 174 | <div·class="line"><a·id="l00 | 174 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>············f(localView.index(localIndex));</div> |
| 175 | <div·class="line"><a·id="l00 | 175 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····}</div> |
| 176 | <div·class="line"><a·id="l00 | 176 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>}</div> |
| 177 | < | 177 | </div> |
| 178 | <div·class="line"><a·id="l00 | 178 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> |
| 179 | <div·class="line"><a·id="l00 | 179 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> |
| 180 | <div·class="line"><a·id="l00 | 180 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> |
| 181 | <div·class="line"><a·id="l00 | 181 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>}·<span·class="comment">//·namespace·Functions</span></div> |
| 182 | <div·class="line"><a·id="l00 | 182 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>}·<span·class="comment">//·namespace·Dune</span></div> |
| 183 | <div·class="line"><a·id="l00 | 183 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> |
| 184 | <div·class="line"><a·id="l00 | 184 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH</span></div> |
| 185 | <div·class=" | 185 | <div·class="ttc"·id="aa00101_html"><div·class="ttname"><a·href="a00101.html">subentitydofs.hh</a></div></div> |
| 186 | <div·class=" | 186 | <div·class="ttc"·id="aa00313_html_ga0b9da94fff21e98877d0e3fe1c1554c7"><div·class="ttname"><a·href="a00313.html#ga0b9da94fff21e98877d0e3fe1c1554c7">Dune::Functions::subEntityDOFs</a></div><div·class="ttdeci">auto·subEntityDOFs(const·T·&)</div><div·class="ttdoc">Cre[·...·truncated·by·diffoscope;·len:·94,·SHA:·2ea7d9d9dec688d747268ad99149e14651c55733123b13fe327ff9b7998797df·...·]</div> |
| 187 | <div·class=" | 187 | <div·class="ttc"·id="aa00313_html_gaa60b94e3da01aa62a555f6955a7f09e5"><div·class="ttname"><a·href="a00313.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a></div><div·class="ttdeci">void·forEachBoundaryDOF(const·Basis·&basis,·F·&&[·...·truncated·by·diffoscope;·len:·133,·SHA:·bfbac5cb82e49fa451f26139e4f10b7abbca8819f01b6fedc157a0f30690e4ee·...·]</div> |
| 188 | <div·class=" | 188 | <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> |
| 189 | <div·class=" | 189 | <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> |
| 190 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>············<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
| 191 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········}</div> | ||
| 192 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
| Max diff block lines reached; 1060/163990 bytes (0.65%) of diff not shown. | |||
| Offset 1, 933 lines modified | Offset 1, 111 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 | boundarydofs.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_COMMON_SUBDOMAIN_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<array> | ||
| 19 | 11#include·<cstddef> | ||
| 20 | 12#include·<limits> | ||
| 21 | 13#include·<type_traits> | ||
| 22 | 1 | 18 | 10#include·<utility> |
| 23 | 1 | 19 | 11 |
| 20 | 12#include·<dune/functions/functionspacebases/subentitydofs.hh> | ||
| 21 | 13 | ||
| 22 | 14namespace·Dune·{ | ||
| 23 | 15namespace·Functions·{ | Diff chunk too large, falling back to line-by-line diff (82 lines added, 904 lines removed) | |
| 24 | 16 | 24 | 16 |
| 25 | 17 | 25 | 17 |
| 26 | 18 | 26 | 18 |
| 27 | 27 | 38template<class·Basis,·class·F, | |
| 28 | 28 | 39·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | |
| 29 | 29 | LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0> | |
| 30 | 30 | 40void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | |
| 31 | 31 | 41{ | |
| 32 | 2 | 32 | 42·auto·localView·=·basis.localView(); |
| 33 | 33 | 43·auto·seDOFs·=·subEntityDOFs(basis); | |
| 34 | 34 | 44·const·auto&·gridView·=·basis.gridView(); | |
| 35 | 35 | 45·for(auto&&·element·:·elements(gridView)) | |
| 36 | 36 | 46·if·(element.hasBoundaryIntersections()) | |
| 37 | 37 | 47·{ | |
| 38 | 38 | 48·localView.bind(element); | |
| 39 | 39 | 49·for(const·auto&·intersection:·intersections(gridView,·element)) | |
| 40 | 40 | 50·if·(intersection.boundary()) | |
| 41 | 41 | 51·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | |
| 42 | 42 | 52·f(localIndex,·localView,·intersection); | |
| 43 | 43 | 53·} | |
| 44 | 44 | 54} | |
| 45 | 45 | 55 | |
| 46 | 46 | 56 | |
| 47 | 47 | 57 | |
| 48 | 48 | 75template<class·Basis,·class·F, | |
| 49 | 49 | 76·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | |
| 50 | 50 | LocalView>()),0)·=·0> | |
| 51 | 51 | 77void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | |
| 52 | 52 | 78{ | |
| 53 | 53 | 79·auto·localView·=·basis.localView(); | |
| 54 | 54 | 80·auto·seDOFs·=·subEntityDOFs(basis); | |
| 55 | 55 | 81·const·auto&·gridView·=·basis.gridView(); | |
| 56 | 56 | 82·for(auto&&·element·:·elements(gridView)) | |
| 57 | 57 | 83·if·(element.hasBoundaryIntersections()) | |
| 58 | 58 | 84·{ | |
| 59 | 59 | 85·localView.bind(element); | |
| 60 | 60 | 86·for(const·auto&·intersection:·intersections(gridView,·element)) | |
| 61 | 61 | 87·if·(intersection.boundary()) | |
| 62 | 62 | 88·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | |
| 63 | 63 | 89·f(localIndex,·localView); | |
| 64 | 64 | 90·} | |
| 65 | 65 | 91} | |
| 66 | 66 | 92 | |
| 67 | 67 | 93 | |
| 68 | 68 | 94 | |
| 69 | 69 | 111template<class·Basis,·class·F, | |
| 70 | 70 | 112·decltype(std::declval<std::decay_t<F>>()(std::declval<typename·Basis:: | |
| 71 | 71 | MultiIndex>()),0)·=·0> | |
| 72 | 72 | 113void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | |
| 73 | 73 | 114{ | |
| 74 | 74 | 115·auto·localView·=·basis.localView(); | |
| 75 | 6 | 75 | 116·auto·seDOFs·=·subEntityDOFs(basis); |
| 76 | 76 | 117·const·auto&·gridView·=·basis.gridView(); | |
| 77 | 77 | 118·for(auto&&·element·:·elements(gridView)) | |
| 78 | 78 | 119·if·(element.hasBoundaryIntersections()) | |
| 79 | 79 | 120·{ | |
| 80 | 80 | 121·localView.bind(element); | |
| 81 | 81 | 122·for(const·auto&·intersection:·intersections(gridView,·element)) | |
| 82 | 82 | 123·if·(intersection.boundary()) | |
| 83 | 83 | 124·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | |
| 84 | 84 | 125·f(localView.index(localIndex)); | |
| 85 | 85 | 126·} | |
| 86 | 86 | 127} | |
| 87 | 87 | 128 | |
| 88 | 88 | 129 | |
| 89 | 89 | 130 | |
| 90 | 90 | 131}·//·namespace·Functions | |
| 91 | 91 | 132}·//·namespace·Dune | |
| 92 | 92 | 133 | |
| 93 | 93 | 134#endif·//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH | |
| 94 | 94 | subentitydofs.hh | |
| 95 | 95 | Dune::Functions::subEntityDOFs | |
| 96 | 96 | auto·subEntityDOFs(const·T·&) | |
| 97 | 97 | Create·SubEntityDOFs·object. | |
| 98 | 98 | Definition·subentitydofs.hh:167 | |
| 99 | 99 | Dune::Functions::forEachBoundaryDOF | |
| 100 | 100 | void·forEachBoundaryDOF(const·Basis·&basis,·F·&&f) | |
| 101 | 101 | Loop·over·all·DOFs·on·the·boundary. | |
| 102 | 102 | Definition·boundarydofs.hh:40 | |
| 103 | 103 | Dune | |
| 104 | 104 | Definition·monomialset.hh:19 | |
| 105 | 105 | Dune::Functions | |
| 106 | 106 | Definition·monomialset.hh:19 | |
| 107 | 96·} | ||
| 108 | 97 | ||
| 109 | 98·friend·bool·operator==(const·GlobalIntersectionIt&·it1,·const | ||
| 110 | GlobalIntersectionIt&·it2) | ||
| 111 | 99·{ | ||
| 112 | 100·if·(it1.elementIt_·!=·it2.elementIt_) | ||
| 113 | 101·return·false; | ||
| 114 | 102·if·(it1.elementIt_·==·it1.elementEnd_) | ||
| 115 | 103·return·true; | ||
| 116 | 104·return·(it1.iIt_·==·it2.iIt_); | ||
| 117 | 105·} | ||
| 118 | 106 | ||
| 119 | 107·friend·bool·operator==(const·GlobalIntersectionIt&·it1,·const | ||
| 120 | SentinelIterator&·it2) | ||
| 121 | 108·{ | ||
| Max diff block lines reached; 136/33224 bytes (0.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:·hierarchicallagrangewithelementbubblebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 69 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">hierarchicallagrangewithelementbubblebasis.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·<utility></code><br·/> | ||
| 99 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 100 | <code>#include·<dune/common/ | 99 | <code>#include·<dune/common/math.hh></code><br·/> |
| 100 | <code>#include·<dune/localfunctions/hierarchical/hierarchicalp1withelementbubble.hh></code><br·/> | ||
| 101 | <code>#include·<dune/localfunctions/hierarchical/hierarchicalp2withelementbubble.hh></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></code><br·/> | ||
| 104 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 101 | </div> | 105 | </div> |
| 102 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 103 | <table·class="memberdecls"> | 107 | <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> | 108 | <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> | 109 | Classes</h2></td></tr> |
| 110 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AHierarchicalLagrangeWithElementBubblePreBasis_3C_20GV_2C_201_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AHierarchicalLagrangeWithElementBubblePreBasis_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="a01898.html">Dune::Functions::HierarchicalLagrangeWithElementBubblePreBasis<·GV,·1,·R·></a></td></tr> | ||
| 111 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AHierarchicalLagrangeWithElementBubblePreBasis_3C_20GV_2C_202_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AHierarchicalLagrangeWithElementBubblePreBasis_3C_20GV_2C_202_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01902.html">Dune::Functions::HierarchicalLagrangeWithElementBubblePreBasis<·GV,·2,·R·></a></td></tr> | ||
| 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">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_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="a01206.html">Dune::Functions::DefaultDerivativeTraits<·Signature·></a></td></tr> | ||
| 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> | ||
| 118 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 119 | <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> |
| 120 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
| 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> | 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> |
| 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:ga93629d80f9bbc56263bd671d9d7095e3"·id="r_ga93629d80f9bbc56263bd671d9d7095e3"><td·class="memTemplParams"·colspan="2">template<typename·GV,·int·k,·typename·R·=·double>·</td></tr> | ||
| 122 | <tr·class="memitem:ga93629d80f9bbc56263bd671d9d7095e3·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga93629d80f9bbc56263bd671d9d7095e3">Dune::Functions::HierarchicalLagrangeWithElementBubbleBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01894.html">HierarchicalLagrangeWithElementBubblePreBasis</a><GV,·k,·R>·></td></tr> | ||
| 123 | <tr·class="memdesc:ga93629d80f9bbc56263bd671d9d7095e3"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·Hierarchical·Lagrange·finite·element·space·with·element·bubble·functions.··<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:ga209c6f38212774585b07161f99f4c43c"·id="r_ga209c6f38212774585b07161f99f4c43c"><td·class="memTemplParams"·colspan="2">template<int·k,·typename·R·=·double>·</td></tr> | ||
| 128 | <tr·class="memitem:ga209c6f38212774585b07161f99f4c43c·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga209c6f38212774585b07161f99f4c43c">Dune::Functions::BasisFactory::hierarchicalLagrangeWithElementBubble</a>·()</td></tr> | ||
| 129 | <tr·class="memdesc:ga209c6f38212774585b07161f99f4c43c"><td·class="mdescLeft"> </td><td·class="mdescRight">A·factory·that·can·create·a·HierarchicalLagrangeWithElementBubble·pre-basis.··<br·/></td></tr> | ||
| 130 | <tr·class="memitem:add17950d280e320f21d544982d89d236"·id="r_add17950d280e320f21d544982d89d236"><td·class="memTemplParams"·colspan="2">template<typename·R·=·double>·</td></tr> | ||
| 131 | <tr·class="memitem:add17950d280e320f21d544982d89d236·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html#add17950d280e320f21d544982d89d236">Dune::Functions::BasisFactory::hierarchicalP1B</a>·()</td></tr> | ||
| 132 | <tr·class="memdesc:add17950d280e320f21d544982d89d236"><td·class="mdescLeft"> </td><td·class="mdescRight">Explicit·factory·for·k=1·for·the·<a·class="el"·href="a01894.html"·title="A·pre-basis·for·a·hierarchical·basis.">HierarchicalLagrangeWithElementBubblePreBasis</a>·pre-basis.··<br·/></td></tr> | ||
| 133 | <tr·class="memitem:a20e9647840fd19d21d992e599db0664b"·id="r_a20e9647840fd19d21d992e599db0664b"><td·class="memTemplParams"·colspan="2">template<typename·R·=·double>·</td></tr> | ||
| 134 | <tr·class="memitem:a20e9647840fd19d21d992e599db0664b·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00327.html#a20e9647840fd19d21d992e599db0664b">Dune::Functions::BasisFactory::hierarchicalP2B</a>·()</td></tr> | ||
| 135 | <tr·class="memdesc:a20e9647840fd19d21d992e599db0664b"><td·class="mdescLeft"> </td><td·class="mdescRight">Explicit·factory·for·k=2·for·the·<a·class="el"·href="a01894.html"·title="A·pre-basis·for·a·hierarchical·basis.">HierarchicalLagrangeWithElementBubblePreBasis</a>·pre-basis.··<br·/></td></tr> | ||
| 123 | </table> | 136 | </table> |
| 124 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 125 | </div><!--·doc-content·--> | 138 | </div><!--·doc-content·--> |
| 126 | <div·id="page-nav"·class="page-nav-panel"> | 139 | <div·id="page-nav"·class="page-nav-panel"> |
| 127 | <div·id="page-nav-resize-handle"></div> | 140 | <div·id="page-nav-resize-handle"></div> |
| 128 | <div·id="page-nav-tree"> | 141 | <div·id="page-nav-tree"> |
| 129 | <div·id="page-nav-contents"> | 142 | <div·id="page-nav-contents"> |
| 130 | </div><!--·page-nav-contents·--> | 143 | </div><!--·page-nav-contents·--> |
| 131 | </div><!--·page-nav-tree·--> | 144 | </div><!--·page-nav-tree·--> |
| 132 | </div><!--·page-nav·--> | 145 | </div><!--·page-nav·--> |
| 133 | </div><!--·container·--> | 146 | </div><!--·container·--> |
| 134 | <!--·start·footer·part·--> | 147 | <!--·start·footer·part·--> |
| 135 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 148 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 136 | ··<ul> | 149 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00098.html">hierarchicallagrangewithelementbubblebasis.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> | 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> |
| 139 | ··</ul> | 152 | ··</ul> |
| 140 | </div> | 153 | </div> |
| 141 | </body> | 154 | </body> |
| 142 | </html> | 155 | </html> |
| Offset 1, 33 lines modified | Offset 1, 48 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 | hierarchicallagrangewithelementbubblebasis.hh·File·Reference | |
| 6 | #include·<type_traits> | 6 | #include·<type_traits> |
| 7 | #include·<utility> | ||
| 8 | #include·<dune/common/ | 7 | #include·<dune/common/exceptions.hh> |
| 9 | #include·<dune/common/ | 8 | #include·<dune/common/math.hh> |
| 9 | #include·<dune/localfunctions/hierarchical/hierarchicalp1withelementbubble.hh> | ||
| 10 | #include·<dune/localfunctions/hierarchical/hierarchicalp2withelementbubble.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/lfeprebasismixin.hh> | ||
| 13 | #include·<dune/geometry/type.hh> | ||
| 10 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 11 | Classes | 15 | Classes |
| 16 | class· ·Dune::Functions::HierarchicalLagrangeWithElementBubblePreBasis<_GV,_1, | ||
| 17 | ········R_> | ||
| 18 | class· ·Dune::Functions::HierarchicalLagrangeWithElementBubblePreBasis<_GV,_2, | ||
| 19 | ········R_> | ||
| 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... | ||
| 26 | Namespaces | 20 | Namespaces |
| 27 | namespace· ·Dune | 21 | namespace· ·Dune |
| 28 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 23 | namespace· ·Dune::Functions::BasisFactory | ||
| 24 | Typedefs | ||
| 25 | template<typename·GV,·int·k,·typename·R·=·double> | ||
| 26 | using ·Dune::Functions::HierarchicalLagrangeWithElementBubbleBasis·= | ||
| 27 | ·······DefaultGlobalBasis<HierarchicalLagrangeWithElementBubblePreBasis<GV,·k, | ||
| 28 | ·······R>·> | ||
| 29 | ······Basis·of·a·Hierarchical·Lagrange·finite·element·space·with·element | ||
| 30 | ·······bubble·functions. | ||
| 31 | Functions | ||
| 32 | template<int·k,·typename·R·=·double> | ||
| 33 | auto ·Dune::Functions::BasisFactory::hierarchicalLagrangeWithElementBubble·() | ||
| 34 | ·····A·factory·that·can·create·a·HierarchicalLagrangeWithElementBubble·pre- | ||
| 35 | ······basis. | ||
| 36 | template<typename·R·=·double> | ||
| 37 | auto ·Dune::Functions::BasisFactory::hierarchicalP1B·() | ||
| 38 | ·····Explicit·factory·for·k=1·for·the | ||
| 39 | ······HierarchicalLagrangeWithElementBubblePreBasis·pre-basis. | ||
| 40 | template<typename·R·=·double> | ||
| 41 | auto ·Dune::Functions::BasisFactory::hierarchicalP2B·() | ||
| 42 | ·····Explicit·factory·for·k=2·for·the | ||
| 43 | ······HierarchicalLagrangeWithElementBubblePreBasis·pre-basis. | ||
| 29 | ····*·dune | 44 | ····*·dune |
| 30 | ····*·functions | 45 | ····*·functions |
| 31 | ····*·common | ||
| 32 | ····*· | 46 | ····*·functionspacebases |
| 47 | ····*·hierarchicallagrangewithelementbubblebasis.hh | ||
| 33 | ····*·Generated·by·[doxygen]1.15.0 | 48 | ····*·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:·hierarchicallagrangewithelementbubblebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 103 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">hierarchicallagrangewithelementbubblebasis.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> | ||
| 100 | <div·class="line"><a·id="l0000 | 99 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightText:·Copyright·©·DUNE·Project·contributors,·see·file·AUTHORS.md</span></div> |
| 101 | <div·class="line"><a·id="l0000 | 100 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</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> | ||
| 103 | <div·class="line"><a·id="l0000 | 101 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HierarchicalLagrangeWOTHELEMENTBUBBLEBASIS_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><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HierarchicalLagrangeWOTHELEMENTBUBBLEBASIS_HH</span></div> |
| 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></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·<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·<u | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/math.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·<dune/c | 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/hierarchical/hierarchicalp1withelementbubble.hh></span></div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/c | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/hierarchical/hierarchicalp2withelementbubble.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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</div> | ||
| 113 | <div·class="line"><a·id="l0001 | 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/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="a00104.html">dune/functions/functionspacebases/lfeprebasismixin.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>·</div> | 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></div> | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 117 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
| 118 | <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> |
| 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> | ||
| 119 | <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="comment">//·*****************************************************************************</span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="comment">//·Implementation·for·Hierarchical·Lagrange·Basis·(of·order·1-2)·with·an</span></div> | ||
| 122 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="comment">//·element·bubble·function·(of·order·dim+1).</span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//</span></div> | ||
| 124 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="comment">//·-·currently·only·supports·simplex·grids</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">//·*****************************************************************************</span></div> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span></div> | ||
| 128 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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> | ||
| 129 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01894.html">···42</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01894.html">HierarchicalLagrangeWithElementBubblePreBasis</a>;</div> | ||
| 130 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 131 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></div> | ||
| 132 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> | ||
| 133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01898.html">···45</a></span>····<span·class="keyword">class·</span><a·class="code·hl_function"·href="a01898.html#af02cdb9769053892a275d90cba4ccb9d">HierarchicalLagrangeWithElementBubblePreBasis</a><GV,1,R></div> | ||
| 134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a><GV,·HierarchicalP1WithElementBubbleLocalFiniteElement<typename·GV::ctype,R,GV::dimension>></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>······<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin<GV,·HierarchicalP1WithElementBubbleLocalFiniteElement<typename·GV::ctype,R,GV::dimension></a>>;</div> | ||
| 137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">public</span>:</div> | ||
| 138 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> | ||
| 139 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01898.html#af02cdb9769053892a275d90cba4ccb9d">···50</a></span>······<a·class="code·hl_function"·href="a01898.html#af02cdb9769053892a275d90cba4ccb9d">HierarchicalLagrangeWithElementBubblePreBasis</a>·(<span·class="keyword">const</span>·GV&·<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>)·:</div> | ||
| 140 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········Base(<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>,·[](GeometryType·gt,·int)·{·<span·class="keywordflow">return</span>·(gt.isVertex()·||·gt.dim()·==·GV::dimension)·?·1·:·0;·})</div> | ||
| 141 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{</div> | ||
| 142 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 143 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 144 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>············DUNE_THROW(Dune::NotImplemented,</div> | ||
| 145 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··············<span·class="stringliteral">"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 146 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········}</div> | ||
| 147 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div> | ||
| 120 | </div> | 148 | </div> |
| 121 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 122 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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> | ||
| 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> | ||
| 128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> | ||
| 129 | </div> | 150 | </div> |
| 130 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
| 131 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 132 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></div> |
| 133 | <div·class="foldopen"·id="foldopen000 | 153 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};"> |
| 134 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01902.html">···62</a></span>····<span·class="keyword">class·</span><a·class="code·hl_function"·href="a01902.html#aa6a6c7cfbe972f5027b6f5bbcb43884f">HierarchicalLagrangeWithElementBubblePreBa[·...·truncated·by·diffoscope;·len:·17,·SHA:·85420bebdc055c696102bec5c4dff4683f2eb202a3539cb7303d44b23a2004a8·...·]></div> |
| 155 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a><GV,·HierarchicalP2WithElementBubbleLocalFiniteElement<typename·GV::ctype,R,GV::dimension>></div> | ||
| 135 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····{</div> |
| 136 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keyword">using·</span>Base·=·<a·class="code·hl_function"·href="a01950.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin<GV,·HierarchicalP2WithElementBubbleLocalFiniteElemen[·...·truncated·by·diffoscope;·len:·51,·SHA:·25433cadad8465408091483094d4d07da2df571115b36fa91c0300388356cc00·...·];</div> |
| 137 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">public</span>:</div> |
| 159 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
| 160 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01902.html#aa6a6c7cfbe972f5027b6f5bbcb43884f">···67</a></span>······<a·class="code·hl_function"·href="a01902.html#aa6a6c7cfbe972f5027b6f5bbcb43884f">HierarchicalLagrangeWithElementBubblePreBasis</a>·(<span·class="keyword">const</span>·GV&·<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>)·:</div> | ||
| 161 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········Base(<a·class="code·hl_function"·href="a01942.html#a1f7cf81bc4ec489a9f83e8c882ce9e55">gridView</a>,·[](GeometryType·gt,·int)·{·<span·class="keywordflow">return</span>·(gt.dim()·<=·1·||·gt.dim()·==·GV::dimension)·?·1·:·0;·})</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="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 165 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>············DUNE_THROW(Dune::NotImplemented,</div> | ||
| 166 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··············<span·class="stringliteral">"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 167 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········}</div> | ||
| 168 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······}</div> | ||
| 138 | </div> | 169 | </div> |
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span></div> | ||
| 140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·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> | ||
| 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="l0007 | 170 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····};</div> |
| 146 | </div> | 171 | </div> |
| 147 | <div·class="line"><a·id="l0007 | 172 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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> | ||
| 149 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};"> | ||
| 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01218.html">···87</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01206.html">DefaultDerivativeTraits</a><FieldVector<K,m>(FieldVector<K,n>)></div> | ||
| 151 | <div·class="line"><a·id="l000 | 173 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
| 152 | <div·class="line"><a·id="l000 | 174 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00327.html">BasisFactory</a>·{</div> |
| 153 | <div·class="line"><a·id="l000 | 175 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span></div> |
| 176 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> | ||
| Max diff block lines reached; 11189/39033 bytes (28.67%) of diff not shown. | |||
| Offset 1, 105 lines modified | Offset 1, 185 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 | hierarchicallagrangewithelementbubblebasis.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 | ||
| 10 | 9 | 3//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
| 11 | AUTHORS.md | 10 | AUTHORS.md |
| 12 | 11 | 4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | |
| 13 | LGPL-3.0-or-later | 12 | LGPL-3.0-or-later |
| 14 | 6 | ||
| 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
| 16 | 13 | 5#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | |
| 14 | HierarchicalLagrangeWOTHELEMENTBUBBLEBASIS_HH | ||
| 15 | 6#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | ||
| 16 | HierarchicalLagrangeWOTHELEMENTBUBBLEBASIS_HH | ||
| 17 | 7 | ||
| 18 | 8#include·<type_traits> | ||
| 17 | 9 | 19 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 1 | 20 | 10#include·<dune/common/exceptions.hh> |
| 21 | 11#include·<dune/common/math.hh> | ||
| 20 | 12 | 22 | 12 |
| 21 | 13#include·<dune/common/fvector.hh> | ||
| 22 | 1 | 23 | 13#include·<dune/localfunctions/hierarchical/ |
| 24 | hierarchicalp1withelementbubble.hh> | ||
| 25 | 14#include·<dune/localfunctions/hierarchical/ | ||
| 26 | hierarchicalp2withelementbubble.hh> | ||
| 23 | 15 | 27 | 15 |
| 24 | 16namespace·Dune·{ | ||
| 25 | 1 | 28 | 16#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 29 | 17#include·<dune/functions/functionspacebases/lfeprebasismixin.hh> | ||
| 26 | 18 | 30 | 18 |
| 27 | 19 | 31 | 19#include·<dune/geometry/type.hh> |
| 28 | 20 | 32 | 20 |
| 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 | ||
| 39 | 46 | ||
| 40 | 54template<> | ||
| 41 | 55struct·DefaultDerivativeTraits<·double(double)·> | ||
| 42 | 56{ | ||
| 43 | 58·typedef·double·Range; | ||
| 44 | 33 | 21namespace·Dune·{ | |
| 34 | 22·namespace·Functions·{ | ||
| 35 | 23 | ||
| 36 | 24·/ | ||
| 37 | /·***************************************************************************** | ||
| 38 | 25·//·Implementation·for·Hierarchical·Lagrange·Basis·(of·order·1-2)·with·an | ||
| 39 | 26·//·element·bubble·function·(of·order·dim+1). | ||
| 40 | 27·// | ||
| 41 | 28·//·-·currently·only·supports·simplex·grids | ||
| 42 | 29·// | ||
| 43 | 30·/ | ||
| 44 | /·***************************************************************************** | ||
| 45 | 31 | ||
| 46 | 41·template<typename·GV,·int·k,·typename·R=double> | ||
| 47 | 42·class·HierarchicalLagrangeWithElementBubblePreBasis; | ||
| 48 | 43 | ||
| 49 | 44·template<typename·GV,·typename·R> | ||
| 50 | 45·class·HierarchicalLagrangeWithElementBubblePreBasis<GV,1,R> | ||
| 51 | 46·:·public·LFEPreBasisMixin<GV, | ||
| 52 | HierarchicalP1WithElementBubbleLocalFiniteElement<typename·GV::ctype,R,GV:: | ||
| 53 | dimension>> | ||
| 54 | 47·{ | ||
| 55 | 48·using·Base·=·LFEPreBasisMixin<GV, | ||
| 56 | HierarchicalP1WithElementBubbleLocalFiniteElement<typename_GV::ctype,R,GV:: | ||
| 57 | dimension>>; | ||
| 58 | 49·public: | ||
| 59 | 50·HierarchicalLagrangeWithElementBubblePreBasis·(const·GV&·gridView)·: | ||
| 60 | 51·Base(gridView,·[](GeometryType·gt,·int)·{·return·(gt.isVertex()·||·gt.dim() | ||
| 61 | ==·GV::dimension)·?·1·:·0;·}) | ||
| 62 | 52·{ | ||
| 63 | 53·for·(auto·gt·:·gridView.indexSet().types(0))·{ | ||
| 64 | 54·if·(!gt.isSimplex()) | ||
| 65 | 55·DUNE_THROW(Dune::NotImplemented, | ||
| 66 | 56·"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 67 | 57·} | ||
| 68 | 58·} | ||
| 69 | 59·}; | ||
| 45 | 60 | 70 | 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 | 71 | 61·template<typename·GV,·typename·R> | |
| 72 | 62·class·HierarchicalLagrangeWithElementBubblePreBasis<GV,2,R> | ||
| 73 | 63·:·public·LFEPreBasisMixin<GV, | ||
| 74 | HierarchicalP2WithElementBubbleLocalFiniteElement<typename·GV::ctype,R,GV:: | ||
| 75 | dimension>> | ||
| 76 | 64·{ | ||
| 77 | 65·using·Base·=·LFEPreBasisMixin<GV, | ||
| 78 | HierarchicalP2WithElementBubbleLocalFiniteElement<typename_GV::ctype,R,GV:: | ||
| 79 | dimension>>; | ||
| 80 | 66·public: | ||
| 81 | 67·HierarchicalLagrangeWithElementBubblePreBasis·(const·GV&·gridView)·: | ||
| 82 | 68·Base(gridView,·[](GeometryType·gt,·int)·{·return·(gt.dim()·<=·1·||·gt.dim() | ||
| 83 | ==·GV::dimension)·?·1·:·0;·}) | ||
| 84 | 69·{ | ||
| 85 | 70·for·(auto·gt·:·gridView.indexSet().types(0))·{ | ||
| 86 | 71·if·(!gt.isSimplex()) | ||
| 87 | 72·DUNE_THROW(Dune::NotImplemented, | ||
| Max diff block lines reached; 4375/9402 bytes (46.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:· | 8 | <title>Dune-Functions:·subentitydofs.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 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">subentitydofs.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·<vector></code><br·/> |
| 98 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 98 | <code>#include·<dune/common/type | 99 | <code>#include·<dune/common/typetree/traversal.hh></code><br·/> |
| 99 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 102 | <code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 103 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
| 104 | <code>#include·<<a·class="el"·href="a00137_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 105 | </div> | 100 | </div> |
| 106 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 107 | <table·class="memberdecls"> | 102 | <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> | 103 | <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> | 104 | Classes</h2></td></tr> |
| 105 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ASubEntityDOFs_3C_20GridView_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ASubEntityDOFs_3C_20GridView_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02138.html">Dune::Functions::SubEntityDOFs<·GridView·></a></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> | ||
| 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·DOFs·associated·to·sub-entity.··<a·href="a02138.html#details">More...</a><br·/></td></tr> |
| 113 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 114 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 115 | Namespaces</h2></td></tr> | 109 | 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> | 110 | <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> | 111 | <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 | </table><table·class="memberdecls"> | ||
| 113 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 114 | Functions</h2></td></tr> | ||
| 115 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"·id="r_ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplParams"·colspan="2">template<class·T>·</td></tr> | ||
| 116 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00313.html#ga0b9da94fff21e98877d0e3fe1c1554c7">Dune::Functions::subEntityDOFs</a>·(const·T·&)</td></tr> | ||
| 117 | <tr·class="memdesc:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a02138.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 118 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"·id="r_ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplParams"·colspan="2">template<class·LocalView>·</td></tr> | ||
| 119 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00313.html#ga5803226b1ed4bf848a9532181c952244">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | ||
| 120 | <tr·class="memdesc:ga5803226b1ed4bf848a9532181c952244"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a02138.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 121 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"·id="r_ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplParams"·colspan="2">template<class·LocalView,·class·Intersection>·</td></tr> | ||
| 122 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8·template"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00313.html#ga09ad7987f85909bfcf269a0de9c652d8">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·const·Intersection·&intersection)</td></tr> | ||
| 123 | <tr·class="memdesc:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a02138.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 118 | </table> | 124 | </table> |
| 119 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 120 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
| 121 | <div·id="page-nav"·class="page-nav-panel"> | 127 | <div·id="page-nav"·class="page-nav-panel"> |
| 122 | <div·id="page-nav-resize-handle"></div> | 128 | <div·id="page-nav-resize-handle"></div> |
| 123 | <div·id="page-nav-tree"> | 129 | <div·id="page-nav-tree"> |
| 124 | <div·id="page-nav-contents"> | 130 | <div·id="page-nav-contents"> |
| 125 | </div><!--·page-nav-contents·--> | 131 | </div><!--·page-nav-contents·--> |
| 126 | </div><!--·page-nav-tree·--> | 132 | </div><!--·page-nav-tree·--> |
| 127 | </div><!--·page-nav·--> | 133 | </div><!--·page-nav·--> |
| 128 | </div><!--·container·--> | 134 | </div><!--·container·--> |
| 129 | <!--·start·footer·part·--> | 135 | <!--·start·footer·part·--> |
| 130 | <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!·--> |
| 131 | ··<ul> | 137 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00101.html">subentitydofs.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> | 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> |
| 134 | ··</ul> | 140 | ··</ul> |
| 135 | </div> | 141 | </div> |
| 136 | </body> | 142 | </body> |
| 137 | </html> | 143 | </html> |
| Offset 1, 28 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 | differentiablefunction.hh·File·Reference | ||
| 6 | 5 | subentitydofs.hh·File·Reference | |
| 6 | #include·<vector> | ||
| 7 | #include·<dune/geometry/referenceelements.hh> | ||
| 7 | #include·<dune/common/type | 8 | #include·<dune/common/typetree/traversal.hh> |
| 8 | #include·<dune/functions/common/type_traits.hh> | ||
| 9 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 10 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 11 | #include·<dune/functions/common/signature.hh> | ||
| 12 | #include·<dune/functions/common/typeerasure.hh> | ||
| 13 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 14 | Go_to_the_source_code_of_this_file. | 9 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | 10 | Classes |
| 11 | class· ·Dune::Functions::SubEntityDOFs<_GridView_> | ||
| 12 | ·······Range·of·DOFs·associated·to·sub-entity.·More... | ||
| 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... | ||
| 21 | Namespaces | 13 | Namespaces |
| 22 | namespace· ·Dune | 14 | namespace· ·Dune |
| 23 | namespace· ·Dune::Functions | 15 | namespace· ·Dune::Functions |
| 16 | Functions | ||
| 17 | template<class·T> | ||
| 18 | auto ·Dune::Functions::subEntityDOFs·(const·T·&) | ||
| 19 | ·····Create·SubEntityDOFs·object. | ||
| 20 | template<class·LocalView> | ||
| 21 | auto ·Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·std::size_ | ||
| 22 | ······t·subEntityIndex,·std::size_t·subEntityCodim) | ||
| 23 | ·····Create·bound·SubEntityDOFs·object. | ||
| 24 | template<class·LocalView,·class·Intersection> | ||
| 25 | auto ·Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·const | ||
| 26 | ······Intersection·&intersection) | ||
| 27 | ·····Create·bound·SubEntityDOFs·object. | ||
| 24 | ····*·dune | 28 | ····*·dune |
| 25 | ····*·functions | 29 | ····*·functions |
| 26 | ····*·common | ||
| 27 | ····*· | 30 | ····*·functionspacebases |
| 31 | ····*·subentitydofs.hh | ||
| 28 | ····*·Generated·by·[doxygen]1.15.0 | 32 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00101·=·[ | 1 | var·a00101·=·[ |
| 2 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::subEntityDOFs",·"a00313.html#ga09ad7987f85909bfcf269a0de9c652d8",·null], |
| 3 | ····["Dune::Functions::subEntityDOFs",·"a00313.html#ga5803226b1ed4bf848a9532181c952244",·null], | ||
| 4 | ····["Dune::Functions::subEntityDOFs",·"a00313.html#ga0b9da94fff21e98877d0e3fe1c1554c7",·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:·subentitydofs.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 152 lines modified | Offset 88, 183 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">subentitydofs.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_FUNCTIONSPACEBASES_SUBENTITYDOFS_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_FUNCTIONSPACEBASES_SUBENTITYDOFS_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·<vector></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>·</div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/ | 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="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·< | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typetree/traversal.hh></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="a00098.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="a00155.html">dune/functions/common/differentiablefunction_imp.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="a00113.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="a00149.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
| 115 | <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>·</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>·</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> | ||
| 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> | ||
| 119 | <div·class="line"><a·id="l0002 | 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 120 | <div·class="line"><a·id="l0002 | 118 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span></div> |
| 119 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View></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="foldopen000 | 120 | <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};"> |
| 129 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a02138.html">···46</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02138.html">SubEntityDOFs</a></div> |
| 130 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> |
| 123 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GridView::dimension;</div> | ||
| 124 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> | ||
| 126 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span></div> | ||
| 127 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView></div> | ||
| 128 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02138.html#acac48052c1a9079f779b64e68ce52e82">···69</a></span>··<a·class="code·hl_class"·href="a02138.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a02138.html#acac48052c1a9079f779b64e68ce52e82">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</div> | ||
| 130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> | ||
| 131 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity</span></div> | ||
| 132 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····containedDOFs_.clear();</div> | ||
| 133 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····dofIsContained_.assign(localView.size(),·<span·class="keyword">false</span>);</div> | ||
| 134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">auto</span>·re·=·Dune::referenceElement<double,dim>(localView.element().type());</div> | ||
| 136 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 137 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](<span·class="keyword">auto</span>&&·node,·<span·class="keyword">auto</span>&&·<span·class="comment">/*treePath*/</span>)·{</div> | ||
| 138 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······if·(node.empty())</div> | ||
| 139 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········return;</div> | ||
| 140 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······const·auto&·localCoefficients·=·node.finiteElement().localCoefficients();</div> | ||
| 141 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······std::size_t·localSize·=·localCoefficients.size();</div> | ||
| 142 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······for(std::size_t·i=0;·i<localSize;·++i)</div> | ||
| 143 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······{</div> | ||
| 144 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········auto·localKey·=·localCoefficients.localKey(i);</div> | ||
| 145 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim()).contains(localKey.subEntity()))</div> | ||
| 146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········{</div> | ||
| 147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········containedDOFs_.push_back(node.localIndex(i));</div> | ||
| 148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········dofIsContained_[node.localIndex(i)]·=·true;</div> | ||
| 149 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········}</div> | ||
| 150 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div> | ||
| 151 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····});</div> | ||
| 152 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
| 153 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> | ||
| 131 | </div> | 154 | </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> | ||
| 134 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Imp</div> | ||
| 136 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
| 137 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span></div> |
| 156 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView,·<span·class="keyword">class</span>·Intersection></div> | ||
| 157 | <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> | ||
| 158 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a02138.html#a263bb19c72865bbad450b3c21ba6ad23">··111</a></span>··<a·class="code·hl_class"·href="a02138.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a02138.html#a263bb19c72865bbad450b3c21ba6ad23">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·<span·class="keyword">const</span>·Intersection&·intersection)</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="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">struct·</span>DifferentiableFunctionTraits</div> | ||
| 140 | <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>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> | ||
| 152 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>·B></div> | ||
| 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> | ||
| 155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··};</div> | ||
| 156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> | ||
| 157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| Max diff block lines reached; 24530/47102 bytes (52.08%) of diff not shown. | |||
| Offset 1, 178 lines modified | Offset 1, 185 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 | subentitydofs.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_COMMON_DIFFERENTIABLE_FUNCTION_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·< | 18 | 10#include·<vector> |
| 19 | 11 | 19 | 11 |
| 20 | 12#include·<dune/ | 20 | 12#include·<dune/geometry/referenceelements.hh> |
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/ | 22 | 14#include·<dune/common/typetree/traversal.hh> |
| 23 | 15#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 24 | 16#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 25 | 17#include·<dune/functions/common/signature.hh> | ||
| 26 | 18#include·<dune/functions/common/typeerasure.hh> | ||
| 27 | 1 | 23 | 15 |
| 24 | 16 | ||
| 25 | 17 | ||
| 26 | 18namespace·Dune·{ | ||
| 27 | 19namespace·Functions·{ | ||
| 28 | 20 | 28 | 20 |
| 29 | 21 | ||
| 30 | 22 | ||
| 31 | 45template<class·GridView> | ||
| 32 | 46class·SubEntityDOFs | ||
| 33 | 47{ | ||
| 34 | 48·static·const·int·dim·=·GridView::dimension; | ||
| 29 | 21namespace·Dune·{ | ||
| 30 | 22namespace·Functions·{ | ||
| 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 | ||
| 45 | 36 | ||
| 46 | 37namespace·Imp | ||
| 47 | 38{ | ||
| 48 | 39 | ||
| 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 | 35 | 49 |
| 36 | 50public: | ||
| 37 | 51 | ||
| 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>; | ||
| 66 | 61 | ||
| 67 | 6 | 38 | 68·template<class·LocalView> |
| 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 | 39 | 69·SubEntityDOFs&·bind(const·LocalView&·localView,·std::size_t·subEntityIndex, | |
| 40 | std::size_t·subEntityCodim) | ||
| 41 | 70·{ | ||
| 42 | 71·//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity | ||
| 43 | 72·containedDOFs_.clear(); | ||
| 44 | 73·dofIsContained_.assign(localView.size(),·false); | ||
| 45 | 74 | ||
| 46 | 75·auto·re·=·Dune::referenceElement<double,dim>(localView.element().type()); | ||
| 47 | 76 | ||
| 48 | 77·Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](auto&&·node,·auto&&·/ | ||
| 49 | *treePath*/)·{ | ||
| 50 | 78·if·(node.empty()) | ||
| 51 | 79·return; | ||
| 52 | 80·const·auto&·localCoefficients·=·node.finiteElement().localCoefficients(); | ||
| 53 | 81·std::size_t·localSize·=·localCoefficients.size(); | ||
| 54 | 82·for(std::size_t·i=0;·i<localSize;·++i) | ||
| 55 | 83·{ | ||
| 56 | 84·auto·localKey·=·localCoefficients.localKey(i); | ||
| 57 | 85·if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim | ||
| Max diff block lines reached; 5742/10349 bytes (55.48%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·lfeprebasismixin.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 43 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"> | 94 | ··<div·class="headertitle"><div·class="title">lfeprebasismixin.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·<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="a00191_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 102 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 98 | </div> | 103 | </div> |
| 99 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 100 | <table·class="memberdecls"> | 105 | <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> | 106 | <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> | 107 | Classes</h2></td></tr> |
| 103 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 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">D[·...·truncated·by·diffoscope;·len:·44,·SHA:·6927f8b89d6b2988b276ca255e2a99e52e99033a35d37eeb18b431b6e1686bf1·...·]·></a></td></tr> |
| 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> | ||
| 105 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 106 | <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> |
| 107 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
| 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> | 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> |
| 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> | ||
| 110 | </table> | 122 | </table> |
| 111 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
| 112 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
| 113 | <div·id="page-nav"·class="page-nav-panel"> | 125 | <div·id="page-nav"·class="page-nav-panel"> |
| 114 | <div·id="page-nav-resize-handle"></div> | 126 | <div·id="page-nav-resize-handle"></div> |
| 115 | <div·id="page-nav-tree"> | 127 | <div·id="page-nav-tree"> |
| 116 | <div·id="page-nav-contents"> | 128 | <div·id="page-nav-contents"> |
| 117 | </div><!--·page-nav-contents·--> | 129 | </div><!--·page-nav-contents·--> |
| 118 | </div><!--·page-nav-tree·--> | 130 | </div><!--·page-nav-tree·--> |
| 119 | </div><!--·page-nav·--> | 131 | </div><!--·page-nav·--> |
| 120 | </div><!--·container·--> | 132 | </div><!--·container·--> |
| 121 | <!--·start·footer·part·--> | 133 | <!--·start·footer·part·--> |
| 122 | <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!·--> |
| 123 | ··<ul> | 135 | ··<ul> |
| 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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00104.html">lfeprebasismixin.hh</a></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> | 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> |
| 126 | ··</ul> | 138 | ··</ul> |
| 127 | </div> | 139 | </div> |
| 128 | </body> | 140 | </body> |
| 129 | </html> | 141 | </html> |
| Offset 1, 18 lines modified | Offset 1, 31 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 | lfeprebasismixin.hh·File·Reference | |
| 6 | #include·<cassert> | ||
| 6 | #include·<type_traits> | 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> | ||
| 7 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
| 8 | Classes | 13 | Classes |
| 9 | class· ·Dune::Functions::PolymorphicType<_Interface_> | ||
| 10 | 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... | ||
| 11 | Namespaces | 20 | Namespaces |
| 12 | namespace· ·Dune | 21 | namespace· ·Dune |
| 13 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 23 | Functions | ||
| 24 | template<class·GV,·class·LFE> | ||
| 25 | ·Dune::Functions::LFEPreBasisMixin·(const·GV·&,·const·LFE·&,·MCMGLayout)·- | ||
| 26 | ··>·LFEPreBasisMixin<·GV,·LFE·> | ||
| 14 | ····*·dune | 27 | ····*·dune |
| 15 | ····*·functions | 28 | ····*·functions |
| 16 | ····*·common | ||
| 17 | ····*· | 29 | ····*·functionspacebases |
| 30 | ····*·lfeprebasismixin.hh | ||
| 18 | ····*·Generated·by·[doxygen]1.15.0 | 31 | ····*·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:·lfeprebasismixin.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 70 lines modified | Offset 88, 167 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">lfeprebasismixin.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_CO | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_CO | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_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·<cassert></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·<type_traits></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="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><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</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>·</div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> | ||
| 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> | ||
| 117 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
| 118 | <div·class="line"><a·id="l000 | 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> |
| 119 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 120 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> | ||
| 121 | <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="a00191.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="a00119.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 122 | <div·class="line"><a·id="l000 | 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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::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="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</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="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> | ||
| 126 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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="l00064"·name="l00064"></a><span·class="lineno">···64</span></div> | ||
| 129 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">class·</span>Node;</div> | ||
| 130 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span></div> | ||
| 131 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span>·<<span·class="keyword">class·</span>LFE_·=·LFE,</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="l00076"·name="l00076"></a><span·class="lineno">···76</span>····:·Base(gv,·layout)</div> | ||
| 136 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····,·lfe_{}</div> | ||
| 137 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{}</div> | ||
| 123 | </div> | 138 | </div> |
| 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> | ||
| 126 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span></div> | ||
| 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#a342f459670ff8ac9ef58314a95ca972d">clone</a>(<span·class="keywordtype">void</span>*·buffer)·<span·class="keyword">const</span>·=·0;</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> | ||
| 130 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</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="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01950.html#a1d9fae26f52f3d7be5c1f6c4777c809b">···86</a></span>··<a·class="code·hl_function"·href="a01950.html#a1d9fae26f52f3d7be5c1f6c4777c809b">LFEPreBasisMixin</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01950.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>&·gv,·LFE_&&·lfe,·MCMGLayout·layout)</div> | ||
| 143 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····:·Base(gv,·layout)</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> | ||
| 131 | </div> | 146 | </div> |
| 132 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 133 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span></div> |
| 134 | <div·class=" | 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> | ||
| 135 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">··</span>{</div> |
| 151 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">return</span>·Node(lfe_);</div> | ||
| 136 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··}</div> |
| 137 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_COMMON_EXTENDED_CLONEABLE_HH</span></div> | ||
| 138 | < | 153 | </div> |
| 154 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">private</span>:</div> | ||
| 156 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··LFE·lfe_;</div> | ||
| 157 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>};</div> | ||
| 158 | </div> | ||
| 159 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
| 160 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//·deduction·guide</span></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="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | ||
| 166 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span></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="l00120"·name="l00120"></a><span·class="lineno">··120</span>{</div> | ||
| 172 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 173 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> | ||
| 174 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="keyword">public</span>:</div> | ||
| 175 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a01954.html#a50e46c22266ff6ca372d1a843c0219ee">··124</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01954.html#a50e46c22266ff6ca372d1a843c0219ee">size_type</a>·=·std::size_t;</div> | ||
| 176 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a01954.html#ac1e7f6f156ef07eced34a83d7ab1dd5d">··125</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01954.html#ac1e7f6f156ef07eced34a83d7ab1dd5d">Element</a>·=·<span·class="keyword">typename</span>·GV::template·Codim<0>::Entity;</div> | ||
| 177 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01954.html#a16e652f3276d0afa1368985d8677b74e">··126</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01954.html#a16e652f3276d0afa1368985d8677b74e">FiniteElement</a>·=·LFE;</div> | ||
| 178 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span></div> | ||
| 179 | <div·class="foldopen"·id="foldopen00129"·data-start="{"·data-end="}"> | ||
| Max diff block lines reached; 9364/35245 bytes (26.57%) of diff not shown. | |||
| Offset 1, 70 lines modified | Offset 1, 187 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 | lfeprebasismixin.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_COMMON_INTERFACES_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<cassert> | ||
| 18 | 1 | 19 | 11#include·<type_traits> |
| 19 | 11 | ||
| 20 | 12 | 20 | 12 |
| 21 | 13namespace·Dune·{ | ||
| 22 | 14namespace·Functions·{ | ||
| 23 | 15 | ||
| 24 | 1 | 21 | 13#include·<dune/common/exceptions.hh> |
| 22 | 14 | ||
| 23 | 15#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 24 | 16#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 25 | 17 | 25 | 17 |
| 26 | 27template<class·Interface> | ||
| 27 | 28class·PolymorphicType | ||
| 28 | 26 | 18#include·<dune/grid/common/mcmgmapper.hh> | |
| 27 | 19 | ||
| 28 | 20namespace·Dune::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 | 59 | ||
| 29 | 36 | 60public: | |
| 30 | 31 | ||
| 31 | 33·virtual·~PolymorphicType() | ||
| 32 | 34·{} | ||
| 33 | 35 | ||
| 34 | 44·virtual·Interface*·clone()·const·=·0; | ||
| 35 | 45 | ||
| 36 | 55·virtual·Interface*·clone(void*·buffer)·const·=·0; | ||
| 37 | 56 | ||
| 38 | 66·virtual·Interface*·move(void*·buffer)·=·0; | ||
| 39 | 67}; | ||
| 40 | 68 | ||
| 41 | 69 | ||
| 42 | 70 | ||
| 43 | 71}}·//·namespace·Dune::Functions | ||
| 44 | 72 | ||
| 45 | 73#endif·//·DUNE_FUNCTIONS_COMMON_EXTENDED_CLONEABLE_HH | ||
| 46 | Dune | ||
| 47 | 37 | 61 | |
| 38 | 63·using·GridView·=·GV; | ||
| 39 | 64 | ||
| 40 | 66·class·Node; | ||
| 41 | 67 | ||
| 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 | ||
| 65 | 102template·<class·GV,·class·LFE> | ||
| 66 | 103LFEPreBasisMixin(const·GV&,·const·LFE&,·MCMGLayout) | ||
| 67 | 104·->·LFEPreBasisMixin<GV,LFE>; | ||
| 68 | 105 | ||
| 69 | 106 | ||
| 70 | 107 | ||
| 71 | 117template·<class·GV,·class·LFE> | ||
| 72 | 118class·LFEPreBasisMixin<GV,LFE>::Node | ||
| 73 | 119·:·public·LeafBasisNode | ||
| 74 | 120{ | ||
| 75 | 121·static·constexpr·int·dim·=·GV::dimension; | ||
| 76 | 122 | ||
| 77 | 123public: | ||
| 78 | 124·using·size_type·=·std::size_t; | ||
| 79 | 125·using·Element·=·typename·GV::template·Codim<0>::Entity; | ||
| 80 | 126·using·FiniteElement·=·LFE; | ||
| 81 | 127 | ||
| 82 | 129·explicit·Node·(const·LFE&·lfe) | ||
| 83 | 130·:·lfe_{&lfe} | ||
| 84 | 131·,·element_{nullptr} | ||
| 85 | 132·{} | ||
| 86 | 133 | ||
| 87 | 135·const·Element&·element·()·const | ||
| 88 | 136·{ | ||
| 89 | 137·assert(!!element_); | ||
| 90 | 138·return·*element_; | ||
| 91 | 139·} | ||
| 92 | 140 | ||
| 93 | 146·const·FiniteElement&·finiteElement·()·const | ||
| 94 | 147·{ | ||
| 95 | 148·assert(!!lfe_); | ||
| 96 | 149·return·*lfe_; | ||
| 97 | 150·} | ||
| 98 | 151 | ||
| 99 | 153·void·bind·(const·Element&·e) | ||
| 100 | 154·{ | ||
| 101 | 155·element_·=·&e; | ||
| 102 | 156·this->setSize(lfe_->size()); | ||
| 103 | 157·} | ||
| Max diff block lines reached; 3496/6842 bytes (51.10%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·argyrisbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 80 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">argyrisbasis.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·cubic·Argyris·finite·element.·· | ||
| 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·<<a·class="el"·href="a00119_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 99 | <code>#include·< | 100 | <code>#include·<array></code><br·/> |
| 101 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 102 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
| 103 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
| 104 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
| 105 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 106 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
| 107 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
| 108 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
| 109 | <code>#include·<<a·class="el"·href="a00203_source.html">dune/functions/analyticfunctions/monomialset.hh</a>></code><br·/> | ||
| 110 | <code>#include·<<a·class="el"·href="a00278_source.html">dune/functions/common/mapperutilities.hh</a>></code><br·/> | ||
| 111 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/functionspacebases/cubichermitebasis.hh</a>></code><br·/> | ||
| 112 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 113 | <code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/functionaldescriptor.hh</a>></code><br·/> | ||
| 114 | <code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 115 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 116 | <code>#include·<<a·class="el"·href="a00122_source.html">dune/functions/functionspacebases/transformedfiniteelementmixin.hh</a>></code><br·/> | ||
| 100 | </div> | 117 | </div> |
| 101 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> | 118 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 102 | <table·class="memberdecls"> | 119 | <table·class="memberdecls"> |
| 120 | <tr·class="heading"><td·colspan="2"><h2·id="header-nested-classes"·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 121 | Classes</h2></td></tr> | ||
| 122 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AArgyrisNode_3C_20GV_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AArgyrisNode_3C_20GV_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01610.html">Dune::Functions::ArgyrisNode<·GV,·R·></a></td></tr> | ||
| 123 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AArgyrisPreBasis_3C_20GV_2C_20R_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AArgyrisPreBasis_3C_20GV_2C_20R_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01586.html">Dune::Functions::ArgyrisPreBasis<·GV,·R·></a></td></tr> | ||
| 124 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·Argyrisbasis.··<a·href="a01586.html#details">More...</a><br·/></td></tr> | ||
| 125 | </table><table·class="memberdecls"> | ||
| 103 | <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> |
| 104 | Namespaces</h2></td></tr> | 127 | Namespaces</h2></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> | 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> |
| 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> | 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_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> | ||
| 107 | </table><table·class="memberdecls"> | 131 | </table><table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·id="header- | 132 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 109 | Functions</h2></td></tr> | ||
| 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 | 133 | Typedefs</h2></td></tr> | |
| 134 | <tr·class="memitem:ga1513dcdd2f0920f872f31c32e8ddbb5b"·id="r_ga1513dcdd2f0920f872f31c32e8ddbb5b"><td·class="memTemplParams"·colspan="2">template<class·GV,·class·R·=·double>·</td></tr> | ||
| 135 | <tr·class="memitem:ga1513dcdd2f0920f872f31c32e8ddbb5b·template"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00312.html#ga1513dcdd2f0920f872f31c32e8ddbb5b">Dune::Functions::ArgyrisBasis</a>·=·<a·class="el"·href="a01818.html">DefaultGlobalBasis</a><<a·class="el"·href="a01586.html">ArgyrisPreBasis</a><GV,·R>·></td></tr> | ||
| 136 | <tr·class="memdesc:ga1513dcdd2f0920f872f31c32e8ddbb5b"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·cubic·Argyris·finite·element·space.··<br·/></td></tr> | ||
| 113 | </table> | 137 | </table> |
| 138 | <a·name="details"·id="details"></a><h2·id="header-details"·class="groupheader">Detailed·Description</h2> | ||
| 139 | <div·class="textblock"><p>This·file·provides·an·implementation·of·the·cubic·Argyris·finite·element.·</p> | ||
| 140 | <p>For·reference,·see[Ciarlet,·The·Finite·Element·Method·for·Elliptic·Problems,·2002].·It·contains·in·the·following·order:</p><ul> | ||
| 141 | <li>A·GlobalBasis·typedef·ArgyrisBasis</li> | ||
| 142 | <li>A·template·ArgyrisLocalFiniteElement·providing·an·implementation·of·the·LocalFiniteElement·interface,·along·with·its·subparts·(Impl·namespace)</li> | ||
| 143 | <li>A·template·ArgyrisNode</li> | ||
| 144 | <li>A·template·ArgyrisPreBasis</li> | ||
| 145 | <li>A·Factory·argyris()·in·the·BasisFactory·namespace·</li> | ||
| 146 | </ul> | ||
| 114 | </div><!--·contents·--> | 147 | </div></div><!--·contents·--> |
| 115 | </div><!--·doc-content·--> | 148 | </div><!--·doc-content·--> |
| 116 | <div·id="page-nav"·class="page-nav-panel"> | 149 | <div·id="page-nav"·class="page-nav-panel"> |
| 117 | <div·id="page-nav-resize-handle"></div> | 150 | <div·id="page-nav-resize-handle"></div> |
| 118 | <div·id="page-nav-tree"> | 151 | <div·id="page-nav-tree"> |
| 119 | <div·id="page-nav-contents"> | 152 | <div·id="page-nav-contents"> |
| 120 | </div><!--·page-nav-contents·--> | 153 | </div><!--·page-nav-contents·--> |
| 121 | </div><!--·page-nav-tree·--> | 154 | </div><!--·page-nav-tree·--> |
| 122 | </div><!--·page-nav·--> | 155 | </div><!--·page-nav·--> |
| 123 | </div><!--·container·--> | 156 | </div><!--·container·--> |
| 124 | <!--·start·footer·part·--> | 157 | <!--·start·footer·part·--> |
| 125 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 158 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 126 | ··<ul> | 159 | ··<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_ | 160 | ····<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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00107.html">argyrisbasis.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> | 161 | ····<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> | 162 | ··</ul> |
| 130 | </div> | 163 | </div> |
| 131 | </body> | 164 | </body> |
| 132 | </html> | 165 | </html> |
| Offset 1, 21 lines modified | Offset 1, 54 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 | argyrisbasis.hh·File·Reference | |
| 6 | This·file·provides·an·implementation·of·the·cubic·Argyris·finite·element. | ||
| 7 | More... | ||
| 8 | #include·<algorithm> | ||
| 9 | #include·<array> | ||
| 6 | #include·<dune/common/ | 10 | #include·<dune/common/exceptions.hh> |
| 11 | #include·<dune/common/fmatrix.hh> | ||
| 12 | #include·<dune/common/fvector.hh> | ||
| 13 | #include·<dune/common/rangeutilities.hh> | ||
| 14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 7 | #include·<dune/functions/common/ | 15 | #include·<dune/localfunctions/common/localbasis.hh> |
| 8 | #include·<dune/functions/ | 16 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> |
| 17 | #include·<dune/localfunctions/common/localkey.hh> | ||
| 18 | #include·<dune/functions/analyticfunctions/monomialset.hh> | ||
| 19 | #include·<dune/functions/common/mapperutilities.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/cubichermitebasis.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 22 | #include·<dune/functions/functionspacebases/functionaldescriptor.hh> | ||
| 23 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 24 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 25 | #include·<dune/functions/functionspacebases/transformedfiniteelementmixin.hh> | ||
| 9 | Go_to_the_source_code_of_this_file. | 26 | Go_to_the_source_code_of_this_file. |
| 27 | Classes | ||
| 28 | class· ·Dune::Functions::ArgyrisNode<_GV,_R_> | ||
| 29 | class· ·Dune::Functions::ArgyrisPreBasis<_GV,_R_> | ||
| 30 | ·······A·pre-basis·for·a·Argyrisbasis.·More... | ||
| 10 | Namespaces | 31 | Namespaces |
| 11 | namespace· ·Dune | 32 | namespace· ·Dune |
| 12 | namespace· ·Dune::Functions | 33 | namespace· ·Dune::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 | · | 34 | namespace· ·Dune::Functions::BasisFactory |
| 35 | Typedefs | ||
| 36 | template<class·GV,·class·R·=·double> | ||
| 37 | using ·Dune::Functions::ArgyrisBasis·=·DefaultGlobalBasis<ArgyrisPreBasis<GV, | ||
| 38 | ·······R>·> | ||
| 39 | ······Nodal·basis·of·a·scalar·cubic·Argyris·finite·element·space. | ||
| 40 | *****·Detailed·Description·***** | ||
| 41 | This·file·provides·an·implementation·of·the·cubic·Argyris·finite·element. | ||
| 42 | For·reference,·see[Ciarlet,·The·Finite·Element·Method·for·Elliptic·Problems, | ||
| 43 | 2002].·It·contains·in·the·following·order: | ||
| 44 | ····*·A·GlobalBasis·typedef·ArgyrisBasis | ||
| 45 | ····*·A·template·ArgyrisLocalFiniteElement·providing·an·implementation·of·the | ||
| 46 | ······LocalFiniteElement·interface,·along·with·its·subparts·(Impl·namespace) | ||
| 47 | ····*·A·template·ArgyrisNode | ||
| 48 | ····*·A·template·ArgyrisPreBasis | ||
| 49 | ····*·A·Factory·argyris()·in·the·BasisFactory·namespace | ||
| 17 | ····*·dune | 50 | ····*·dune |
| 18 | ····*·functions | 51 | ····*·functions |
| 19 | ····*·common | ||
| 20 | ····*· | 52 | ····*·functionspacebases |
| 53 | ····*·argyrisbasis.hh | ||
| 21 | ····*·Generated·by·[doxygen]1.15.0 | 54 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
| 1 | var·a00107·=·[ | 1 | var·a00107·=·[ |
| 2 | ····["Dune::Functions::s | 2 | ····["Dune::Functions::ArgyrisNode<·GV,·R·>",·"a01610.html",·"a01610"], |
| 3 | ····["Dune::Functions::ArgyrisBasis",·"a00312.html#ga1513dcdd2f0920f872f31c32e8ddbb5b",·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:·argyrisbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 87 lines modified | Offset 88, 882 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">argyrisbasis.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> | ||
| 103 | <div·class="line"><a·id="l0000 | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ARGYRISBASIS_HH</span></div> |
| 104 | <div·class="line"><a·id="l0000 | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ARGYRISBASIS_HH</span></div> |
| 105 | <div·class="line"><a·id="l0000 | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
| 107 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<algorithm></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 109 | <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> |
| 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="l0001 | 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><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/fvector.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>·</div> |
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></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="l0001 | 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 116 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> |
| 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.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/localkey.hh></span></div> | ||
| 117 | <div·class="line"><a·id="l0002 | 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="a00203.html">dune/functions/analyticfunctions/monomialset.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="a00278.html">dune/functions/common/mapperutilities.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="a00176.html">dune/functions/functionspacebases/cubichermitebasis.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="a00074.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 123 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00125.html">dune/functions/functionspacebases/functionaldescriptor.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="a00191.html">dune/functions/functionspacebases/leafprebasismappermixin.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="a00119.html">dune/functions/functionspacebases/nodes.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="a00122.html">dune/functions/functionspacebases/transformedfiniteelementmixin.hh</a>></span></div> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span></div> |
| 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::Functions</a></div> | ||
| 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="l000 | 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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> | ||
| 137 | <div·class="line"><a·id="l0004 | 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
| 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·R></div> | ||
| 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01586.html">ArgyrisPreBasis</a>;</div> | ||
| 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//end·namespace·Imp</span></div> | ||
| 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
| 141 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span></div> |
| 134 | <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,·<span·class="keyword">class</span>·R·=·<span·class="keywordtype">double</span>></div> | ||
| 135 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00312.html#ga1513dcdd2f0920f872f31c32e8ddbb5b">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00312.html#ga1513dcdd2f0920f872f31c32e8ddbb5b">ArgyrisBasis</a>·=·<a·class="code·hl_class"·href="a01818.html">DefaultGlobalBasis<ArgyrisPreBasis<GV,·R></a>·>;</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> | ||
| 143 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> | ||
| 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">staticFindInRange</a>(F&&·f,·Args&&...·args)</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> | ||
| 147 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}</div> | ||
| 148 | </div> | ||
| 149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
| 153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | Diff chunk too large, falling back to line-by-line diff (783 lines added, 4 lines removed) | |
| 155 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 136 | <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=" | 137 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">namespace·</span>Impl</div> |
| 157 | <div·class=" | 138 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div> |
| 158 | <div·class=" | 139 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span></div> |
| 159 | <div·class=" | 140 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">class·</span>ArgyrisLocalCoefficients</div> |
| 141 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····{</div> | ||
| 142 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">public</span>:</div> | ||
| 143 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="keyword">using·</span>size_type·=·std::size_t;</div> | ||
| 144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim·=·2;</div> | ||
| 145 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······ArgyrisLocalCoefficients()</div> | ||
| 147 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······{</div> | ||
| 148 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·3;·i++)·············<span·class="comment">//·subentities:·three·vertices</span></div> | ||
| 149 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·k·=·0;·k·<·6;·k++)···········<span·class="comment">//·6·basis·functions·per·vertex</span></div> | ||
| 150 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>············localKeys_[6·*·i·+·k]</div> | ||
| 151 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··············=·LocalKey(i,·dim,·k);···<span·class="comment">//(subentity,·codim,·number·of·dof·for·this·subentity)</span></div> | ||
| 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·3;·++i)·············<span·class="comment">//·subentities:·three·edges</span></div> | ||
| 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··········localKeys_[18·+·i]·=·LocalKey(i,·dim·-·1,·0);··<span·class="comment">//·one·node·per·edge</span></div> | ||
| 154 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div> | ||
| 155 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span></div> | ||
| 156 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·size_type·size()</div> | ||
| 157 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······{</div> | ||
| Max diff block lines reached; 13772/151072 bytes (9.12%) of diff not shown. | |||
| Offset 1, 83 lines modified | Offset 1, 1017 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 | argyrisbasis.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 | ||
| 15 | 7#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
| 16 | 8#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
| 17 | 9 | ||
| 18 | 14 | 6#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ARGYRISBASIS_HH | |
| 15 | 7#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ARGYRISBASIS_HH | ||
| 16 | 8 | ||
| 17 | 9#include·<algorithm> | ||
| 18 | 10#include·<array> | ||
| 19 | 11 | ||
| 19 | 1 | 20 | 12#include·<dune/common/exceptions.hh> |
| 21 | 13#include·<dune/common/fmatrix.hh> | ||
| 22 | 14#include·<dune/common/fvector.hh> | ||
| 23 | 15#include·<dune/common/rangeutilities.hh> | ||
| 20 | 12 | ||
| 21 | 13#include·<dune/functions/common/type_traits.hh> | ||
| 22 | 14#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 23 | 15 | ||
| 24 | 16 | 24 | 16 |
| 25 | 17namespace·Dune·{ | ||
| 26 | 18namespace·Functions·{ | ||
| 27 | 19 | ||
| 28 | 20namespace·Imp·{ | ||
| 29 | 21 | ||
| 30 | 22template<class·ST,·ST·begin,·ST·end> | ||
| 31 | 23struct·StaticFindInRange | ||
| 32 | 25 | 17#include·<dune/grid/common/mcmgmapper.hh> | |
| 26 | 18 | ||
| 27 | 19#include·<dune/localfunctions/common/localbasis.hh> | ||
| 28 | 20#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 29 | 21#include·<dune/localfunctions/common/localkey.hh> | ||
| 30 | 22 | ||
| 31 | 23#include·<dune/functions/analyticfunctions/monomialset.hh> | ||
| 32 | 24#include·<dune/functions/common/mapperutilities.hh> | ||
| 33 | 25#include·<dune/functions/functionspacebases/cubichermitebasis.hh> | ||
| 34 | 26#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 35 | 27#include·<dune/functions/functionspacebases/functionaldescriptor.hh> | ||
| 36 | 28#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 37 | 29#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 38 | 30#include·<dune/functions/functionspacebases/transformedfiniteelementmixin.hh> | ||
| 39 | 31 | ||
| 40 | 45namespace·Dune::Functions | ||
| 41 | 46{ | ||
| 42 | 47 | ||
| 33 | 43 | 48·template<class·GV,·class·R> | |
| 44 | 49·class·ArgyrisPreBasis; | ||
| 45 | 50 | ||
| 46 | 68·template<class·GV,·class·R·=·double> | ||
| 47 | 69·using·ArgyrisBasis·=·DefaultGlobalBasis<ArgyrisPreBasis<GV,_R>·>; | ||
| 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&&...) | ||
| 48 | 39·{} | ||
| 49 | 40}; | ||
| 50 | 41 | ||
| 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} | ||
| 61 | 64 | ||
| 62 | 65 | ||
| 63 | 66}·//·namespace·Dune::Functions | ||
| 64 | 67}·//·namespace·Dune | ||
| 65 | 68 | ||
| 66 | 69 | Diff chunk too large, falling back to line-by-line diff (840 lines added, 8 lines removed) | |
| 67 | 70 | 48 | 70 |
| 68 | 71 | 49 | 71·namespace·Impl |
| 69 | 50 | 72·{ | |
| 70 | 51 | 73 | |
| 71 | 52 | 76·class·ArgyrisLocalCoefficients | |
| 72 | 53 | 77·{ | |
| 73 | 54 | 78·public: | |
| 74 | 55 | 79·using·size_type·=·std::size_t; | |
| 75 | 56 | 80·static·constexpr·int·dim·=·2; | |
| 57 | 81 | ||
| 58 | 82·ArgyrisLocalCoefficients() | ||
| 59 | 83·{ | ||
| 60 | 84·for·(unsigned·int·i·=·0;·i·<·3;·i++)·//·subentities:·three·vertices | ||
| 61 | 85·for·(unsigned·int·k·=·0;·k·<·6;·k++)·//·6·basis·functions·per·vertex | ||
| 62 | 86·localKeys_[6·*·i·+·k] | ||
| 63 | 87·=·LocalKey(i,·dim,·k);·//(subentity,·codim,·number·of·dof·for·this | ||
| 64 | subentity) | ||
| 65 | 88·for·(unsigned·int·i·=·0;·i·<·3;·++i)·//·subentities:·three·edges | ||
| 66 | 89·localKeys_[18·+·i]·=·LocalKey(i,·dim·-·1,·0);·//·one·node·per·edge | ||
| 67 | 90·} | ||
| 68 | 91 | ||
| 69 | 94·static·constexpr·size_type·size() | ||
| 70 | 95·{ | ||
| 71 | 96·return·21; | ||
| 72 | 97·} | ||
| 73 | 98 | ||
| 74 | 101·LocalKey·const·&localKey(size_type·i)·const | ||
| 75 | 102·{ | ||
| 76 | 103·return·localKeys_[i]; | ||
| 77 | 104·} | ||
| 78 | 105 | ||
| Max diff block lines reached; 5088/34911 bytes (14.57%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·si | 8 | <title>Dune-Functions:·bsplinebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 79 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">si | 94 | ··<div·class="headertitle"><div·class="title">bsplinebasis.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> | ||
| 97 | <div·class="textblock"><code>#include·< | 99 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 98 | <code>#include·< | 100 | <code>#include·<numeric></code><br·/> |
| 101 | <code>#include·<dune/common/dynmatrix.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·/> | ||
| 99 | <code>#include·<<a·class="el"·href="a00 | 107 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 108 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 109 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 100 | </div> | 110 | </div> |
| 101 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> | 111 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 102 | <table·class="memberdecls"> | 112 | <table·class="memberdecls"> |
| 103 | <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> |
| 104 | Classes</h2></td></tr> | 114 | Classes</h2></td></tr> |
| 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·class="el"·href="a01434.html">Dune::Functions::SignatureTraits<·Signature,·isCallable·></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_3ASi | 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">Dun[·...·truncated·by·diffoscope;·len:·41,·SHA:·31ee5539800081097830a6508bd5e2a4fdc0f0c82a8ca52bf949f24005974448·...·]·></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> | ||
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 118 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Attaches·a·shape·function·to·an·entity.··<a·href="a01690.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> | ||
| 109 | </table><table·class="memberdecls"> | 126 | </table><table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 127 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 111 | Namespaces</h2></td></tr> | 128 | 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> | 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> |
| 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> | 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> |
| 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> | ||
| 114 | </table><table·class="memberdecls"> | 138 | </table><table·class="memberdecls"> |
| 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | 139 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 116 | Functions</h2></td></tr> | 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> | ||
| 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> | ||
| 123 | </table> | 143 | </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> | ||
| 124 | </div><!--·contents·--> | 146 | </div></div><!--·contents·--> |
| 125 | </div><!--·doc-content·--> | 147 | </div><!--·doc-content·--> |
| 126 | <div·id="page-nav"·class="page-nav-panel"> | 148 | <div·id="page-nav"·class="page-nav-panel"> |
| 127 | <div·id="page-nav-resize-handle"></div> | 149 | <div·id="page-nav-resize-handle"></div> |
| 128 | <div·id="page-nav-tree"> | 150 | <div·id="page-nav-tree"> |
| 129 | <div·id="page-nav-contents"> | 151 | <div·id="page-nav-contents"> |
| 130 | </div><!--·page-nav-contents·--> | 152 | </div><!--·page-nav-contents·--> |
| 131 | </div><!--·page-nav-tree·--> | 153 | </div><!--·page-nav-tree·--> |
| 132 | </div><!--·page-nav·--> | 154 | </div><!--·page-nav·--> |
| 133 | </div><!--·container·--> | 155 | </div><!--·container·--> |
| 134 | <!--·start·footer·part·--> | 156 | <!--·start·footer·part·--> |
| 135 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 157 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 136 | ··<ul> | 158 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00113.html">bsplinebasis.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> | 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> |
| 139 | ··</ul> | 161 | ··</ul> |
| 140 | </div> | 162 | </div> |
| 141 | </body> | 163 | </body> |
| 142 | </html> | 164 | </html> |
| Offset 1, 32 lines modified | Offset 1, 52 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 | 5 | bsplinebasis.hh·File·Reference | |
| 6 | The·B-spline·global·function·space·basis.·More... | ||
| 7 | #include·<array> | ||
| 7 | #include·< | 8 | #include·<numeric> |
| 8 | #include·<dune/ | 9 | #include·<dune/common/dynmatrix.hh> |
| 10 | #include·<dune/localfunctions/common/localbasis.hh> | ||
| 11 | #include·<dune/common/diagonalmatrix.hh> | ||
| 12 | #include·<dune/localfunctions/common/localkey.hh> | ||
| 13 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 14 | #include·<dune/geometry/type.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 9 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 10 | Classes | 19 | Classes |
| 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 | 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_> | ||
| 15 | Namespaces | 34 | Namespaces |
| 16 | namespace· ·Dune | 35 | namespace· ·Dune |
| 17 | namespace· ·Dune::Functions | 36 | 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. | ||
| 18 | Functions | 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. | ||
| 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. | ||
| 28 | ····*·dune | 48 | ····*·dune |
| 29 | ····*·functions | 49 | ····*·functions |
| 30 | ····*·common | ||
| 31 | ····*· | 50 | ····*·functionspacebases |
| 51 | ····*·bsplinebasis.hh | ||
| 32 | ····*·Generated·by·[doxygen]1.15.0 | 52 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 4 lines modified | Offset 1, 5 lines modified | ||
| 1 | var·a00113·=·[ | 1 | var·a00113·=·[ |
| 2 | ····["Dune::Functions::derivativeSignatureTag",·"a00309.html#ga18b2a675f9153814c422d33878daebb2",·null], | ||
| 3 | ····["Dune::Functions:: | 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] | ||
| 4 | ]; | 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:·si | 8 | <title>Dune-Functions:·bsplinebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 175 lines modified | Offset 88, 1297 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">si | 94 | ··<div·class="headertitle"><div·class="title">bsplinebasis.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"><a·class="line"·href="a01686.html#a0866963a2c58b8b1f281a50722b9f3da">····1</a></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_CO | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_CO | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_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><span·class="preprocessor">#include·<tuple></span></div> | ||
| 108 | <div·class="line"><a·id="l0001 | 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><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/functions/common/defaultderivativetraits.hh</a>></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><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> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span></div> | ||
| 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> | ||
| 116 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 117 | <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·<array></span></div> |
| 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> | ||
| 119 | <div·class="line"><a·id="l000 | 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> | ||
| 120 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 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="l000 | 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="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 118 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 119 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 120 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 121 | <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="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="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 123 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 124 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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> | ||
| 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="l0003 | 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="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">static</span>·no··test(...);</div> | ||
| 128 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 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> | ||
| 130 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>};</div> | ||
| 131 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 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="l000 | 127 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01678.html">BSplineLocalFiniteElement</a>;</div> |
| 134 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
| 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> | ||
| 136 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 137 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 138 | <div·class="line"><a·id="l000 | 129 | <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> |
| 139 | <div·class="line"><a·id="l000 | 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> |
| 140 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 141 | <div·class="line"><a·id="l000 | 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> | ||
| 142 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> |
| 143 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class=" | 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> |
| 144 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span></div> | 138 | <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> | ||
| 147 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 148 | <div·class="line"><a·id="l000 | 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> | ||
| 149 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</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> | ||
| 152 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01686.html#a0ec676c23af5cfb27d18260102af08ca">···60</a></span>··FieldMatrix<R,1,dim>·>·<a·class="code·hl_typedef"·href="a01686.html#a0ec676c23af5cfb27d18260102af08ca">Traits</a>;</div> | ||
| 153 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span></div> |
| 146 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
| 147 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01686.html#ab66fbd26ea34c67071da5c0fa9504191">···66</a></span>··<a·class="code·hl_function"·href="a01686.html#ab66fbd26ea34c67071da5c0fa9504191">BSplineLocalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01682.html">BSplinePreBasis<GV></a>&·preBasis,</div> | ||
| 148 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····················<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01678.html">BSplineLocalFiniteElement<GV,R></a>&·lFE)</div> | ||
| 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> | ||
| 157 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{};</div> | ||
| 158 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··:·preBasis_(preBasis),</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="l000 | 150 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····lFE_(lFE)</div> |
| 151 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{}</div> | ||
| 152 | </div> | ||
| 162 | <div·class="line"><a·id="l0007 | 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span></div> |
| 154 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}"> | ||
| 155 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01686.html#a6f6f0d5f6137fc30c687a913a9794ef9">···76</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01686.html#a6f6f0d5f6137fc30c687a913a9794ef9">evaluateFunction</a>·(<span·class="keyword">const</span>·FieldVector<D,dim>&·in,</div> | ||
| 156 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·························std::vector<FieldVector<R,1>·>&·out)<span·class="keyword">·const</span></div> | ||
| 163 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">··</span>{</div> |
| 158 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> | ||
| 164 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 165 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01434.html">SignatureTraits</a><R(*)(D),·<span·class="keyword">true</span>></div> | ||
| 166 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01434.html">SignatureTraits</a><R(D),·<span·class="keyword">true</span>></div> | ||
| 167 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>{};</div> | ||
| 168 | <div·class="line"><a·id="l0008 | 159 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····scaling_.umv(in,globalIn);</div> |
| Max diff block lines reached; 223238/248152 bytes (89.96%) of diff not shown. | |||
| Offset 1, 189 lines modified | Offset 1, 1496 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 | si | 5 | bsplinebasis.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_COMMON_SIGNATURE_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 11#include·<tuple> | ||
| 20 | 12 | ||
| 21 | 13#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 22 | 1 | 18 | 13 |
| 19 | 14#include·<array> | ||
| 20 | 15#include·<numeric> | ||
| 21 | 16 | ||
| 22 | 18#include·<dune/common/dynmatrix.hh> | ||
| 23 | 19 | ||
| 24 | 20#include·<dune/localfunctions/common/localbasis.hh> | ||
| 25 | 21#include·<dune/common/diagonalmatrix.hh> | ||
| 26 | 22#include·<dune/localfunctions/common/localkey.hh> | ||
| 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 | ||
| 23 | 33 | 29namespace·Dune | |
| 34 | 30{ | ||
| 35 | 31namespace·Functions·{ | ||
| 24 | 16namespace·Functions·{ | ||
| 25 | 17 | ||
| 26 | 23template<typename·F> | ||
| 27 | 24struct·IsCallable; | ||
| 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 | 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 | 35class·BSplineLocalFiniteElement; | ||
| 41 | 36 | ||
| 36 | 3 | 42 | 37template<typename·GV> |
| 43 | 38class·BSplinePreBasis; | ||
| 44 | 39 | ||
| 37 | 34·static·yes·test(const·decltype(&C::operator())·*); | ||
| 38 | 35·template<typename·C> | ||
| 39 | 36·static·no·test(...); | ||
| 40 | 37 | ||
| 41 | 38·enum·{·value·=·(sizeof(test<F>(0))·==·sizeof(yes))·}; | ||
| 42 | 39}; | ||
| 43 | 40 | 45 | 40 |
| 46 | 49template<class·GV,·class·R> | ||
| 47 | 50class·BSplineLocalBasis | ||
| 48 | 51{ | ||
| 49 | 52·friend·class·BSplineLocalFiniteElement<GV,R>; | ||
| 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 | ||
| 56 | 53 | 50 | 53 |
| 57 | 59template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·> | ||
| 58 | 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 | 60·FieldMatrix<R,1,dim>·>·Traits; | ||
| 59 | 61 | 57 | 61 |
| 58 | 66·BSplineLocalBasis(const·BSplinePreBasis<GV>&·preBasis, | ||
| 59 | 67·const·BSplineLocalFiniteElement<GV,R>&·lFE) | ||
| 60 | 68·:·preBasis_(preBasis), | ||
| 61 | 69·lFE_(lFE) | ||
| 62 | 70·{} | ||
| 63 | 71 | ||
| 64 | 76·void·evaluateFunction·(const·FieldVector<D,dim>&·in, | ||
| 65 | 77·std::vector<FieldVector<R,1>·>&·out)·const | ||
| 66 | 78·{ | ||
| 67 | 79·FieldVector<D,dim>·globalIn·=·offset_; | ||
| 68 | 80·scaling_.umv(in,globalIn); | ||
| 69 | 81 | ||
| 70 | 82·preBasis_.evaluateFunction(globalIn,·out,·lFE_.currentKnotSpan_); | ||
| 71 | 83·} | ||
| 72 | 84 | ||
| 73 | 89·void·evaluateJacobian·(const·FieldVector<D,dim>&·in, | ||
| 74 | 90·std::vector<FieldMatrix<D,1,dim>·>&·out)·const | ||
| 75 | 91·{ | ||
| 76 | 92·FieldVector<D,dim>·globalIn·=·offset_; | ||
| 77 | 93·scaling_.umv(in,globalIn); | ||
| 78 | 94 | ||
| 79 | 95·preBasis_.evaluateJacobian(globalIn,·out,·lFE_.currentKnotSpan_); | ||
| 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> | ||
| Max diff block lines reached; 49880/54061 bytes (92.27%) 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:·hierarchicnodetorangemap.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 86 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">hierarchicnodetorangemap.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·/> | 98 | <code>#include·<type_traits></code><br·/> |
| 99 | <code>#include·<dune/common/overloadset.hh></code><br·/> | ||
| 100 | <code>#include·<dune/common/ | 99 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a0 | 100 | <code>#include·<<a·class="el"·href="a03877_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 101 | <code>#include·<<a·class="el"·href="a00236_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> | ||
| 102 | </div> | 102 | </div> |
| 103 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 104 | <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> | 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> | 106 | Classes</h2></td></tr> |
| 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 107 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AHierarchicNodeToRangeMap"·id="r_Dune_3A_3AFunctions_3A_3AHierarchicNodeToRangeMap"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01906.html">Dune::Functions::HierarchicNod[·...·truncated·by·diffoscope;·len:·11,·SHA:·8ee271efb96be6bc25b7c609d7606b21f45fa2d540efc743a0639b11fe46d56b·...·]</a></td></tr> |
| 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·the·nested·tree·indices.··<a·href="a01906.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"> | 109 | </table><table·class="memberdecls"> |
| 112 | <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> |
| 113 | Namespaces</h2></td></tr> | 111 | 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> | 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> |
| 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> | 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> |
| 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"> | ||
| 129 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 130 | Functions</h2></td></tr> | ||
| 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> | ||
| 153 | </table> | 114 | </table> |
| 154 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
| 155 | </div><!--·doc-content·--> | 116 | </div><!--·doc-content·--> |
| 156 | <div·id="page-nav"·class="page-nav-panel"> | 117 | <div·id="page-nav"·class="page-nav-panel"> |
| 157 | <div·id="page-nav-resize-handle"></div> | 118 | <div·id="page-nav-resize-handle"></div> |
| 158 | <div·id="page-nav-tree"> | 119 | <div·id="page-nav-tree"> |
| 159 | <div·id="page-nav-contents"> | 120 | <div·id="page-nav-contents"> |
| 160 | </div><!--·page-nav-contents·--> | 121 | </div><!--·page-nav-contents·--> |
| 161 | </div><!--·page-nav-tree·--> | 122 | </div><!--·page-nav-tree·--> |
| 162 | </div><!--·page-nav·--> | 123 | </div><!--·page-nav·--> |
| 163 | </div><!--·container·--> | 124 | </div><!--·container·--> |
| 164 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 165 | <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!·--> |
| 166 | ··<ul> | 127 | ··<ul> |
| 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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00116.html">hierarchicnodetorangemap.hh</a></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> | 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> |
| 169 | ··</ul> | 130 | ··</ul> |
| 170 | </div> | 131 | </div> |
| 171 | </body> | 132 | </body> |
| 172 | </html> | 133 | </html> |
| Offset 1, 75 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 | 5 | hierarchicnodetorangemap.hh·File·Reference | |
| 6 | #include·<utility> | 6 | #include·<utility> |
| 7 | #include·<type_traits> | 7 | #include·<type_traits> |
| 8 | #include·<dune/common/overloadset.hh> | ||
| 9 | #include·<dune/common/ | 8 | #include·<dune/common/concept.hh> |
| 10 | #include·<dune/functions/ | 9 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 10 | #include·<dune/functions/common/indexaccess.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 12 | Classes |
| 13 | struct· ·Dune::Functions::HierarchicNodeToRangeMap | ||
| 14 | ········A·simple·node·to·range·map·using·the·nested·tree·indices.·More... | ||
| 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... | ||
| 18 | Namespaces | 15 | Namespaces |
| 19 | namespace· ·Dune | 16 | namespace· ·Dune |
| 20 | namespace· ·Dune::Functions | 17 | 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>...>. | ||
| 34 | Functions | ||
| 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. | ||
| 71 | ····*·dune | 18 | ····*·dune |
| 72 | ····*·functions | 19 | ····*·functions |
| 73 | ····*·common | ||
| 74 | ····*·uti | 20 | ····*·functionspacebases |
| 21 | ····*·hierarchicnodetorangemap.hh | ||
| 75 | ····*·Generated·by·[doxygen]1.15.0 | 22 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 13 lines modified | Offset 1, 3 lines modified | ||
| 1 | var·a00116·=·[ | 1 | var·a00116·=·[ |
| 2 | ····["Dune::Functions::HierarchicNodeToRangeMap",·"a01906.html",·"a01906"] | ||
| 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] | ||
| 13 | ]; | 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:·hierarchicnodetorangemap.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 316 lines modified | Offset 88, 83 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">hierarchicnodetorangemap.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_CO | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_CO | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_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> | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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><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·<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="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/concept.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="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="a03877.html">dune/functions/functionspacebases/concepts.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="a00 | 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00236.html">dune/functions/common/indexaccess.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="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> | 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> |
| 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> | 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">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> | ||
| 124 | <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="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> | ||
| 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> | ||
| 126 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div> | ||
| 127 | </div> | ||
| 128 | <div·class="line"><a·id="l0003 | 122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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="l0003 | 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> | ||
| 131 | <div·class="foldopen"·id="foldopen0003 | 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> | ||
| 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">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue,·secondValue,·otherValues...>·values,·<span·class="keyword">const</span>·size_type·i,·F&&·f,·Args&&...·args)</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> | ||
| 134 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> | ||
| 135 | <div·class="line"><a·id="l0003 | 127 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">··</span>{</div> |
| 128 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00314.html#ga4cc6af2842348271c242c048e0411637">resolveStaticMultiIndex</a>(y,·treePath);</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> | ||
| 138 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div> |
| 139 | </div> | 130 | </div> |
| 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> | 131 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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> | ||
| 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="foldopen000 | 134 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> |
| 135 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01906.html#a7122457e9d3aad7c63a2184012f26566">···44</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01906.html#a7122457e9d3aad7c63a2184012f26566">operator()</a>(<span·class="keyword">const</span>·Node&,·<span·class="keyword">const</span>·TreePath&,·Range&&·y)<span·class="keyword">·const</span></div> | ||
| 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> | ||
| 148 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">··</span>{</div> |
| 149 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·std::forward<Range>(y);</div> |
| 150 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> |
| 151 | </div> | 139 | </div> |
| 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
| 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> | ||
| 158 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">struct·</span>ExpandTupleHelper</div> | ||
| 159 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div> |
| 160 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
| 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><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>ListType,·<span·class="keyword">class</span>...·Args></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> | ||
| 163 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··{</div> | ||
| 164 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keyword">using·</span>Type·=·T<Args...>;</div> | ||
| 165 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··};</div> | ||
| 166 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
| 167 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>}·<span·class="comment">//·end·namespace·Imp</span></div> | ||
| 168 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span></div> | ||
| 169 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class·</span>ArgTuple></div> | ||
| 170 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a00314.html#gaf9c566ddbb17d4d1abfc40d9eafb3576">··102</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00314.html#gaf9c566ddbb17d4d1abfc40d9eafb3576">ExpandTuple</a>·=·<span·class="keyword">typename</span>·Imp::ExpandTupleHelper<T,·ArgTuple>::Type;</div> | ||
| 171 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
| 172 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
| 173 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
| 174 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 175 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
| 176 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Tuple></div> | ||
| 177 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">struct·</span>TransformTupleHelper</div> | ||
| 178 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{};</div> | ||
| 179 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
| 180 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args1></div> | ||
| 181 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">struct·</span>TransformTupleHelper<T,·typename·std::tuple<Args1...>></div> | ||
| 182 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div> | ||
| 183 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keyword">using·</span>Type·=·std::tuple<T<Args1>...>;</div> | ||
| 184 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··};</div> | ||
| 185 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
| 186 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args1,·<span·class="keyword">class</span>...·Args2></div> | ||
| 187 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="keyword">struct·</span>TransformTupleHelper<T,·typename·std::tuple<Args1...>,·typename·std::tuple<Args2...>></div> | ||
| 188 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div> | ||
| Max diff block lines reached; 5186/57775 bytes (8.98%) of diff not shown. | |||
| Offset 1, 358 lines modified | Offset 1, 84 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 | hierarchicnodetorangemap.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_COMMON_UTILITY_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10 | 18 | 10 |
| 19 | 11#include·<utility> | 19 | 11#include·<utility> |
| 20 | 12#include·<type_traits> | 20 | 12#include·<type_traits> |
| 21 | 13 | 21 | 13 |
| 22 | 14#include·<dune/common/overloadset.hh> | ||
| 23 | 1 | 22 | 14#include·<dune/common/concept.hh> |
| 24 | 1 | 23 | 15 |
| 25 | 1 | 24 | 16#include·<dune/functions/functionspacebases/concepts.hh> |
| 25 | 17#include·<dune/functions/common/indexaccess.hh> | ||
| 26 | 18 | 26 | 18 |
| 27 | 19namespace·Dune·{ | 27 | 19namespace·Dune·{ |
| 28 | 20namespace·Functions·{ | 28 | 20namespace·Functions·{ |
| 29 | 21 | 29 | 21 |
| 30 | 22 | 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·} | ||
| 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 | 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 | 44·decltype(auto)·operator()(const·Node&,·const·TreePath&,·Range&&·y)·const | ||
| 47 | 45·{ | ||
| 48 | 46·return·std::forward<Range>(y); | ||
| 49 | 47·} | ||
| 50 | 48}; | ||
| 51 | 49 | ||
| 52 | 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 | ||
| 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...>> | ||
| 80 | 84·{ | ||
| 81 | 85·using·Type·=·T<Args...>; | ||
| 82 | 86·}; | ||
| 83 | 87 | ||
| 84 | 88}·//·end·namespace·Imp | ||
| 85 | 89 | ||
| 86 | 101template<template<class...>·class·T,·class·ArgTuple> | ||
| 87 | 102using·ExpandTuple·=·typename·Imp::ExpandTupleHelper<T,·ArgTuple>::Type; | ||
| 88 | 103 | ||
| 89 | 104 | ||
| 90 | 105 | ||
| 91 | 106namespace·Imp·{ | ||
| 92 | 107 | ||
| Max diff block lines reached; 1922/12704 bytes (15.13%) 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:·nodes.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 64 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">nodes.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·<cassert></code><br·/> |
| 98 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 99 | <code>#include·< | 98 | <code>#include·<memory></code><br·/> |
| 99 | <code>#include·<vector></code><br·/> | ||
| 100 | <code>#include·<array></code><br·/> | ||
| 101 | <code>#include·<optional></code><br·/> | ||
| 102 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
| 103 | <code>#include·<dune/common/tuplevector.hh></code><br·/> | ||
| 104 | <code>#include·<dune/common/typelist.hh></code><br·/> | ||
| 105 | <code>#include·<dune/common/hybridmultiindex.hh></code><br·/> | ||
| 106 | <code>#include·<dune/common/typetree/traversal.hh></code><br·/> | ||
| 100 | </div> | 107 | </div> |
| 101 | <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 102 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
| 103 | <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> |
| 104 | Classes</h2></td></tr> | 111 | Classes</h2></td></tr> |
| 112 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ABasisNodeMixin"·id="r_Dune_3A_3AFunctions_3A_3ABasisNodeMixin"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02002.html">Dune::Functions::BasisNodeMixin</a></td></tr> | ||
| 113 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ALeafBasisNode"·id="r_Dune_3A_3AFunctions_3A_3ALeafBasisNode"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02006.html">Dune::Functions::LeafBasisNode</a></td></tr> | ||
| 105 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3A | 114 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3AInnerBasisNodeMixin_3C_20Node_2C_20Element_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AInnerBasisNodeMixin_3C_20Node_2C_20Element_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·hr[·...·truncated·by·diffoscope;·len:·71,·SHA:·66f01cd7d8f005fb575d874582b82ca49452104d82a338efc9bfd89e5673c128·...·]·></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_3A | 115 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3APowerBasisNode_3C_20T_2C_20n_20_3E"·id="r_Dune_3A_3AFunctions_3A_3APowerBasisNode_3C_20T_2C_20n_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02014.html">Dune::Funct[·...·truncated·by·diffoscope;·len:·29,·SHA:·09b6370cc6d1b03ffa37a7ac37d65ec4e08b87d67dd337a4031491aa4036bf0b·...·]·></a></td></tr> |
| 108 | <tr·class="memdesc | 116 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ADynamicPowerBasisNode_3C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ADynamicPowerBasisNode_3C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·[·...·truncated·by·diffoscope;·len:·71,·SHA:·0567898460c309c516307e7a7ddeb6753c8af716674517a1df7144c8a929fa6c·...·]></td></tr> |
| 117 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ACompositeBasisNode_3C_20T_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ACompositeBasisNode_3C_20T_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02022.html">Dune::Functions::CompositeBasisNode<·T·></a></td></tr> | ||
| 118 | <tr·class="memitem:Dune_3A_3AFunctions_3A_3ACompositeBasisNode_3C_20T_20_3E_3A_3AChild_3C_20k_20_3E"·id="r_Dune_3A_3AFunctions_3A_3ACompositeBasisNode_3C_20T_20_3E_3A_3AChild_3C_20k_20_3E"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02026.html">Dune::Functions::CompositeBasisNode<·T·>::Child<·k·></a></td></tr> | ||
| 109 | </table><table·class="memberdecls"> | 119 | </table><table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 120 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 111 | Namespaces</h2></td></tr> | 121 | 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> | 122 | <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> | 123 | <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 | </table><table·class="memberdecls"> | 124 | </table><table·class="memberdecls"> |
| 115 | <tr·class="heading"><td·colspan="2"><h2·id="header-typedef-members"·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 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- | 125 | <tr·class="heading"><td·colspan="2"><h2·id="header-func-members"·class="groupheader"><a·id="func-members"·name="func-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 | 126 | Functions</h2></td></tr> | |
| 127 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"·id="r_a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplParams"·colspan="2">template<typename·Tree,·typename·Entity>·</td></tr> | ||
| 128 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454·template"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a4dc892a209e0f55bc65eadaf2c808454">Dune::Functions::bindTree</a>·(Tree·&tree,·const·Entity·&entity,·std::size_t·offset=0)</td></tr> | ||
| 129 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"·id="r_a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplParams"·colspan="2">template<typename·Tree>·</td></tr> | ||
| 130 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977·template"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00318.html#a5e19b913a34ad68144f4fd873c51b977">Dune::Functions::initializeTree</a>·(Tree·&tree,·std::size_t·treeIndexOffset=0)</td></tr> | ||
| 129 | </table> | 131 | </table> |
| 130 | </div><!--·contents·--> | 132 | </div><!--·contents·--> |
| 131 | </div><!--·doc-content·--> | 133 | </div><!--·doc-content·--> |
| 132 | <div·id="page-nav"·class="page-nav-panel"> | 134 | <div·id="page-nav"·class="page-nav-panel"> |
| 133 | <div·id="page-nav-resize-handle"></div> | 135 | <div·id="page-nav-resize-handle"></div> |
| 134 | <div·id="page-nav-tree"> | 136 | <div·id="page-nav-tree"> |
| 135 | <div·id="page-nav-contents"> | 137 | <div·id="page-nav-contents"> |
| 136 | </div><!--·page-nav-contents·--> | 138 | </div><!--·page-nav-contents·--> |
| 137 | </div><!--·page-nav-tree·--> | 139 | </div><!--·page-nav-tree·--> |
| 138 | </div><!--·page-nav·--> | 140 | </div><!--·page-nav·--> |
| 139 | </div><!--·container·--> | 141 | </div><!--·container·--> |
| 140 | <!--·start·footer·part·--> | 142 | <!--·start·footer·part·--> |
| 141 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 143 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 142 | ··<ul> | 144 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00119.html">nodes.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> | 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> |
| 145 | ··</ul> | 147 | ··</ul> |
| 146 | </div> | 148 | </div> |
| 147 | </body> | 149 | </body> |
| 148 | </html> | 150 | </html> |
| Offset 1, 34 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 | 5 | nodes.hh·File·Reference | |
| 6 | #include·< | 6 | #include·<cassert> |
| 7 | #include·<memory> | ||
| 8 | #include·<vector> | ||
| 9 | #include·<array> | ||
| 10 | #include·<optional> | ||
| 7 | #include·<dune/common/ | 11 | #include·<dune/common/indices.hh> |
| 8 | #include·<dune/common/t | 12 | #include·<dune/common/tuplevector.hh> |
| 13 | #include·<dune/common/typelist.hh> | ||
| 14 | #include·<dune/common/hybridmultiindex.hh> | ||
| 15 | #include·<dune/common/typetree/traversal.hh> | ||
| 9 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
| 10 | Classes | 17 | Classes |
| 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 | ··· | 18 | ·class· ·Dune::Functions::BasisNodeMixin |
| 19 | ·class· ·Dune::Functions::LeafBasisNode | ||
| 20 | ·class· ·Dune::Functions::InnerBasisNodeMixin<_Node,_Element_> | ||
| 21 | ·class· ·Dune::Functions::PowerBasisNode<_T,_n_> | ||
| 22 | ·class· ·Dune::Functions::DynamicPowerBasisNode<_T_> | ||
| 23 | ·class· ·Dune::Functions::CompositeBasisNode<_T_> | ||
| 24 | struct· ·Dune::Functions::CompositeBasisNode<_T_>::Child<_k_> | ||
| 16 | Namespaces | 25 | Namespaces |
| 17 | namespace· ·Dune | 26 | namespace· ·Dune |
| 18 | namespace· ·Dune::Functions | 27 | namespace· ·Dune::Functions |
| 28 | Functions | ||
| 29 | template<typename·Tree,·typename·Entity> | ||
| 30 | void ·Dune::Functions::bindTree·(Tree·&tree,·const·Entity·&entity,·std::size_ | ||
| 31 | ······t·offset=0) | ||
| 32 | template<typename·Tree> | ||
| 33 | void ·Dune::Functions::initializeTree·(Tree·&tree,·std::size_ | ||
| 34 | ······t·treeIndexOffset=0) | ||
| 19 | Typedefs | ||
| 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. | ||
| 30 | ····*·dune | 35 | ····*·dune |
| 31 | ····*·functions | 36 | ····*·functions |
| 32 | ····*·common | ||
| 33 | ····*·t | 37 | ····*·functionspacebases |
| 38 | ····*·nodes.hh | ||
| 34 | ····*·Generated·by·[doxygen]1.15.0 | 39 | ····*·Generated·by·[doxygen]1.15.0 |
| Offset 1, 5 lines modified | Offset 1, 11 lines modified | ||
| 1 | var·a00119·=·[ | 1 | var·a00119·=·[ |
| 2 | ····["Dune::Functions::enableIfConstructible",·"a00314.html#gae56cc95e9c26568861b3fddae9983080",·null], | ||
| 3 | ····["Dune::Functions::StaticSize",·"a00314.html#ga3e9a8b5a2dac8ad92d9000f0e7187ba4",·null], | ||
| 4 | ····["Dune::Functions:: | 2 | ····["Dune::Functions::BasisNodeMixin",·"a02002.html",·"a02002"], |
| 3 | ····["Dune::Functions::LeafBasisNode",·"a02006.html",·"a02006"], | ||
| 4 | ····["Dune::Functions::InnerBasisNodeMixin<·Node,·Element·>",·"a02010.html",·"a02010"], | ||
| 5 | ····["Dune::Functions::PowerBasisNode<·T,·n·>",·"a02014.html",·"a02014"], | ||
| 6 | ····["Dune::Functions::DynamicPowerBasisNode<·T·>",·"a02018.html",·"a02018"], | ||
| 7 | ····["Dune::Functions::CompositeBasisNode<·T·>",·"a02022.html",·"a02022"], | ||
| 8 | ····["Dune::Functions::CompositeBasisNode<·T·>::Child<·k·>",·"a02026.html",·"a02026"], | ||
| 9 | ····["Dune::Functions::bindTree",·"a00318.html#a4dc892a209e0f55bc65eadaf2c808454",·null], | ||
| 10 | ····["Dune::Functions::initializeTree",·"a00318.html#a5e19b913a34ad68144f4fd873c51b977",·null] | ||
| 5 | ]; | 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:·nodes.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <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, 81 lines modified | Offset 88, 607 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">nodes.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 97 | <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 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_CO | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_CO | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_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·<cassert></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/hybridutilities.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><span·class="preprocessor">#include·<memory></span></div> |
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<array></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><span·class="preprocessor">#include·<optional></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="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> | ||
| 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·<dune/common/indices.hh></span></div> | ||
| 113 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/typelist.hh></span></div> | ||
| 114 | <div·class="line"><a·id="l0001 | 115 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 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="l000 | 116 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/common/hybridmultiindex.hh></span></div> |
| 117 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/common/typetree/traversal.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">#ifdef·HAVE_DUNE_TYPETREE</span></div> | ||
| 120 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/typetree/nodetags.hh></span></div> | ||
| 121 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#endif</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="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Functions</a>·{</div> | ||
| 125 | <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> | ||
| 117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·· | 127 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">namespace·</span>Impl·{</div> |
| 118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 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>······<span·class="comment">//·This·class·encapsulates·the·access·to·the·setOffset()</span></div> | ||
| 130 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="comment">//·and·setTreeIndex()·methods·of·a·node.·This·way·we</span></div> | ||
| 131 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="comment">//·can·hide·the·methods·from·the·user·but·still·provide</span></div> | ||
| 132 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="comment">//·access·where·this·is·needed.</span></div> | ||
| 133 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······<span·class="keyword">struct·</span>BasisNodeSetupHelper</div> | ||
| 119 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······{</div> |
| 120 | <div·class="line"><a·id="l0003 | 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">class</span>·Node,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
| 137 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·setSize(Node&·node,·<span·class="keyword">const</span>·size_type·size)</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> | ||
| 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{};</div> | ||
| 126 | </div> | ||
| 127 | <div·class="line"><a·id="l0004 | 138 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········{</div> |
| 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> | ||
| 130 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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> | ||
| 133 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> | ||
| 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> | ||
| 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="l000 | 139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········node.setSize(size);</div> |
| 139 | </div> | ||
| 140 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········}</div> |
| 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> | ||
| 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</a>·=·std::enable_if_t<HasStaticSize_v<T>,</div> | ||
| 143 | <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="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keyword">template</span><<span·class="keyword">class</span>·Node,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
| 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·setOffset(Node&·node,·<span·class="keyword">const</span>·size_type·offset)</div> | ||
| 144 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········{</div> |
| 145 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··········node.setOffset(offset);</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>·</div> | ||
| 148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="keyword">template</span><<span·class="keyword">class</span>·Node,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
| 149 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·setTreeIndex(Node&·node,·<span·class="keyword">const</span>·size_type·index)</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>··········node.setTreeIndex(index);</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>·</div> | ||
| 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······};</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>·</div> | ||
| 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="comment">//·A·mixin·class·for·generalized·child·access·from</span></div> | ||
| 159 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//·multiple·indices·or·a·tree·path.·The·derived·class</span></div> | ||
| 160 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="comment">//·only·has·to·provide·the·child(i)·method·with</span></div> | ||
| 161 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="comment">//·a·single·index·for·accessing·direct·children.</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">class</span>·Impl></div> | ||
| 163 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">class·</span>ChildAccessMixIn</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>·</div> | ||
| 166 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········Impl&·asImpl()</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">static_cast<</span>Impl&<span·class="keyword">></span>(*this);</div> | ||
| 169 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········}</div> | ||
| 145 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 170 | <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> | 171 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">const</span>·Impl&·asImpl()<span·class="keyword">·const</span></div> |
| 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 172 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">········</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> | ||
| Max diff block lines reached; 19883/106852 bytes (18.61%) of diff not shown. | |||
| Offset 1, 85 lines modified | Offset 1, 636 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 | nodes.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_COMMON_TYPE_TRAITS_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<type_traits> | ||
| 19 | 1 | 18 | 10#include·<cassert> |
| 19 | 11#include·<memory> | ||
| 20 | 12#include·<vector> | ||
| 21 | 13#include·<array> | ||
| 22 | 14#include·<optional> | ||
| 23 | 15 | ||
| 20 | 1 | 24 | 16#include·<dune/common/indices.hh> |
| 21 | 1 | 25 | 17#include·<dune/common/tuplevector.hh> |
| 22 | 14 | ||
| 23 | 15namespace·Dune·{ | ||
| 24 | 16namespace·Functions·{ | ||
| 25 | 17 | ||
| 26 | 18 | ||
| 27 | 29template<class·T,·class...·Args> | ||
| 28 | 30using·enableIfConstructible·=·std::enable_if_t< | ||
| 29 | 26 | 18#include·<dune/common/typelist.hh> | |
| 27 | 19 | ||
| 28 | 20#include·<dune/common/hybridmultiindex.hh> | ||
| 29 | 21#include·<dune/common/typetree/traversal.hh> | ||
| 30 | 22 | ||
| 31 | 23#ifdef·HAVE_DUNE_TYPETREE | ||
| 32 | 24#include·<dune/typetree/nodetags.hh> | ||
| 33 | 25#endif | ||
| 34 | 26 | ||
| 35 | 27namespace·Dune·{ | ||
| 36 | 28·namespace·Functions·{ | ||
| 37 | 29 | ||
| 38 | 30 | ||
| 39 | 31·namespace·Impl·{ | ||
| 30 | 32 | 40 | 32 |
| 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; | ||
| 40 | 41 | 33·//·This·class·encapsulates·the·access·to·the·setOffset() | |
| 42 | 34·//·and·setTreeIndex()·methods·of·a·node.·This·way·we | ||
| 43 | 35·//·can·hide·the·methods·from·the·user·but·still·provide | ||
| 44 | 36·//·access·where·this·is·needed. | ||
| 45 | 37·struct·BasisNodeSetupHelper | ||
| 46 | 38·{ | ||
| 47 | 39 | ||
| 48 | 40·template<class·Node,·class·size_type> | ||
| 49 | 41·static·void·setSize(Node&·node,·const·size_type·size) | ||
| 50 | 42·{ | ||
| 51 | 43·node.setSize(size); | ||
| 52 | 44·} | ||
| 53 | 45 | ||
| 54 | 46·template<class·Node,·class·size_type> | ||
| 55 | 47·static·void·setOffset(Node&·node,·const·size_type·offset) | ||
| 56 | 48·{ | ||
| 57 | 49·node.setOffset(offset); | ||
| 58 | 50·} | ||
| 41 | 51 | 59 | 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 | 60 | 52·template<class·Node,·class·size_type> | |
| 61 | 53·static·void·setTreeIndex(Node&·node,·const·size_type·index) | ||
| 62 | 54·{ | ||
| 63 | 55·node.setTreeIndex(index); | ||
| 64 | 56·} | ||
| 65 | 57 | ||
| 66 | 58·}; | ||
| 67 | 59 | ||
| 68 | 60 | ||
| 69 | 61 | ||
| 70 | 62·//·A·mixin·class·for·generalized·child·access·from | ||
| 71 | 63·//·multiple·indices·or·a·tree·path.·The·derived·class | ||
| 72 | 64·//·only·has·to·provide·the·child(i)·method·with | ||
| 73 | 65·//·a·single·index·for·accessing·direct·children. | ||
| 49 | 74 | 66·template<class·Impl> | |
| 50 | 71using·StaticSize·=·std::enable_if_t<HasStaticSize_v<T>, | ||
| 51 | 72·decltype(Dune::Hybrid::size(std::declval<T>()))>; | ||
| 52 | 7 | 75 | 67·class·ChildAccessMixIn |
| 76 | 68·{ | ||
| 77 | 69 | ||
| 78 | 70·Impl&·asImpl() | ||
| 79 | 71·{ | ||
| 80 | 72·return·static_cast<Impl&>(*this); | ||
| 81 | 73·} | ||
| 53 | 74 | 82 | 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 | 83 | 75·const·Impl&·asImpl()·const | |
| 84 | 76·{ | ||
| 85 | 77·return·static_cast<const·Impl&>(*this); | ||
| 86 | 78·} | ||
| 87 | 79 | ||
| 88 | 80·public: | ||
| 89 | 81 | ||
| Max diff block lines reached; 6617/19017 bytes (34.80%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-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:·transformedfiniteelementmixin.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 29 lines modified | Offset 88, 24 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">transformedfiniteelementmixin.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·<utility></code><br·/> | ||
| 99 | <code>#include·<type_traits></code><br·/> | 98 | <code>#include·<type_traits></code><br·/> |
| 100 | <code>#include·< | 99 | <code>#include·<utility></code><br·/> |
| 100 | <code>#include·<vector></code><br·/> | ||
| 101 | </div> | 101 | </div> |
| 102 | <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00122_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"> | ||
| 109 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 105 | 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> | 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> |
| 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> | 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> |
| 113 | </table> | 108 | </table> |
| 114 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
| 115 | </div><!--·doc-content·--> | 110 | </div><!--·doc-content·--> |
| Offset 121, 13 lines modified | Offset 116, 13 lines modified | ||
| 121 | </div><!--·page-nav-contents·--> | 116 | </div><!--·page-nav-contents·--> |
| 122 | </div><!--·page-nav-tree·--> | 117 | </div><!--·page-nav-tree·--> |
| 123 | </div><!--·page-nav·--> | 118 | </div><!--·page-nav·--> |
| 124 | </div><!--·container·--> | 119 | </div><!--·container·--> |
| 125 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
| 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 121 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
| 127 | ··<ul> | 122 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00122.html">transformedfiniteelementmixin.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> | 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> |
| 130 | ··</ul> | 125 | ··</ul> |
| 131 | </div> | 126 | </div> |
| 132 | </body> | 127 | </body> |
| 133 | </html> | 128 | </html> |
| Offset 1, 22 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 | transformedfiniteelementmixin.hh·File·Reference | ||
| 6 | #include·<array> | ||
| 5 | polymorphicsmallobject.hh·File·Reference | ||
| 6 | #include·<cstddef> | ||
| 7 | #include·<utility> | ||
| 8 | #include·<type_traits> | 7 | #include·<type_traits> |
| 9 | #include·< | 8 | #include·<utility> |
| 9 | #include·<vector> | ||
| 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... | ||
| 15 | Namespaces | 11 | Namespaces |
| 16 | namespace· ·Dune | 12 | namespace· ·Dune |
| 17 | namespace· ·Dune::Functions | 13 | namespace· ·Dune::Functions |
| 18 | ····*·dune | 14 | ····*·dune |
| 19 | ····*·functions | 15 | ····*·functions |
| 20 | ····*·common | ||
| 21 | ····*· | 16 | ····*·functionspacebases |
| 17 | ····*·transformedfiniteelementmixin.hh | ||
| 22 | ····*·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:·transformedfiniteelementmixin.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 208 lines modified | Offset 88, 129 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">transformedfiniteelementmixin.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 97 | <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 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_CO | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDFINITEELEMENTMIXIN_HH</span></div> |
| 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_CO | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDFINITEELEMENTMIXIN_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·<array></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="l0001 | 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></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·<utility></span></div> |
| 109 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<vector></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><a·class="code·hl_namespace"·href="a00317.html">Dune</a>·{</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="keyword">namespace·</span>Dune::Functions::Impl·{</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></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="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> | ||
| 118 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> |
| 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> | ||
| 121 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<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> | ||
| 125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 126 | <div·class="line"><a·id="l000 | 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> | ||
| 127 | <div·class="line"><a·id="l000 | 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> | ||
| 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> | ||
| 130 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······:·feImpl_(&feImpl)</div> |
| 131 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····{}</div> |
| 132 | </div> | 122 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 133 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">public</span>:</div> |
| 134 | <div·class="line"><a·id="l000 | 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> |
| 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> | ||
| 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> | ||
| 137 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l000 | 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="l00043"·name="l00043"></a><span·class="lineno">···43</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="l00046"·name="l00046"></a><span·class="lineno">···46</span>··························std::vector<typename·Traits::RangeType>·&out)<span·class="keyword">·const</span></div> | ||
| 139 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">····</span>{</div> |
| 132 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······feImpl_->referenceLocalBasis().evaluateFunction(x,·rangeBuffer_);</div> | ||
| 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> | ||
| 142 | <div·class="line"><a·id="l000 | 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="l00050"·name="l00050"></a><span·class="lineno">···50</span>······feImpl_->transform(rangeBuffer_,·out);</div> | ||
| 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> | ||
| 145 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}</div> |
| 146 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>··························std::vector<typename·Traits::JacobianType>·&out)<span·class="keyword">·const</span></div> | ||
| 147 | <div·class="line"><a·id="l000 | 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>······feImpl_->referenceLocalBasis().evaluateJacobian(x,·jacobianBuffer_);</div> | ||
| 148 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······out.resize(size());</div> |
| 149 | </div> | 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······feImpl_->transform(jacobianBuffer_,·out);</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></div> | ||
| 145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">template</span><<span·class="keyword">class·</span>TT,</div> | ||
| 146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·············std::enable_if_t<std::is_same_v<TT,·typename·Traits::HessianType>,·<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="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·························std::vector<TT>·&out)<span·class="keyword">·const</span></div> | ||
| 149 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">····</span>{</div> | ||
| 150 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······feImpl_->referenceLocalBasis().evaluateHessian(x,·hessianBuffer_);</div> | ||
| 151 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······out.resize(size());</div> | ||
| 152 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······feImpl_->transform(hessianBuffer_,·out);</div> | ||
| 153 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div> | ||
| 150 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span></div> | 154 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</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> | ||
| 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> | ||
| 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> | ||
| 155 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> | ||
| 156 | </div> | ||
| 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> | ||
| 160 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div> | ||
| 161 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····copyToWrappedObject(other);</div> | ||
| 162 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·· | 158 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">····</span>{</div> |
| 163 | </div> | 159 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······feImpl_->referenceLocalBasis().partial(order,·x,·rangeBuffer_);</div> |
| 164 | <div·class="line"><a·id="l0009 | 160 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······out.resize(size());</div> |
| 165 | <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="}"> | ||
| 166 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01422.html#aa0714dd1c60221fbbd867f9796ccf722">··100</a></span>··<a·class="code·hl_function"·href="a01422.html#aa0714dd1c60221fbbd867f9796ccf722">~PolymorphicSmallObject</a>()</div> | ||
| 167 | <div·class="line"><a·id="l0010 | 161 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······feImpl_->transform(rangeBuffer_,·out);</div> |
| 168 | <div·class="line"><a·id="l0010 | 162 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····}</div> |
| Max diff block lines reached; 9363/44996 bytes (20.81%) of diff not shown. | |||
| Offset 1, 208 lines modified | Offset 1, 120 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 | transformedfiniteelementmixin.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_COMMON_POLYMORPHICSMALLOBJECT_HH | ||
| 16 | 15 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDFINITEELEMENTMIXIN_HH | |
| 16 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDFINITEELEMENTMIXIN_HH | ||
| 17 | 9 | 17 | 9 |
| 18 | 10#include·<array> | ||
| 18 | 10#include·<cstddef> | ||
| 19 | 11#include·<utility> | ||
| 20 | 1 | 19 | 11#include·<type_traits> |
| 21 | 1 | 20 | 12#include·<utility> |
| 21 | 13#include·<vector> | ||
| 22 | 14 | 22 | 14 |
| 23 | 15namespace·Dune·{ | ||
| 24 | 1 | 23 | 15namespace·Dune::Functions::Impl·{ |
| 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 | 46·std::vector<typename·Traits::RangeType>·&out)·const | ||
| 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) | ||
| 48 | 43 | 47·{ | |
| 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 | 8 | 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); | ||
| 57 | 85·} | 65 | 85·} |
| 58 | 86 | 66 | 86 |
| 59 | 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 | ||
| 60 | 70 | 97·{ | |
| 71 | 98·feImpl_->referenceLocalBasis().partial(order,·x,·rangeBuffer_); | ||
| 72 | 99·out.resize(size()); | ||
| 73 | 100·feImpl_->transform(rangeBuffer_,·out); | ||
| 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() | ||
| 70 | 101· | 74 | 101·} |
| 71 | 102·destroyWrappedObject(); | ||
| 72 | 103·} | ||
| 73 | 104 | ||
| 74 | 106·PolymorphicSmallObject&·operator=(const·PolymorphicSmallObject&·other) | ||
| 75 | 107·{ | ||
| 76 | 108·if·(&other!=this) | ||
| 77 | 109·{ | ||
| 78 | 110·destroyWrappedObject(); | ||
| 79 | 1 | 75 | 102 |
| 76 | 104·auto·order()·const·{·return·feImpl_->referenceLocalBasis().order();·} | ||
| 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:·functionaldescriptor.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 31 lines modified | Offset 88, 22 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">functionaldescriptor.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·<a | 97 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 98 | <code>#include·<iostream></code><br·/> | ||
| 99 | <code>#include·<cstddef></code><br·/> | ||
| 100 | <code>#include·<array></code><br·/> | ||
| 101 | <code>#include·<initializer_list></code><br·/> | ||
| 102 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> |
| 103 | </div> | 99 | </div> |
| 104 | <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p> | 100 | <p><a·href="a00125_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_3AOverflowArray_3C_20BA_2C_20maxSize_20_3E"·id="r_Dune_3A_3AFunctions_3A_3AOverflowArray_3C_20BA_2C_20maxSize_20_3E"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01418.html">Dune::Functions::OverflowArray<·BA,·maxSize·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·dynamically·sized·array-like·class·with·overflow.··<a·href="a01418.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> | 102 | <tr·class="heading"><td·colspan="2"><h2·id="header-namespaces"·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 112 | Namespaces</h2></td></tr> | 103 | 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> | 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_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> |
| 115 | </table> | 106 | </table> |
| 116 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
| 117 | </div><!--·doc-content·--> | 108 | </div><!--·doc-content·--> |
| Offset 123, 13 lines modified | Offset 114, 13 lines modified | ||
| 123 | </div><!--·page-nav-contents·--> | 114 | </div><!--·page-nav-contents·--> |
| 124 | </div><!--·page-nav-tree·--> | 115 | </div><!--·page-nav-tree·--> |
| 125 | </div><!--·page-nav·--> | 116 | </div><!--·page-nav·--> |
| 126 | </div><!--·container·--> | 117 | </div><!--·container·--> |
| 127 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 128 | <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!·--> |
| 129 | ··<ul> | 120 | ··<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_ | 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_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li><li·class="navelem"><a·href="a00125.html">functionaldescriptor.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> | 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> |
| 132 | ··</ul> | 123 | ··</ul> |
| 133 | </div> | 124 | </div> |
| 134 | </body> | 125 | </body> |
| 135 | </html> | 126 | </html> |
| Offset 1, 23 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 | functionaldescriptor.hh·File·Reference | ||
| 5 | overflowarray.hh·File·Reference | ||
| 6 | #include·<algorithm> | ||
| 7 | #include·<iostream> | ||
| 8 | #include·<cstddef> | ||
| 9 | #include·<array> | 6 | #include·<array> |
| 10 | #include·<initializer_list> | ||
| 11 | #include·<dune/common/ | 7 | #include·<dune/common/rangeutilities.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::OverflowArray<_BA,_maxSize_> | ||
| 15 | ·······A·dynamically·sized·array-like·class·with·overflow.·More... | ||
| 16 | Namespaces | 9 | Namespaces |
| 17 | namespace· ·Dune | 10 | namespace· ·Dune |
| 18 | namespace· ·Dune::Functions | 11 | namespace· ·Dune::Functions |
| 19 | ····*·dune | 12 | ····*·dune |
| 20 | ····*·functions | 13 | ····*·functions |
| 21 | ····*·common | ||
| 22 | ····*· | 14 | ····*·functionspacebases |
| 15 | ····*·functionaldescriptor.hh | ||
| 23 | ····*·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:·functionaldescriptor.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/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, 286 lines modified | Offset 88, 97 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">functionaldescriptor.hh</div></div> |
| 95 | </div><!--header--> | 95 | </div><!--header--> |
| 96 | <div·class="contents"> | 96 | <div·class="contents"> |
| 97 | <a·href="a00125.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 97 | <a·href="a00125.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 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> | ||
| 103 | <div·class="line"><a·id="l0000 | 102 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FUNCTIONALDESCRIPTOR_HH</span></div> |
| 104 | <div·class="line"><a·id="l0000 | 103 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FUNCTIONALDESCRIPTOR_HH</span></div> |
| 105 | <div·class="line"><a·id="l0000 | 104 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
| 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
| 107 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<iostream></span></div> | ||
| 108 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 109 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<array></span></div> |
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
| 111 | <div·class="line"><a·id="l0001 | 106 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 112 | <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/rangeutilities.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>·</div> | ||
| 110 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Dune::Functions::Impl</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>·</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> | 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><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00318.html">Dune::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="l00022"·name="l00022"></a><span·class="lineno">···22</span></div> | ||
| 119 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·dim></div> |
| 120 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> | ||
| 121 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01418.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a01418.html#a8ff4c2cab7f220136c0b072c6a055f34">OverflowArray</a>·:</div> | ||
| 122 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">class·</span>FunctionalDescriptor</div> |
| 123 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
| 124 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div> |
| 119 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span>Order·=·std::array<unsigned·int,·dim>;</div> | ||
| 121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··FunctionalDescriptor()</div> | ||
| 123 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····:·partialDerivativeOrder_{}</div> | ||
| 124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····,·normalDerivativeOrder_(0)</div> | ||
| 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{}</div> | ||
| 126 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">explicit</span>·FunctionalDescriptor(<span·class="keyword">const</span>·Order&·partialDerivativeOrder)</div> | ||
| 128 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····:·partialDerivativeOrder_{partialDerivativeOrder}</div> | ||
| 129 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····,·normalDerivativeOrder_(0)</div> | ||
| 130 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{}</div> | ||
| 125 | <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="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">explicit</span>·FunctionalDescriptor(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·normalDerivativeOrder)</div> | ||
| 126 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> | ||
| 127 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01418.html#a95296504e2bd12821b975daa3d2f9934">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a95296504e2bd12821b975daa3d2f9934">BaseArray</a>·=·BA;</div> | ||
| 128 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····:·partialDerivativeOrder_{}</div> |
| 134 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····,·normalDerivativeOrder_(normalDerivativeOrder)</div> | ||
| 129 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01418.html#a67526616996e52fa0bc26046cf0a2485">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>·=·<span·class="keyword">typename</span>·BaseArray::value_type;</div> | ||
| 130 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01418.html#a057b2fd50430511a0c5697c8e271fd70">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a057b2fd50430511a0c5697c8e271fd70">reference</a>·=·<a·class="code·hl_typedef"·href="a01418.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
| 131 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01418.html#a040c3d78e6edfb6576a03b8be4f0e71c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a040c3d78e6edfb6576a03b8be4f0e71c">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01418.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
| 132 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01418.html#ad6864fbd3a109a6b10b32af7e9c58b5b">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#ad6864fbd3a109a6b10b32af7e9c58b5b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01418.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>*;</div> | ||
| 133 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01418.html#a87ef9a454715903d6832df402705780d">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a87ef9a454715903d6832df402705780d">difference_type</a>·=·std::ptrdiff_t;</div> | ||
| 134 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01418.html#ab600c0c276d09c1adfa934f77ca7c712">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·=·std::size_t;</div> | ||
| 135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01418.html#a72ffe9b324024906b65d3051ec1d199c">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#a72ffe9b324024906b65d3051ec1d199c">iterator</a>·=·Dune::GenericIterator<OverflowArray,·value_type>;</div> | ||
| 136 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01418.html#ad7feb14b245d1a17e13e690cf693aba7">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01418.html#ad7feb14b245d1a17e13e690cf693aba7">const_iterator</a>·=·Dune::GenericIterator<const·OverflowArray,·const·value_type>;</div> | ||
| 137 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··{}</div> |
| 138 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> | ||
| 139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">using·</span>OverflowBuffer·=·std::array<<a·class="code·hl_typedef"·href="a01418.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>,·maxSize-baseSize>;</div> | ||
| 140 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 141 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keywordtype">bool</span>·isNormalDerivative()<span·class="keyword">·const</span></div> |
| 142 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>< |