| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | ·1f1fda5446deb3a67be8ddd92377c673·91628·libdevel·optional·libdune-functions-dev_2.10.0-2_amd64.deb | 1 | ·1f1fda5446deb3a67be8ddd92377c673·91628·libdevel·optional·libdune-functions-dev_2.10.0-2_amd64.deb |
| 2 | · | 2 | ·5e782b39999e3d90c97615944d575d29·2609452·doc·optional·libdune-functions-doc_2.10.0-2_all.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2024-11-18·22:19:43.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-11-18·22:19:43.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0····13 | 2 | -rw-r--r--···0········0········0····13788·2024-11-18·22:19:43.000000·control.tar.xz |
| 3 | -rw-r--r--···0········0········0··2595 | 3 | -rw-r--r--···0········0········0··2595472·2024-11-18·22:19:43.000000·data.tar.xz |
| Offset 1, 12 lines modified | Offset 1, 14 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/a00002.html | 4 | usr/share/doc/libdune-functions-doc/doxygen/a00002.html |
| 5 | usr/share/doc/libdune-functions-doc/doxygen/a00002_source.html | 5 | usr/share/doc/libdune-functions-doc/doxygen/a00002_source.html |
| 6 | usr/share/doc/libdune-functions-doc/doxygen/a00005.html | ||
| 7 | usr/share/doc/libdune-functions-doc/doxygen/a00005_source.html | ||
| 6 | usr/share/doc/libdune-functions-doc/doxygen/a00008.html | 8 | usr/share/doc/libdune-functions-doc/doxygen/a00008.html |
| 7 | usr/share/doc/libdune-functions-doc/doxygen/a00008_source.html | 9 | usr/share/doc/libdune-functions-doc/doxygen/a00008_source.html |
| 8 | usr/share/doc/libdune-functions-doc/doxygen/a00011.html | 10 | usr/share/doc/libdune-functions-doc/doxygen/a00011.html |
| 9 | usr/share/doc/libdune-functions-doc/doxygen/a00011_source.html | 11 | usr/share/doc/libdune-functions-doc/doxygen/a00011_source.html |
| 10 | usr/share/doc/libdune-functions-doc/doxygen/a00014.html | 12 | usr/share/doc/libdune-functions-doc/doxygen/a00014.html |
| 11 | usr/share/doc/libdune-functions-doc/doxygen/a00014_source.html | 13 | usr/share/doc/libdune-functions-doc/doxygen/a00014_source.html |
| 12 | usr/share/doc/libdune-functions-doc/doxygen/a00017.html | 14 | usr/share/doc/libdune-functions-doc/doxygen/a00017.html |
| Offset 19, 16 lines modified | Offset 21, 14 lines modified | ||
| 19 | usr/share/doc/libdune-functions-doc/doxygen/a00026_source.html | 21 | usr/share/doc/libdune-functions-doc/doxygen/a00026_source.html |
| 20 | usr/share/doc/libdune-functions-doc/doxygen/a00029.html | 22 | usr/share/doc/libdune-functions-doc/doxygen/a00029.html |
| 21 | usr/share/doc/libdune-functions-doc/doxygen/a00029_source.html | 23 | usr/share/doc/libdune-functions-doc/doxygen/a00029_source.html |
| 22 | usr/share/doc/libdune-functions-doc/doxygen/a00032.html | 24 | usr/share/doc/libdune-functions-doc/doxygen/a00032.html |
| 23 | usr/share/doc/libdune-functions-doc/doxygen/a00032_source.html | 25 | usr/share/doc/libdune-functions-doc/doxygen/a00032_source.html |
| 24 | usr/share/doc/libdune-functions-doc/doxygen/a00035.html | 26 | usr/share/doc/libdune-functions-doc/doxygen/a00035.html |
| 25 | usr/share/doc/libdune-functions-doc/doxygen/a00035_source.html | 27 | usr/share/doc/libdune-functions-doc/doxygen/a00035_source.html |
| 26 | usr/share/doc/libdune-functions-doc/doxygen/a00038.html | ||
| 27 | usr/share/doc/libdune-functions-doc/doxygen/a00038_source.html | ||
| 28 | usr/share/doc/libdune-functions-doc/doxygen/a00041.html | 28 | usr/share/doc/libdune-functions-doc/doxygen/a00041.html |
| 29 | usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html | 29 | usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html |
| 30 | usr/share/doc/libdune-functions-doc/doxygen/a00044.html | 30 | usr/share/doc/libdune-functions-doc/doxygen/a00044.html |
| 31 | usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html | 31 | usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html |
| 32 | usr/share/doc/libdune-functions-doc/doxygen/a00047.html | 32 | usr/share/doc/libdune-functions-doc/doxygen/a00047.html |
| 33 | usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html | 33 | usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html |
| 34 | usr/share/doc/libdune-functions-doc/doxygen/a00050.html | 34 | usr/share/doc/libdune-functions-doc/doxygen/a00050.html |
| Offset 3, 144 lines modified | Offset 3, 144 lines modified | ||
| 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/ |
| 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/doc/ |
| 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/ |
| 6 | -rw-r--r--···0·root·········(0)·root·········(0)·····1032·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)·····1032·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/changelog.Debian.gz |
| 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····5502·2024-09-05·06:39:05.000000·./usr/share/doc/libdune-functions-doc/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····5502·2024-09-05·06:39:05.000000·./usr/share/doc/libdune-functions-doc/changelog.gz |
| 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····3358·2024-11-14·20:25:37.000000·./usr/share/doc/libdune-functions-doc/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····3358·2024-11-14·20:25:37.000000·./usr/share/doc/libdune-functions-doc/copyright |
| 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/ |
| 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8254·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002.html | ||
| 11 | -rw-r--r--···0·root·········(0)·root·········(0)····54827·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002_source.html | ||
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····8235·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008.html | ||
| 13 | -rw-r--r--···0·root·········(0)·root·········(0)····17577·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008_source.html | ||
| 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····8068·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011.html | ||
| 15 | -rw-r--r--···0·root·········(0)·root·········(0)····48738·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011_source.html | ||
| 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5920·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····5920·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002.html |
| 17 | -rw-r--r--···0·root·········(0)·root·········(0)····13339·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 11 | -rw-r--r--···0·root·········(0)·root·········(0)····13339·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002_source.html |
| 18 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7538·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00005.html |
| 19 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 13 | -rw-r--r--···0·root·········(0)·root·········(0)····39745·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00005_source.html |
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)·····4706·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4706·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008.html |
| 21 | -rw-r--r--···0·root·········(0)·root·········(0)····14586·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 15 | -rw-r--r--···0·root·········(0)·root·········(0)····14586·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008_source.html |
| 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····6406·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011.html | ||
| 17 | -rw-r--r--···0·root·········(0)·root·········(0)····29529·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011_source.html | ||
| 18 | -rw-r--r--···0·root·········(0)·root·········(0)·····8235·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00014.html | ||
| 19 | -rw-r--r--···0·root·········(0)·root·········(0)····17577·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00014_source.html | ||
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)·····5103·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00017.html | ||
| 21 | -rw-r--r--···0·root·········(0)·root·········(0)····23183·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00017_source.html | ||
| 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····5683·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a0002 | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····5683·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00020.html |
| 23 | -rw-r--r--···0·root·········(0)·root·········(0)····37242·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a0002 | 23 | -rw-r--r--···0·root·········(0)·root·········(0)····37242·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00020_source.html |
| 24 | -rw-r--r--···0·root·········(0)·root·········(0)·····8068·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00023.html | ||
| 25 | -rw-r--r--···0·root·········(0)·root·········(0)····48738·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00023_source.html | ||
| 24 | -rw-r--r--···0·root·········(0)·root·········(0)····10144·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026.html | 26 | -rw-r--r--···0·root·········(0)·root·········(0)····10144·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026.html |
| 25 | -rw-r--r--···0·root·········(0)·root·········(0)···136554·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026_source.html | 27 | -rw-r--r--···0·root·········(0)·root·········(0)···136554·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026_source.html |
| 26 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····6394·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00029.html |
| 27 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 29 | -rw-r--r--···0·root·········(0)·root·········(0)····11402·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00029_source.html |
| 28 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 30 | -rw-r--r--···0·root·········(0)·root·········(0)·····9887·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00032.html |
| 29 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····38530·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00032_source.html |
| 30 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····8254·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00035.html |
| 33 | -rw-r--r--···0·root·········(0)·root·········(0)····54827·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00035_source.html | ||
| 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····7848·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041.html | ||
| 31 | -rw-r--r--···0·root·········(0)·root·········(0)····16631·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 35 | -rw-r--r--···0·root·········(0)·root·········(0)····16631·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html |
| 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····5525·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00038.html | ||
| 33 | -rw-r--r--···0·root·········(0)·root·········(0)····27268·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00038_source.html | ||
| 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····6896·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041.html | ||
| 35 | -rw-r--r--···0·root·········(0)·root·········(0)····48771·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html | ||
| 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····6 | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····6290·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.html |
| 37 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 37 | -rw-r--r--···0·root·········(0)·root·········(0)····23469·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html |
| 38 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 38 | -rw-r--r--···0·root·········(0)·root·········(0)·····5078·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.html |
| 39 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····11203·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html |
| 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····5657·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.html |
| 41 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····12836·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html |
| 42 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 42 | -rw-r--r--···0·root·········(0)·root·········(0)····10246·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.html |
| 43 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····53025·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html |
| 44 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····7865·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.html |
| 45 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····28322·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html |
| 46 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 46 | -rw-r--r--···0·root·········(0)·root·········(0)····15790·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.html |
| 47 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 47 | -rw-r--r--···0·root·········(0)·root·········(0)····50423·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html |
| 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····8790·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.html | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····8790·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.html |
| 49 | -rw-r--r--···0·root·········(0)·root·········(0)····13441·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html | 49 | -rw-r--r--···0·root·········(0)·root·········(0)····13441·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html |
| 50 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····5268·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065.html |
| 51 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 51 | -rw-r--r--···0·root·········(0)·root·········(0)····31670·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html |
| 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5333·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068.html | ||
| 53 | -rw-r--r--···0·root·········(0)·root·········(0)····52266·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html | ||
| 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····6160·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071.html | ||
| 55 | -rw-r--r--···0·root·········(0)·root·········(0)····28132·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html | ||
| 56 | -rw-r--r--···0·root·········(0)·root·········(0)····23371·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.html | ||
| 57 | -rw-r--r--···0·root·········(0)·root·········(0)····71415·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | ||
| 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····6961·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.html | ||
| 59 | -rw-r--r--···0·root·········(0)·root·········(0)····20704·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html | ||
| 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····6896·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.html | ||
| 61 | -rw-r--r--···0·root·········(0)·root·········(0)····48771·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html | ||
| 62 | -rw-r--r--···0·root·········(0)·root·········(0)·····5525·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.html | ||
| 63 | -rw-r--r--···0·root·········(0)·root·········(0)····27268·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html | ||
| 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····4592·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086.html | ||
| 65 | -rw-r--r--···0·root·········(0)·root·········(0)····18943·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html | ||
| 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····7754·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 66 | -rw-r--r--···0·root·········(0)·root·········(0)·····7754·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089.html |
| 53 | -rw-r--r--···0·root·········(0)·root·········(0)····29915·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····29915·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089_source.html |
| 54 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····4585·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092.html |
| 55 | -rw-r--r--···0·root·········(0)·root·········(0)····11203·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html | ||
| 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····7865·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.html | ||
| 57 | -rw-r--r--···0·root·········(0)·root·········(0)····28322·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | ||
| 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····5657·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.html | ||
| 59 | -rw-r--r--···0·root·········(0)·root·········(0)····12836·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html | ||
| 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····6290·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.html | ||
| 61 | -rw-r--r--···0·root·········(0)·root·········(0)····23469·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html | ||
| 62 | -rw-r--r--···0·root·········(0)·root·········(0)····15790·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.html | ||
| 63 | -rw-r--r--···0·root·········(0)·root·········(0)····50423·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html | ||
| 64 | -rw-r--r--···0·root·········(0)·root·········(0)····10246·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086.html | ||
| 65 | -rw-r--r--···0·root·········(0)·root·········(0)····53025·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html | ||
| 66 | -rw-r--r--···0·root·········(0)·root·········(0)·····6394·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089.html | ||
| 67 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 69 | -rw-r--r--···0·root·········(0)·root·········(0)····14592·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html |
| 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····9887·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092.html | ||
| 69 | -rw-r--r--···0·root·········(0)·root·········(0)····38530·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html | ||
| 70 | -rw-r--r--···0·root·········(0)·root·········(0)·····8627·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095.html | 70 | -rw-r--r--···0·root·········(0)·root·········(0)·····8627·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095.html |
| 71 | -rw-r--r--···0·root·········(0)·root·········(0)····55489·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)····55489·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html |
| 72 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 72 | -rw-r--r--···0·root·········(0)·root·········(0)····10935·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098.html |
| 73 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)···221442·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html |
| 74 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 74 | -rw-r--r--···0·root·········(0)·root·········(0)·····9035·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101.html |
| 75 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 75 | -rw-r--r--···0·root·········(0)·root·········(0)····36744·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html |
| 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····8625·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104.html |
| 77 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 77 | -rw-r--r--···0·root·········(0)·root·········(0)····60013·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html |
| 78 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 78 | -rw-r--r--···0·root·········(0)·root·········(0)·····7430·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107.html |
| 79 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····35449·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00107_source.html |
| 80 | -rw-r--r--···0·root·········(0)·root·········(0)·····7186·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00110.html | 80 | -rw-r--r--···0·root·········(0)·root·········(0)·····7186·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00110.html |
| 81 | -rw-r--r--···0·root·········(0)·root·········(0)····31410·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00110_source.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)····31410·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00110_source.html |
| 82 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····7323·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113.html |
| 83 | -rw-r--r--···0·root·········(0)·root·········(0)····24 | 83 | -rw-r--r--···0·root·········(0)·root·········(0)····24861·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00113_source.html |
| 84 | -rw-r--r--···0·root·········(0)·root·········(0)····10935·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116.html | ||
| 85 | -rw-r--r--···0·root·········(0)·root·········(0)···221442·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html | ||
| 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····86 | 84 | -rw-r--r--···0·root·········(0)·root·········(0)·····8657·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116.html |
| 87 | -rw-r--r--···0·root·········(0)·root·········(0)····44628·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html | ||
| 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8080·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122.html | ||
| 89 | -rw-r--r--···0·root·········(0)·root·········(0)····27402·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html | ||
| 90 | -rw-r--r--···0·root·········(0)·root·········(0)·····8657·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125.html | ||
| 91 | -rw-r--r--···0·root·········(0)·root·········(0)····71257·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a001 | 85 | -rw-r--r--···0·root·········(0)·root·········(0)····71257·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00116_source.html |
| 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7169·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119.html | ||
| 87 | -rw-r--r--···0·root·········(0)·root·········(0)····28654·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00119_source.html | ||
| 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····86 | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8654·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122.html |
| 93 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 89 | -rw-r--r--···0·root·········(0)·root·········(0)····39119·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00122_source.html |
| 94 | -rw-r--r--···0·root·········(0)·root·········(0)·····9035·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131.html | ||
| 95 | -rw-r--r--···0·root·········(0)·root·········(0)····36744·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html | ||
| 96 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 90 | -rw-r--r--···0·root·········(0)·root·········(0)····15549·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125.html |
| 97 | -rw-r--r--···0·root·········(0)·root·········(0)····5 | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····51686·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00125_source.html |
| 98 | -rw-r--r--···0·root·········(0)·root·········(0)·····8357·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a001 | 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····8357·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128.html |
| 99 | -rw-r--r--···0·root·········(0)·root·········(0)····22357·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a001 | 93 | -rw-r--r--···0·root·········(0)·root·········(0)····22357·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00128_source.html |
| 94 | -rw-r--r--···0·root·········(0)·root·········(0)·····8153·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131.html | ||
| 95 | -rw-r--r--···0·root·········(0)·root·········(0)····47706·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00131_source.html | ||
| 96 | -rw-r--r--···0·root·········(0)·root·········(0)·····7058·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134.html | ||
| 97 | -rw-r--r--···0·root·········(0)·root·········(0)····85683·2024-11-18·22:19:43.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00134_source.html | ||
| Max diff block lines reached; 14043/41042 bytes (34.22%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·localderivativetraits.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 61 lines modified | Offset 65, 44 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | ||
| 76 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
| 77 | <a·href="#func-members">Functions</a>··</div> | ||
| 78 | ··<div·class="headertitle"><div·class="title"> | 78 | ··<div·class="headertitle"><div·class="title">localderivativetraits.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 79 | </div><!--header--> |
| 80 | <div·class="contents"> | 80 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·<cstddef></code><br·/> | ||
| 82 | <code>#include·<utility></code><br·/> | ||
| 83 | <code>#include·<type_traits></code><br·/> | ||
| 84 | <code>#include·<dune/common/std/type_traits.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 87 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a000 | 81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 90 | </div> | 82 | </div> |
| 91 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
| 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 86 | Classes</h2></td></tr> | ||
| 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01983.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·></a></td></tr> | ||
| 88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·traits·for·local·functions.··<a·href="a01983.html#details">More...</a><br·/></td></tr> | ||
| 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01987.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·></a></td></tr> | ||
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01991.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)></a></td></tr> | ||
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 94 | </table><table·class="memberdecls"> | ||
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 94 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
| 95 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | </table><table·class="memberdecls"> | ||
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 101 | Functions</h2></td></tr> | ||
| 102 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"·id="r_ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
| 103 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Dune::Functions::fieldTypes</a>·()</td></tr> | ||
| 104 | <tr·class="memdesc:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·list·of·field·types·in·container.··<br·/></td></tr> | ||
| 105 | <tr·class="separator:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 106 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"·id="r_af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
| 107 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#af8b09a0411c63ab6a6500a7b6edb9dfb">Dune::Functions::hasUniqueFieldType</a>·()</td></tr> | ||
| 108 | <tr·class="memdesc:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·container·has·a·unique·field·type.··<br·/></td></tr> | ||
| 109 | <tr·class="separator:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"·id="r_gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> | ||
| 111 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a>·(Vector·&v)</td></tr> | ||
| 112 | <tr·class="memdesc:gae5b9f62f85e3d638423142695a74d056"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:gae5b9f62f85e3d638423142695a74d056"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"·id="r_ga50a181637103e7abc011235a9fd30611"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> | ||
| 115 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga50a181637103e7abc011235a9fd30611">Dune::Functions::istlVectorBackend</a>·(const·Vector·&v)</td></tr> | ||
| 116 | <tr·class="memdesc:ga50a181637103e7abc011235a9fd30611"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·const·ISTL·like·containers.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:ga50a181637103e7abc011235a9fd30611"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | </table> | 101 | </table> |
| 119 | </div><!--·contents·--> | 102 | </div><!--·contents·--> |
| 120 | <!--·start·footer·part·--> | 103 | <!--·start·footer·part·--> |
| 121 | <hr·class="footer"/><address·class="footer"><small> | 104 | <hr·class="footer"/><address·class="footer"><small> |
| 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 123 | </small></address> | 106 | </small></address> |
| 124 | </body> | 107 | </body> |
| Offset 1, 44 lines modified | Offset 1, 28 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | ||
| 8 | Classes·|·Namespaces | ||
| 9 | localderivativetraits.hh·File·Reference | ||
| 7 | ····*·backends | ||
| 8 | Namespaces·|·Functions | ||
| 9 | istlvectorbackend.hh·File·Reference | ||
| 10 | #include·<cstddef> | ||
| 11 | #include·<utility> | ||
| 12 | #include·<type_traits> | ||
| 13 | #include·<dune/common/std/type_traits.hh> | ||
| 14 | #include·<dune/common/indices.hh> | ||
| 15 | #include·<dune/common/hybridutilities.hh> | ||
| 16 | #include·<dune/common/concept.hh> | ||
| 17 | #include·<dune/functions/common/ | 10 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 18 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | ||
| 13 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits_> | ||
| 14 | ········Derivative·traits·for·local·functions.·More... | ||
| 20 | Namespaces | ||
| 21 | namespace· ·Dune | ||
| 22 | |||
| 23 | namespace· ·Dune::Functions | ||
| 24 | 15 | ||
| 16 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 17 | ·········>::Traits<_Signature_> | ||
| 25 | Functions | ||
| 26 | template<class·V·> | ||
| 27 | constexpr·auto ·Dune::Functions::fieldTypes·() | ||
| 28 | ···············Generate·list·of·field·types·in·container. | ||
| 29 | 18 | ||
| 19 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 20 | ·········>::Traits<_R(LocalDomain)> | ||
| 30 | template<class·V·> | ||
| 31 | constexpr·bool ·Dune::Functions::hasUniqueFieldType·() | ||
| 32 | ···············Check·if·container·has·a·unique·field·type. | ||
| 33 | 21 | ||
| 22 | Namespaces | ||
| 23 | namespace· ·Dune | ||
| 34 | template<class·Vector·> | ||
| 35 | ··········auto ·Dune::Functions::istlVectorBackend·(Vector·&v) | ||
| 36 | ···············Return·a·vector·backend·wrapping·non-const·ISTL·like | ||
| 37 | ················containers. | ||
| 38 | 24 | ||
| 25 | namespace· ·Dune::Functions | ||
| 39 | template<class·Vector·> | ||
| 40 | ··········auto ·Dune::Functions::istlVectorBackend·(const·Vector·&v) | ||
| 41 | ···············Return·a·vector·backend·wrapping·const·ISTL·like·containers. | ||
| 42 | 26 | ||
| 43 | =============================================================================== | 27 | =============================================================================== |
| 44 | ·····Generated·by [doxygen]·1.9.8 | 28 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·localderivativetraits.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 352 lines modified | Offset 70, 76 lines modified | ||
| 70 | </div> | 70 | </div> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">localderivativetraits.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00002.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00002.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utilit | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/std/type_traits.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l000 | 96 | <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="a00224.html">Dune</a>·{</div> |
| 106 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 107 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 109 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">class·</span>V,</div> | ||
| 111 | <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> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword"> | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits></div> |
| 101 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};"> | ||
| 102 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01983.html">···31</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01983.html">LocalDerivativeTraits</a></div> | ||
| 113 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keywordflow">return</span>·TypeList<V>{};</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 104 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01983.html#a2dc0b1d49311457bb686a04972f8aee4">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01983.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>·=·<span·class="keyword">typename</span[·...·truncated·by·diffoscope;·len:·29,·SHA:·3fd1f2be254bc9edd8e4a7281ac00be0d784f0c9f62a9eefe9148e3730dbad18·...·]</div> |
| 105 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
| 116 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
| 117 | <div·class="line"><a·id="l0003 | 107 | <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> |
| 118 | <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> | ||
| 119 | <div·class=" | 108 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> |
| 109 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01987.html">···37</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01987.html">Traits</a></div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | 110 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> |
| 111 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">···39</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01083.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a>;</div> | ||
| 121 | <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> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[std::size_t{0}]);</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordflow">else</span></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">auto</span>·indexRange·=·<span·class="keyword">typename</span>·<span·class="keyword">decltype</span>(range(Hybrid::size(v)))::integer_sequence();</div> | ||
| 126 | <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> | ||
| 127 | <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="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[i])...));</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····},·indexRange);</div> | ||
| 129 | <div·class="line"><a·id="l0004 | 112 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··};</div> |
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}·<span·class="comment">//·namespace·Impl</span></div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 136 | <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> | ||
| 137 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">···67</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>()</div> | ||
| 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{</div> | ||
| 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">return</span>·<span·class="keyword">decltype</span>(Impl::fieldTypes(std::declval<V>())){};</div> | ||
| 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}</div> | ||
| 142 | </div> | 113 | </div> |
| 143 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 144 | <div·class="line"><a·id="l000 | 115 | <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> |
| 145 | <div·class="foldopen"·id="foldopen000 | 116 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> |
| 146 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01991.html">···43</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01987.html">Traits</a><R(<a·class="code·hl_typedef"·href="a01983.html#a2dc0b1d49311457bb[·...·truncated·by·diffoscope;·len:·37,·SHA:·e3ba45f6130347052cc97cf5edfa2e118dd7bd1321fb8b01d1cef460cba96b96·...·]</div> |
| 147 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> |
| 148 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01991.html#a80a14d6e3599853298641c023ff34acd">···45</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01991.html#a80a14d6e3599853298641c023ff34acd">Range</a>[·...·truncated·by·diffoscope;·len:·249,·SHA:·99e520ecbdffa09ffa1add2b247525fbd725a03f6b828ccedc49307fa60e08c4·...·];</div> |
| 149 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div> |
| 150 | </div> | 121 | </div> |
| 151 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
| 152 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 153 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>};</div> |
| 154 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 155 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">/*</span></div> | ||
| 157 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">·*·\brief·A·wrapper·providing·multi-index·access·to·vector·entries</span></div> | ||
| 158 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">·*</span></div> | ||
| 159 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">·*·The·wrapped·vector·type·should·be·an·istl·like·random</span></div> | ||
| 160 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">·*·access·container·providing·operator[]·and·size()·methods.</span></div> | ||
| 161 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="comment">·*·For·classical·containers·this·should·support·indices</span></div> | ||
| 162 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="comment">·*·of·type·std::size_t.·For·multi-type·containers·indices</span></div> | ||
| 163 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">·*·of·the·form·Dune::index_constant<i>·should·be·supported</span></div> | ||
| 164 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">·*·while·size()·should·be·a·static·constexpr·method.</span></div> | ||
| 165 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">·*</span></div> | ||
| 166 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">·*·When·resolving·multi-indices·the·backend·appends·indices</span></div> | ||
| 167 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">·*·using·operator[]·as·long·as·the·result·is·not·a·scalar.</span></div> | ||
| 168 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">·*·If·this·exhausts·the·digits·of·the·multi-index,·additional</span></div> | ||
| 169 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">·*·zero`s·are·appended.</span></div> | ||
| 170 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">·*</span></div> | ||
| 171 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">·*·\tparam·V·Type·of·the·raw·wrapper·vector</span></div> | ||
| 172 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="comment">·*/</span></div> | ||
| 173 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
| 174 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="keyword">class·</span>ISTLVectorBackend</div> | ||
| Max diff block lines reached; 8299/62196 bytes (13.34%) of diff not shown. | |||
| Offset 1, 372 lines modified | Offset 1, 77 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·backends | ||
| 8 | 7 | ····*·gridfunctions | |
| 8 | localderivativetraits.hh | ||
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<cstddef> | ||
| 22 | 11#include·<utility> | ||
| 23 | 1 | 21 | 10 |
| 22 | 11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 23 | 12 | ||
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/common/std/type_traits.hh> | ||
| 26 | 15#include·<dune/common/indices.hh> | ||
| 27 | 16#include·<dune/common/hybridutilities.hh> | ||
| 28 | 17#include·<dune/common/concept.hh> | ||
| 29 | 18 | ||
| 30 | 19#include·<dune/functions/common/indexaccess.hh> | ||
| 31 | 20#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 25 | 14namespace·Dune·{ | |
| 35 | 26 | 15namespace·Functions·{ | |
| 27 | 16 | ||
| 28 | 17 | ||
| 29 | 30template<class·EntitySet,·template<class>·class | ||
| 30 | DerivativeTraits=DefaultDerivativeTraits> | ||
| 31 | 31struct·LocalDerivativeTraits | ||
| 32 | 32{ | ||
| 33 | 33·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 34 | 34·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 35 | 35 | ||
| 36 | 36·template<class·Signature> | ||
| 37 | 37·struct·Traits | ||
| 36 | 25 | ||
| 37 | 26namespace·Impl·{ | ||
| 38 | 27 | ||
| 39 | 28template<class·V, | ||
| 40 | 29·std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>()·, | ||
| 41 | int>·=·0> | ||
| 42 | 30auto·fieldTypes(V&&·/*v*/) | ||
| 43 | 31{ | ||
| 44 | 32·return·TypeList<V>{}; | ||
| 45 | 33} | ||
| 46 | 34 | ||
| 47 | 35template<class·V, | ||
| 48 | 36·std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(),·int> | ||
| 49 | =·0> | ||
| 50 | 37auto·fieldTypes(V&&·v) | ||
| 51 | 38{ | 38 | 38·{ |
| 52 | 39·if·constexpr·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>, | ||
| 53 | V>()) | ||
| 54 | 40·return·fieldTypes(v[std::size_t{0}]); | ||
| 55 | 39 | 39·typedef·InvalidRange·Range; | |
| 40 | 40·}; | ||
| 41 | 41 | ||
| 42 | 42·template<class·R> | ||
| 43 | 43·struct·Traits<R(LocalDomain)> | ||
| 56 | 4 | 44 | 44·{ |
| 45 | 45·using·Range·=·typename·DerivativeTraits<R(Domain)>::Range; | ||
| 46 | 46·}; | ||
| 57 | 43·auto·indexRange·=·typename·decltype(range(Hybrid::size(v)))::integer_ | ||
| 58 | sequence(); | ||
| 59 | 44·return·unpackIntegerSequence([&](auto...·i)·{ | ||
| 60 | 45·return·uniqueTypeList(std::tuple_cat(fieldTypes(v[i])...)); | ||
| 61 | 46·},·indexRange); | ||
| 62 | 47 | 47 | 47}; |
| 63 | 48 | 48 | 48 |
| 64 | 49 | 49 | 49 |
| 65 | 50}·//·namespace· | 50 | 50}}·//·namespace·Dune::Functions |
| 66 | 51 | 51 | 51 |
| 52 | 52#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
| 53 | defaultderivativetraits.hh | ||
| 67 | 52 | ||
| 68 | 53 | ||
| 69 | 66template<class·V> | ||
| 70 | 67constexpr·auto·fieldTypes() | ||
| 71 | 68{ | ||
| 72 | 69·return·decltype(Impl::fieldTypes(std::declval<V>())){}; | ||
| 73 | 70} | ||
| 74 | 71 | ||
| 75 | 77template<class·V> | ||
| 76 | 78constexpr·bool·hasUniqueFieldType() | ||
| 77 | 79{ | ||
| 78 | 80·return·std::tuple_size_v<std::decay_t<decltype(fieldTypes<V>())>>·==1; | ||
| 79 | 81} | ||
| 80 | 82 | ||
| 81 | 83 | ||
| 82 | 84 | ||
| 83 | 85namespace·Impl·{ | ||
| 84 | 86 | ||
| 85 | 87/* | ||
| 86 | 88·*·\brief·A·wrapper·providing·multi-index·access·to·vector·entries | ||
| 87 | 89·* | ||
| 88 | 90·*·The·wrapped·vector·type·should·be·an·istl·like·random | ||
| 89 | 91·*·access·container·providing·operator[]·and·size()·methods. | ||
| 90 | 92·*·For·classical·containers·this·should·support·indices | ||
| 91 | 93·*·of·type·std::size_t.·For·multi-type·containers·indices | ||
| 92 | 94·*·of·the·form·Dune::index_constant<i>·should·be·supported | ||
| 93 | 95·*·while·size()·should·be·a·static·constexpr·method. | ||
| 94 | 96·* | ||
| 95 | 97·*·When·resolving·multi-indices·the·backend·appends·indices | ||
| 96 | 98·*·using·operator[]·as·long·as·the·result·is·not·a·scalar. | ||
| 97 | 99·*·If·this·exhausts·the·digits·of·the·multi-index,·additional | ||
| 98 | 100·*·zero`s·are·appended. | ||
| 99 | 101·* | ||
| 100 | 102·*·\tparam·V·Type·of·the·raw·wrapper·vector | ||
| 101 | 103·*/ | ||
| 102 | 104template<class·V> | ||
| 103 | 105class·ISTLVectorBackend | ||
| 104 | 106{ | ||
| Max diff block lines reached; 1541/13299 bytes (11.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·grid | 8 | <title>dune-functions:·gridfunction_imp.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 53 lines modified | Offset 70, 30 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 78 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 80 | ··<div·class="headertitle"><div·class="title">grid | 78 | ··<div·class="headertitle"><div·class="title">gridfunction_imp.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 79 | </div><!--header--> |
| 82 | <div·class="contents"> | 80 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<memory></code><br·/> | ||
| 84 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a000 | 81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a000 | 82 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a000 | 83 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 88 | </div> | 84 | </div> |
| 89 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 90 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 92 | Classes</h2></td></tr> | ||
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01975.html">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01979.html">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·GridView.··<a·href="a01979.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | </table><table·class="memberdecls"> | ||
| 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 100 | Namespaces</h2></td></tr> | 88 | Namespaces</h2></td></tr> |
| 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | </table><table·class="memberdecls"> | ||
| 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 107 | Functions</h2></td></tr> | ||
| 108 | <tr·class="memitem: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> | ||
| 109 | <tr·class="memitem:a34ad74c81e35af361861f667bf9742c0"><td·class="memTemplItemLeft"·align="right"·valign="top">std::decay_t<·F·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
| 110 | <tr·class="memdesc:a34ad74c81e35af361861f667bf9742c0"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a01975.html">GridViewFunction</a>·from·function·and·grid·view.··<br·/></td></tr> | ||
| 111 | <tr·class="separator:a34ad74c81e35af361861f667bf9742c0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | <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> | ||
| 113 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a34f2d140a1fed46862286f68d26c9975">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)·->·decltype(<a·class="el"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<·F·>(f),·gridView))</td></tr> | ||
| 114 | <tr·class="memdesc:a34f2d140a1fed46862286f68d26c9975"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a01975.html">GridViewFunction</a>·from·function·and·grid·view.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:a34f2d140a1fed46862286f68d26c9975"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | </table> | 93 | </table> |
| 117 | </div><!--·contents·--> | 94 | </div><!--·contents·--> |
| 118 | <!--·start·footer·part·--> | 95 | <!--·start·footer·part·--> |
| 119 | <hr·class="footer"/><address·class="footer"><small> | 96 | <hr·class="footer"/><address·class="footer"><small> |
| 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 121 | </small></address> | 98 | </small></address> |
| 122 | </body> | 99 | </body> |
| Offset 1, 46 lines modified | Offset 1, 20 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | 8 | Namespaces | |
| 9 | grid | 9 | gridfunction_imp.hh·File·Reference |
| 10 | #include·<dune/functions/common/type_traits.hh> | ||
| 11 | #include·<dune/functions/common/interfaces.hh> | ||
| 12 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 10 | #include·<memory> | ||
| 11 | #include·<dune/common/concept.hh> | ||
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 14 | #include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 15 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 16 | Classes | ||
| 17 | class· ·Dune::Functions::GridViewFunction<_Signature,_GridView, | ||
| 18 | ········DerivativeTraits,_bufferSize_> | ||
| 19 | |||
| 20 | class· ·Dune::Functions::GridViewFunction<_Range(Domain),_GV,_DerivativeTraits, | ||
| 21 | ········bufferSize_> | ||
| 22 | ·······Wrapper·class·for·functions·defined·on·a·GridView.·More... | ||
| 23 | |||
| 24 | Namespaces | 14 | Namespaces |
| 25 | namespace· ·Dune | 15 | namespace· ·Dune |
| 26 | 16 | ||
| 27 | namespace· ·Dune::Functions | 17 | namespace· ·Dune::Functions |
| 28 | 18 | ||
| 29 | Functions | ||
| 30 | template<class·F·,·class·GridView·,·std::enable_if_t<·models<·Imp:: | ||
| 31 | HasFreeLocalFunction,·F·>(),·int·>·=·0> | ||
| 32 | std::decay_t<·F·> ·Dune::Functions::makeGridViewFunction·(F·&&f,·const·GridView | ||
| 33 | ···················&gridView) | ||
| 34 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 35 | ···················and·grid·view. | ||
| 36 | |||
| 37 | template<class·F·,·class·GridView·,·std::enable_if_t<·not(models<·Imp:: | ||
| 38 | HasFreeLocalFunction,·F·>()),·int·>·=·0> | ||
| 39 | ·············auto ·Dune::Functions::makeGridViewFunction·(F·&&f,·const·GridView | ||
| 40 | ···················&gridView)·->·decltype(makeAnalyticGridViewFunction(std:: | ||
| 41 | ···················forward<·F·>(f),·gridView)) | ||
| 42 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 43 | ···················and·grid·view. | ||
| 44 | |||
| 45 | =============================================================================== | 19 | =============================================================================== |
| 46 | ·····Generated·by [doxygen]·1.9.8 | 20 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·grid | 8 | <title>dune-functions:·gridfunction_imp.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 103 lines modified | Offset 74, 92 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">grid | 80 | ··<div·class="headertitle"><div·class="title">gridfunction_imp.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memor | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/interfaces.hh</a>></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00011.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 100 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 101 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 102 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 103 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>HasFreeLocalFunction</div> |
| 106 | <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=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 107 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> | ||
| 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01975.html">···25</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01975.html">GridViewFunction</a></div> | ||
| 109 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> |
| 110 | </div> | 104 | <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> |
| 105 | <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> | ||
| 111 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 106 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····localFunction(f)</div> |
| 112 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 107 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··);</div> |
| 113 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>};</div> |
| 114 | <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> | ||
| 115 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> | ||
| 116 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01979.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01975.html">GridViewFunction</a><Range(Domain),·GV,·DerivativeTraits,·bufferSize>·:</div> | ||
| 117 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 110 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 113 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//</span></div> | ||
| 114 | <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> | ||
| 115 | <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> | ||
| 116 | <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> | ||
| 117 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span>GridFunctionWrapperInterface·:</div> | ||
| 118 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
| 119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> | ||
| 120 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> | ||
| 121 | <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> | ||
| 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 123 | <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> | ||
| 124 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 125 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span> | 126 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
| 119 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span> | 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> |
| 128 | <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> | ||
| 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>GridFunctionWrapperImplementation·:</div> | ||
| 130 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
| 131 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> | ||
| 132 | <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> | ||
| 120 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">public</span>:</div> |
| 121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01979.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01979.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">GridView</a>·=·GV;</div> | ||
| 122 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 123 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 124 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> | ||
| 125 | </div> | ||
| 126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 129 | <div·class="line"><a·id="l000 | 136 | <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> |
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">··</span>{</div> | ||
| 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·localFunction(this->get());</div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 143 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·this->get().entitySet();</div> | ||
| 144 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> | ||
| 145 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>};</div> | ||
| 146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 147 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>· | 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 131 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span> | 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}}}·<span·class="comment">//·namespace·Dune::Functions::Imp</span></div> |
| 132 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
| 133 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
| 134 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">···72</a></span>··<a·class="code·hl_function"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
| 135 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span> | 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 136 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">return</span>·std::forward<F>(f);</div> | ||
| 137 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> | ||
| 138 | </div> | ||
| 139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> | ||
| 143 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··std::enable_if_t<</div> | ||
| 144 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····not(models<·Imp::HasFreeLocalFunction,·F>())·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 145 | <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> | ||
| 146 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00225.html#a34f2d140a1fed46862286f68d26c9975">···97</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
| 147 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·gridView))</div> | ||
| Max diff block lines reached; 1823/25552 bytes (7.13%) of diff not shown. | |||
| Offset 1, 109 lines modified | Offset 1, 95 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | grid | 8 | gridfunction_imp.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<memory> | ||
| 22 | 11 | ||
| 23 | 1 | 21 | 10#include·<dune/functions/common/type_traits.hh> |
| 22 | 11#include·<dune/functions/common/interfaces.hh> | ||
| 23 | 12#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14 | ||
| 26 | 15 | ||
| 25 | 14#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 26 | 15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 27 | 16#include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 28 | 17 | ||
| 29 | 18 | ||
| 30 | 1 | 27 | 16namespace·Dune·{ |
| 31 | 28 | 17namespace·Functions·{ | |
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24template<class·Signature,·class·GridView,·template<class>·class | ||
| 36 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 37 | 25class·GridViewFunction | ||
| 38 | 26{}; | ||
| 39 | 27 | ||
| 40 | 28 | ||
| 41 | 29 | ||
| 42 | 44template<class·Range,·class·Domain,·class·GV,·template<class>·class | ||
| 43 | DerivativeTraits,·size_t·bufferSize> | ||
| 44 | 45class·GridViewFunction<Range(Domain),·GV,·DerivativeTraits,·bufferSize>·: | ||
| 45 | 46·public·GridFunction<Range(Domain),·GridViewEntitySet<GV,·0>, | ||
| 46 | DerivativeTraits,·bufferSize> | ||
| 47 | 47{ | ||
| 48 | 48·using·Base·=·GridFunction<Range(Domain),·GridViewEntitySet<GV,_0>, | ||
| 49 | 29 | 18namespace·Imp·{ | |
| 30 | 19 | ||
| 31 | 23struct·HasFreeLocalFunction | ||
| 32 | 24{ | ||
| 33 | 25·template<class·F> | ||
| 34 | 26·auto·require(F&&·f)·->·decltype( | ||
| 35 | 27·localFunction(f) | ||
| 36 | 28·); | ||
| 37 | 29}; | ||
| 38 | 30 | ||
| 39 | 31 | ||
| 40 | 32 | ||
| 41 | 33//·Interface·of·type·erasure·wrapper | ||
| 42 | 34// | ||
| 43 | 35//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 44 | ...) | ||
| 45 | 36//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 46 | 37template<class·Signature,·class·DerivativeInterface,·class | ||
| 47 | LocalFunctionInterface,·class·EntitySet> | ||
| 48 | 38class·GridFunctionWrapperInterface·: | ||
| 49 | 39·public·DifferentiableFunctionWrapperInterface<Signature, | ||
| 50 | DerivativeInterface> | ||
| 51 | 40{ | ||
| 50 | 4 | 52 | 41public: |
| 51 | 50·using·GridView·=·GV; | ||
| 52 | 53 | 42·virtual·LocalFunctionInterface·wrappedLocalFunction()·const·=·0; | |
| 54 | 43 | ||
| 55 | 44·virtual·const·EntitySet&·wrappedEntitySet()·const·=·0; | ||
| 56 | 45}; | ||
| 57 | 46 | ||
| 58 | 47 | ||
| 59 | 48//·Implementation·of·type·erasure·wrapper | ||
| 60 | 49template<class·Signature,·class·DerivativeInterface,·class | ||
| 61 | LocalFunctionInterface,·class·EntitySet,·class·B> | ||
| 62 | 50class·GridFunctionWrapperImplementation·: | ||
| 63 | 51·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 64 | DerivativeInterface,·B> | ||
| 65 | 52{ | ||
| 66 | 53·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 67 | DerivativeInterface,·B>; | ||
| 68 | 54public: | ||
| 53 | 5 | 69 | 55·using·Base::Base; |
| 54 | 53}; | ||
| 55 | 54 | ||
| 56 | 55 | ||
| 57 | 56 | 70 | 56 |
| 58 | 68template<class·F,·class·GridView, | ||
| 59 | 69·std::enable_if_t< | ||
| 60 | 70·models<·Imp::HasFreeLocalFunction,·F>()·,·int>·=·0> | ||
| 61 | 71std::decay_t<F> | ||
| 62 | 7 | 71 | 57·virtual·LocalFunctionInterface·wrappedLocalFunction()·const |
| 72 | 58·{ | ||
| 73 | 59·return·localFunction(this->get()); | ||
| 74 | 60·} | ||
| 75 | 61 | ||
| 76 | 62·virtual·const·EntitySet&·wrappedEntitySet()·const | ||
| 77 | 63·{ | ||
| 78 | 64·return·this->get().entitySet(); | ||
| 79 | 65·} | ||
| 80 | 66}; | ||
| 81 | 67 | ||
| 82 | 68 | ||
| 83 | 69 | ||
| 84 | 70}}}·//·namespace·Dune::Functions::Imp | ||
| 85 | 71 | ||
| 86 | 72 | ||
| 63 | 73 | 87 | 73 |
| 64 | 74·return·std::forward<F>(f); | ||
| 65 | 75} | ||
| 66 | 76 | ||
| 67 | 77 | ||
| 68 | 78 | ||
| 69 | 94template<class·F,·class·GridView, | ||
| 70 | 95·std::enable_if_t< | ||
| 71 | 96·not(models<·Imp::HasFreeLocalFunction,·F>())·,·int>·=·0> | ||
| Max diff block lines reached; 781/5353 bytes (14.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 54 lines modified | Offset 71, 44 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">gridfunction.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 80 | </div><!--header--> |
| 82 | <div·class="contents"> | 81 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 84 | <code>#include·<optional></code><br·/> | ||
| 85 | <code>#include·<dune/common/copyableoptional.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 83 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a000 | 84 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a000 | 85 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a000 | 86 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a000 | 87 | <code>#include·<<a·class="el"·href="a00071_source.html">dune/functions/common/localfunction.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a000 | 89 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00008_source.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></code><br·/> | ||
| 93 | </div> | 91 | </div> |
| 94 | <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 95 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
| 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 97 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01947.html">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01955.html">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·></a></td></tr> |
| 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·Grid.··<a·href="a01955.html#details">More...</a><br·/></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | </table><table·class="memberdecls"> | 101 | </table><table·class="memberdecls"> |
| 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 103 | Namespaces</h2></td></tr> | 103 | Namespaces</h2></td></tr> |
| 104 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 104 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 106 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | </table><table·class="memberdecls"> | ||
| 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 110 | Functions</h2></td></tr> | ||
| 111 | <tr·class="memitem: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> | ||
| 112 | <tr·class="memitem:a4982d31e3f878344c48b9825e82a4426"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a4982d31e3f878344c48b9825e82a4426">Dune::Functions::AnalyticGridViewFunction</a>·(const·F·&,·const·GridView·&)·->·<a·class="el"·href="a01895.html">AnalyticGridViewFunction</a><·Range(Domain),·GridView,·F·></td></tr> | ||
| 113 | <tr·class="separator:a4982d31e3f878344c48b9825e82a4426"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"·id="r_gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> | ||
| 115 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">Dune::Functions::makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
| 116 | <tr·class="memdesc:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01895.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | </table> | 108 | </table> |
| 119 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
| 120 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
| 121 | <hr·class="footer"/><address·class="footer"><small> | 111 | <hr·class="footer"/><address·class="footer"><small> |
| 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 123 | </small></address> | 113 | </small></address> |
| 124 | </body> | 114 | </body> |
| Offset 1, 44 lines modified | Offset 1, 34 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | 9 | gridfunction.hh·File·Reference | |
| 10 | #include·<type_traits> | 10 | #include·<type_traits> |
| 11 | #include·<optional> | ||
| 12 | #include·<dune/common/copyableoptional.hh> | ||
| 13 | #include·<dune/common/typeutilities.hh> | 11 | #include·<dune/common/typeutilities.hh> |
| 14 | #include·<dune/functions/common/ | 12 | #include·<dune/functions/common/typeerasure.hh> |
| 15 | #include·<dune/functions/common/defaultderivativetraits.hh> | 13 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 16 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 17 | #include·<dune/functions/common/differentiablefunction.hh> | 14 | #include·<dune/functions/common/differentiablefunction.hh> |
| 18 | #include·<dune/functions/ | 15 | #include·<dune/functions/common/localfunction.hh> |
| 16 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 19 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | 17 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> |
| 18 | #include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
| 20 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 21 | Classes | 20 | Classes |
| 21 | class· ·Dune::Functions::GridFunction<_Signature,_EntitySet,_DerivativeTraits, | ||
| 22 | ········bufferSize_> | ||
| 23 | |||
| 22 | class· ·Dune::Functions:: | 24 | class· ·Dune::Functions::GridFunction<_Range(Domain),_ES,_DerivativeTraits, |
| 23 | ········DerivativeTraits_> | ||
| 24 | 25 | ········bufferSize_> | |
| 26 | ·······Wrapper·class·for·functions·defined·on·a·Grid.·More... | ||
| 25 | 27 | ||
| 26 | Namespaces | 28 | Namespaces |
| 27 | namespace· ·Dune | 29 | namespace· ·Dune |
| 28 | 30 | ||
| 29 | namespace· ·Dune::Functions | 31 | namespace· ·Dune::Functions |
| 30 | 32 | ||
| 31 | Functions | ||
| 32 | template<class·F·,·class·GridView·,·class·Domain·=·typename·GridView::template | ||
| 33 | Codim<0>::Geometry::GlobalCoordinate,·class·Range·=·std::invoke_result_ | ||
| 34 | t<F,Domain>> | ||
| 35 | ···· ·Dune::Functions::AnalyticGridViewFunction·(const·F·&,·const·GridView·&)·- | ||
| 36 | ······>·AnalyticGridViewFunction<·Range(Domain),·GridView,·F·> | ||
| 37 | |||
| 38 | template<class·F·,·class·GridView·> | ||
| 39 | auto ·Dune::Functions::makeAnalyticGridViewFunction·(F·&&f,·const·GridView | ||
| 40 | ······&gridView) | ||
| 41 | ·····Create·an·AnalyticGridViewFunction·from·a·function·and·a·grid·view. | ||
| 42 | |||
| 43 | =============================================================================== | 33 | =============================================================================== |
| 44 | ·····Generated·by [doxygen]·1.9.8 | 34 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridfunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 256 lines modified | Offset 74, 178 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">gridfunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00011.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00011.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/copyableoptional.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 97 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 98 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/common/typeerasure.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00071.html">dune/functions/common/localfunction.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00008.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class=" | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">/*</span></div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
| 112 | <div·class="line"><a·id="l0003 | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*/</span></div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 117 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> | ||
| 118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01947.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01947.html">GridFunction</a></div> | ||
| 119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{};</div> | ||
| 120 | </div> | ||
| 113 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 114 | <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> | ||
| 115 | <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> | ||
| 116 | <div·class="line"><a·id="l0003 | 122 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">public</span>:</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>Signature·=·Range(LocalDomain);</div> | ||
| 119 | <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> | ||
| 120 | <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> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Imp</div> |
| 125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>EntitySet·=·GridViewEntitySet<GridView,·0>;</div> | ||
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··using·Geometry·=·typename·Element::Geometry;</span></div> | ||
| 126 | <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> | ||
| 127 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
| 128 | <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> | ||
| 129 | <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> | ||
| 130 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·ES,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<s[·...·truncated·by·diffoscope;·len:·105,·SHA:·b35feee13723f04841039f1793b8a50fbd6171300fce5d5904b9a9d822427be3·...·]</div> |
| 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">struct·</span>GridFunctionTraits·:</div> | ||
| 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
| 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··{</div> | ||
| 131 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">protected</span>:</div> |
| 132 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> |
| 133 | <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> | ||
| 134 | <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> | ||
| 135 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 136 | <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> | ||
| 137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··LocalAnalyticGridViewFunction(FT&&·f)·:</div> | ||
| 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····f_(std::forward<FT>(f))</div> | ||
| 139 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">public</span>:</div> |
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>EntitySet·=·ES;</div> | ||
| 140 | <div·class="line"><a·id="l0005 | 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 141 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> |
| 142 | <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> | ||
| 143 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
| 139 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·Base::DerivativeSignature;</div> | ||
| 144 | <div·class="line"><a·id="l0006 | 140 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 141 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01947.html">GridFunction<DerivativeSignature,·ES,·DerivativeTraits,·bufferSize></a>;</div> | ||
| 145 | <div·class="line"><a·id="l0006 | 142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">using·</span>LocalSignature·=·<span·class="keyword">typename</span>·Base::Range(<span·class="keyword">typename</span>·EntitySet::LocalCoordinate);</div> | ||
| 146 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>· | 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 145 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·R></div> | ||
| 146 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01983.html">LocalDerivativeTraits</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01983.html">Dune::Functions::LocalDerivativeTraits<EntitySet,·DerivativeTraits>::template</a>·Traits<R>;</div> | ||
| 147 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 148 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">using·</span>LocalFunctionTraits·=·<span·class="keyword">typename</span>·Dune::Functions::Imp::LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize>;</div> | ||
| 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">using·</span>LocalFunctionInterface·=·<a·class="code·hl_class"·href="a01247.html">LocalFunction<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize></a>;</div> | ||
| 148 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 149 | <div·class="line"><a·id="l0007 | 152 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">using·</span>Concept·=·GridFunctionWrapperInterface<S,·DerivativeInterface,·LocalFunctionInterface,·ES>;</div> |
| 150 | <div·class="line"><a·id="l0007 | 153 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 151 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····element_·=·element;</div> | ||
| 152 | <div·class="line"><a·id="l0008 | 154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> |
| 155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">using·</span>Model·=·GridFunctionWrapperImplementation<S,·DerivativeInterface,·LocalFunctionInterface,·ES,·B>;</div> | ||
| 153 | <div·class="line"><a·id="l0008 | 156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··};</div> |
| 154 | <div·class="line"><a·id="l0008 | 157 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}</div> |
| 155 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordtype">void</span>·unbind()</div> | ||
| 156 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>· | 158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
| 157 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>· | 159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
| 158 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>· | 160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
| Max diff block lines reached; 42389/70580 bytes (60.06%) of diff not shown. | |||
| Offset 1, 329 lines modified | Offset 1, 203 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | 8 | gridfunction.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | 21 | 10#include·<type_traits> |
| 22 | 11 | ||
| 22 | 11#include·<optional> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/copyableoptional.hh> | ||
| 25 | 1 | 23 | 12#include·<dune/common/typeutilities.hh> |
| 26 | 1 | 24 | 13 |
| 27 | 1 | 25 | 14#include·<dune/functions/common/typeerasure.hh> |
| 28 | 1 | 26 | 15#include·<dune/functions/common/defaultderivativetraits.hh> |
| 29 | 18#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 30 | 1 | 27 | 16#include·<dune/functions/common/differentiablefunction.hh> |
| 31 | 28 | 17#include·<dune/functions/common/localfunction.hh> | |
| 29 | 18#include·<dune/functions/common/functionconcepts.hh> | ||
| 32 | 30 | 19#include·<dune/functions/gridfunctions/localderivativetraits.hh> | |
| 31 | 20#include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
| 32 | 21 | ||
| 33 | 22 | 33 | 22 |
| 34 | 23 | 34 | 23 |
| 35 | 24namespace·Dune·{ | 35 | 24namespace·Dune·{ |
| 36 | 25namespace·Functions·{ | 36 | 25namespace·Functions·{ |
| 37 | 26 | 37 | 26 |
| 38 | 27 | 38 | 27 |
| 39 | 28 | 39 | 28 |
| 40 | 29/* | ||
| 41 | 30·*·Default·implementation·is·empty | ||
| 42 | 31·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
| 43 | 32·*·describing·a·function·signature·as·Range(Domain). | ||
| 44 | 33·*/ | ||
| 40 | 45 | 34template<class·Signature,·class·EntitySet,·template<class>·class | |
| 41 | DerivativeTraits=DefaultDerivativeTraits> | 46 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> |
| 47 | 35class·GridFunction | ||
| 48 | 36{}; | ||
| 49 | 37 | ||
| 50 | 38 | ||
| 42 | 30class·LocalAnalyticGridViewFunction; | ||
| 43 | 31 | ||
| 44 | 32template<class·Range,·class·LocalDomain,·class·GV,·class·F,·template<class> | ||
| 45 | class·DerivativeTraits> | ||
| 46 | 33class·LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F, | ||
| 47 | DerivativeTraits> | ||
| 48 | 34{ | ||
| 49 | 35public: | ||
| 50 | 36·using·Signature·=·Range(LocalDomain); | ||
| 51 | 37·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 52 | 38·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 53 | (LocalDomain); | ||
| 54 | 39 | 51 | 39 |
| 55 | 40·using·GridView·=·GV; | ||
| 56 | 4 | 52 | 40namespace·Imp |
| 53 | 41{ | ||
| 54 | 42 | ||
| 55 | 44·template<class·S,·class·ES,·template<class>·class·DerivativeTraits,·size_ | ||
| 56 | t·bufferSize> | ||
| 57 | 45·struct·GridFunctionTraits·: | ||
| 58 | 46·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
| 59 | 47·{ | ||
| 60 | 48·protected: | ||
| 61 | 49·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
| 62 | 50 | ||
| 63 | 51·public: | ||
| 64 | 53·using·EntitySet·=·ES; | ||
| 65 | 54 | ||
| 57 | 66 | 56·using·Element·=·typename·EntitySet::Element; | |
| 67 | 57 | ||
| 68 | 59·using·DerivativeSignature·=·typename·Base::DerivativeSignature; | ||
| 69 | 60 | ||
| 70 | 62·using·DerivativeInterface·=·GridFunction<DerivativeSignature,_ES, | ||
| 71 | DerivativeTraits,_bufferSize>; | ||
| 72 | 63 | ||
| 73 | 65·using·LocalSignature·=·typename·Base::Range(typename·EntitySet:: | ||
| 74 | LocalCoordinate); | ||
| 75 | 66 | ||
| 58 | 43//·using·Geometry·=·typename·Element::Geometry; | ||
| 59 | 44·using·Geometry·=·std::decay_t<typename·Element::Geometry>; | ||
| 60 | 45 | ||
| 61 | 46·//·Use·the·indirection·via·derivativeIfImplemented·to·also·support | ||
| 62 | 47·//·function·types·F·that·do·not·implement·derivative.·In·this·case | ||
| 63 | 48·//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for | ||
| 64 | 49·//·the·derivative·type | ||
| 65 | 50·using·DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>; | ||
| 66 | 51·using·GlobalRawDerivative·=·decltype(Imp:: | ||
| 67 | derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>())); | ||
| 68 | 52·using·LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature, | ||
| 69 | GridView,·GlobalRawDerivative,·DerivativeTraits>; | ||
| 70 | 53 | ||
| 71 | 55·template<class·FT,·disableCopyMove<LocalAnalyticGridViewFunction,·FT>·=·0> | ||
| 72 | 56·LocalAnalyticGridViewFunction(FT&&·f)·: | ||
| 73 | 57·f_(std::forward<FT>(f)) | ||
| 74 | 58·{} | ||
| 75 | 59 | ||
| 76 | 6 | 76 | 68·template<class·R> |
| 77 | 62·LocalAnalyticGridViewFunction(FT&&·f,·const·Element&·element,·const·std:: | ||
| 78 | optional<Geometry>&·geometry)·: | ||
| 79 | 63·f_(std::forward<FT>(f)), | ||
| 80 | 64·element_(element), | ||
| 81 | 65·geometry_(geometry) | ||
| 82 | 66·{} | ||
| 83 | 67 | ||
| 84 | 68 | ||
| 85 | 77·void·bind(const·Element&·element) | ||
| 86 | 78·{ | ||
| 87 | 79·element_·=·element; | ||
| 88 | 80·geometry_.emplace(element_.geometry()); | ||
| 89 | 81·} | ||
| 90 | 82 | ||
| 91 | 84·void·unbind() | ||
| 92 | 85·{ | ||
| Max diff block lines reached; 11011/17406 bytes (63.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridviewfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 38 lines modified | Offset 71, 52 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">gridviewfunction.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<memory></code><br·/> | ||
| 84 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 82 | < | 86 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a00023_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code><br·/> | ||
| 83 | </div> | 88 | </div> |
| 84 | <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 85 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 87 | Classes</h2></td></tr> | 92 | Classes</h2></td></tr> |
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01975.html">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01983.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·></a></td></tr> | ||
| 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·traits·for·local·functions.··<a·href="a01983.html#details">More...</a><br·/></td></tr> | ||
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01979.html">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·GridView.··<a·href="a01979.html#details">More...</a><br·/></td></tr> | ||
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01987.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·></a></td></tr> | ||
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01991.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)></a></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
| 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 97 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
| 98 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | </table><table·class="memberdecls"> | ||
| 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 107 | Functions</h2></td></tr> | ||
| 108 | <tr·class="memitem: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> | ||
| 109 | <tr·class="memitem:a34ad74c81e35af361861f667bf9742c0"><td·class="memTemplItemLeft"·align="right"·valign="top">std::decay_t<·F·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
| 110 | <tr·class="memdesc:a34ad74c81e35af361861f667bf9742c0"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a01975.html">GridViewFunction</a>·from·function·and·grid·view.··<br·/></td></tr> | ||
| 111 | <tr·class="separator:a34ad74c81e35af361861f667bf9742c0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | <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> | ||
| 113 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a34f2d140a1fed46862286f68d26c9975">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)·->·decltype(<a·class="el"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<·F·>(f),·gridView))</td></tr> | ||
| 114 | <tr·class="memdesc:a34f2d140a1fed46862286f68d26c9975"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a01975.html">GridViewFunction</a>·from·function·and·grid·view.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:a34f2d140a1fed46862286f68d26c9975"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | </table> | 116 | </table> |
| 103 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
| 104 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 105 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
| 106 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 107 | </small></address> | 121 | </small></address> |
| 108 | </body> | 122 | </body> |
| Offset 1, 28 lines modified | Offset 1, 46 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
| 9 | localderivativetraits.hh·File·Reference | ||
| 10 | 9 | gridviewfunction.hh·File·Reference | |
| 10 | #include·<memory> | ||
| 11 | #include·<dune/common/concept.hh> | ||
| 12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 14 | #include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 16 | Classes |
| 13 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits_> | ||
| 14 | 17 | class· ·Dune::Functions::GridViewFunction<_Signature,_GridView, | |
| 18 | ········DerivativeTraits,_bufferSize_> | ||
| 15 | 19 | ||
| 20 | class· ·Dune::Functions::GridViewFunction<_Range(Domain),_GV,_DerivativeTraits, | ||
| 21 | ········bufferSize_> | ||
| 22 | ·······Wrapper·class·for·functions·defined·on·a·GridView.·More... | ||
| 16 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 17 | ·········>::Traits<_Signature_> | ||
| 18 | |||
| 19 | struct· ·Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
| 20 | ·········>::Traits<_R(LocalDomain)> | ||
| 21 | 23 | ||
| 22 | Namespaces | 24 | Namespaces |
| 23 | namespace· ·Dune | 25 | namespace· ·Dune |
| 24 | 26 | ||
| 25 | namespace· ·Dune::Functions | 27 | namespace· ·Dune::Functions |
| 26 | 28 | ||
| 29 | Functions | ||
| 30 | template<class·F·,·class·GridView·,·std::enable_if_t<·models<·Imp:: | ||
| 31 | HasFreeLocalFunction,·F·>(),·int·>·=·0> | ||
| 32 | std::decay_t<·F·> ·Dune::Functions::makeGridViewFunction·(F·&&f,·const·GridView | ||
| 33 | ···················&gridView) | ||
| 34 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 35 | ···················and·grid·view. | ||
| 36 | |||
| 37 | template<class·F·,·class·GridView·,·std::enable_if_t<·not(models<·Imp:: | ||
| 38 | HasFreeLocalFunction,·F·>()),·int·>·=·0> | ||
| 39 | ·············auto ·Dune::Functions::makeGridViewFunction·(F·&&f,·const·GridView | ||
| 40 | ···················&gridView)·->·decltype(makeAnalyticGridViewFunction(std:: | ||
| 41 | ···················forward<·F·>(f),·gridView)) | ||
| 42 | ··················Construct·a·function·modeling·GridViewFunction·from·function | ||
| 43 | ···················and·grid·view. | ||
| 44 | |||
| 27 | =============================================================================== | 45 | =============================================================================== |
| 28 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridviewfunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 72 lines modified | Offset 74, 103 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">gridviewfunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memory></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 93 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 98 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00011.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00023.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 101 | <div·class="foldopen"·id="foldopen000 | 107 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> |
| 102 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01975.html">···25</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01975.html">GridViewFunction</a></div> |
| 103 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{};</div> |
| 104 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01983.html#a2dc0b1d49311457bb686a04972f8aee4">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01983.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
| 105 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">···34</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
| 106 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
| 108 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> | ||
| 109 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01987.html">···37</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01987.html">Traits</a></div> | ||
| 110 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> | ||
| 111 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">···39</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01083.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a>;</div> | ||
| 112 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··};</div> | ||
| 113 | </div> | 110 | </div> |
| 114 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 115 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 113 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 114 | <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> | ||
| 116 | <div·class="foldopen"·id="foldopen0004 | 115 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
| 116 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01979.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01975.html">GridViewFunction</a><Range(Domain),·GV,·DerivativeTraits,·bufferSize>·:</div> | ||
| 117 | <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="a01947.html">GridFunction</a><Range(Domain),·GridViewEntitySet<GV,·0>,·DerivativeTraits,·bufferSize></div> | ||
| 117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01991.html">···43</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01987.html">Traits</a><R(<a·class="code·hl_typedef"·href="a01983.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>)></div> | ||
| 118 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> | ||
| 119 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01991.html#a80a14d6e3599853298641c023ff34acd">···45</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01991.html#a80a14d6e3599853298641c023ff34acd">Range</a>·=·<span·class="keyword">typename</span>·DerivativeTraits<R(<a·class="code·hl_typedef"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>)><a·class="code·hl_typedef"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">::Range</a>;</div> | ||
| 120 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div> | ||
| 121 | </div> | ||
| 122 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span> | 118 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> |
| 119 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01947.html">Base</a>·=·<a·class="code·hl_class"·href="a01947.html">GridFunction</a><Range(Domain),·<a·class="code·hl_class"·href="a01971.html">GridViewEntitySet<GV,·0></a>,·DerivativeTraits,·bufferSize>;</div> | ||
| 123 | </div> | ||
| 124 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 120 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> |
| 126 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span> | 121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01979.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01979.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">GridView</a>·=·GV;</div> |
| 127 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 122 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 128 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class=" | 123 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 124 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> | ||
| 125 | </div> | ||
| 126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 129 | <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> | ||
| 130 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··std::enable_if_t<</div> | ||
| 131 | <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> | ||
| 132 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>std::decay_t<F></div> | ||
| 133 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
| 134 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">···72</a></span>··<a·class="code·hl_function"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
| 135 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> | ||
| 136 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">return</span>·std::forward<F>(f);</div> | ||
| 137 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> | ||
| 138 | </div> | ||
| 139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> | ||
| 143 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··std::enable_if_t<</div> | ||
| 144 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····not(models<·Imp::HasFreeLocalFunction,·F>())·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 145 | <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> | ||
| 146 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00225.html#a34f2d140a1fed46862286f68d26c9975">···97</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
| 147 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·gridView))</div> | ||
| 148 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>{</div> | ||
| 149 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·gridView);</div> | ||
| 150 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>}</div> | ||
| 151 | </div> | ||
| 152 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>}·<span·class="comment">//·end·of·namespace·Dune::Functions</span></div> | ||
| 156 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>}·<span·class="comment">//·end·of·namespace·Dune</span></div> | ||
| 157 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
| 158 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH</span></div> | ||
| 159 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">gridfunction.hh</a></div></div> | ||
| 160 | <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">gridviewentityset.hh</a></div></div> | ||
| 129 | <div·class="ttc"·id="aa000 | 161 | <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">analyticgridviewfunction.hh</a></div></div> |
| 162 | <div·class="ttc"·id="aa00215_html_gaf49863bf9728775c1ae6a718aeaaba45"><div·class="ttname"><a·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">Dune::Functions::makeAnalyticGridViewFunction</a></div><div·class="ttdeci">auto·makeAnalyticGridViewFunction(F·&&f,·const·GridView·&gridView)</div><div·class="ttdoc">Create·an·AnalyticGridViewFunction·from·a·function·and·a·grid·view.</div><div·class="ttdef"><b>Definition</b>·analyticgridviewfunction.hh:238</div></div> | ||
| 130 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> | 163 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> |
| 164 | <div·class="ttc"·id="aa00225_html_a34ad74c81e35af361861f667bf9742c0"><div·class="ttname"><a·href="a00225.html#a34ad74c81e35af361861f667bf9742c0">Dune::Functions::makeGridViewFunction</a></div><div·class="ttdeci">std::decay_t<·F·>·makeGridViewFunction(F·&&f,·const·GridView·&gridView)</div><div·class="ttdoc">Construct·a·function·modeling·GridViewFunction·from·function·and·grid·view.</div><div·class="ttdef"><b>Definition</b>·gridviewfunction.hh:72</div></div> | ||
| Max diff block lines reached; 271/24192 bytes (1.12%) of diff not shown. | |||
| Offset 1, 77 lines modified | Offset 1, 109 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | 8 | gridviewfunction.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 23 | 1 | 21 | 10#include·<memory> |
| 22 | 11 | ||
| 23 | 12#include·<dune/common/concept.hh> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14namespace·Dune·{ | ||
| 26 | 15namespace·Functions·{ | ||
| 27 | 1 | 25 | 14#include·<dune/functions/gridfunctions/gridfunction.hh> |
| 26 | 15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 27 | 16#include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
| 28 | 17 | 28 | 17 |
| 29 | 29 | 18 | |
| 30 | 19namespace·Dune·{ | ||
| 31 | 20namespace·Functions·{ | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24template<class·Signature,·class·GridView,·template<class>·class | ||
| 30 | DerivativeTraits=DefaultDerivativeTraits> | 36 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> |
| 37 | 25class·GridViewFunction | ||
| 38 | 26{}; | ||
| 39 | 27 | ||
| 40 | 28 | ||
| 41 | 29 | ||
| 42 | 44template<class·Range,·class·Domain,·class·GV,·template<class>·class | ||
| 43 | DerivativeTraits,·size_t·bufferSize> | ||
| 44 | 45class·GridViewFunction<Range(Domain),·GV,·DerivativeTraits,·bufferSize>·: | ||
| 45 | 46·public·GridFunction<Range(Domain),·GridViewEntitySet<GV,·0>, | ||
| 46 | DerivativeTraits,·bufferSize> | ||
| 47 | 47{ | ||
| 48 | 48·using·Base·=·GridFunction<Range(Domain),·GridViewEntitySet<GV,_0>, | ||
| 49 | DerivativeTraits,·bufferSize>; | ||
| 50 | 49public: | ||
| 51 | 50·using·GridView·=·GV; | ||
| 31 | 31struct·LocalDerivativeTraits | ||
| 32 | 32{ | ||
| 33 | 33·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 34 | 34·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 35 | 35 | ||
| 36 | 36·template<class·Signature> | ||
| 37 | 37·struct·Traits | ||
| 38 | 38·{ | ||
| 39 | 39·typedef·InvalidRange·Range; | ||
| 40 | 40·}; | ||
| 41 | 41 | ||
| 42 | 42·template<class·R> | ||
| 43 | 43·struct·Traits<R(LocalDomain)> | ||
| 44 | 44·{ | ||
| 45 | 45·using·Range·=·typename·DerivativeTraits<R(Domain)>::Range; | ||
| 46 | 46·}; | ||
| 47 | 47}; | ||
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | 50}}·//·namespace·Dune::Functions | ||
| 51 | 51 | 52 | 51 |
| 52 | 52#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
| 53 | 53 | 52·using·Base::Base; | |
| 54 | 53}; | ||
| 55 | 54 | ||
| 56 | 55 | ||
| 57 | 56 | ||
| 58 | 68template<class·F,·class·GridView, | ||
| 59 | 69·std::enable_if_t< | ||
| 60 | 70·models<·Imp::HasFreeLocalFunction,·F>()·,·int>·=·0> | ||
| 61 | 71std::decay_t<F> | ||
| 62 | 72·makeGridViewFunction(F&&·f,·const·GridView&·gridView) | ||
| 63 | 73{ | ||
| 64 | 74·return·std::forward<F>(f); | ||
| 65 | 75} | ||
| 66 | 76 | ||
| 67 | 77 | ||
| 68 | 78 | ||
| 69 | 94template<class·F,·class·GridView, | ||
| 70 | 95·std::enable_if_t< | ||
| 71 | 96·not(models<·Imp::HasFreeLocalFunction,·F>())·,·int>·=·0> | ||
| 72 | 97auto·makeGridViewFunction(F&&·f,·const·GridView&·gridView) | ||
| 73 | 98·->·decltype(makeAnalyticGridViewFunction(std::forward<F>(f),·gridView)) | ||
| 74 | 99{ | ||
| 75 | 100·return·makeAnalyticGridViewFunction(std::forward<F>(f),·gridView); | ||
| 76 | 101} | ||
| 77 | 102 | ||
| 78 | 103 | ||
| 79 | 104 | ||
| 80 | 105}·//·end·of·namespace·Dune::Functions | ||
| 81 | 106}·//·end·of·namespace·Dune | ||
| 82 | 107 | ||
| 83 | 108#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | ||
| 84 | gridfunction.hh | ||
| 85 | gridviewentityset.hh | ||
| 86 | analyticgridviewfunction.hh | ||
| 87 | Dune::Functions::makeAnalyticGridViewFunction | ||
| 88 | auto·makeAnalyticGridViewFunction(F·&&f,·const·GridView·&gridView) | ||
| 89 | Create·an·AnalyticGridViewFunction·from·a·function·and·a·grid·view. | ||
| 90 | Definition·analyticgridviewfunction.hh:238 | ||
| 54 | Dune | 91 | Dune |
| 55 | Definition·polynomial.hh:17 | 92 | Definition·polynomial.hh:17 |
| 93 | Dune::Functions::makeGridViewFunction | ||
| 94 | std::decay_t<·F·>·makeGridViewFunction(F·&&f,·const·GridView·&gridView) | ||
| 95 | Construct·a·function·modeling·GridViewFunction·from·function·and·grid·view. | ||
| 96 | Definition·gridviewfunction.hh:72 | ||
| 97 | Dune::Functions::GridFunction | ||
| 98 | Definition·gridfunction.hh:36 | ||
| 99 | Dune::Functions::GridViewEntitySet | ||
| 100 | An·entity·set·for·all·entities·of·given·codim·in·a·grid·view. | ||
| 101 | Definition·gridviewentityset.hh:27 | ||
| 102 | Dune::Functions::GridViewFunction | ||
| Max diff block lines reached; 35/5199 bytes (0.67%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·grid | 8 | <title>dune-functions:·gridviewentityset.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 35 lines modified | Offset 72, 25 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">grid | 79 | ··<div·class="headertitle"><div·class="title">gridviewentityset.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<memory></code><br·/> |
| 83 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 84 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/localfunction.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></code><br·/> | ||
| 91 | </div> | 83 | </div> |
| 92 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 93 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 95 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a019 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01971.html">Dune::Functions::GridViewEntitySet<·GV,·cd·></a></td></tr> |
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01955.html">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <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="a01971.html#details">More...</a><br·/></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
| 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 103 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
| 104 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| Offset 2, 32 lines modified | Offset 2, 20 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | grid | 9 | gridviewentityset.hh·File·Reference |
| 10 | #include·<memory> | ||
| 10 | #include·<type_traits> | ||
| 11 | #include·<dune/common/typeutilities.hh> | ||
| 12 | #include·<dune/functions/common/typeerasure.hh> | ||
| 13 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 14 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 15 | #include·<dune/functions/common/localfunction.hh> | ||
| 16 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 17 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 18 | #include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | 12 | Classes |
| 13 | class· ·Dune::Functions::GridViewEntitySet<_GV,_cd_> | ||
| 14 | ·······An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·More... | ||
| 21 | class· ·Dune::Functions::GridFunction<_Signature,_EntitySet,_DerivativeTraits, | ||
| 22 | ········bufferSize_> | ||
| 23 | |||
| 24 | class· ·Dune::Functions::GridFunction<_Range(Domain),_ES,_DerivativeTraits, | ||
| 25 | ········bufferSize_> | ||
| 26 | ·······Wrapper·class·for·functions·defined·on·a·Grid.·More... | ||
| 27 | 15 | ||
| 28 | Namespaces | 16 | Namespaces |
| 29 | namespace· ·Dune | 17 | namespace· ·Dune |
| 30 | 18 | ||
| 31 | namespace· ·Dune::Functions | 19 | namespace· ·Dune::Functions |
| 32 | 20 | ||
| 33 | =============================================================================== | 21 | =============================================================================== |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·grid | 8 | <title>dune-functions:·gridviewentityset.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 179 lines modified | Offset 74, 123 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">grid | 80 | ··<div·class="headertitle"><div·class="title">gridviewentityset.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00017.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00017.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memory></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/localfunction.hh</a>></span></div> | ||
| 100 | <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/common/functionconcepts.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 107 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 108 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 100 | <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> | ||
| 101 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
| 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01971.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01971.html">GridViewEntitySet</a></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
| 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> | ||
| 110 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01971.html#a1952f7f975b409a9fb7cac45d2dd13c0">···30</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01971.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>;</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">/*</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
| 115 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">enum</span>·{</div> |
| 108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<a·class="code·hl_enumvalue"·href="a01971.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">codim</a>·=·cd</div> | ||
| 109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01971.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">···33</a></span>··};</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 117 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> | ||
| 118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01947.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01947.html">GridFunction</a></div> | ||
| 119 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
| 120 | </div> | 111 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01971.html#a1d5eaf3facd0219b2e150d964a664752">···36</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::template·Codi[·...·truncated·by·diffoscope;·len:·116,·SHA:·bab6006712855e9fa035ac911fc99d402c6c0d5e8e15fe7019df839d45bf9fc7·...·]/div> |
| 121 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 112 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 113 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01971.html#aa4368ad66f18ba8279f20ab7a794069d">···39</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::LocalCoordinate·<a·class="code·hl_typedef"·href="a01971.html#aa4368ad66f18ba8279f20ab7a794069d">LocalCoordinate</a>;</div> | ||
| 114 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">···40</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::GlobalCoordinate·<a·class="code·hl_typedef"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">GlobalCoordinate</a>;</div> | ||
| 122 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Imp</div> | ||
| 125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 115 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 116 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01971.html#a64c695239c50f85f3c3ac009e0d28ec5">···42</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01971.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>·<a·class="code·hl_typedef"·href="a01971.html#a64c695239c50f85f3c3ac009e0d28ec5">value_type</a>;</div> | ||
| 126 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01971.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="a01971.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>;</div> | ||
| 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·ES,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
| 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">struct·</span>GridFunctionTraits·:</div> | ||
| 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
| 130 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01971.html#af641ddccfd83eac1935a39604afd4335">···48</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01971.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_typedef"·href="a01971.html#af641ddccfd83eac1935a39604afd4335">iterator</a>;</div> | ||
| 131 | <div·class="line"><a·id="l0004 | 121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 132 | <div·class=" | 122 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="}"> |
| 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01971.html#a03a85089dbc09737fa68ee0643f253e8">···51</a></span>··<a·class="code·hl_function"·href="a01971.html#a03a85089dbc09737fa68ee0643f253e8">GridViewEntitySet</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01971.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>&·gv)·:</div> | ||
| 124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····gv_(gv)</div> | ||
| 133 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> |
| 126 | </div> | ||
| 134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">public</span>:</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>EntitySet·=·ES;</div> | ||
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 137 | <div·class=" | 128 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> |
| 129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01971.html#aecef1420c439c2cae8ae253822257318">···56</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01971.html#aecef1420c439c2cae8ae253822257318">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01971.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>&·e)<span·class="keyword">·const</span></div> | ||
| 130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">··</span>{</div> | ||
| 131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keywordflow">return</span>·gv_.contains(e);</div> | ||
| 138 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> |
| 139 | < | 133 | </div> |
| 140 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 134 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 141 | <div·class=" | 135 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> |
| 136 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01971.html#aa53cd545677269ae1e19dda2a02f48dd">···62</a></span>··<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a01971.html#aa53cd545677269ae1e19dda2a02f48dd">size</a>()<span·class="keyword">·const</span></div> | ||
| 137 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 138 | <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="a01971.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">codim</a>);</div> | ||
| 142 | <div·class="line"><a·id="l0006 | 139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> |
| 143 | < | 140 | </div> |
| 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 141 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 145 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·R></div> | ||
| 146 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01983.html">LocalDerivativeTraits</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01983.html">Dune::Functions::LocalDerivativeTraits<EntitySet,·DerivativeTraits>::template</a>·Traits<R>;</div> | ||
| 147 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">using·</span>LocalFunctionTraits·=·<span·class="keyword">typename</span>·Dune::Functions::Imp::LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize>;</div> | ||
| 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">using·</span>LocalFunctionInterface·=·<a·class="code·hl_class"·href="a01247.html">LocalFunction<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize></a>;</div> | ||
| 151 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 152 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">using·</span>Concept·=·GridFunctionWrapperInterface<S,·DerivativeInterface,·LocalFunctionInterface,·ES>;</div> | ||
| 153 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> | ||
| 155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">using·</span>Model·=·GridFunctionWrapperImplementation<S,·DerivativeInterface,·LocalFunctionInterface,·ES,·B>;</div> | ||
| 156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··};</div> | ||
| 157 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}</div> | ||
| 158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
| 159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| 160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
| Max diff block lines reached; 8978/45930 bytes (19.55%) of diff not shown. | |||
| Offset 1, 203 lines modified | Offset 1, 146 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | grid | 8 | gridviewentityset.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·< | 21 | 10#include·<memory> |
| 22 | 11 | 22 | 11 |
| 23 | 12 | ||
| 23 | 12#include·<dune/common/typeutilities.hh> | ||
| 24 | 13 | ||
| 25 | 14#include·<dune/functions/common/typeerasure.hh> | ||
| 26 | 15#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 27 | 16#include·<dune/functions/common/differentiablefunction.hh> | ||
| 28 | 17#include·<dune/functions/common/localfunction.hh> | ||
| 29 | 18#include·<dune/functions/common/functionconcepts.hh> | ||
| 30 | 19#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 31 | 20#include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24 | 13namespace·Dune·{ | |
| 25 | 14 | ||
| 36 | 26 | 15namespace·Functions·{ | |
| 37 | 27 | 16 | |
| 28 | 17 | ||
| 29 | 25template<class·GV,·int·cd> | ||
| 30 | 26class·GridViewEntitySet | ||
| 38 | 27 | 31 | 27{ |
| 32 | 28public: | ||
| 33 | 29 | ||
| 34 | 30·typedef·GV·GridView; | ||
| 35 | 31·enum·{ | ||
| 36 | 32·codim·=·cd | ||
| 37 | 33·}; | ||
| 38 | 34 | ||
| 39 | 36·typedef·typename·GridView::template·Codim<codim>::Entity·Element; | ||
| 39 | 28 | ||
| 40 | 29/* | ||
| 41 | 30·*·Default·implementation·is·empty | ||
| 42 | 31·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
| 43 | 32·*·describing·a·function·signature·as·Range(Domain). | ||
| 44 | 33·*/ | ||
| 45 | 34template<class·Signature,·class·EntitySet,·template<class>·class | ||
| 46 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 47 | 35class·GridFunction | ||
| 48 | 36{}; | ||
| 49 | 37 | 40 | 37 |
| 41 | 39·typedef·typename·Element::Geometry::LocalCoordinate·LocalCoordinate; | ||
| 42 | 40·typedef·typename·Element::Geometry::GlobalCoordinate·GlobalCoordinate; | ||
| 50 | 38 | ||
| 51 | 39 | ||
| 52 | 40namespace·Imp | ||
| 53 | 41 | 43 | 41 |
| 44 | 42·typedef·Element·value_type; | ||
| 45 | 43 | ||
| 46 | 45·typedef·typename·GridView::template·Codim<codim>::Iterator·const_iterator; | ||
| 47 | 46 | ||
| 48 | 48·typedef·const_iterator·iterator; | ||
| 49 | 49 | ||
| 50 | 51·GridViewEntitySet(const·GridView&·gv)·: | ||
| 51 | 52·gv_(gv) | ||
| 52 | 53·{} | ||
| 54 | 42 | ||
| 55 | 44·template<class·S,·class·ES,·template<class>·class·DerivativeTraits,·size_ | ||
| 56 | t·bufferSize> | ||
| 57 | 45·struct·GridFunctionTraits·: | ||
| 58 | 46·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
| 59 | 47·{ | ||
| 60 | 48·protected: | ||
| 61 | 49·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
| 62 | 50 | ||
| 63 | 51·public: | ||
| 64 | 53·using·EntitySet·=·ES; | ||
| 65 | 54 | 53 | 54 |
| 66 | 56·using·Element·=·typename·EntitySet::Element; | ||
| 67 | 57 | ||
| 68 | 5 | 54 | 56·bool·contains(const·Element&·e)·const |
| 55 | 57·{ | ||
| 56 | 58·return·gv_.contains(e); | ||
| 57 | 59·} | ||
| 69 | 60 | 58 | 60 |
| 59 | 62·size_t·size()·const | ||
| 60 | 63·{ | ||
| 61 | 64·return·gv_.size(codim); | ||
| 62 | 65·} | ||
| 70 | 62·using·DerivativeInterface·=·GridFunction<DerivativeSignature,_ES, | ||
| 71 | DerivativeTraits,_bufferSize>; | ||
| 72 | 63 | ||
| 73 | 65·using·LocalSignature·=·typename·Base::Range(typename·EntitySet:: | ||
| 74 | LocalCoordinate); | ||
| 75 | 66 | 63 | 66 |
| 64 | 68·const_iterator·begin()·const | ||
| 65 | 69·{ | ||
| 66 | 70·return·gv_.template·begin<codim>(); | ||
| 67 | 71·} | ||
| 68 | 72 | ||
| 69 | 74·const_iterator·end()·const | ||
| 70 | 75·{ | ||
| 71 | 76·return·gv_.template·end<codim>(); | ||
| 72 | 77·} | ||
| 73 | 78 | ||
| 74 | 80·const·GridView&·gridView()·const | ||
| 76 | 68·template<class·R> | ||
| 77 | 69·using·LocalDerivativeTraits·=·typename·Dune::Functions:: | ||
| 78 | LocalDerivativeTraits<EntitySet,_DerivativeTraits>::template·Traits<R>; | ||
| 79 | 70 | ||
| 80 | 72·using·LocalFunctionTraits·=·typename·Dune::Functions::Imp:: | ||
| 81 | LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits, | ||
| 82 | bufferSize>; | ||
| 83 | 73 | ||
| 84 | 75·using·LocalFunctionInterface·=·LocalFunction<LocalSignature,_Element, | ||
| 85 | LocalDerivativeTraits,_bufferSize>; | ||
| Max diff block lines reached; 3608/9847 bytes (36.64%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·gridfunction | 8 | <title>dune-functions:·facenormalgridfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 24 lines modified | Offset 70, 36 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 78 | ··<div·class="headertitle"><div·class="title">gridfunction | 79 | ··<div·class="headertitle"><div·class="title">facenormalgridfunction.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 80 | </div><!--header--> |
| 80 | <div·class="contents"> | 81 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·<optional></code><br·/> | ||
| 84 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
| 87 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 82 | <code>#include·<<a·class="el"·href="a000 | 88 | <code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 83 | <code>#include·<<a·class="el"·href="a000 | 89 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 84 | </div> | 90 | </div> |
| 85 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 86 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 94 | Classes</h2></td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html">Dune::Functions::FaceNormalGridFunction<·GV·></a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Grid·function·implementing·the·piecewise·element·face·normal.··<a·href="a01939.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | </table><table·class="memberdecls"> | ||
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 88 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
| 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 93 | </table> | 105 | </table> |
| Offset 1, 20 lines modified | Offset 1, 29 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | Namespaces | 8 | Classes·|·Namespaces |
| 9 | gridfunction | 9 | facenormalgridfunction.hh·File·Reference |
| 10 | #include·<type_traits> | ||
| 11 | #include·<optional> | ||
| 12 | #include·<dune/common/exceptions.hh> | ||
| 10 | #include·<dune/ | 13 | #include·<dune/common/typeutilities.hh> |
| 11 | #include·<dune/functions/common/interfaces.hh> | ||
| 12 | #include·<dune/ | 14 | #include·<dune/common/rangeutilities.hh> |
| 15 | #include·<dune/geometry/referenceelements.hh> | ||
| 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 17 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 13 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | ||
| 20 | class· ·Dune::Functions::FaceNormalGridFunction<_GV_> | ||
| 21 | ·······Grid·function·implementing·the·piecewise·element·face·normal.·More... | ||
| 22 | |||
| 14 | Namespaces | 23 | Namespaces |
| 15 | namespace· ·Dune | 24 | namespace· ·Dune |
| 16 | 25 | ||
| 17 | namespace· ·Dune::Functions | 26 | namespace· ·Dune::Functions |
| 18 | 27 | ||
| 19 | =============================================================================== | 28 | =============================================================================== |
| 20 | ·····Generated·by [doxygen]·1.9.8 | 29 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·gridfunction | 8 | <title>dune-functions:·facenormalgridfunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 92 lines modified | Offset 74, 209 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">gridfunction | 80 | ··<div·class="headertitle"><div·class="title">facenormalgridfunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00011.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 97 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 98 | <div·class="line"><a·id="l000 | 104 | <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="a00225.html">Dune::Functions</a>·{</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>HasFreeLocalFunction</div> | ||
| 103 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 104 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 105 | <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> | ||
| 106 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····localFunction(f)</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·Compute·closest·face·to·point</span></div> | ||
| 109 | <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> | ||
| 110 | <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> | ||
| 108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">auto</span>·closestFaceIndex·=·<span·class="keyword">decltype</span>(re.subEntity(0,1,0,1)){};</div> | ||
| 113 | <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> | ||
| 114 | <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·:·<a·class="code·hl_namespace"·href="a00224.html">Dune</a>::range(re.size(1)))</div> | ||
| 109 | <div·class="line"><a·id="l0003 | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··{</div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="comment">//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection</span></div> | ||
| 117 | <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> | ||
| 118 | <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> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">auto</span>·normal·=·re.integrationOuterNormal(faceIndex);</div> | ||
| 110 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····normal·/=·normal.two_norm();</div> |
| 111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 113 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//</span></div> | ||
| 114 | <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> | ||
| 115 | <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> | ||
| 116 | <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> | ||
| 117 | <div·class="line"><a·id="l0003 | 121 | <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> |
| 118 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
| 119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····c·-=·x;</div> |
| 120 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword"> | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> |
| 121 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> |
| 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> |
| 123 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·· | 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······closestFaceDistance·=·faceDistance;</div> |
| 124 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······closestFaceIndex·=·faceIndex;</div> |
| 125 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> |
| 126 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> |
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">return</span>·closestFaceIndex;</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 127 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}·<span·class="comment">//·end·namespace·Impl</span></div> |
| 128 | <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> | ||
| 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>GridFunctionWrapperImplementation·:</div> | ||
| 130 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
| 131 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span> | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 132 | <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> | ||
| 133 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">public</span>:</div> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span>Base::Base;</div> | ||
| 135 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 136 | <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> | ||
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">··</span>{</div> | ||
| 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·localFunction(this->get());</div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 143 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·this->get().entitySet();</div> | ||
| 144 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 145 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV></div> | ||
| 139 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="};"> | ||
| 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01939.html">···69</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01939.html">FaceNormalGridFunction</a></div> | ||
| 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</div> | ||
| 142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</div> | ||
| 143 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV;</div> | ||
| 144 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01939.html#a0c37b830a7bbba309a4df30441de8b8e">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01971.html">EntitySet</a>·=·<a·class="code·hl_class"·href="a01971.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
| 145 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01939.html#abdec4f718f342e7b6ad20f26cc52a928">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#abdec4f718f342e7b6ad20f26cc52a928">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01971.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
| 146 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
| 147 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01939.html#a219d5fdf7e937595a134a106bab1cefa">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a219d5fdf7e937595a134a106bab1cefa">LocalDomain[·...·truncated·by·diffoscope;·len:·156,·SHA:·6c0e50a00e9e436a300d0cedba02575b2aee7f59717b6c457e822c9873fae38a·...·]</div> |
| 148 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01939.html#a35676aaf895f54191ad4dda5ed0bcfdd">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| 149 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01939.html#a4d72e8da655bc11d728782fbd85b45f6">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| 148 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 149 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> |
| 150 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
| 151 | <div·class="line"><a·id="l000 | 153 | <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="a01939.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>(<a·class="code·hl_typedef"·href="a0193[·...·truncated·by·diffoscope;·len:·231,·SHA:·d42c37989437bd948757db13a4b1d043300cbc121224ee41141871cd25dc3202·...·]</div> |
| 152 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
| 155 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">class·</span>LocalFunction</div> | ||
| Max diff block lines reached; 6901/45509 bytes (15.16%) of diff not shown. | |||
| Offset 1, 95 lines modified | Offset 1, 242 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | gridfunction | 8 | facenormalgridfunction.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID | 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 11#include·<optional> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/exceptions.hh> | ||
| 21 | 1 | 25 | 14#include·<dune/common/typeutilities.hh> |
| 22 | 11#include·<dune/functions/common/interfaces.hh> | ||
| 23 | 12#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 24 | 13 | ||
| 25 | 14 | ||
| 26 | 15 | ||
| 27 | 1 | 26 | 15#include·<dune/common/rangeutilities.hh> |
| 27 | 16#include·<dune/geometry/referenceelements.hh> | ||
| 28 | 17 | ||
| 29 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 30 | 19#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 31 | 20 | ||
| 32 | 21 | ||
| 28 | 33 | 22namespace·Dune::Functions·{ | |
| 34 | 23 | ||
| 29 | 35 | 24namespace·Impl·{ | |
| 30 | 19 | ||
| 31 | 23struct·HasFreeLocalFunction | ||
| 32 | 2 | 36 | 25 |
| 37 | 26//·Compute·closest·face·to·point | ||
| 38 | 27template<class·ReferenceElement,·class·Coordinate> | ||
| 39 | 28auto·closestFaceIndex(const·ReferenceElement&·re,·const·Coordinate&·x) | ||
| 40 | 29{ | ||
| 41 | 30·auto·closestFaceIndex·=·decltype(re.subEntity(0,1,0,1)){}; | ||
| 42 | 31·double·closestFaceDistance·=·std::numeric_limits<double>::max(); | ||
| 43 | 32·for(auto&&·faceIndex·:·Dune::range(re.size(1))) | ||
| 44 | 33·{ | ||
| 45 | 34·//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection | ||
| 46 | 35·//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face | ||
| 47 | 36·//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>. | ||
| 48 | 37·auto·normal·=·re.integrationOuterNormal(faceIndex); | ||
| 49 | 38·normal·/=·normal.two_norm(); | ||
| 50 | 39·auto·c·=·re.position(faceIndex,1); | ||
| 51 | 40·c·-=·x; | ||
| 52 | 41·auto·faceDistance·=·(c*normal); | ||
| 53 | 42·if·(faceDistance<closestFaceDistance) | ||
| 54 | 43·{ | ||
| 55 | 44·closestFaceDistance·=·faceDistance; | ||
| 56 | 45·closestFaceIndex·=·faceIndex; | ||
| 57 | 46·} | ||
| 58 | 47·} | ||
| 59 | 48·return·closestFaceIndex; | ||
| 60 | 49} | ||
| 61 | 50 | ||
| 62 | 51}·//·end·namespace·Impl | ||
| 63 | 52 | ||
| 64 | 53 | ||
| 65 | 54 | ||
| 66 | 55 | ||
| 33 | 67 | 68template<class·GV> | |
| 68 | 69class·FaceNormalGridFunction | ||
| 69 | 70{ | ||
| 34 | 26·auto·require(F&&·f)·->·decltype( | ||
| 35 | 27·localFunction(f) | ||
| 36 | 28·); | ||
| 37 | 29}; | ||
| 38 | 30 | ||
| 39 | 31 | ||
| 40 | 32 | ||
| 41 | 33//·Interface·of·type·erasure·wrapper | ||
| 42 | 34// | ||
| 43 | 35//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 44 | ...) | ||
| 45 | 36//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 46 | 37template<class·Signature,·class·DerivativeInterface,·class | ||
| 47 | LocalFunctionInterface,·class·EntitySet> | ||
| 48 | 38class·GridFunctionWrapperInterface·: | ||
| 49 | 39·public·DifferentiableFunctionWrapperInterface<Signature, | ||
| 50 | DerivativeInterface> | ||
| 51 | 40{ | ||
| 52 | 70 | 71public: | |
| 71 | 72·using·GridView·=·GV; | ||
| 72 | 73·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
| 73 | 74·using·Element·=·typename·EntitySet::Element; | ||
| 74 | 75 | ||
| 75 | 76·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 76 | 77·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 77 | 78·using·Range·=·typename·EntitySet::GlobalCoordinate; | ||
| 78 | 79 | ||
| 79 | 80private: | ||
| 80 | 81 | ||
| 81 | 82·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
| 82 | DefaultDerivativeTraits,·16>; | ||
| 83 | 83 | ||
| 84 | 84·class·LocalFunction | ||
| 53 | 42·virtual·LocalFunctionInterface·wrappedLocalFunction()·const·=·0; | ||
| 54 | 43 | ||
| 55 | 44·virtual·const·EntitySet&·wrappedEntitySet()·const·=·0; | ||
| 56 | 45}; | ||
| 57 | 46 | ||
| 58 | 47 | ||
| 59 | 48//·Implementation·of·type·erasure·wrapper | ||
| 60 | 49template<class·Signature,·class·DerivativeInterface,·class | ||
| 61 | LocalFunctionInterface,·class·EntitySet,·class·B> | ||
| 62 | 50class·GridFunctionWrapperImplementation·: | ||
| 63 | 51·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 64 | DerivativeInterface,·B> | ||
| 65 | 52{ | ||
| 66 | 53·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 67 | DerivativeInterface,·B>; | ||
| 68 | 54public: | ||
| 69 | 55·using·Base::Base; | ||
| 70 | 56 | ||
| Max diff block lines reached; 2869/9694 bytes (29.60%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·analyticgridviewfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 41 lines modified | Offset 71, 54 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">analyticgridviewfunction.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 83 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·<optional></code><br·/> | 84 | <code>#include·<optional></code><br·/> |
| 84 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/copyableoptional.hh></code><br·/> |
| 85 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 86 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 86 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
| 87 | <code>#include·< | 87 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/signature.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a000 | 90 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a000 | 91 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 92 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
| 90 | </div> | 93 | </div> |
| 91 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> | 94 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 95 | <table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 94 | Classes</h2></td></tr> | 97 | Classes</h2></td></tr> |
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01899.html">Dune::Functions::AnalyticGridViewFunction<·Range(Domain),·GV,·F,·DerivativeTraits·></a></td></tr> |
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·wrapping·any·differentiable·function·as·grid·function.··<a·href="a01899.html#details">More...</a><br·/></td></tr> |
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 98 | </table><table·class="memberdecls"> | 101 | </table><table·class="memberdecls"> |
| 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 100 | Namespaces</h2></td></tr> | 103 | Namespaces</h2></td></tr> |
| 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 104 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 106 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | </table><table·class="memberdecls"> | ||
| 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 110 | Functions</h2></td></tr> | ||
| 111 | <tr·class="memitem: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> | ||
| 112 | <tr·class="memitem:a4982d31e3f878344c48b9825e82a4426"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a4982d31e3f878344c48b9825e82a4426">Dune::Functions::AnalyticGridViewFunction</a>·(const·F·&,·const·GridView·&)·->·<a·class="el"·href="a01895.html">AnalyticGridViewFunction</a><·Range(Domain),·GridView,·F·></td></tr> | ||
| 113 | <tr·class="separator:a4982d31e3f878344c48b9825e82a4426"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"·id="r_gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> | ||
| 115 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">Dune::Functions::makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
| 116 | <tr·class="memdesc:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01895.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | </table> | 118 | </table> |
| 106 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
| 107 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
| 108 | <hr·class="footer"/><address·class="footer"><small> | 121 | <hr·class="footer"/><address·class="footer"><small> |
| 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 110 | </small></address> | 123 | </small></address> |
| 111 | </body> | 124 | </body> |
| Offset 1, 29 lines modified | Offset 1, 44 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | analyticgridviewfunction.hh·File·Reference | |
| 10 | #include·<type_traits> | 10 | #include·<type_traits> |
| 11 | #include·<optional> | 11 | #include·<optional> |
| 12 | #include·<dune/common/ | 12 | #include·<dune/common/copyableoptional.hh> |
| 13 | #include·<dune/common/typeutilities.hh> | 13 | #include·<dune/common/typeutilities.hh> |
| 14 | #include·<dune/common/rangeutilities.hh> | ||
| 15 | #include·<dune/geometry/referenceelements.hh> | ||
| 16 | #include·<dune/functions/ | 14 | #include·<dune/functions/common/signature.hh> |
| 15 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 16 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 17 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 17 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | 18 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 19 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 21 | Classes |
| 20 | class· ·Dune::Functions::FaceNormalGridFunction<_GV_> | ||
| 21 | 22 | class· ·Dune::Functions::AnalyticGridViewFunction<_Range(Domain),_GV,_F, | |
| 23 | ········DerivativeTraits_> | ||
| 24 | ·······Class·wrapping·any·differentiable·function·as·grid·function.·More... | ||
| 22 | 25 | ||
| 23 | Namespaces | 26 | Namespaces |
| 24 | namespace· ·Dune | 27 | namespace· ·Dune |
| 25 | 28 | ||
| 26 | namespace· ·Dune::Functions | 29 | namespace· ·Dune::Functions |
| 27 | 30 | ||
| 31 | Functions | ||
| 32 | template<class·F·,·class·GridView·,·class·Domain·=·typename·GridView::template | ||
| 33 | Codim<0>::Geometry::GlobalCoordinate,·class·Range·=·std::invoke_result_ | ||
| 34 | t<F,Domain>> | ||
| 35 | ···· ·Dune::Functions::AnalyticGridViewFunction·(const·F·&,·const·GridView·&)·- | ||
| 36 | ······>·AnalyticGridViewFunction<·Range(Domain),·GridView,·F·> | ||
| 37 | |||
| 38 | template<class·F·,·class·GridView·> | ||
| 39 | auto ·Dune::Functions::makeAnalyticGridViewFunction·(F·&&f,·const·GridView | ||
| 40 | ······&gridView) | ||
| 41 | ·····Create·an·AnalyticGridViewFunction·from·a·function·and·a·grid·view. | ||
| 42 | |||
| 28 | =============================================================================== | 43 | =============================================================================== |
| 29 | ·····Generated·by [doxygen]·1.9.8 | 44 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·analyticgridviewfunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 209 lines modified | Offset 74, 257 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">analyticgridviewfunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00023.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00023.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<optional></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/ | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/copyableoptional.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/signature.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> |
| 102 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 106 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 107 | <div·class="line"><a·id="l0002 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><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> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction;</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·Compute·closest·face·to·point</span></div> | ||
| 109 | <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> | ||
| 110 | <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> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">auto</span>·closestFaceIndex·=·<span·class="keyword">decltype</span>(re.subEntity(0,1,0,1)){};</div> | ||
| 113 | <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> | ||
| 114 | <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·:·<a·class="code·hl_namespace"·href="a00224.html">Dune</a>::range(re.size(1)))</div> | ||
| 115 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">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> | ||
| 115 | <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> | ||
| 116 | <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> | ||
| 117 | <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> | ||
| 118 | <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> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">auto</span>·normal·=·re.integrationOuterNormal(faceIndex);</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····normal·/=·normal.two_norm();</div> | ||
| 121 | <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> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····c·-=·x;</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······closestFaceDistance·=·faceDistance;</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······closestFaceIndex·=·faceIndex;</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">return</span>·closestFaceIndex;</div> | ||
| 131 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> |
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">public</span>:</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>Signature·=·Range(LocalDomain);</div> | ||
| 119 | <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> | ||
| 120 | <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> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span>GridView·=·GV;</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>EntitySet·=·GridViewEntitySet<GridView,·0>;</div> | ||
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··using·Geometry·=·typename·Element::Geometry;</span></div> | ||
| 126 | <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> | ||
| 132 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="comment">//·Use·the·indirection·via·derivativeIfImplemented·to·also·support</span></div> | ||
| 129 | <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> | ||
| 130 | <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> | ||
| 133 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·the·derivative·type</span></div> |
| 134 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">using·</span>DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>;</div> |
| 133 | <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> | ||
| 134 | <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> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 136 | <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> | ||
| 137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··LocalAnalyticGridViewFunction(FT&&·f)·:</div> | ||
| 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····f_(std::forward<FT>(f))</div> | ||
| 139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··{}</div> | ||
| 136 | <div·class="line"><a·id="l0005 | 140 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 138 | <div·class="line"><a·id="l0006 | 141 | <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> |
| 139 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="};"> | ||
| 140 | <div·class="line"><a·id="l0006 | 142 | <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> |
| 143 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····f_(std::forward<FT>(f)),</div> | ||
| 144 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····element_(element),</div> | ||
| 145 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····geometry_(geometry)</div> | ||
| 141 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{}</div> |
| 142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</div> | ||
| 143 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV;</div> | ||
| 144 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01939.html#a0c37b830a7bbba309a4df30441de8b8e">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01971.html">EntitySet</a>·=·<a·class="code·hl_class"·href="a01971.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
| 145 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01939.html#abdec4f718f342e7b6ad20f26cc52a928">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#abdec4f718f342e7b6ad20f26cc52a928">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01971.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
| 146 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 148 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 149 | <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> | ||
| 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01939.html#a219d5fdf7e937595a134a106bab1cefa">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a219d5fdf7e937595a134a106bab1cefa">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01971.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
| 148 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01939.html#a35676aaf895f54191ad4dda5ed0bcfdd">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01939.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
| Max diff block lines reached; 52756/77140 bytes (68.39%) of diff not shown. | |||
| Offset 1, 242 lines modified | Offset 1, 329 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·gridfunctions | 7 | ····*·gridfunctions |
| 8 | 8 | analyticgridviewfunction.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ | 19 | 8#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | 21 | 10#include·<type_traits> |
| 22 | 11#include·<optional> | 22 | 11#include·<optional> |
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/common/ | 24 | 13#include·<dune/common/copyableoptional.hh> |
| 25 | 14#include·<dune/common/typeutilities.hh> | 25 | 14#include·<dune/common/typeutilities.hh> |
| 26 | 15#include·<dune/common/rangeutilities.hh> | ||
| 27 | 16#include·<dune/geometry/referenceelements.hh> | ||
| 28 | 17 | ||
| 29 | 1 | 26 | 15 |
| 27 | 16#include·<dune/functions/common/signature.hh> | ||
| 28 | 17#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 29 | 18#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 30 | 19#include·<dune/functions/common/differentiablefunction.hh> | ||
| 30 | 31 | 20#include·<dune/functions/gridfunctions/gridviewentityset.hh> | |
| 32 | 21#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
| 33 | 22 | ||
| 31 | 20 | ||
| 32 | 21 | ||
| 33 | 22namespace·Dune::Functions·{ | ||
| 34 | 23 | 34 | 23 |
| 35 | 24namespace·Dune·{ | ||
| 36 | 25namespace·Functions·{ | ||
| 37 | 26 | ||
| 35 | 2 | 38 | 27namespace·Imp·{ |
| 36 | 25 | ||
| 37 | 26//·Compute·closest·face·to·point | ||
| 38 | 27template<class·ReferenceElement,·class·Coordinate> | ||
| 39 | 28auto·closestFaceIndex(const·ReferenceElement&·re,·const·Coordinate&·x) | ||
| 40 | 29{ | ||
| 41 | 30·auto·closestFaceIndex·=·decltype(re.subEntity(0,1,0,1)){}; | ||
| 42 | 31·double·closestFaceDistance·=·std::numeric_limits<double>::max(); | ||
| 43 | 32·for(auto&&·faceIndex·:·Dune::range(re.size(1))) | ||
| 44 | 33·{ | ||
| 45 | 34·//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection | ||
| 46 | 35·//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face | ||
| 47 | 36·//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>. | ||
| 48 | 37·auto·normal·=·re.integrationOuterNormal(faceIndex); | ||
| 49 | 38·normal·/=·normal.two_norm(); | ||
| 50 | 39·auto·c·=·re.position(faceIndex,1); | ||
| 51 | 40·c·-=·x; | ||
| 52 | 41·auto·faceDistance·=·(c*normal); | ||
| 53 | 42·if·(faceDistance<closestFaceDistance) | ||
| 54 | 43·{ | ||
| 55 | 44·closestFaceDistance·=·faceDistance; | ||
| 56 | 45·closestFaceIndex·=·faceIndex; | ||
| 57 | 46·} | ||
| 58 | 47·} | ||
| 59 | 48·return·closestFaceIndex; | ||
| 60 | 49} | ||
| 61 | 50 | ||
| 62 | 51}·//·end·namespace·Impl | ||
| 63 | 39 | 28 | |
| 40 | 29template<class·Signature,·class·GV,·class·FLocal,·template<class>·class | ||
| 41 | DerivativeTraits=DefaultDerivativeTraits> | ||
| 42 | 30class·LocalAnalyticGridViewFunction; | ||
| 43 | 31 | ||
| 44 | 32template<class·Range,·class·LocalDomain,·class·GV,·class·F,·template<class> | ||
| 45 | class·DerivativeTraits> | ||
| 46 | 33class·LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F, | ||
| 47 | DerivativeTraits> | ||
| 48 | 34{ | ||
| 49 | 35public: | ||
| 50 | 36·using·Signature·=·Range(LocalDomain); | ||
| 51 | 37·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 52 | 38·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 53 | (LocalDomain); | ||
| 54 | 39 | ||
| 55 | 40·using·GridView·=·GV; | ||
| 56 | 41·using·EntitySet·=·GridViewEntitySet<GridView,·0>; | ||
| 57 | 42·using·Element·=·typename·EntitySet::Element; | ||
| 58 | 43//·using·Geometry·=·typename·Element::Geometry; | ||
| 59 | 44·using·Geometry·=·std::decay_t<typename·Element::Geometry>; | ||
| 60 | 45 | ||
| 61 | 46·//·Use·the·indirection·via·derivativeIfImplemented·to·also·support | ||
| 62 | 47·//·function·types·F·that·do·not·implement·derivative.·In·this·case | ||
| 63 | 48·//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for | ||
| 64 | 49·//·the·derivative·type | ||
| 65 | 50·using·DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>; | ||
| 66 | 51·using·GlobalRawDerivative·=·decltype(Imp:: | ||
| 67 | derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>())); | ||
| 68 | 52·using·LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature, | ||
| 69 | GridView,·GlobalRawDerivative,·DerivativeTraits>; | ||
| 64 | 53 | 70 | 53 |
| 65 | 54 | ||
| 66 | 55 | 71 | 55·template<class·FT,·disableCopyMove<LocalAnalyticGridViewFunction,·FT>·=·0> |
| 72 | 56·LocalAnalyticGridViewFunction(FT&&·f)·: | ||
| 73 | 57·f_(std::forward<FT>(f)) | ||
| 74 | 58·{} | ||
| 75 | 59 | ||
| 67 | 6 | 76 | 61·template<class·FT> |
| 77 | 62·LocalAnalyticGridViewFunction(FT&&·f,·const·Element&·element,·const·std:: | ||
| 78 | optional<Geometry>&·geometry)·: | ||
| 79 | 63·f_(std::forward<FT>(f)), | ||
| 80 | 64·element_(element), | ||
| 81 | 65·geometry_(geometry) | ||
| 82 | 66·{} | ||
| 83 | 67 | ||
| 84 | 68 | ||
| 85 | 77·void·bind(const·Element&·element) | ||
| 86 | 78·{ | ||
| 87 | 79·element_·=·element; | ||
| 88 | 80·geometry_.emplace(element_.geometry()); | ||
| 89 | 81·} | ||
| 90 | 82 | ||
| 91 | 84·void·unbind() | ||
| 68 | 69class·FaceNormalGridFunction | ||
| 69 | 70{ | ||
| Max diff block lines reached; 13142/18233 bytes (72.08%) of diff not shown. | |||
| Offset 81, 20 lines modified | Offset 81, 20 lines modified | ||
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<memory></code><br·/> | 83 | <div·class="textblock"><code>#include·<memory></code><br·/> |
| 84 | <code>#include·<optional></code><br·/> | 84 | <code>#include·<optional></code><br·/> |
| 85 | <code>#include·<dune/common/typetraits.hh></code><br·/> | 85 | <code>#include·<dune/common/typetraits.hh></code><br·/> |
| 86 | <code>#include·<dune/grid/utility/hierarchicsearch.hh></code><br·/> | 86 | <code>#include·<dune/grid/utility/hierarchicsearch.hh></code><br·/> |
| 87 | <code>#include·<dune/typetree/treecontainer.hh></code><br·/> | 87 | <code>#include·<dune/typetree/treecontainer.hh></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a001 | 88 | <code>#include·<<a·class="el"·href="a00194_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> | 89 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a000 | 90 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a0001 | 91 | <code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 92 | <code>#include·<<a·class="el"·href="a02936_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> | 92 | <code>#include·<<a·class="el"·href="a02936_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> |
| 93 | <code>#include·<<a·class="el"·href="a000 | 93 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> |
| 94 | </div> | 94 | </div> |
| 95 | <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 96 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 98 | Classes</h2></td></tr> | 98 | Classes</h2></td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01911.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·></a></td></tr> | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01911.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·></a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 95, 20 lines modified | Offset 95, 20 lines modified | ||
| 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> | 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> |
| 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/grid/utility/hierarchicsearch.hh></span></div> | 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/grid/utility/hierarchicsearch.hh></span></div> |
| 99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/treecontainer.hh></span></div> | 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/treecontainer.hh></span></div> |
| 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00194.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> |
| 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> |
| 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a0001 | 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00011.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
| 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a02936.html">dune/functions/backends/concepts.hh</a>></span></div> | 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a02936.html">dune/functions/backends/concepts.hh</a>></span></div> |
| 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> |
| 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 109 | <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="a00224.html">Dune</a>·{</div> | 109 | <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="a00224.html">Dune</a>·{</div> |
| 110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Functions·{</div> | 110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 113 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="}"> | 113 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="}"> |
| 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00238.html">···30</a></span><span·class="keyword">namespace·</span>ImplDoc·{</div> | 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00238.html">···30</a></span><span·class="keyword">namespace·</span>ImplDoc·{</div> |
| Offset 659, 19 lines modified | Offset 659, 19 lines modified | ||
| 659 | </div> | 659 | </div> |
| 660 | <div·class="line"><a·id="l00672"·name="l00672"></a><span·class="lineno">··672</span>·</div> | 660 | <div·class="line"><a·id="l00672"·name="l00672"></a><span·class="lineno">··672</span>·</div> |
| 661 | <div·class="line"><a·id="l00673"·name="l00673"></a><span·class="lineno">··673</span>·</div> | 661 | <div·class="line"><a·id="l00673"·name="l00673"></a><span·class="lineno">··673</span>·</div> |
| 662 | <div·class="line"><a·id="l00674"·name="l00674"></a><span·class="lineno">··674</span>}·<span·class="comment">//·namespace·Functions</span></div> | 662 | <div·class="line"><a·id="l00674"·name="l00674"></a><span·class="lineno">··674</span>}·<span·class="comment">//·namespace·Functions</span></div> |
| 663 | <div·class="line"><a·id="l00675"·name="l00675"></a><span·class="lineno">··675</span>}·<span·class="comment">//·namespace·Dune</span></div> | 663 | <div·class="line"><a·id="l00675"·name="l00675"></a><span·class="lineno">··675</span>}·<span·class="comment">//·namespace·Dune</span></div> |
| 664 | <div·class="line"><a·id="l00676"·name="l00676"></a><span·class="lineno">··676</span>·</div> | 664 | <div·class="line"><a·id="l00676"·name="l00676"></a><span·class="lineno">··676</span>·</div> |
| 665 | <div·class="line"><a·id="l00677"·name="l00677"></a><span·class="lineno">··677</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH</span></div> | 665 | <div·class="line"><a·id="l00677"·name="l00677"></a><span·class="lineno">··677</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH</span></div> |
| 666 | <div·class="ttc"·id="aa00002_html"><div·class="ttname"><a·href="a00002.html">istlvectorbackend.hh</a></div></div> | ||
| 667 | <div·class="ttc"·id="aa0001 | 666 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">gridfunction.hh</a></div></div> |
| 668 | <div·class="ttc"·id="aa000 | 667 | <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">gridviewentityset.hh</a></div></div> |
| 668 | <div·class="ttc"·id="aa00035_html"><div·class="ttname"><a·href="a00035.html">istlvectorbackend.hh</a></div></div> | ||
| 669 | <div·class="ttc"·id="aa00110_html"><div·class="ttname"><a·href="a00110.html">flatvectorview.hh</a></div></div> | 669 | <div·class="ttc"·id="aa00110_html"><div·class="ttname"><a·href="a00110.html">flatvectorview.hh</a></div></div> |
| 670 | <div·class="ttc"·id="aa001 | 670 | <div·class="ttc"·id="aa00194_html"><div·class="ttname"><a·href="a00194.html">hierarchicnodetorangemap.hh</a></div></div> |
| 671 | <div·class="ttc"·id="aa00215_html_ga9f1a8d6ac1558adad6150feb9b4e3168"><div·class="ttname"><a·href="a00215.html#ga9f1a8d6ac1558adad6150feb9b4e3168">Dune::Functions::DiscreteGlobalBasisFunction::makeDiscreteGlobalBasisFunction</a></div><div·class="ttdeci">auto·makeDiscreteGlobalBasisFunction(B·&&basis,·V·&&vector)</div><div·class="ttdoc">Generate·a·DiscreteGlobalBasisFunction.</div><div·class="ttdef"><b>Definition</b>·discreteglobalbasisfunction.hh:454</div></div> | 671 | <div·class="ttc"·id="aa00215_html_ga9f1a8d6ac1558adad6150feb9b4e3168"><div·class="ttname"><a·href="a00215.html#ga9f1a8d6ac1558adad6150feb9b4e3168">Dune::Functions::DiscreteGlobalBasisFunction::makeDiscreteGlobalBasisFunction</a></div><div·class="ttdeci">auto·makeDiscreteGlobalBasisFunction(B·&&basis,·V·&&vector)</div><div·class="ttdoc">Generate·a·DiscreteGlobalBasisFunction.</div><div·class="ttdef"><b>Definition</b>·discreteglobalbasisfunction.hh:454</div></div> |
| 672 | <div·class="ttc"·id="aa00220_html_gae5b9f62f85e3d638423142695a74d056"><div·class="ttname"><a·href="a00220.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a></div><div·class="ttdeci">auto·istlVectorBackend(Vector·&v)</div><div·class="ttdoc">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.</div><div·class="ttdef"><b>Definition</b>·istlvectorbackend.hh:350</div></div> | 672 | <div·class="ttc"·id="aa00220_html_gae5b9f62f85e3d638423142695a74d056"><div·class="ttname"><a·href="a00220.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a></div><div·class="ttdeci">auto·istlVectorBackend(Vector·&v)</div><div·class="ttdoc">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.</div><div·class="ttdef"><b>Definition</b>·istlvectorbackend.hh:350</div></div> |
| 673 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> | 673 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> |
| 674 | <div·class="ttc"·id="aa00225_html_ad98b265d97ebd619e7732df6a8d1f7da"><div·class="ttname"><a·href="a00225.html#ad98b265d97ebd619e7732df6a8d1f7da">Dune::Functions::flatVectorView</a></div><div·class="ttdeci">auto·flatVectorView(T·&t)</div><div·class="ttdoc">Create·flat·vector·view·of·passed·mutable·container.</div><div·class="ttdef"><b>Definition</b>·flatvectorview.hh:183</div></div> | 674 | <div·class="ttc"·id="aa00225_html_ad98b265d97ebd619e7732df6a8d1f7da"><div·class="ttname"><a·href="a00225.html#ad98b265d97ebd619e7732df6a8d1f7da">Dune::Functions::flatVectorView</a></div><div·class="ttdeci">auto·flatVectorView(T·&t)</div><div·class="ttdoc">Create·flat·vector·view·of·passed·mutable·container.</div><div·class="ttdef"><b>Definition</b>·flatvectorview.hh:183</div></div> |
| 675 | <div·class="ttc"·id="aa01087_html"><div·class="ttname"><a·href="a01087.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> | 675 | <div·class="ttc"·id="aa01087_html"><div·class="ttname"><a·href="a01087.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> |
| 676 | <div·class="ttc"·id="aa01295_html"><div·class="ttname"><a·href="a01295.html">Dune::Functions::SignatureTraits</a></div><div·class="ttdoc">Helper·class·to·deduce·the·signature·of·a·callable.</div><div·class="ttdef"><b>Definition</b>·signature.hh:60</div></div> | 676 | <div·class="ttc"·id="aa01295_html"><div·class="ttname"><a·href="a01295.html">Dune::Functions::SignatureTraits</a></div><div·class="ttdoc">Helper·class·to·deduce·the·signature·of·a·callable.</div><div·class="ttdef"><b>Definition</b>·signature.hh:60</div></div> |
| 677 | <div·class="ttc"·id="aa01643_html"><div·class="ttname"><a·href="a01643.html">Dune::Functions::HierarchicNodeToRangeMap</a></div><div·class="ttdoc">A·simple·node·to·range·map·using·the·nested·tree·indices.</div><div·class="ttdef"><b>Definition</b>·hierarchicnodetorangemap.hh:34</div></div> | 677 | <div·class="ttc"·id="aa01643_html"><div·class="ttname"><a·href="a01643.html">Dune::Functions::HierarchicNodeToRangeMap</a></div><div·class="ttdoc">A·simple·node·to·range·map·using·the·nested·tree·indices.</div><div·class="ttdef"><b>Definition</b>·hierarchicnodetorangemap.hh:34</div></div> |
| Offset 542, 17 lines modified | Offset 542, 17 lines modified | ||
| 542 | 671}; | 542 | 671}; |
| 543 | 672 | 543 | 672 |
| 544 | 673 | 544 | 673 |
| 545 | 674}·//·namespace·Functions | 545 | 674}·//·namespace·Functions |
| 546 | 675}·//·namespace·Dune | 546 | 675}·//·namespace·Dune |
| 547 | 676 | 547 | 676 |
| 548 | 677#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH | 548 | 677#endif·//·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH |
| 549 | istlvectorbackend.hh | ||
| 550 | gridfunction.hh | 549 | gridfunction.hh |
| 551 | gridviewentityset.hh | 550 | gridviewentityset.hh |
| 551 | istlvectorbackend.hh | ||
| 552 | flatvectorview.hh | 552 | flatvectorview.hh |
| 553 | hierarchicnodetorangemap.hh | 553 | hierarchicnodetorangemap.hh |
| 554 | Dune::Functions::DiscreteGlobalBasisFunction::makeDiscreteGlobalBasisFunction | 554 | Dune::Functions::DiscreteGlobalBasisFunction::makeDiscreteGlobalBasisFunction |
| 555 | auto·makeDiscreteGlobalBasisFunction(B·&&basis,·V·&&vector) | 555 | auto·makeDiscreteGlobalBasisFunction(B·&&basis,·V·&&vector) |
| 556 | Generate·a·DiscreteGlobalBasisFunction. | 556 | Generate·a·DiscreteGlobalBasisFunction. |
| 557 | Definition·discreteglobalbasisfunction.hh:454 | 557 | Definition·discreteglobalbasisfunction.hh:454 |
| 558 | Dune::Functions::istlVectorBackend | 558 | Dune::Functions::istlVectorBackend |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·trigonometricfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 57 lines modified | Offset 65, 48 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | 76 | <a·href="#nested-classes">Classes</a>·| |
| 77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">trigonometricfunction.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<cmath></code><br·/> |
| 83 | <code>#include·<tuple></code><br·/> | ||
| 84 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
| 89 | </div> | 83 | </div> |
| 90 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 91 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 93 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
| 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·></a></td></tr> |
| 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·linear·combination·of·trigonomic·functions.··<a·href="a01067.html#details">More...</a><br·/></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 99 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
| 100 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 106 | Functions</h2></td></tr> | 100 | Functions</h2></td></tr> |
| 107 | <tr·class="memitem:ae70612d0758e301c3168bdeb2dad5bff"·id="r_ae70612d0758e301c3168bdeb2dad5bff"><td·class="memTemplParams"·colspan="2">template<class·OF·,·class...·IF>·</td></tr> | ||
| 108 | <tr·class="memitem: | 101 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"·id="r_ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplParams"·colspan="2">template<class·K·,·int·sinFactor,·int·cosFactor>·</td></tr> |
| 102 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01067.html">TrigonometricFunction</a><·K,·-cosFactor,·sinFactor·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">Dune::Functions::derivative</a>·(const·<a·class="el"·href="a01067.html">TrigonometricFunction</a><·K,·sinFactor,·cosFactor·>·&f)</td></tr> | ||
| 103 | <tr·class="memdesc:ga7ec424ff4be740ad675bd85750940472"><td·class="mdescLeft"> </td><td·class="mdescRight">Obtain·derivative·of·<a·class="el"·href="a01067.html"·title="A·linear·combination·of·trigonomic·functions.">TrigonometricFunction</a>·function.··<br·/></td></tr> | ||
| 109 | <tr·class="separator: | 104 | <tr·class="separator:ga7ec424ff4be740ad675bd85750940472"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"·id="r_ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplParams"·colspan="2">template<class·OF·,·class...·IF>·</td></tr> | ||
| 111 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::makeComposedGridFunction</a>·(OF·&&outerFunction,·IF·&&...·innerFunction)</td></tr> | ||
| 112 | <tr·class="memdesc:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01903.html"·title="Composition·of·grid·functions·with·another·function.">ComposedGridFunction</a>·that·composes·grid-functions·with·another·function.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | </table> | 105 | </table> |
| 115 | </div><!--·contents·--> | 106 | </div><!--·contents·--> |
| 116 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
| 117 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
| 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 119 | </small></address> | 110 | </small></address> |
| 120 | </body> | 111 | </body> |
| Offset 1, 39 lines modified | Offset 1, 30 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*· | 7 | ····*·analyticfunctions |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | trigonometricfunction.hh·File·Reference | |
| 10 | #include·<type_traits> | ||
| 11 | #include·< | 10 | #include·<cmath> |
| 12 | #include·<dune/common/referencehelper.hh> | ||
| 13 | #include·<dune/common/typeutilities.hh> | ||
| 14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 15 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 17 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 18 | Classes | 12 | Classes |
| 19 | class· ·Dune::Functions::ComposedGridFunction<_OF,_IF_> | ||
| 20 | 13 | class· ·Dune::Functions::TrigonometricFunction<_K,_sinFactor,_cosFactor_> | |
| 14 | ·······A·linear·combination·of·trigonomic·functions.·More... | ||
| 21 | 15 | ||
| 22 | Namespaces | 16 | Namespaces |
| 23 | namespace· ·Dune | 17 | namespace· ·Dune |
| 24 | 18 | ||
| 25 | namespace· ·Dune::Functions | 19 | namespace· ·Dune::Functions |
| 26 | 20 | ||
| 27 | Functions | 21 | Functions |
| 22 | template<class·K·,·int·sinFactor,·int·cosFactor> | ||
| 23 | TrigonometricFunction<·K,·-cosFactor,·Dune::Functions::derivative·(const | ||
| 24 | ·························sinFactor·> ·TrigonometricFunction<·K,·sinFactor, | ||
| 25 | ······································cosFactor·>·&f) | ||
| 26 | ·····································Obtain·derivative·of | ||
| 27 | ······································TrigonometricFunction·function. | ||
| 28 | template<class·OF·,·class...·IF> | ||
| 29 | ···· ·Dune::Functions::ComposedGridFunction·(const·OF·&,·const·IF·&...)·- | ||
| 30 | ······>·ComposedGridFunction<·OF,·IF...·> | ||
| 31 | |||
| 32 | template<class·OF·,·class...·IF> | ||
| 33 | auto ·Dune::Functions::makeComposedGridFunction·(OF·&&outerFunction,·IF·&&... | ||
| 34 | ······innerFunction) | ||
| 35 | ·····Create·a·ComposedGridFunction·that·composes·grid-functions·with·another | ||
| 36 | ······function. | ||
| 37 | 28 | ||
| 38 | =============================================================================== | 29 | =============================================================================== |
| 39 | ·····Generated·by [doxygen]·1.9.8 | 30 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·trigonometricfunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 225 lines modified | Offset 70, 71 lines modified | ||
| 70 | </div> | 70 | </div> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">trigonometricfunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cmath></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 104 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·sinFactor,·<span·class="keywordtype">int</span>·cosFactor></div> |
| 100 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};"> | ||
| 101 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01067.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01067.html">TrigonometricFunction</a></div> | ||
| 105 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>{</div> |
| 106 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">public</span>:</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class·</span>OF,·<span·class="keyword">class</span>...·IF></div> | ||
| 109 | <div·class="foldopen"·id="foldopen000 | 104 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> |
| 110 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01067.html#a84e99df5856264ae06faa710876763aa">···34</a></span>··K·<a·class="code·hl_function"·href="a01067.html#a84e99df5856264ae06faa710876763aa">operator·()·</a>(<span·class="keyword">cons[·...·truncated·by·diffoscope;·len:·52,·SHA:·6a2af46a9ac01ccc6704f63e79cf3def8e847fb05289f7024be8f453e5cc83ae·...·]></div> |
| 106 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">··</span>{</div> | ||
| 107 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">return</span>·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x);</div> | ||
| 108 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··}</div> | ||
| 109 | </div> | ||
| 110 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>};</div> | ||
| 111 | </div> | ||
| 112 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 114 | <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> | ||
| 115 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
| 116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">···43</a></span><a·class="code·hl_class"·href="a01067.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01067.html">TrigonometricFunction<K,·sinFactor,·cosFactor></a>&·f)</div> | ||
| 117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
| 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01067.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>();</div> | ||
| 111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}</div> |
| 112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>InnerFunctions·=·std::tuple<IF...>;</div> | ||
| 113 | < | 120 | </div> |
| 121 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 123 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 115 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> | ||
| 116 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
| 125 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 117 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 126 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 118 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">using·</span>OuterFunction·=·OF;</div> | ||
| 119 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> | ||
| 120 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01903.html#a60e88941320bce2a3fd832dcb33b79e8">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01903.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·<span·class="keyword">typename</span>·InnerFunction<0>::EntitySet;</div> | ||
| 123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01903.html#a6c0975897a61d00e1e5db9e8d1c5943c">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01903.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·<span·class="keyword">typename</span>·EntitySet::Element;</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"><a·class="line"·href="a01903.html#ad9612763841397749ff243b3f6f16177">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01903.html#ad9612763841397749ff243b3f6f16177">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
| 126 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01903.html#a62ac2c12e6920194583994cdec60283f">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01903.html#a62ac2c12e6920194583994cdec60283f">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
| 127 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01903.html#ad7e7b03a9451ddecdc34db9c424ac38a">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01903.html#ad7e7b03a9451ddecdc34db9c424ac38a">Range</a>·=·<span·class="keyword">decltype</span>(std::declval<OF>()(std::declval<IF>()(std::declval<Domain>())...));</div> | ||
| 129 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">private</span>:</div> | ||
| 131 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">using·</span>Traits·=·Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a01903.html#ad7e7b03a9451ddecdc34db9c424ac38a">Range</a>(<a·class="code·hl_typedef"·href="a01903.html#ad9612763841397749ff243b3f6f16177">Domain</a>),·<a·class="code·hl_typedef"·href="a01903.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>,·<a·class="code·hl_struct"·href="a01087.html">DefaultDerivativeTraits</a>,·16>;</div> | ||
| 133 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">class·</span>LocalFunction</div> | ||
| 135 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> | ||
| 136 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">public</span>:</div> | ||
| 137 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····LocalFunction(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01903.html">ComposedGridFunction</a>&·globalFunction)·:</div> | ||
| 138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······globalFunction_(globalFunction),</div> | ||
| 139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······innerLocalFunctions_(globalFunction.<a·class="code·hl_function"·href="a01903.html#ab6fa74b32c63bb86bb048f3e67ead39d">innerLocalFunctions</a>())</div> | ||
| 140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{}</div> | ||
| 141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01903.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>&·element)</div> | ||
| 143 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> | ||
| 144 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······std::apply([&](<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
| 145 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··········(innerFunction.bind(element),...);</div> | ||
| 146 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······},·innerLocalFunctions_);</div> | ||
| 147 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> | ||
| 148 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
| 149 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keywordtype">void</span>·unbind()</div> | ||
| 150 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div> | ||
| 151 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······std::apply([&](<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
| 152 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··········(innerFunction.unbind(),...);</div> | ||
| 153 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······},·innerLocalFunctions_);</div> | ||
| 154 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····}</div> | ||
| 155 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
| 157 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">····</span>{</div> | ||
| 158 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>······<span·class="keywordflow">return</span>·std::apply([](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
| Max diff block lines reached; 7461/44379 bytes (16.81%) of diff not shown. | |||
| Offset 1, 255 lines modified | Offset 1, 68 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*· | 7 | ····*·analyticfunctions |
| 8 | 8 | trigonometricfunction.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_ | 18 | 7#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_ | 19 | 8#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 11#include·<tuple> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/referencehelper.hh> | ||
| 25 | 1 | 21 | 10#include·<cmath> |
| 22 | 11 | ||
| 23 | 12namespace·Dune·{ | ||
| 24 | 13namespace·Functions·{ | ||
| 25 | 14 | ||
| 26 | 15 | 26 | 15 |
| 27 | 16#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 28 | 17#include·<dune/functions/common/differentiablefunction.hh> | ||
| 29 | 18#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 21namespace·Dune·{ | ||
| 33 | 22namespace·Functions·{ | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 44template<class·OF,·class...·IF> | ||
| 38 | 45class·ComposedGridFunction | ||
| 39 | 46{ | ||
| 40 | 47·using·InnerFunctions·=·std::tuple<IF...>; | ||
| 41 | 48·using·InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef | ||
| 42 | 27 | 16 | |
| 28 | 29template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 29 | 30class·TrigonometricFunction | ||
| 30 | 31{ | ||
| 31 | 32public: | ||
| 32 | 34·K·operator_()_(const·K&·x)·const | ||
| 33 | 35·{ | ||
| 34 | 36·return·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x); | ||
| 35 | 37·} | ||
| 36 | 38}; | ||
| 37 | 39 | ||
| 38 | 40 | ||
| 39 | 42template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 40 | 43TrigonometricFunction<K,·-cosFactor,·sinFactor>·derivative(const | ||
| 41 | TrigonometricFunction<K,_sinFactor,_cosFactor>&·f) | ||
| 42 | 44{ | ||
| 43 | 45·return·TrigonometricFunction<K,·-cosFactor,·sinFactor>(); | ||
| 44 | 46} | ||
| 45 | 47 | ||
| 46 | 48 | ||
| 43 | 49 | 47 | 49 |
| 48 | 50}}·//·namespace·Dune::Functions | ||
| 49 | 51 | ||
| 44 | 50·template<std::size_t·i> | ||
| 45 | 51·using·InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i, | ||
| 46 | InnerFunctions>>>; | ||
| 47 | 52 | 50 | 52 |
| 51 | 53 | ||
| 48 | 53·using·OuterFunction·=·OF; | ||
| 49 | 54 | ||
| 50 | 55public: | ||
| 51 | 56 | ||
| 52 | 57·using·EntitySet·=·typename·InnerFunction<0>::EntitySet; | ||
| 53 | 58·using·Element·=·typename·EntitySet::Element; | ||
| 54 | 59 | ||
| 55 | 60·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
| 56 | 61·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
| 57 | 62 | ||
| 58 | 63·using·Range·=·decltype(std::declval<OF>()(std::declval<IF>()(std:: | ||
| 59 | declval<Domain>())...)); | ||
| 60 | 64 | ||
| 61 | 65private: | ||
| 62 | 66 | ||
| 63 | 67·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
| 64 | DefaultDerivativeTraits,·16>; | ||
| 65 | 68 | ||
| 66 | 69·class·LocalFunction | ||
| 67 | 70·{ | ||
| 68 | 71·public: | ||
| 69 | 78·LocalFunction(const·ComposedGridFunction&·globalFunction)·: | ||
| 70 | 79·globalFunction_(globalFunction), | ||
| 71 | 80·innerLocalFunctions_(globalFunction.innerLocalFunctions()) | ||
| 72 | 81·{} | ||
| 73 | 82 | ||
| 74 | 92·void·bind(const·Element&·element) | ||
| 75 | 93·{ | ||
| 76 | 94·std::apply([&](auto&...·innerFunction)·{ | ||
| 77 | 95·(innerFunction.bind(element),...); | ||
| 78 | 96·},·innerLocalFunctions_); | ||
| 79 | 97·} | ||
| 80 | 98 | ||
| 81 | 100·void·unbind() | ||
| 82 | 101·{ | ||
| 83 | 102·std::apply([&](auto&...·innerFunction)·{ | ||
| 84 | 103·(innerFunction.unbind(),...); | ||
| 85 | 104·},·innerLocalFunctions_); | ||
| 86 | 105·} | ||
| 87 | 106 | ||
| 88 | 109·bool·bound()·const | ||
| 89 | 110·{ | ||
| 90 | 111·return·std::apply([](const·auto&...·innerFunction)·{ | ||
| 91 | 112·return·(innerFunction.bound()·&&·...); | ||
| 92 | 113·},·innerLocalFunctions_); | ||
| 93 | 114·} | ||
| 94 | 115 | ||
| 95 | 125·Range·operator()(const·LocalDomain&·x)·const | ||
| 96 | 126·{ | ||
| 97 | 127·return·std::apply([&](const·auto&...·innerFunction)·{ | ||
| 98 | 128·return·globalFunction_.outerFunction_(innerFunction(x)...); | ||
| 99 | 129·},·innerLocalFunctions_); | ||
| 100 | 130·} | ||
| 101 | 131 | ||
| Max diff block lines reached; 3329/9446 bytes (35.24%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·polynomial.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 40 lines modified | Offset 65, 67 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | 76 | <a·href="#nested-classes">Classes</a>·| |
| 77 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 78 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">polynomial.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 80 | </div><!--header--> |
| 80 | <div·class="contents"> | 81 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<cmath></code><br·/> |
| 83 | <code>#include·<initializer_list></code><br·/> | ||
| 84 | <code>#include·<vector></code><br·/> | ||
| 85 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 82 | </div> | 86 | </div> |
| 83 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 84 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 86 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01055.html">Dune::Functions::Polynomial<·K,·C·></a></td></tr> |
| 88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A | 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·univariate·polynomial·implementation.··<a·href="a01055.html#details">More...</a><br·/></td></tr> |
| 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 92 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
| 93 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | </table><table·class="memberdecls"> | ||
| 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 103 | Functions</h2></td></tr> | ||
| 104 | <tr·class="memitem:a368f344cc96ccfadd1c947cefb82789f"·id="r_a368f344cc96ccfadd1c947cefb82789f"><td·class="memTemplParams"·colspan="2">template<class·K·>·</td></tr> | ||
| 105 | <tr·class="memitem:a368f344cc96ccfadd1c947cefb82789f"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a368f344cc96ccfadd1c947cefb82789f">Dune::Functions::Polynomial</a>·(std::vector<·K·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::vector<·K·>·></td></tr> | ||
| 106 | <tr·class="separator:a368f344cc96ccfadd1c947cefb82789f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 107 | <tr·class="memitem:a016550b1c91d9134c26429189244978d"·id="r_a016550b1c91d9134c26429189244978d"><td·class="memTemplParams"·colspan="2">template<class·K·,·std::size_t·n>·</td></tr> | ||
| 108 | <tr·class="memitem:a016550b1c91d9134c26429189244978d"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a016550b1c91d9134c26429189244978d">Dune::Functions::Polynomial</a>·(std::array<·K,·n·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::array<·K,·n·>·></td></tr> | ||
| 109 | <tr·class="separator:a016550b1c91d9134c26429189244978d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | <tr·class="memitem:a1dba9ae8fffc043b3e692e34991565ac"·id="r_a1dba9ae8fffc043b3e692e34991565ac"><td·class="memTemplParams"·colspan="2">template<class·K·,·K...·ci>·</td></tr> | ||
| 111 | <tr·class="memitem:a1dba9ae8fffc043b3e692e34991565ac"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a1dba9ae8fffc043b3e692e34991565ac">Dune::Functions::Polynomial</a>·(std::integer_sequence<·K,·ci...·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::integer_sequence<·K,·ci...·>·></td></tr> | ||
| 112 | <tr·class="separator:a1dba9ae8fffc043b3e692e34991565ac"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | <tr·class="memitem:a85fee67e59a9cdf2dc2e12b4abdbb16b"·id="r_a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memTemplParams"·colspan="2">template<class·K·>·</td></tr> | ||
| 114 | <tr·class="memitem:a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a85fee67e59a9cdf2dc2e12b4abdbb16b">Dune::Functions::Polynomial</a>·(std::initializer_list<·K·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::vector<·K·>·></td></tr> | ||
| 115 | <tr·class="separator:a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:ae39290bbc7f0c8afc2a2234e2038ee43"·id="r_ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memTemplParams"·colspan="2">template<class·K·,·class·Coefficients·>·</td></tr> | ||
| 117 | <tr·class="memitem:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae39290bbc7f0c8afc2a2234e2038ee43">Dune::Functions::makePolynomial</a>·(Coefficients·coefficients)</td></tr> | ||
| 118 | <tr·class="memdesc:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01055.html"·title="A·univariate·polynomial·implementation.">Polynomial</a>.··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:a0f2765282a4f56600544187da5350845"·id="r_a0f2765282a4f56600544187da5350845"><td·class="memTemplParams"·colspan="2">template<class·K·,·class·C·>·</td></tr> | ||
| 121 | <tr·class="memitem:a0f2765282a4f56600544187da5350845"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a0f2765282a4f56600544187da5350845">Dune::Functions::makePolynomial</a>·(std::initializer_list<·C·>·coefficients)</td></tr> | ||
| 122 | <tr·class="memdesc:a0f2765282a4f56600544187da5350845"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01055.html"·title="A·univariate·polynomial·implementation.">Polynomial</a>.··<br·/></td></tr> | ||
| 123 | <tr·class="separator:a0f2765282a4f56600544187da5350845"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | </table> | 124 | </table> |
| 98 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 99 | <!--·start·footer·part·--> | 126 | <!--·start·footer·part·--> |
| 100 | <hr·class="footer"/><address·class="footer"><small> | 127 | <hr·class="footer"/><address·class="footer"><small> |
| 101 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 128 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 102 | </small></address> | 129 | </small></address> |
| 103 | </body> | 130 | </body> |
| Offset 1, 22 lines modified | Offset 1, 50 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*· | 7 | ····*·analyticfunctions |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | polynomial.hh·File·Reference | |
| 10 | #include·<cmath> | ||
| 11 | #include·<initializer_list> | ||
| 10 | #include·< | 12 | #include·<vector> |
| 13 | #include·<dune/common/hybridutilities.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 15 | Classes |
| 13 | class· ·Dune::Functions::GridViewEntitySet<_GV,_cd_> | ||
| 14 | 16 | class· ·Dune::Functions::Polynomial<_K,_C_> | |
| 17 | ·······A·univariate·polynomial·implementation.·More... | ||
| 15 | 18 | ||
| 16 | Namespaces | 19 | Namespaces |
| 17 | namespace· ·Dune | 20 | namespace· ·Dune |
| 18 | 21 | ||
| 19 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 20 | 23 | ||
| 24 | Functions | ||
| 25 | template<class·K·> | ||
| 26 | ···· ·Dune::Functions::Polynomial·(std::vector<·K·>)·->·Polynomial<·K,·std:: | ||
| 27 | ······vector<·K·>·> | ||
| 28 | |||
| 29 | template<class·K·,·std::size_t·n> | ||
| 30 | ···· ·Dune::Functions::Polynomial·(std::array<·K,·n·>)·->·Polynomial<·K,·std:: | ||
| 31 | ······array<·K,·n·>·> | ||
| 32 | |||
| 33 | template<class·K·,·K...·ci> | ||
| 34 | ···· ·Dune::Functions::Polynomial·(std::integer_sequence<·K,·ci...·>)·- | ||
| 35 | ······>·Polynomial<·K,·std::integer_sequence<·K,·ci...·>·> | ||
| 36 | |||
| 37 | template<class·K·> | ||
| 38 | ···· ·Dune::Functions::Polynomial·(std::initializer_list<·K·>)·->·Polynomial< | ||
| 39 | ······K,·std::vector<·K·>·> | ||
| 40 | |||
| 41 | template<class·K·,·class·Coefficients·> | ||
| 42 | auto ·Dune::Functions::makePolynomial·(Coefficients·coefficients) | ||
| 43 | ·····Create·Polynomial. | ||
| 44 | |||
| 45 | template<class·K·,·class·C·> | ||
| 46 | auto ·Dune::Functions::makePolynomial·(std::initializer_list<·C·>·coefficients) | ||
| 47 | ·····Create·Polynomial. | ||
| 48 | |||
| 21 | =============================================================================== | 49 | =============================================================================== |
| 22 | ·····Generated·by [doxygen]·1.9.8 | 50 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·polynomial.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 127 lines modified | Offset 70, 236 lines modified | ||
| 70 | </div> | 70 | </div> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">polynomial.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00032.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00032.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cmath></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class=" | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 100 | <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> | ||
| 101 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
| 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01971.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01971.html">GridViewEntitySet</a></div> | ||
| 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
| 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> | ||
| 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01971.html#a1952f7f975b409a9fb7cac45d2dd13c0">···30</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01971.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>;</div> | ||
| 107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">enum</span>·{</div> | ||
| 108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<a·class="code·hl_enumvalue"·href="a01971.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">codim</a>·=·cd</div> | ||
| 109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01971.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">···33</a></span>··};</div> | ||
| 110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01971.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="a01971.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>;</div> | ||
| 112 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01971.html#aa4368ad66f18ba8279f20ab7a794069d">···39</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::LocalCoordinate·<a·class="code·hl_typedef"·href="a01971.html#aa4368ad66f18ba8279f20ab7a794069d">LocalCoordinate</a>;</div> | ||
| 114 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">···40</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::GlobalCoordinate·<a·class="code·hl_typedef"·href="a01971.html#ac4e3d0188467b4be3d195c9f5729e629">GlobalCoordinate</a>;</div> | ||
| 115 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
| 116 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01971.html#a64c695239c50f85f3c3ac009e0d28ec5">···42</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01971.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>·<a·class="code·hl_typedef"·href="a01971.html#a64c695239c50f85f3c3ac009e0d28ec5">value_type</a>;</div> | ||
| 117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01971.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="a01971.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>;</div> | ||
| 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01971.html#af641ddccfd83eac1935a39604afd4335">···48</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01971.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_typedef"·href="a01971.html#af641ddccfd83eac1935a39604afd4335">iterator</a>;</div> | ||
| 121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 122 | <div·class="foldopen"·id="foldopen000 | 99 | <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="}"> |
| 123 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a00224.html">···17</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 101 | <div·class="foldopen"·id="foldopen00018"·data-start="{"·data-end="}"> | ||
| 102 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00225.html">···18</a></span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 103 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 124 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 106 | <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> | ||
| 107 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="comment">//·Overload·for·std::vector</span></div> | ||
| 108 | <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> | ||
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keywordflow">if</span>·(coefficients.size()==0)</div> | ||
| 111 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keywordflow">return</span>·std::vector<K,·Allocator>();</div> | ||
| 112 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····std::vector<K,·Allocator>·dpCoefficients(coefficients.size()-1);</div> | ||
| 113 | <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> | ||
| 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······dpCoefficients[i-1]·=·coefficients[i]*K(i);</div> | ||
| 115 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keywordflow">return</span>·dpCoefficients;</div> | ||
| 125 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··}</div> |
| 117 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
| 118 | <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> | ||
| 119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="comment">//·Overload·for·std::array</span></div> | ||
| 120 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·K,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 121 | <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> | ||
| 122 | <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> | ||
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keywordflow">return</span>·coefficients;</div> | ||
| 124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keywordflow">else</span></div> | ||
| 125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····{</div> | ||
| 126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······std::array<K,·n-1>·dpCoefficients;</div> | ||
| 127 | <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> | ||
| 128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········dpCoefficients[i-1]·=·coefficients[i]*K(i);</div> | ||
| 129 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">return</span>·dpCoefficients;</div> | ||
| 130 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> | ||
| 131 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> | ||
| 132 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 133 | <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> | ||
| 134 | <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> | ||
| 135 | <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> | ||
| 136 | <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> | ||
| 137 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·to·do·the·same·inline.</span></div> | ||
| 138 | <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> | ||
| 139 | <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> | ||
| 140 | <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> | ||
| 141 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div> | ||
| 142 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 143 | <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> | ||
| 144 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="comment">//·Overload·for·std::integer_sequence</span></div> | ||
| 145 | <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> | ||
| 146 | <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> | ||
| 147 | <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> | ||
| 148 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">return</span>·coefficients;</div> | ||
| 149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">else</span></div> | ||
| 150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keywordflow">return</span>·polynomialDerivativeCoefficientsHelper(coefficients,·std::make_index_sequence<<span·class="keyword">sizeof</span>...(i)>());</div> | ||
| 151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> | ||
| 152 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="comment">//·Compute·coefficients·of·derivative·of·polynomial.</span></div> | ||
| 154 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="comment">//·Overload·for·std::tuple</span></div> | ||
| Max diff block lines reached; 8774/55606 bytes (15.78%) of diff not shown. | |||
| Offset 1, 146 lines modified | Offset 1, 246 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*· | 7 | ····*·analyticfunctions |
| 8 | 8 | polynomial.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<cmath> | ||
| 22 | 11#include·<initializer_list> | ||
| 21 | 1 | 23 | 12#include·<vector> |
| 24 | 13 | ||
| 22 | 11 | ||
| 23 | 12 | ||
| 24 | 13namespace·Dune·{ | ||
| 25 | 14 | 25 | 14 |
| 26 | 15n | 26 | 15#include·<dune/common/hybridutilities.hh> |
| 27 | 16 | 27 | 16 |
| 28 | 17namespace·Dune·{ | ||
| 29 | 18namespace·Functions·{ | ||
| 30 | 19 | ||
| 31 | 20namespace·Impl·{ | ||
| 32 | 21 | ||
| 33 | 22·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 34 | 23·//·Overload·for·std::vector | ||
| 35 | 24·template<class·K,·class·Allocator> | ||
| 36 | 25·auto·polynomialDerivativeCoefficients(const·std::vector<K,·Allocator>& | ||
| 37 | coefficients)·{ | ||
| 38 | 26·if·(coefficients.size()==0) | ||
| 39 | 27·return·std::vector<K,·Allocator>(); | ||
| 40 | 28·std::vector<K,·Allocator>·dpCoefficients(coefficients.size()-1); | ||
| 41 | 29·for·(size_t·i=1;·i<coefficients.size();·++i) | ||
| 42 | 30·dpCoefficients[i-1]·=·coefficients[i]*K(i); | ||
| 43 | 31·return·dpCoefficients; | ||
| 44 | 32·} | ||
| 45 | 33 | ||
| 46 | 34·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 47 | 35·//·Overload·for·std::array | ||
| 48 | 36·template<class·K,·std::size_t·n> | ||
| 49 | 37·auto·polynomialDerivativeCoefficients(const·std::array<K,·n>&·coefficients) | ||
| 50 | { | ||
| 51 | 38·if·constexpr·(n==0) | ||
| 52 | 39·return·coefficients; | ||
| 53 | 40·else | ||
| 54 | 41·{ | ||
| 55 | 42·std::array<K,·n-1>·dpCoefficients; | ||
| 56 | 43·for·(size_t·i=1;·i<coefficients.size();·++i) | ||
| 57 | 44·dpCoefficients[i-1]·=·coefficients[i]*K(i); | ||
| 58 | 45·return·dpCoefficients; | ||
| 59 | 46·} | ||
| 60 | 47·} | ||
| 61 | 48 | ||
| 62 | 49·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 63 | 50·//·Helper·function·for·the·std::integer_sequence·overload. | ||
| 64 | 51·//·With·C++20·this·can·be·avoided,·because·lambda·function | ||
| 65 | 52·//·can·partially·specify·template·arguments·which·allows | ||
| 66 | 53·//·to·do·the·same·inline. | ||
| 67 | 54·template<class·I,·I·i0,·I...·i,·class·J,·J·j0,·J...·j> | ||
| 68 | 55·auto·polynomialDerivativeCoefficientsHelper(std::integer_sequence<I,·i0, | ||
| 69 | i...>,·std::integer_sequence<J,·j0,·j...>)·{ | ||
| 70 | 56·return·std::integer_sequence<I,·i*I(j)...>(); | ||
| 71 | 57·} | ||
| 72 | 58 | ||
| 73 | 59·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 74 | 60·//·Overload·for·std::integer_sequence | ||
| 75 | 61·template<class·I,·I...·i> | ||
| 76 | 62·auto·polynomialDerivativeCoefficients(std::integer_sequence<I,·i...> | ||
| 77 | coefficients)·{ | ||
| 78 | 63·if·constexpr·(sizeof...(i)==0) | ||
| 79 | 64·return·coefficients; | ||
| 80 | 65·else | ||
| 81 | 66·return·polynomialDerivativeCoefficientsHelper(coefficients,·std::make_index_ | ||
| 82 | sequence<sizeof...(i)>()); | ||
| 83 | 67·} | ||
| 84 | 68 | ||
| 85 | 69·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 86 | 70·//·Overload·for·std::tuple | ||
| 87 | 71·template<class...T> | ||
| 88 | 72·auto·polynomialDerivativeCoefficients(const·std::tuple<T...>&·coefficients) | ||
| 89 | { | ||
| 90 | 73·if·constexpr·(sizeof...(T)==0) | ||
| 91 | 74·return·coefficients; | ||
| 92 | 75·else | ||
| 93 | 76·{ | ||
| 94 | 77·//·Notice·that·std::multiplies<void>·has·issues·with·signed·types. | ||
| 95 | 78·//·E.g.,·`decltype(-2,2ul)`·is·`long·unsigned·int`. | ||
| 96 | 79·//·Hence·the·same·is·deduced·as·return·type·in·std::multiplies. | ||
| 97 | 80·//·To·avoid·this,·we·explicitly·pass·the·exponent·`i+1`·as·signed·type. | ||
| 98 | 81·//·If·the·coefficient·is·signed,·both·types·are·now·signed·and | ||
| 99 | 82·//·so·is·the·deduced·result·type·of·std::multiplies. | ||
| 100 | 83·auto·mult·=·Dune::Hybrid::hybridFunctor(std::multiplies()); | ||
| 101 | 84·return·Dune::unpackIntegerSequence([&](auto...·i)·{ | ||
| 102 | 85·using·signed_type·=·std::conditional_t<std::is_same_v<std::size_t,·long | ||
| 103 | unsigned·int>, | ||
| 104 | 86·long·signed·int,·signed·int>; | ||
| 105 | 87·return·std::tuple(mult(std::get<i+1>(coefficients),·std::integral_ | ||
| 106 | constant<signed_type,·i+1>())·...); | ||
| 107 | 88·},·std::make_index_sequence<sizeof...(T)-1>()); | ||
| 108 | 89·} | ||
| 109 | 90·} | ||
| 110 | 91 | ||
| 111 | 92}·//·namespace·Impl·in·Dune::Functions:: | ||
| 112 | 93 | ||
| 113 | 94 | ||
| 114 | 95 | ||
| 115 | 122template<class·K,·class·C=std::vector<K>> | ||
| 116 | 123class·Polynomial | ||
| 117 | 124{ | ||
| 118 | 125·template<class·CC> | ||
| 119 | 126·struct·IsIntegerSequence·:·public·std::false_type·{}; | ||
| 28 | 17 | 120 | 127 |
| 121 | 128·template<class·I,·I...·i> | ||
| 122 | 129·struct·IsIntegerSequence<std::integer_sequence<I,·i...>>·:·public·std:: | ||
| 123 | true_type·{}; | ||
| Max diff block lines reached; 3330/11084 bytes (30.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·istlvectorbackend.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 58 lines modified | Offset 65, 61 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>· | 76 | <a·href="#namespaces">Namespaces</a>·| |
| 77 | <a·href="#func-members">Functions</a>··</div> | ||
| 78 | ··<div·class="headertitle"><div·class="title"> | 78 | ··<div·class="headertitle"><div·class="title">istlvectorbackend.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 79 | </div><!--header--> |
| 80 | <div·class="contents"> | 80 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·< | 81 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
| 82 | <code>#include·<utility></code><br·/> | 82 | <code>#include·<utility></code><br·/> |
| 83 | <code>#include·<type_traits></code><br·/> | ||
| 84 | <code>#include·<dune/common/std/type_traits.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 83 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 84 | <code>#include·<dune/common/ | 88 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 85 | </div> | 90 | </div> |
| 86 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 87 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 89 | Classes</h2></td></tr> | ||
| 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01083.html">Dune::Functions::InvalidRange</a></td></tr> | ||
| 91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Dummy·range·class·to·be·used·if·no·proper·type·is·available.··<a·href="a01083.html#details">More...</a><br·/></td></tr> | ||
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html">Dune::Functions::DefaultDerivativeTraits<·Signature·></a></td></tr> | ||
| 94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01087.html#details">More...</a><br·/></td></tr> | ||
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html">Dune::Functions::DefaultDerivativeTraits<·double(double)·></a></td></tr> | ||
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01091.html#details">More...</a><br·/></td></tr> | ||
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01095.html">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></a></td></tr> | ||
| 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01095.html#details">More...</a><br·/></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01099.html">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01099.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01103.html">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01103.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | </table><table·class="memberdecls"> | ||
| 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
| 111 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 113 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | </table><table·class="memberdecls"> | ||
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 101 | Functions</h2></td></tr> | ||
| 102 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"·id="r_ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
| 103 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Dune::Functions::fieldTypes</a>·()</td></tr> | ||
| 104 | <tr·class="memdesc:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·list·of·field·types·in·container.··<br·/></td></tr> | ||
| 105 | <tr·class="separator:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 106 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"·id="r_af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
| 107 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#af8b09a0411c63ab6a6500a7b6edb9dfb">Dune::Functions::hasUniqueFieldType</a>·()</td></tr> | ||
| 108 | <tr·class="memdesc:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·container·has·a·unique·field·type.··<br·/></td></tr> | ||
| 109 | <tr·class="separator:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"·id="r_gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> | ||
| 111 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a>·(Vector·&v)</td></tr> | ||
| 112 | <tr·class="memdesc:gae5b9f62f85e3d638423142695a74d056"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:gae5b9f62f85e3d638423142695a74d056"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"·id="r_ga50a181637103e7abc011235a9fd30611"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> | ||
| 115 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga50a181637103e7abc011235a9fd30611">Dune::Functions::istlVectorBackend</a>·(const·Vector·&v)</td></tr> | ||
| 116 | <tr·class="memdesc:ga50a181637103e7abc011235a9fd30611"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·const·ISTL·like·containers.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:ga50a181637103e7abc011235a9fd30611"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 115 | </table> | 118 | </table> |
| 116 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
| 117 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
| 118 | <hr·class="footer"/><address·class="footer"><small> | 121 | <hr·class="footer"/><address·class="footer"><small> |
| 119 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 120 | </small></address> | 123 | </small></address> |
| 121 | </body> | 124 | </body> |
| Offset 1, 42 lines modified | Offset 1, 44 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | ||
| 8 | Classes·|·Namespaces | ||
| 9 | defaultderivativetraits.hh·File·Reference | ||
| 10 | 7 | ····*·backends | |
| 8 | Namespaces·|·Functions | ||
| 9 | istlvectorbackend.hh·File·Reference | ||
| 10 | #include·<cstddef> | ||
| 11 | #include·<utility> | 11 | #include·<utility> |
| 12 | #include·<type_traits> | ||
| 13 | #include·<dune/common/std/type_traits.hh> | ||
| 14 | #include·<dune/common/indices.hh> | ||
| 15 | #include·<dune/common/hybridutilities.hh> | ||
| 12 | #include·<dune/common/ | 16 | #include·<dune/common/concept.hh> |
| 13 | #include·<dune/common/ | 17 | #include·<dune/functions/common/indexaccess.hh> |
| 18 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 14 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | ||
| 16 | ·class· ·Dune::Functions::InvalidRange | ||
| 17 | ········Dummy·range·class·to·be·used·if·no·proper·type·is·available.·More... | ||
| 18 | |||
| 19 | struct· ·Dune::Functions::DefaultDerivativeTraits<_Signature_> | ||
| 20 | ········Default·implementation·for·derivative·traits.·More... | ||
| 21 | |||
| 22 | struct· ·Dune::Functions::DefaultDerivativeTraits<_double(double)_> | ||
| 23 | ········Default·implementation·for·derivative·traits.·More... | ||
| 24 | |||
| 25 | struct· ·Dune::Functions::DefaultDerivativeTraits<_K(FieldVector<_K,_n_>)> | ||
| 26 | ········Default·implementation·for·derivative·traits.·More... | ||
| 27 | |||
| 28 | struct· ·Dune::Functions::DefaultDerivativeTraits<_FieldVector<_K,_m_> | ||
| 29 | ·········(FieldVector<_K,_n_>)> | ||
| 30 | ········Default·implementation·for·derivative·traits.·More... | ||
| 31 | |||
| 32 | struct· ·Dune::Functions::DefaultDerivativeTraits<_FieldMatrix<_K,_1,_m_> | ||
| 33 | ·········(FieldVector<_K,_n_>)> | ||
| 34 | ········Default·implementation·for·derivative·traits.·More... | ||
| 35 | |||
| 36 | Namespaces | 20 | Namespaces |
| 37 | namespace· ·Dune | 21 | namespace· ·Dune |
| 38 | 22 | ||
| 39 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 40 | 24 | ||
| 25 | Functions | ||
| 26 | template<class·V·> | ||
| 27 | constexpr·auto ·Dune::Functions::fieldTypes·() | ||
| 28 | ···············Generate·list·of·field·types·in·container. | ||
| 29 | |||
| 30 | template<class·V·> | ||
| 31 | constexpr·bool ·Dune::Functions::hasUniqueFieldType·() | ||
| 32 | ···············Check·if·container·has·a·unique·field·type. | ||
| 33 | |||
| 34 | template<class·Vector·> | ||
| 35 | ··········auto ·Dune::Functions::istlVectorBackend·(Vector·&v) | ||
| 36 | ···············Return·a·vector·backend·wrapping·non-const·ISTL·like | ||
| 37 | ················containers. | ||
| 38 | |||
| 39 | template<class·Vector·> | ||
| 40 | ··········auto ·Dune::Functions::istlVectorBackend·(const·Vector·&v) | ||
| 41 | ···············Return·a·vector·backend·wrapping·const·ISTL·like·containers. | ||
| 42 | |||
| 41 | =============================================================================== | 43 | =============================================================================== |
| 42 | ·····Generated·by [doxygen]·1.9.8 | 44 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·istlvectorbackend.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 101 lines modified | Offset 70, 352 lines modified | ||
| 70 | </div> | 70 | </div> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">istlvectorbackend.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cstddef></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/std/type_traits.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class=" | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 102 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">class·</span>V,</div> | ||
| 111 | <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> | ||
| 112 | <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="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(V&&·<span·class="comment">/*v*/</span>)</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>{</div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keywordflow">return</span>·TypeList<V>{};</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 117 | <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> | ||
| 118 | <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> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(V&&·v)</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>,·V>())</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[std::size_t{0}]);</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordflow">else</span></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">auto</span>·indexRange·=·<span·class="keyword">typename</span>·<span·class="keyword">decltype</span>(range(Hybrid::size(v)))::integer_sequence();</div> | ||
| 126 | <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> | ||
| 127 | <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="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[i])...));</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····},·indexRange);</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}·<span·class="comment">//·namespace·Impl</span></div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 136 | <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> | ||
| 103 | <div·class="foldopen"·id="foldopen000 | 137 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> |
| 104 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00225.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">···67</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#ad0a3b4e3[·...·truncated·by·diffoscope;·len:·42,·SHA:·ff55a287f1aa45d7ade2046109f389ae2d55f413ebbef6956431976cf17f950a·...·]</div> |
| 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{</div> | ||
| 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">return</span>·<span·class="keyword">decltype</span>(Impl::fieldTypes(std::declval<V>())){};</div> | ||
| 105 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}</div> |
| 106 | </div> | 142 | </div> |
| 107 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 109 | <div·class="line"><a·id="l000 | 144 | <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> |
| 110 | <div·class="foldopen"·id="foldopen000 | 145 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> |
| 111 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00225.html#af8b09a0411c63ab6a6500a7b6edb9dfb">···78</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00225.html#af8b0[·...·truncated·by·diffoscope;·len:·54,·SHA:·8a4a2e9515c2282a04c525993fbaa064d74d20fc59bf99cac5e029c373ceeeeb·...·]</div> |
| 147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> | ||
| 148 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keywordflow">return</span>·std::tuple_size_v<std::decay_t<decltype(fieldTypes<V>())>>·==1;</div> | ||
| 112 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}</div> |
| 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01087.html#a3f8978146cb9b334705b651d84194b98">···43</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01083.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01087.html#a3f8978146cb9b334705b651d84194b98">Range</a>;</div> | ||
| 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> | ||
| 115 | </div> | 150 | </div> |
| 116 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
| 117 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><></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="a01091.html">···55</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01087.html">DefaultDerivativeTraits</a><·double(double)·></div> | ||
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> | ||
| 122 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01091.html#a801e37f182d8c16ba1cfd72de1f17688">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_typedef"·href="a01091.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a>;</div> | ||
| 123 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>};</div> | ||
| 124 | </div> | ||
| 125 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n></div> | ||
| 127 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="};"> | ||
| 128 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01095.html">···71</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01087.html">DefaultDerivativeTraits</a><K(FieldVector<K,n>)></div> | ||
| 129 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>{</div> | ||
| 130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01095.html#ad1603332ee1c64f89c0fc18a8ee273d6">···74</a></span>··<span·class="keyword">typedef</span>·FieldVector<K,n>·<a·class="code·hl_typedef"·href="a01095.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a>;</div> | ||
| 131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div> | ||
| 132 | </div> | ||
| 133 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 134 | <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> | ||
| 135 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};"> | ||
| 136 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01099.html">···87</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01087.html">DefaultDerivativeTraits</a><FieldVector<K,m>(FieldVector<K,n>)></div> | ||
| 137 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>{</div> | ||
| 138 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01099.html#ace3fbe5caed8c848072466ff723e82ab">···90</a></span>··<span·class="keyword">typedef</span>·FieldMatrix<K,m,n>·<a·class="code·hl_typedef"·href="a01099.html#ace3fbe5caed8c848072466ff723e82ab">Range</a>;</div> | ||
| 139 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>};</div> | ||
| Max diff block lines reached; 40277/65287 bytes (61.69%) of diff not shown. | |||
| Offset 1, 103 lines modified | Offset 1, 372 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | ||
| 8 | 7 | ····*·backends | |
| 8 | istlvectorbackend.hh | ||
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·< | 21 | 10#include·<cstddef> |
| 22 | 11#include·<utility> | 22 | 11#include·<utility> |
| 23 | 12 | 23 | 12#include·<type_traits> |
| 24 | 13 | ||
| 25 | 14#include·<dune/common/std/type_traits.hh> | ||
| 26 | 15#include·<dune/common/indices.hh> | ||
| 27 | 16#include·<dune/common/hybridutilities.hh> | ||
| 24 | 1 | 28 | 17#include·<dune/common/concept.hh> |
| 25 | 14#include·<dune/common/fmatrix.hh> | ||
| 26 | 15 | ||
| 27 | 16namespace·Dune·{ | ||
| 28 | 17namespace·Functions·{ | ||
| 29 | 18 | 29 | 18 |
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 26class·InvalidRange | ||
| 33 | 27{}; | ||
| 34 | 28 | ||
| 35 | 29 | ||
| 36 | 39template<class·Signature> | ||
| 37 | 40struct·DefaultDerivativeTraits | ||
| 38 | 41{ | ||
| 39 | 43·typedef·InvalidRange·Range; | ||
| 40 | 44}; | ||
| 41 | 45 | ||
| 42 | 46 | ||
| 43 | 54template<> | ||
| 44 | 55struct·DefaultDerivativeTraits<·double(double)·> | ||
| 45 | 56{ | ||
| 46 | 58·typedef·double·Range; | ||
| 47 | 59}; | ||
| 48 | 60 | ||
| 49 | 70template<typename·K,·int·n> | ||
| 50 | 71struct·DefaultDerivativeTraits<K(FieldVector<K,n>)> | ||
| 51 | 72{ | ||
| 52 | 74·typedef·FieldVector<K,n>·Range; | ||
| 53 | 75}; | ||
| 54 | 76 | ||
| 55 | 86template<typename·K,·int·n,·int·m> | ||
| 56 | 87struct·DefaultDerivativeTraits<FieldVector<K,m>(FieldVector<K,n>)> | ||
| 57 | 88{ | ||
| 58 | 90·typedef·FieldMatrix<K,m,n>·Range; | ||
| 59 | 91}; | ||
| 60 | 92 | ||
| 61 | 102template<typename·K,·int·n,·int·m> | ||
| 62 | 1 | 30 | 19#include·<dune/functions/common/indexaccess.hh> |
| 31 | 20#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23namespace·Dune·{ | ||
| 35 | 24namespace·Functions·{ | ||
| 36 | 25 | ||
| 37 | 26namespace·Impl·{ | ||
| 38 | 27 | ||
| 39 | 28template<class·V, | ||
| 40 | 29·std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>()·, | ||
| 41 | int>·=·0> | ||
| 42 | 30auto·fieldTypes(V&&·/*v*/) | ||
| 43 | 31{ | ||
| 44 | 32·return·TypeList<V>{}; | ||
| 45 | 33} | ||
| 46 | 34 | ||
| 47 | 35template<class·V, | ||
| 48 | 36·std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(),·int> | ||
| 49 | =·0> | ||
| 50 | 37auto·fieldTypes(V&&·v) | ||
| 51 | 38{ | ||
| 52 | 39·if·constexpr·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>, | ||
| 53 | V>()) | ||
| 54 | 40·return·fieldTypes(v[std::size_t{0}]); | ||
| 55 | 41·else | ||
| 56 | 42·{ | ||
| 57 | 43·auto·indexRange·=·typename·decltype(range(Hybrid::size(v)))::integer_ | ||
| 58 | sequence(); | ||
| 59 | 44·return·unpackIntegerSequence([&](auto...·i)·{ | ||
| 60 | 45·return·uniqueTypeList(std::tuple_cat(fieldTypes(v[i])...)); | ||
| 61 | 46·},·indexRange); | ||
| 62 | 47·} | ||
| 63 | 48} | ||
| 64 | 49 | ||
| 65 | 50}·//·namespace·Impl | ||
| 66 | 51 | ||
| 67 | 52 | ||
| 68 | 53 | ||
| 69 | 66template<class·V> | ||
| 70 | 67constexpr·auto·fieldTypes() | ||
| 71 | 68{ | ||
| 72 | 69·return·decltype(Impl::fieldTypes(std::declval<V>())){}; | ||
| 73 | 70} | ||
| 74 | 71 | ||
| 75 | 77template<class·V> | ||
| 76 | 78constexpr·bool·hasUniqueFieldType() | ||
| 77 | 79{ | ||
| 78 | 80·return·std::tuple_size_v<std::decay_t<decltype(fieldTypes<V>())>>·==1; | ||
| 79 | 81} | ||
| 80 | 82 | ||
| 81 | 83 | ||
| 82 | 84 | ||
| 83 | 85namespace·Impl·{ | ||
| 84 | 86 | ||
| 85 | 87/* | ||
| 86 | 88·*·\brief·A·wrapper·providing·multi-index·access·to·vector·entries | ||
| 87 | 89·* | ||
| 88 | 90·*·The·wrapped·vector·type·should·be·an·istl·like·random | ||
| 89 | 91·*·access·container·providing·operator[]·and·size()·methods. | ||
| Max diff block lines reached; 9778/13897 bytes (70.36%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultderivativetraits.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 69 lines modified | Offset 71, 53 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#define-members">Macros</a>··</div> | ||
| 80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">defaultderivativetraits.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 80 | </div><!--header--> |
| 82 | <div·class="contents"> | 81 | <div·class="contents"> |
| 83 | <p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·· | ||
| 84 | <a·href="#details">More...</a></p> | ||
| 85 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 86 | <code>#include·< | 83 | <code>#include·<utility></code><br·/> |
| 87 | <code>#include·<cstddef></code><br·/> | ||
| 88 | <code>#include·<initializer_list></code><br·/> | ||
| 89 | <code>#include·<dune/common/ | 84 | <code>#include·<dune/common/fvector.hh></code><br·/> |
| 85 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
| 90 | </div> | 86 | </div> |
| 91 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 94 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01083.html">Dune::Functions::InvalidRange</a></td></tr> | ||
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Dummy·range·class·to·be·used·if·no·proper·type·is·available.··<a·href="a01083.html#details">More...</a><br·/></td></tr> | ||
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html">Dune::Functions::DefaultDerivativeTraits<·Signature·></a></td></tr> |
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01087.html#details">More...</a><br·/></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html">Dune::Functions::DefaultDerivativeTraits<·double(double)·></a></td></tr> | ||
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01091.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01095.html">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></a></td></tr> | ||
| 101 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01095.html#details">More...</a><br·/></td></tr> | ||
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01099.html">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
| 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01099.html#details">More...</a><br·/></td></tr> | ||
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01103.html">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
| 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01103.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 98 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
| 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 100 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
| 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 112 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 114 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | </table><table·class="memberdecls"> | ||
| 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
| 107 | Macros</h2></td></tr> | ||
| 108 | <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"·id="r_a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)   {}</td></tr> | ||
| 109 | <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | </table> | 116 | </table> |
| 111 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
| 112 | <div·class="textblock"><p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·</p> | ||
| 113 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
| 114 | <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a> | ||
| 115 | <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">◆ </a></span>CHECKSIZE</h2> | ||
| 116 | <div·class="memitem"> | ||
| 117 | <div·class="memproto"> | ||
| 118 | ······<table·class="memname"> | ||
| 119 | ········<tr> | ||
| 120 | ··········<td·class="memname">#define·CHECKSIZE</td> | ||
| 121 | ··········<td>(</td> | ||
| 122 | ··········<td·class="paramtype"> </td> | ||
| 123 | ··········<td·class="paramname">X</td><td>)</td> | ||
| 124 | ··········<td>   {}</td> | ||
| 125 | ········</tr> | ||
| 126 | ······</table> | ||
| 127 | </div><div·class="memdoc"> | ||
| 128 | </div> | ||
| 129 | </div> | ||
| 130 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
| 131 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 132 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
| 133 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 134 | </small></address> | 121 | </small></address> |
| 135 | </body> | 122 | </body> |
| 136 | </html> | 123 | </html> |
| Offset 1, 37 lines modified | Offset 1, 42 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | defaultderivativetraits.hh·File·Reference | ||
| 10 | #include·<type_traits> | ||
| 11 | #include·<utility> | ||
| 9 | reserveddeque.hh·File·Reference | ||
| 10 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
| 11 | More... | ||
| 12 | #include·<algorithm> | ||
| 13 | #include·<iostream> | ||
| 14 | #include·<cstddef> | ||
| 15 | #include·<initializer_list> | ||
| 16 | #include·<dune/common/ | 12 | #include·<dune/common/fvector.hh> |
| 13 | #include·<dune/common/fmatrix.hh> | ||
| 17 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 18 | Classes | 15 | Classes |
| 19 | class· ·Dune::Functions::ReservedDeque<_T,_n_> | ||
| 20 | ·······A·double-ended·queue·(deque)·class·with·statically·reserved·memory. | ||
| 21 | ··· | 16 | ·class· ·Dune::Functions::InvalidRange |
| 17 | ········Dummy·range·class·to·be·used·if·no·proper·type·is·available.·More... | ||
| 18 | |||
| 19 | struct· ·Dune::Functions::DefaultDerivativeTraits<_Signature_> | ||
| 20 | ········Default·implementation·for·derivative·traits.·More... | ||
| 21 | |||
| 22 | struct· ·Dune::Functions::DefaultDerivativeTraits<_double(double)_> | ||
| 23 | ········Default·implementation·for·derivative·traits.·More... | ||
| 24 | |||
| 25 | struct· ·Dune::Functions::DefaultDerivativeTraits<_K(FieldVector<_K,_n_>)> | ||
| 26 | ········Default·implementation·for·derivative·traits.·More... | ||
| 27 | |||
| 28 | struct· ·Dune::Functions::DefaultDerivativeTraits<_FieldVector<_K,_m_> | ||
| 29 | ·········(FieldVector<_K,_n_>)> | ||
| 30 | ········Default·implementation·for·derivative·traits.·More... | ||
| 31 | |||
| 32 | struct· ·Dune::Functions::DefaultDerivativeTraits<_FieldMatrix<_K,_1,_m_> | ||
| 33 | ·········(FieldVector<_K,_n_>)> | ||
| 34 | ········Default·implementation·for·derivative·traits.·More... | ||
| 22 | 35 | ||
| 23 | Namespaces | 36 | Namespaces |
| 24 | namespace· ·Dune | 37 | namespace· ·Dune |
| 25 | 38 | ||
| 26 | namespace· ·Dune::Functions | 39 | namespace· ·Dune::Functions |
| 27 | 40 | ||
| 28 | Macros | ||
| 29 | #define ·CHECKSIZE(X) {} | ||
| 30 | |||
| 31 | *****·Detailed·Description·***** | ||
| 32 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
| 33 | *****·Macro·Definition·Documentation·***** | ||
| 34 | *****·◆ CHECKSIZE·***** | ||
| 35 | #define·CHECKSIZE·(· ·X·)· {} | ||
| 36 | =============================================================================== | 41 | =============================================================================== |
| 37 | ·····Generated·by [doxygen]·1.9.8 | 42 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultderivativetraits.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 281 lines modified | Offset 74, 97 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">defaultderivativetraits.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00041.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="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> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 93 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
| 94 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 95 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class=" | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 96 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 97 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 98 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 99 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDDEQUE</span></div> | ||
| 100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> | ||
| 101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</span></div> | ||
| 102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00041.html#a65543e75bc949ecdb95a25b1f4e11675">···24</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> | ||
| 103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#endif</span></div> | ||
| 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 105 | <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="a00224.html">Dune</a>·{</div> | ||
| 106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·n></div> | ||
| 109 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> | ||
| 110 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01287.html">···48</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01287.html">ReservedDeque</a></div> | ||
| 111 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> | ||
| 112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div> | ||
| 113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01287.html#a1a11a57db6a51cd6ceebc8aba56e87d9">···55</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01287.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a>;</div> | ||
| 115 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01287.html#a65bd934ebbbb695648a6f506d8914861">···57</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01287.html#a65bd934ebbbb695648a6f506d8914861">pointer</a>;</div> | ||
| 116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01287.html#a9d97a3dd5165e57039304aab2c6065b3">···59</a></span>····<span·class="keyword">typedef</span>·T&·<a·class="code·hl_typedef"·href="a01287.html#a9d97a3dd5165e57039304aab2c6065b3">reference</a>;</div> | ||
| 117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01287.html#a841549562074d4cf71f7cac885b5e351">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&·<a·class="code·hl_typedef"·href="a01287.html#a841549562074d4cf71f7cac885b5e351">const_reference</a>;</div> | ||
| 118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01287.html#ae274c5849a958b0d61a6047ae8849ce4">···63</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01287.html#ae274c5849a958b0d61a6047ae8849ce4">size_type</a>;</div> | ||
| 119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01287.html#a9caae6b45eb4e86efd054b5b21e17ecb">···65</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01287.html#a9caae6b45eb4e86efd054b5b21e17ecb">difference_type</a>;</div> | ||
| 120 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01287.html#a165ae75902a942b5a9a01a540d5e92b3">···67</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<ReservedDeque,·value_type>·<a·class="code·hl_typedef"·href="a01287.html#a165ae75902a942b5a9a01a540d5e92b3">iterator</a>;</div> | ||
| 121 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01287.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">···69</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·<a·class="code·hl_typedef"·href="a01287.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">const_iterator</a>;</div> | ||
| 122 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 123 | <div·class="foldopen"·id="foldopen000 | 103 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> |
| 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01083.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01083.html">InvalidRange</a></div> | ||
| 124 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01287.html#a1a933bab5b5adcc06dfd9408aa98e6a5">···76</a></span>····<a·class="code·hl_function"·href="a01287.html#a1a933bab5b5adcc06dfd9408aa98e6a5">ReservedDeque</a>()·:</div> | ||
| 125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······size_(0),</div> | ||
| 126 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······first_(0)</div> | ||
| 127 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{}</div> | ||
| 128 | </div> | ||
| 129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 130 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> | ||
| 131 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01287.html#ad7ce13b5aef147da1c161680a6002e32">···81</a></span>····<a·class="code·hl_function"·href="a01287.html#ad7ce13b5aef147da1c161680a6002e32">ReservedDeque</a>(std::initializer_list<T>·<span·class="keyword">const</span>·&l)</div> | ||
| 132 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{</div> | ||
| 133 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······assert(l.size()·<=·n);<span·class="comment">//·Actually,·this·is·not·needed·any·more!</span></div> | ||
| 134 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······size_·=·l.size();</div> | ||
| 135 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······std::copy_n(l.begin(),·size_,·data_);</div> | ||
| 136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> | ||
| 137 | </div> | ||
| 138 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{};</div> |
| 139 | <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}"> | ||
| 140 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01287.html#a0a444f28dfb7fb3b6218e2f45eaa3815">···93</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01287.html#a0a444f28dfb7fb3b6218e2f45eaa3815">clear</a>()</div> | ||
| 141 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div> | ||
| 142 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······first_·=·0;</div> | ||
| 143 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······size_·=·0;</div> | ||
| 144 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> | ||
| 145 | </div> | ||
| 146 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
| 147 | <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01287.html#accbfb817461412168779007c0a2e792d">··100</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01287.html#accbfb817461412168779007c0a2e792d">resize</a>(<span·class="keywordtype">size_t</span>·s)</div> | ||
| 149 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div> | ||
| 150 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<a·class="code·hl_define"·href="a00041.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(s<=n);</div> | ||
| 151 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······size_·=·s;</div> | ||
| 152 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div> | ||
| 153 | </div> | ||
| 154 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
| 155 | <div·class="foldopen"·id="foldopen00107"·data-start="{"·data-end="}"> | ||
| 156 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01287.html#aec567f9d91f8d29e9baff6adef93051b">··107</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01287.html#aec567f9d91f8d29e9baff6adef93051b">push_back</a>(<span·class="keyword">const</span>·T&·t)</div> | ||
| 157 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····{</div> | ||
| 158 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······<a·class="code·hl_define"·href="a00041.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(size_<n);</div> | ||
| 159 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······data_[size_++·%·n]·=·t;</div> | ||
| 160 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div> | ||
| 161 | </div> | 106 | </div> |
| 107 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
| 110 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
| 111 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01087.html">···40</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01087.html">DefaultDerivativeTraits</a></div> | ||
| 112 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
| 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01087.html#a3f8978146cb9b334705b651d84194b98">···43</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01083.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01087.html#a3f8978146cb9b334705b651d84194b98">Range</a>;</div> | ||
| 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> | ||
| 115 | </div> | ||
| 116 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
| 117 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><></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="a01091.html">···55</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01087.html">DefaultDerivativeTraits</a><·double(double)·></div> | ||
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>{</div> | ||
| 122 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01091.html#a801e37f182d8c16ba1cfd72de1f17688">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_typedef"·href="a01091.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a>;</div> | ||
| 123 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>};</div> | ||
| Max diff block lines reached; 36594/58880 bytes (62.15%) of diff not shown. | |||
| Offset 1, 324 lines modified | Offset 1, 103 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | defaultderivativetraits.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 14#include·<algorithm> | ||
| 22 | 15#include·<iostream> | ||
| 23 | 16#include·<cstddef> | ||
| 24 | 1 | 21 | 10#include·<type_traits> |
| 22 | 11#include·<utility> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/fvector.hh> | ||
| 25 | 14#include·<dune/common/fmatrix.hh> | ||
| 26 | 15 | ||
| 27 | 16namespace·Dune·{ | ||
| 28 | 17namespace·Functions·{ | ||
| 25 | 18 | 29 | 18 |
| 26 | 19 | 30 | 19 |
| 27 | 20 | 31 | 20 |
| 32 | 26class·InvalidRange | ||
| 33 | 27{}; | ||
| 34 | 28 | ||
| 28 | 21#ifdef·CHECK_RESERVEDDEQUE | ||
| 29 | 22#define·CHECKSIZE(X)·assert(X) | ||
| 30 | 23#else | ||
| 31 | 24#define·CHECKSIZE(X)·{} | ||
| 32 | 25#endif | ||
| 33 | 26 | ||
| 34 | 27namespace·Dune·{ | ||
| 35 | 28namespace·Functions·{ | ||
| 36 | 29 | 35 | 29 |
| 36 | 39template<class·Signature> | ||
| 37 | 40struct·DefaultDerivativeTraits | ||
| 38 | 41{ | ||
| 39 | 43·typedef·InvalidRange·Range; | ||
| 40 | 44}; | ||
| 41 | 45 | ||
| 42 | 46 | ||
| 43 | 54template<> | ||
| 44 | 55struct·DefaultDerivativeTraits<·double(double)·> | ||
| 45 | 56{ | ||
| 46 | 58·typedef·double·Range; | ||
| 47 | 59}; | ||
| 48 | 60 | ||
| 49 | 70template<typename·K,·int·n> | ||
| 50 | 71struct·DefaultDerivativeTraits<K(FieldVector<K,n>)> | ||
| 51 | 72{ | ||
| 52 | 74·typedef·FieldVector<K,n>·Range; | ||
| 53 | 75}; | ||
| 54 | 76 | ||
| 55 | 86template<typename·K,·int·n,·int·m> | ||
| 56 | 87struct·DefaultDerivativeTraits<FieldVector<K,m>(FieldVector<K,n>)> | ||
| 57 | 88{ | ||
| 58 | 90·typedef·FieldMatrix<K,m,n>·Range; | ||
| 59 | 91}; | ||
| 60 | 92 | ||
| 61 | 102template<typename·K,·int·n,·int·m> | ||
| 62 | 103struct·DefaultDerivativeTraits<FieldMatrix<K,1,m>(FieldVector<K,n>)> | ||
| 63 | 104{ | ||
| 64 | 106·typedef·FieldMatrix<K,m,n>·Range; | ||
| 65 | 107}; | ||
| 37 | 47·template<class·T,·int·n> | ||
| 38 | 48·class·ReservedDeque | ||
| 39 | 49·{ | ||
| 40 | 50·public: | ||
| 41 | 51 | ||
| 42 | 55·typedef·T·value_type; | ||
| 43 | 57·typedef·T*·pointer; | ||
| 44 | 59·typedef·T&·reference; | ||
| 45 | 61·typedef·const·T&·const_reference; | ||
| 46 | 63·typedef·size_t·size_type; | ||
| 47 | 65·typedef·std::ptrdiff_t·difference_type; | ||
| 48 | 67·typedef·Dune::GenericIterator<ReservedDeque,·value_type>·iterator; | ||
| 49 | 69·typedef·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·const_ | ||
| 50 | iterator; | ||
| 51 | 70 | ||
| 52 | 76·ReservedDeque()·: | ||
| 53 | 77·size_(0), | ||
| 54 | 78·first_(0) | ||
| 55 | 79·{} | ||
| 56 | 80 | ||
| 57 | 81·ReservedDeque(std::initializer_list<T>·const·&l) | ||
| 58 | 82·{ | ||
| 59 | 83·assert(l.size()·<=·n);//·Actually,·this·is·not·needed·any·more! | ||
| 60 | 84·size_·=·l.size(); | ||
| 61 | 85·std::copy_n(l.begin(),·size_,·data_); | ||
| 62 | 86·} | ||
| 63 | 87 | ||
| 64 | 93·void·clear() | ||
| 65 | 94·{ | ||
| 66 | 95·first_·=·0; | ||
| 67 | 96·size_·=·0; | ||
| 68 | 97·} | ||
| 69 | 98 | ||
| 70 | 100·void·resize(size_t·s) | ||
| 71 | 101·{ | ||
| 72 | 102·CHECKSIZE(s<=n); | ||
| 73 | 103·size_·=·s; | ||
| 74 | 104·} | ||
| 75 | 105 | ||
| 76 | 107·void·push_back(const·T&·t) | ||
| 77 | 108 | 66 | 108 |
| 78 | 109·CHECKSIZE(size_<n); | ||
| 79 | 1 | 67 | 109 |
| 68 | 110}}·//·namespace·Dune::Functions | ||
| 80 | 111 | 69 | 111 |
| 81 | 112 | 70 | 112 |
| 71 | 113#endif·//·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
| 82 | 114·void·push_front(const·T&·t) | ||
| 83 | 115·{ | ||
| 84 | 116·CHECKSIZE(size_<n); | ||
| Max diff block lines reached; 5943/11039 bytes (53.84%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 33 lines modified | Offset 72, 34 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">differentiablefunction.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 83 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 84 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 84 | <code>#include·<<a·class="el"·href="a000 | 85 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a0008 | 86 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a000 | 87 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/signature.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a000 | 88 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a000 | 89 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
| 89 | </div> | 90 | </div> |
| 90 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 91 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 93 | Classes</h2></td></tr> | 94 | Classes</h2></td></tr> |
| 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01107.html">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·></a></td></tr> |
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01115.html">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></a></td></tr> |
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing· | 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·differentiable·functions·using·type·erasure.··<a·href="a01115.html#details">More...</a><br·/></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 101 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 102 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| Offset 2, 30 lines modified | Offset 2, 31 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | 9 | differentiablefunction.hh·File·Reference | |
| 10 | #include·<type_traits> | 10 | #include·<type_traits> |
| 11 | #include·<dune/common/typeutilities.hh> | 11 | #include·<dune/common/typeutilities.hh> |
| 12 | #include·<dune/functions/common/type_traits.hh> | ||
| 12 | #include·<dune/functions/common/defaultderivativetraits.hh> | 13 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 13 | #include·<dune/functions/common/differentiablefunction.hh> | 14 | #include·<dune/functions/common/differentiablefunction_imp.hh> |
| 14 | #include·<dune/functions/common/ | 15 | #include·<dune/functions/common/signature.hh> |
| 15 | #include·<dune/functions/common/typeerasure.hh> | 16 | #include·<dune/functions/common/typeerasure.hh> |
| 16 | #include·<dune/functions/common/functionconcepts.hh> | 17 | #include·<dune/functions/common/functionconcepts.hh> |
| 17 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 18 | Classes | 19 | Classes |
| 19 | class· ·Dune::Functions:: | 20 | class· ·Dune::Functions::DifferentiableFunction<_Signature,_DerivativeTraits, |
| 20 | ········ | 21 | ········bufferSize_> |
| 21 | 22 | ||
| 22 | class· ·Dune::Functions:: | 23 | class· ·Dune::Functions::DifferentiableFunction<_Range(Domain), |
| 23 | ········DerivativeTraits,_bufferSize_> | 24 | ········DerivativeTraits,_bufferSize_> |
| 24 | ·······Class·storing· | 25 | ·······Class·storing·differentiable·functions·using·type·erasure.·More... |
| 25 | 26 | ||
| 26 | Namespaces | 27 | Namespaces |
| 27 | namespace· ·Dune | 28 | namespace· ·Dune |
| 28 | 29 | ||
| 29 | namespace· ·Dune::Functions | 30 | namespace· ·Dune::Functions |
| 30 | 31 | ||
| 31 | =============================================================================== | 32 | =============================================================================== |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 173 lines modified | Offset 74, 141 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">differentiablefunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <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> | 83 | <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> |
| 98 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/signature.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/common/typeerasure.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/functionconcepts.hh</a>></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 105 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">/*</span></div> |
| 110 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·Default·implementation·is·empty</span></div> |
| 111 | <div·class="line"><a·id="l0002 | 110 | <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> |
| 112 | <div·class="line"><a·id="l000 | 111 | <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> |
| 113 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div> |
| 114 | <div·class="line"><a·id="l0003 | 113 | <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=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> |
| 115 | <div·class="foldopen"·id="foldopen0003 | 114 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="};"> |
| 116 | <div·class="line"><a·id="l0003 | 115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01107.html">···32</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01107.html">DifferentiableFunction</a></div> |
| 117 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{};</div> |
| 118 | </div> | 117 | </div> |
| 118 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
| 120 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 120 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 121 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 122 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Imp</div> |
| 122 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span> | 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 125 | <div·class="line"><a·id="l0004 | 124 | <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> |
| 126 | <div·class="line"><a·id="l0004 | 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">struct·</span>DifferentiableFunctionTraits</div> |
| 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
| 128 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> |
| 129 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>Signature·=·S;</div> |
| 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> | ||
| 131 | <div·class="line"><a·id="l0004 | 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 129 | <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="a01295.html">SignatureTraits<Signature>::Range</a>;</div> | ||
| 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>· | 130 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">using·</span> | 131 | <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="a01295.html">SignatureTraits<Signature>::Domain</a>;</div> |
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 132 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 135 | <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>· | 133 | <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="a01295.html">SignatureTraits<Signature>::template</a>·DerivativeSignature<DerivativeTraits>;</div> |
| 136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 137 | <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="a01 | 135 | <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="a01107.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits,·bufferSize></a>;</div> |
| 138 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | 136 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Concept·=· | 137 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Concept·=·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface>;</div> |
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 138 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 141 | <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> | 139 | <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> |
| 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">using·</span>Model·=· | 140 | <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> |
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··};</div> | 141 | <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> | 142 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> |
| 145 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 143 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 146 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 144 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 145 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 148 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> |
| 149 | <div·class="foldopen"·id="foldopen000 | 147 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="};"> |
| 150 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01115.html">···85</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01107.html">DifferentiableFunction</a><·Range(Domain),·DerivativeTraits,·bufferSize>·:</div> |
| 151 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01335.html">TypeErasureBase</a><</div> |
| 152 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::Concept,</div> |
| 153 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::template·Model></div> |
| 152 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>{</div> | ||
| 153 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">using·</span>Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>;</div> | ||
| 154 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01335.html">Base</a>·=·<a·class="code·hl_class"·href="a01335.html">TypeErasureBase<typename·Traits::Concept,·Traits::template·Model></a>;</div> | ||
| 156 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
| 157 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">using·</span>DerivativeInterface·=·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01107.html">Traits::DerivativeInterface</a>;</div> | ||
| 154 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span> | 158 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
| 155 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span> | 159 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">public</span>:</div> |
| 156 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | 160 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
| 157 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01335.html">Base</a>·=·<a·class="code·hl_class"·href="a01335.html">TypeErasureBase<typename·Traits::Concept,·Traits::template·Model></a>;</div> | ||
| 158 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
| 159 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">using·</span>DerivativeInterface·=·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01247.html">Traits::DerivativeInterface</a>;</div> | ||
| 160 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
| 161 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">public</span>:</div> | ||
| 162 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
| 163 | <div·class="line"><a·id="l001 | 161 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F,·disableCopyMove<DifferentiableFunction,·F>·=·0·></div> |
| 164 | <div·class="foldopen"·id="foldopen0011 | 162 | <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}"> |
| 165 | <div·class="line"><a·id="l0011 | 163 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01115.html#a2bfab7479475446c596aaa715e392e51">··110</a></span>··<a·class="code·hl_function"·href="a01115.html#a2bfab7479475446c596aaa715e392e51">DifferentiableFunction</a>(F&&·f)·:</div> |
| 166 | <div·class="line"><a·id="l0011 | 164 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<a·class="code·hl_class"·href="a01335.html">Base</a>(std::forward<F>(f))</div> |
| 167 | <div·class="line"><a·id="l0011 | 165 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··{</div> |
| 168 | <div·class="line"><a·id="l0011 | 166 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keyword">static_assert</span>(Dune::Functions::Concept::isFunction<F,·Range(Domain)>(),·<span·class="stringliteral">"Trying·to·construct·a·DifferentiableFunction·from·type·th[·...·truncated·by·diffoscope;·len:·22,·SHA:·2a7692546c330d7ed6b48685ae1921bb58a47a7b4eb234b922c20d2d8318fbac·...·]Function·concept"</span>);</div> |
| 169 | <div·class="line"><a·id="l001 | 167 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··}</div> |
| 170 | </div> | 168 | </div> |
| 171 | <div·class="line"><a·id="l001 | 169 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> |
| 172 | <div·class="line"><a·id="l001 | 170 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01115.html#aeec09a544bd23e1fabc708ae576ebb91">··117</a></span>··<a·class="code·hl_function"·href="a01115.html#aeec09a544bd23e1fabc708ae576ebb91">DifferentiableFunction</a>()·=·<span·class="keywordflow">default</span>;</div> |
| Max diff block lines reached; 11827/42851 bytes (27.60%) of diff not shown. | |||
| Offset 1, 194 lines modified | Offset 1, 157 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | differentiablefunction.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | 21 | 10#include·<type_traits> |
| 22 | 11 | 22 | 11 |
| 23 | 12#include·<dune/common/typeutilities.hh> | 23 | 12#include·<dune/common/typeutilities.hh> |
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/functions/common/type_traits.hh> | ||
| 25 | 1 | 26 | 15#include·<dune/functions/common/defaultderivativetraits.hh> |
| 26 | 1 | 27 | 16#include·<dune/functions/common/differentiablefunction_imp.hh> |
| 27 | 1 | 28 | 17#include·<dune/functions/common/signature.hh> |
| 28 | 1 | 29 | 18#include·<dune/functions/common/typeerasure.hh> |
| 29 | 1 | 30 | 19#include·<dune/functions/common/functionconcepts.hh> |
| 30 | 19 | ||
| 31 | 20 | 31 | 20 |
| 32 | 21 | ||
| 33 | 2 | 32 | 21namespace·Dune·{ |
| 34 | 2 | 33 | 22namespace·Functions·{ |
| 34 | 23 | ||
| 35 | 24 | 35 | 24 |
| 36 | 25 | 36 | 25 |
| 37 | 26 | ||
| 38 | 2 | 37 | 26/* |
| 39 | 2 | 38 | 27·*·Default·implementation·is·empty |
| 40 | 2 | 39 | 28·*·The·actual·implementation·is·only·given·if·Signature·is·an·type |
| 41 | 40 | 29·*·describing·a·function·signature·as·Range(Domain). | |
| 42 | 3 | 41 | 30·*/ |
| 43 | 3 | 42 | 31template<class·Signature,·template<class>·class |
| 44 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | 43 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> |
| 45 | 3 | 44 | 32class·DifferentiableFunction |
| 46 | 3 | 45 | 33{}; |
| 46 | 34 | ||
| 47 | 35 | 47 | 35 |
| 48 | 36 | 48 | 36 |
| 49 | 37 | ||
| 50 | 3 | 49 | 37namespace·Imp |
| 50 | 38{ | ||
| 51 | 39 | 51 | 39 |
| 52 | 40 | ||
| 53 | 4 | 52 | 41·template<class·S,·template<class>·class·DerivativeTraits,·size_t·bufferSize> |
| 53 | 42·struct·DifferentiableFunctionTraits | ||
| 54 | t·bufferSize> | ||
| 55 | 43·struct·LocalFunctionTraits·: | ||
| 56 | 44·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
| 57 | 4 | 54 | 43·{ |
| 58 | 46·protected: | ||
| 59 | 47·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
| 60 | 48 | ||
| 61 | 49·public: | ||
| 62 | 55 | 45·using·Signature·=·S; | |
| 56 | 46 | ||
| 57 | 48·using·Range·=·typename·SignatureTraits<Signature>::Range; | ||
| 58 | 49 | ||
| 59 | 51·using·Domain·=·typename·SignatureTraits<Signature>::Domain; | ||
| 63 | 52 | 60 | 52 |
| 64 | 54·using·DerivativeSignature·=·typename· | 61 | 54·using·DerivativeSignature·=·typename·SignatureTraits<Signature>::template |
| 62 | DerivativeSignature<DerivativeTraits>; | ||
| 65 | 55 | 63 | 55 |
| 66 | 57·using·DerivativeInterface·=· | 64 | 57·using·DerivativeInterface·=·DifferentiableFunction<DerivativeSignature, |
| 67 | DerivativeTraits,_bufferSize>; | 65 | DerivativeTraits,_bufferSize>; |
| 68 | 58 | 66 | 58 |
| 69 | 60·using·Concept·=· | 67 | 60·using·Concept·=·DifferentiableFunctionWrapperInterface<Signature, |
| 68 | DerivativeInterface>; | ||
| 70 | 61 | 69 | 61 |
| 71 | 63·template<class·B> | 70 | 63·template<class·B> |
| 72 | 64·using·Model·=· | 71 | 64·using·Model·=·DifferentiableFunctionWrapperImplementation<Signature, |
| 73 | B>; | 72 | DerivativeInterface,·B>; |
| 74 | 65·}; | 73 | 65·}; |
| 75 | 66} | 74 | 66} |
| 76 | 67 | 75 | 67 |
| 77 | 68 | 76 | 68 |
| 78 | 69 | 77 | 69 |
| 78 | 84template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 79 | size_t·bufferSize> | ||
| 80 | 85class·DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize>·: | ||
| 79 | 90template<class·Range,·class·Domain,·class·LocalContext,·template<class>·class | ||
| 80 | DerivativeTraits,·size_t·bufferSize> | ||
| 81 | 91class·LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits, | ||
| 82 | bufferSize>·: | ||
| 83 | 81 | 86·public·TypeErasureBase< | |
| 84 | 93·typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
| 85 | Deri | 82 | 87·typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, |
| 83 | bufferSize>::Concept, | ||
| 86 | 84 | 88·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | |
| 87 | bufferSize>::template·Model> | 85 | bufferSize>::template·Model> |
| 88 | 86 | 89{ | |
| 89 | 9 | 87 | 90·using·Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain), |
| 90 | DerivativeTraits,·bufferSize>; | 88 | DerivativeTraits,·bufferSize>; |
| 91 | 9 | 89 | 91 |
| 92 | 9 | 90 | 92·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template |
| 93 | Model>; | 91 | Model>; |
| 94 | 9 | 92 | 93 |
| 95 | 93 | 94·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | |
| 96 | 101 | ||
| 97 | 102public: | ||
| 98 | 94 | 95 | |
| 95 | 96public: | ||
| 96 | 97 | ||
| 99 | 1 | 97 | 109·template<class·F,·disableCopyMove<DifferentiableFunction,·F>·=·0·> |
| 100 | 11 | 98 | 110·DifferentiableFunction(F&&·f)·: |
| 101 | 11 | 99 | 111·Base(std::forward<F>(f)) |
| 102 | 11 | 100 | 112·{ |
| 103 | 11 | 101 | 113·static_assert(Dune::Functions::Concept::isFunction<F,·Range(Domain)>(), |
| 104 | LocalContext>(),·"Trying·to·construct·a·LocalFunction·from·type·that·does·not | ||
| 105 | model·the·LocalFunction·concept"); | ||
| 106 | 120·} | ||
| 107 | 121 | ||
| 108 | 122·LocalFunction()·=·default; | ||
| 109 | 102 | "Trying·to·construct·a·DifferentiableFunction·from·type·that·does·not·model·the | |
| 103 | Function·concept"); | ||
| Max diff block lines reached; 3226/9511 bytes (33.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·interfaces.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 30 lines modified | Offset 72, 25 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">interfaces.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·<iostream></code><br·/> | ||
| 84 | <code>#include·<cstddef></code><br·/> | ||
| 85 | <code>#include·<array></code><br·/> | ||
| 86 | <code>#include·<initializer_list></code><br·/> | ||
| 87 | <code>#include·<dune/common/genericiterator.hh></code><br·/> | ||
| 88 | </div> | 83 | </div> |
| 89 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 90 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 92 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01243.html">Dune::Functions::PolymorphicType<·Interface·></a></td></tr> |
| 94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·with·polymorphic·type·boiler·plate·code.··<a·href="a01243.html#details">More...</a><br·/></td></tr> |
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 98 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
| 99 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| Offset 2, 25 lines modified | Offset 2, 20 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | interfaces.hh·File·Reference | ||
| 10 | #include·<type_traits> | ||
| 9 | overflowarray.hh·File·Reference | ||
| 10 | #include·<algorithm> | ||
| 11 | #include·<iostream> | ||
| 12 | #include·<cstddef> | ||
| 13 | #include·<array> | ||
| 14 | #include·<initializer_list> | ||
| 15 | #include·<dune/common/genericiterator.hh> | ||
| 16 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 17 | Classes | 12 | Classes |
| 18 | class· ·Dune::Functions::OverflowArray<_BA,_maxSize_> | ||
| 19 | 13 | class· ·Dune::Functions::PolymorphicType<_Interface_> | |
| 14 | ·······Base·class·with·polymorphic·type·boiler·plate·code.·More... | ||
| 20 | 15 | ||
| 21 | Namespaces | 16 | Namespaces |
| 22 | namespace· ·Dune | 17 | namespace· ·Dune |
| 23 | 18 | ||
| 24 | namespace· ·Dune::Functions | 19 | namespace· ·Dune::Functions |
| 25 | 20 | ||
| 26 | =============================================================================== | 21 | =============================================================================== |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·interfaces.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 282 lines modified | Offset 74, 64 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">interfaces.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_INTERFACES_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_INTERFACES_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 95 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l000 | 100 | <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> |
| 106 | <div·class="foldopen"·id="foldopen000 | 101 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> |
| 102 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01243.html">···28</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01243.html">PolymorphicType</a></div> | ||
| 107 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01279.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01279.html">OverflowArray</a>·:</div> | ||
| 108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>·BA</div> | ||
| 109 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
| 110 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div> |
| 111 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 106 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> | ||
| 107 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01243.html#ae65ec09f3c0f320f0e5890c3e028fa2a">···33</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01243.html#ae65ec09f3c0f320f0e5890c3e028fa2a">~PolymorphicType</a>()</div> | ||
| 112 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{}</div> |
| 113 | < | 109 | </div> |
| 114 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
| 111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01243.html#a56439d136ed112196bb2bf1a7aca42e7">···44</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01243.html#a56439d136ed112196bb2bf1a7aca42e7">clone</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
| 112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01243.html#a342f459670ff8ac9ef58314a95ca972d">···55</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01243.html#a342f459670ff8ac9ef58314a95ca972d">clone</a>(<span·class="keywordtype">void</span>*·buffer)·<span·class="keyword">const</span>·=·0;</div> | ||
| 115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>·=·<span·class="keyword">typename</span>·BaseArray::value_type;</div> | ||
| 116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01279.html#a057b2fd50430511a0c5697c8e271fd70">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a057b2fd50430511a0c5697c8e271fd70">reference</a>·=·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
| 117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01279.html#a040c3d78e6edfb6576a03b8be4f0e71c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a040c3d78e6edfb6576a03b8be4f0e71c">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
| 118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01279.html#ad6864fbd3a109a6b10b32af7e9c58b5b">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#ad6864fbd3a109a6b10b32af7e9c58b5b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>*;</div> | ||
| 119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01279.html#a87ef9a454715903d6832df402705780d">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a87ef9a454715903d6832df402705780d">difference_type</a>·=·std::ptrdiff_t;</div> | ||
| 120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·=·std::size_t;</div> | ||
| 121 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01279.html#a72ffe9b324024906b65d3051ec1d199c">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a72ffe9b324024906b65d3051ec1d199c">iterator</a>·=·Dune::GenericIterator<OverflowArray,·value_type>;</div> | ||
| 122 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01279.html#ad7feb14b245d1a17e13e690cf693aba7">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#ad7feb14b245d1a17e13e690cf693aba7">const_iterator</a>·=·Dune::GenericIterator<const·OverflowArray,·const·value_type>;</div> | ||
| 123 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01243.html#a937e58884f58dfac27f85c80024be57c">···66</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01243.html#a937e58884f58dfac27f85c80024be57c">move</a>(<span·class="keywordtype">void</span>*·buffer)·=·0;</div> | ||
| 124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> | ||
| 125 | <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="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>,·maxSize-baseSize>;</div> | ||
| 126 | <div·class="line"><a·id="l0006 | 116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>};</div> |
| 127 | < | 117 | </div> |
| 128 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 118 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"> | 119 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 120 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 121 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 131 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | ||
| 132 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01279.html#aec5c016d84ff17d2c57dac741c1954b6">···71</a></span>··<a·class="code·hl_function"·href="a01279.html#aec5c016d84ff17d2c57dac741c1954b6">OverflowArray</a>(<span·class="keyword">const</span>·std::initializer_list<value_type>&·l)·{</div> | ||
| 133 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····assert(l.size()·<=·<a·class="code·hl_function"·href="a01279.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
| 134 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····size_·=·l.size();</div> | ||
| 135 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····std::copy_n(l.begin(),·size_,·<a·class="code·hl_function"·href="a01279.html#a4b246cb76dc8a3b81638052e5d3c4617">begin</a>());</div> | ||
| 136 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div> | ||
| 137 | </div> | ||
| 138 | <div·class="line"><a·id="l0007 | 122 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
| 139 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> | ||
| 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01279.html#a0fb3877160f4a79b3f149a873ba6bc10">···77</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01279.html#a0fb3877160f4a79b3f149a873ba6bc10">operator·==·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01279.html">OverflowArray</a>&·other)<span·class="keyword">·const·</span>{</div> | ||
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·!=·other.<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>())</div> | ||
| 142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
| 143 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">for</span>·(<a·class="code·hl_typedef"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·i=0;·i<<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>();·++i)</div> | ||
| 144 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keywordflow">if</span>·((*<span·class="keyword">this</span>)[i]·!=·other[i])</div> | ||
| 145 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
| 146 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
| 147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div> | ||
| 148 | </div> | ||
| 149 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
| 150 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | ||
| 151 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01279.html#aac47600e996341476adeda5a998a6c4d">···87</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01279.html#aac47600e996341476adeda5a998a6c4d">clear</a>()·{</div> | ||
| 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····size_·=·0;</div> | ||
| 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> | ||
| 154 | </div> | ||
| 155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
| 156 | <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> | ||
| 157 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01279.html#acb3c0d310f92e484249c69697210dd3b">···97</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01279.html#acb3c0d310f92e484249c69697210dd3b">resize</a>(<a·class="code·hl_typedef"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·n)·{</div> | ||
| 158 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····assert(n·<=·<a·class="code·hl_function"·href="a01279.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
| 159 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····size_·=·n;</div> | ||
| 160 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··}</div> | ||
| 161 | </div> | ||
| 162 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
| 163 | <div·class="foldopen"·id="foldopen00108"·data-start="{"·data-end="}"> | ||
| 164 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01279.html#a267512305609933baab963caed1ccd41">··108</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01279.html#a267512305609933baab963caed1ccd41">push_back</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&·t)·{</div> | ||
| 165 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····assert(<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·<·<a·class="code·hl_function"·href="a01279.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
| 166 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····(*this)[size_++]·=·t;</div> | ||
| 167 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··}</div> | ||
| 168 | </div> | ||
| 169 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> | ||
| 170 | <div·class="foldopen"·id="foldopen00114"·data-start="{"·data-end="}"> | ||
| 171 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01279.html#a67ad7c3562178a61003cbd24b26011f8">··114</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01279.html#a67ad7c3562178a61003cbd24b26011f8">pop_back</a>()·{</div> | ||
| 172 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····assert(<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·>·0);</div> | ||
| 173 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">if</span>·(!·<a·class="code·hl_function"·href="a01279.html#a5177f15acc922fbfeb20ac7ac57da093">empty</a>())</div> | ||
| 174 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······size_--;</div> | ||
| Max diff block lines reached; 271/56988 bytes (0.48%) of diff not shown. | |||
| Offset 1, 317 lines modified | Offset 1, 68 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | interfaces.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_INTERFACES_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_INTERFACES_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<algorithm> | ||
| 22 | 11#include·<iostream> | ||
| 23 | 12#include·<cstddef> | ||
| 24 | 13#include·<array> | ||
| 25 | 1 | 21 | 10#include·<type_traits> |
| 22 | 11 | ||
| 23 | 12 | ||
| 24 | 13namespace·Dune·{ | ||
| 25 | 14namespace·Functions·{ | ||
| 26 | 15 | 26 | 15 |
| 27 | 16 | 27 | 16 |
| 28 | 17 | 28 | 17 |
| 29 | 27template<class·Interface> | ||
| 30 | 28class·PolymorphicType | ||
| 31 | 29{ | ||
| 29 | 18 | ||
| 30 | 19 | ||
| 31 | 20namespace·Dune::Functions·{ | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 46template<class·BA,·std::size_t·maxSize·=·std::tuple_size_v<BA>> | ||
| 35 | 47class·OverflowArray·: | ||
| 36 | 48·public·BA | ||
| 37 | 49{ | ||
| 38 | 50·static·constexpr·std::size_t·baseSize·=·std::tuple_size_v<BA>; | ||
| 39 | 51 | ||
| 40 | 32 | 30public: | |
| 33 | 31 | ||
| 34 | 33·virtual·~PolymorphicType() | ||
| 35 | 34·{} | ||
| 36 | 35 | ||
| 37 | 44·virtual·Interface*·clone()·const·=·0; | ||
| 38 | 45 | ||
| 39 | 55·virtual·Interface*·clone(void*·buffer)·const·=·0; | ||
| 40 | 56 | ||
| 41 | 66·virtual·Interface*·move(void*·buffer)·=·0; | ||
| 42 | 67}; | ||
| 41 | 53·using·BaseArray·=·BA; | ||
| 42 | 54 | ||
| 43 | 55·using·value_type·=·typename·BaseArray::value_type; | ||
| 44 | 56·using·reference·=·value_type&; | ||
| 45 | 57·using·const_reference·=·const·value_type&; | ||
| 46 | 58·using·pointer·=·value_type*; | ||
| 47 | 59·using·difference_type·=·std::ptrdiff_t; | ||
| 48 | 60·using·size_type·=·std::size_t; | ||
| 49 | 61·using·iterator·=·Dune::GenericIterator<OverflowArray,·value_type>; | ||
| 50 | 62·using·const_iterator·=·Dune::GenericIterator<const·OverflowArray,·const | ||
| 51 | value_type>; | ||
| 52 | 63 | ||
| 53 | 64private: | ||
| 54 | 65·using·OverflowBuffer·=·std::array<value_type,·maxSize-baseSize>; | ||
| 55 | 66 | ||
| 56 | 67public: | ||
| 57 | 68 | 43 | 68 |
| 58 | 69 | 44 | 69 |
| 59 | 70 | 45 | 70 |
| 60 | 71·OverflowArray(const·std::initializer_list<value_type>&·l)·{ | ||
| 61 | 72·assert(l.size()·<=·capacity()); | ||
| 62 | 73·size_·=·l.size(); | ||
| 63 | 74·std::copy_n(l.begin(),·size_,·begin()); | ||
| 64 | 75·} | ||
| 65 | 76 | ||
| 66 | 77·bool·operator_==_(const·OverflowArray&·other)·const·{ | ||
| 67 | 78·if·(size()·!=·other.size()) | ||
| 68 | 79·return·false; | ||
| 69 | 80·for·(size_type·i=0;·i<size();·++i) | ||
| 70 | 81·if·((*this)[i]·!=·other[i]) | ||
| 71 | 82·return·false; | ||
| 72 | 83·return·true; | ||
| 73 | 84·} | ||
| 74 | 85 | ||
| 75 | 87·void·clear()·{ | ||
| 76 | 88·size_·=·0; | ||
| 77 | 89·} | ||
| 78 | 90 | ||
| 79 | 97·void·resize(size_type·n)·{ | ||
| 80 | 98·assert(n·<=·capacity()); | ||
| 81 | 99·size_·=·n; | ||
| 82 | 100·} | ||
| 83 | 101 | ||
| 84 | 108·void·push_back(const·value_type&·t)·{ | ||
| 85 | 109·assert(size()·<·capacity()); | ||
| 86 | 110·(*this)[size_++]·=·t; | ||
| 87 | 111·} | ||
| 88 | 112 | ||
| 89 | 114·void·pop_back()·{ | ||
| 90 | 115·assert(size()·>·0); | ||
| 91 | 116·if·(!·empty()) | ||
| 92 | 117·size_--; | ||
| 93 | 118·} | ||
| 94 | 119 | ||
| 95 | 126·void·push_front(const·value_type&·t)·{ | ||
| 96 | 127·assert(size()·<·capacity()); | ||
| 97 | 128·for·(size_type·i=0;·i<size();·i++) | ||
| 98 | 129·(*this)[i+1]·=·(*this)[i]; | ||
| 99 | 130·(*this)[0]·=·t; | ||
| 100 | 131·} | ||
| 101 | 132 | ||
| 102 | 134·iterator·begin()·{ | ||
| 103 | 135·return·iterator(*this,·0); | ||
| 104 | 136·} | ||
| 105 | 137 | ||
| 106 | 139·const_iterator·begin()·const·{ | ||
| 107 | 140·return·const_iterator(*this,·0); | ||
| 108 | 141·} | ||
| 109 | 142 | ||
| 110 | 144·iterator·end()·{ | ||
| Max diff block lines reached; 35/10592 bytes (0.33%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·staticforloop.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 38 lines modified | Offset 70, 38 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 78 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">staticforloop.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<c | 82 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
| 83 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 84 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 83 | <code>#include·<utility></code><br·/> | ||
| 84 | <code>#include·<type_traits></code><br·/> | ||
| 85 | <code>#include·<algorithm></code><br·/> | ||
| 86 | </div> | 85 | </div> |
| 87 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 90 | Classes</h2></td></tr> | ||
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01283.html">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·></a></td></tr> | ||
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·providing·small·object·optimization·with·polymorphic·types.··<a·href="a01283.html#details">More...</a><br·/></td></tr> | ||
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 94 | </table><table·class="memberdecls"> | ||
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 96 | Namespaces</h2></td></tr> | 89 | Namespaces</h2></td></tr> |
| 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 90 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 92 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | </table><table·class="memberdecls"> | ||
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 96 | Functions</h2></td></tr> | ||
| 97 | <tr·class="memitem: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> | ||
| 98 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#gaa625ea93bc3285b8a09c9267302386ec">Dune::Functions::staticFindInRange</a>·(F·&&f,·Args·&&...·args)</td></tr> | ||
| 99 | <tr·class="memdesc:gaa625ea93bc3285b8a09c9267302386ec"><td·class="mdescLeft"> </td><td·class="mdescRight">Static·find·loop.··<br·/></td></tr> | ||
| 100 | <tr·class="separator:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | </table> | 101 | </table> |
| 102 | </div><!--·contents·--> | 102 | </div><!--·contents·--> |
| 103 | <!--·start·footer·part·--> | 103 | <!--·start·footer·part·--> |
| 104 | <hr·class="footer"/><address·class="footer"><small> | 104 | <hr·class="footer"/><address·class="footer"><small> |
| 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 106 | </small></address> | 106 | </small></address> |
| 107 | </body> | 107 | </body> |
| Offset 1, 26 lines modified | Offset 1, 25 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Namespaces·|·Functions | ||
| 9 | staticforloop.hh·File·Reference | ||
| 10 | #include·<dune/common/concept.hh> | ||
| 11 | #include·<dune/functions/common/type_traits.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 8 | Classes·|·Namespaces | ||
| 9 | polymorphicsmallobject.hh·File·Reference | ||
| 10 | #include·<cstddef> | ||
| 11 | #include·<utility> | ||
| 12 | #include·<type_traits> | ||
| 13 | #include·<algorithm> | ||
| 14 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | ||
| 16 | class· ·Dune::Functions::PolymorphicSmallObject<_Base,_bufferSize_> | ||
| 17 | ·······A·wrapper·providing·small·object·optimization·with·polymorphic·types. | ||
| 18 | ········More... | ||
| 19 | |||
| 20 | Namespaces | 14 | Namespaces |
| 21 | namespace· ·Dune | 15 | namespace· ·Dune |
| 22 | 16 | ||
| 23 | namespace· ·Dune::Functions | 17 | namespace· ·Dune::Functions |
| 24 | 18 | ||
| 19 | Functions | ||
| 20 | template<std::size_t·begin_t,·std::size_t·end_t,·class·F·,·class...·Args> | ||
| 21 | void ·Dune::Functions::staticFindInRange·(F·&&f,·Args·&&...·args) | ||
| 22 | ·····Static·find·loop. | ||
| 23 | |||
| 25 | =============================================================================== | 24 | =============================================================================== |
| 26 | ·····Generated·by [doxygen]·1.9.8 | 25 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·staticforloop.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 203 lines modified | Offset 74, 81 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">staticforloop.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
| 97 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 98 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 99 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 100 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 101 | <div·class="line"><a·id="l000 | 104 | <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> |
| 102 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 103 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>StaticFindInRange</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
| 108 | <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> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">if</span>·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...))</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······<span·class="keywordflow">return</span>;</div> | ||
| 112 | <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> | ||
| 104 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> |
| 105 | <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> | ||
| 106 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>};</div> |
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
| 116 | <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> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>StaticFindInRange<ST,·end,·end></div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
| 120 | <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> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{}</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div> | ||
| 107 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 108 | <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> | ||
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//end·namespace·Imp</span></div> |
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
| 111 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 128 | <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> | ||
| 112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> | ||
| 113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 114 | <div·class="foldopen"·id="foldopen0006 | 129 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> |
| 130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00221.html#gaa625ea93bc3285b8a09c9267302386ec">···60</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00221.html#gaa625ea93bc3285b8a09c9267302386ec">staticFindInRange</a>(F&&·f,·Args&&...·args)</div> | ||
| 115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01283.html#ab91da8192c7c5d7a796d79145ce97c84">···62</a></span>··<a·class="code·hl_function"·href="a01283.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>()·:</div> | ||
| 116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····p_(nullptr)</div> | ||
| 117 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> |
| 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}</div> | ||
| 118 | </div> | 134 | </div> |
| 135 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 136 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 137 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 120 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Derived,</div> | ||
| 121 | <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> | ||
| 122 | <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> | ||
| 123 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 124 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01283.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">···75</a></span>··<a·class="code·hl_function"·href="a01283.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">PolymorphicSmallObject</a>(Derived&&·derived)</div> | ||
| 125 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> | ||
| 126 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·useBuffer·=·(<span·class="keyword">sizeof</span>(Derived)·<=·bufferSize)</div> | ||
| 127 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········&&·(bufferAlignment·%·<span·class="keyword">alignof</span>(Derived)·==·0);</div> | ||
| 128 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(useBuffer)·{</div> | ||
| 130 | <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> | ||
| 131 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·namespace·Dune</span></div> |
| 132 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······p_·=·<span·class="keyword">new</span>·Derived(std::forward<Derived>(derived));</div> | ||
| 133 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> | ||
| 134 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> | ||
| 135 | </div> | ||
| 136 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 137 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01283.html#a4b1d4df1c0a49f22c3da8beff0412560">···88</a></span>··<a·class="code·hl_function"·href="a01283.html#a4b1d4df1c0a49f22c3da8beff0412560">PolymorphicSmallObject</a>(<a·class="code·hl_class"·href="a01283.html">PolymorphicSmallObject</a>&&·other)·<span·class="keyword">noexcept</span></div> | ||
| 139 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div> | ||
| 140 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····moveToWrappedObject(std::move(other));</div> | ||
| 141 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> | ||
| 142 | </div> | ||
| 143 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 144 | <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="}"> | ||
| 145 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01283.html#a9d9b0d1436228de2c11df7acacad66ae">···94</a></span>··<a·class="code·hl_function"·href="a01283.html#a9d9b0d1436228de2c11df7acacad66ae">PolymorphicSmallObject</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01283.html">PolymorphicSmallObject</a>&·other)</div> | ||
| 146 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div> | ||
| 147 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····copyToWrappedObject(other);</div> | ||
| 148 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 149 | </div> | ||
| 150 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
| 151 | <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="}"> | ||
| 152 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01283.html#aa0714dd1c60221fbbd867f9796ccf722">··100</a></span>··<a·class="code·hl_function"·href="a01283.html#aa0714dd1c60221fbbd867f9796ccf722">~PolymorphicSmallObject</a>()</div> | ||
| 153 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··{</div> | ||
| Max diff block lines reached; 4982/38076 bytes (13.08%) of diff not shown. | |||
| Offset 1, 209 lines modified | Offset 1, 81 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | staticforloop.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<cstddef> | ||
| 22 | 11#include·<utility> | ||
| 23 | 12#include·<type_traits> | ||
| 24 | 13#include·<algorithm> | ||
| 25 | 1 | 21 | 10 |
| 22 | 11#include·<dune/common/concept.hh> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/functions/common/type_traits.hh> | ||
| 25 | 14#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 26 | 15 | ||
| 27 | 16 | ||
| 26 | 1 | 28 | 17namespace·Dune·{ |
| 27 | 1 | 29 | 18namespace·Functions·{ |
| 28 | 17 | ||
| 29 | 18 | ||
| 30 | 49template<class·Base,·size_t·bufferSize> | ||
| 31 | 50class·PolymorphicSmallObject | ||
| 32 | 51{ | ||
| 33 | 52·//·Actual·buffer·size·must·be·>·0 | ||
| 34 | 53·static·constexpr·std::size_t·actualBufferSize·=·std::max(sizeof(std::byte), | ||
| 35 | bufferSize); | ||
| 36 | 54 | ||
| 37 | 55·//·Alignment·requirement·for·the·buffer.·The·`Derived`·type·must·have | ||
| 38 | 56·//·an·alignment·requirement·that·is·a·divisor·of·`bufferAlignment` | ||
| 39 | 57·static·constexpr·std::size_t·bufferAlignment·=·alignof(std::max_align_t); | ||
| 40 | 58 | ||
| 41 | 59public: | ||
| 42 | 60 | ||
| 43 | 62·PolymorphicSmallObject()·: | ||
| 44 | 63·p_(nullptr) | ||
| 45 | 30 | 19 | |
| 31 | 20namespace·Imp·{ | ||
| 32 | 21 | ||
| 33 | 22template<class·ST,·ST·begin,·ST·end> | ||
| 34 | 23struct·StaticFindInRange | ||
| 35 | 24{ | ||
| 36 | 25·template<class·F,·class...Args> | ||
| 37 | 26·static·void·apply(F&&·f,·Args&&...·args) | ||
| 38 | 27·{ | ||
| 39 | 28·if·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...)) | ||
| 40 | 29·return; | ||
| 41 | 30·StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std:: | ||
| 42 | forward<Args>(args)...); | ||
| 43 | 31·} | ||
| 44 | 32}; | ||
| 45 | 33 | ||
| 46 | 34template<class·ST,·ST·end> | ||
| 47 | 35struct·StaticFindInRange<ST,·end,·end> | ||
| 48 | 36{ | ||
| 49 | 37·template<class·F,·class...Args> | ||
| 50 | 38·static·void·apply(F&&·f,·Args&&...) | ||
| 51 | 39·{} | ||
| 52 | 40}; | ||
| 53 | 41 | ||
| 54 | 42}·//end·namespace·Imp | ||
| 55 | 43 | ||
| 56 | 44 | ||
| 57 | 45 | ||
| 58 | 59template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args> | ||
| 59 | 60void·staticFindInRange(F&&·f,·Args&&...·args) | ||
| 60 | 61{ | ||
| 61 | 62·Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F> | ||
| 62 | (f),·std::forward<Args>(args)...); | ||
| 63 | 63} | ||
| 64 | 64 | ||
| 46 | 65 | 65 | 65 |
| 47 | 72·template<class·Derived, | ||
| 48 | 73·std::enable_if_t<std::is_base_of_v<Base,·std::remove_cv_t< | ||
| 49 | 74·std::remove_reference_t<Derived>>>,·int>·=·0> | ||
| 50 | 75·PolymorphicSmallObject(Derived&&·derived) | ||
| 51 | 76·{ | ||
| 52 | 77·constexpr·bool·useBuffer·=·(sizeof(Derived)·<=·bufferSize) | ||
| 53 | 78·&&·(bufferAlignment·%·alignof(Derived)·==·0); | ||
| 54 | 79 | ||
| 55 | 80·if·constexpr·(useBuffer)·{ | ||
| 56 | 81·p_·=·new·(&buffer_)·Derived(std::forward<Derived>(derived)); | ||
| 57 | 82·}·else·{ | ||
| 58 | 83·p_·=·new·Derived(std::forward<Derived>(derived)); | ||
| 59 | 84·} | ||
| 60 | 85·} | ||
| 61 | 86 | ||
| 62 | 88·PolymorphicSmallObject(PolymorphicSmallObject&&·other)·noexcept | ||
| 63 | 89·{ | ||
| 64 | 90·moveToWrappedObject(std::move(other)); | ||
| 65 | 91·} | ||
| 66 | 92 | ||
| 67 | 94·PolymorphicSmallObject(const·PolymorphicSmallObject&·other) | ||
| 68 | 95·{ | ||
| 69 | 96·copyToWrappedObject(other); | ||
| 70 | 97·} | ||
| 71 | 98 | ||
| 72 | 100·~PolymorphicSmallObject() | ||
| 73 | 101·{ | ||
| 74 | 102·destroyWrappedObject(); | ||
| 75 | 103·} | ||
| 76 | 104 | ||
| 77 | 106·PolymorphicSmallObject&·operator=(const·PolymorphicSmallObject&·other) | ||
| 78 | 107·{ | ||
| 79 | 108·if·(&other!=this) | ||
| 80 | 109·{ | ||
| 81 | 110·destroyWrappedObject(); | ||
| 82 | 111·copyToWrappedObject(other); | ||
| 83 | 112·} | ||
| 84 | 113·return·*this; | ||
| 85 | 114·} | ||
| 86 | 115 | ||
| Max diff block lines reached; 2141/7537 bytes (28.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·indexaccess.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 30 lines modified | Offset 70, 61 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 78 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">indexaccess.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 80 | </div><!--header--> |
| 80 | <div·class="contents"> | 81 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<utility></code><br·/> |
| 83 | <code>#include·<type_traits></code><br·/> | ||
| 84 | <code>#include·<dune/common/typetraits.hh></code><br·/> | ||
| 82 | <code>#include·<dune/common/concept.hh></code><br·/> | 85 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 86 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 83 | <code>#include·<<a·class="el"·href="a000 | 87 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
| 84 | </div> | 88 | </div> |
| 85 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 86 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 88 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
| 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | </table><table·class="memberdecls"> | ||
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 99 | Functions</h2></td></tr> | ||
| 100 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"·id="r_ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>··=·0>·</td></tr> | ||
| 101 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)·->·decltype(f(c[i]))</td></tr> | ||
| 102 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<br·/></td></tr> | ||
| 103 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 104 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"·id="r_ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·not·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>··=·0>·</td></tr> | ||
| 105 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)</td></tr> | ||
| 106 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<br·/></td></tr> | ||
| 107 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"·id="r_gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplParams"·colspan="2">template<class·Result·,·class·C·,·class·MultiIndex·>·</td></tr> | ||
| 109 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplItemLeft"·align="right"·valign="top">Result </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#gabd5106817636cc5542dc4e9a1817551b">Dune::Functions::hybridMultiIndexAccess</a>·(C·&&c,·const·MultiIndex·&index)</td></tr> | ||
| 110 | <tr·class="memdesc:gabd5106817636cc5542dc4e9a1817551b"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 111 | <tr·class="separator:gabd5106817636cc5542dc4e9a1817551b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"·id="r_ga9aaec884c080483fea267d1098f81590"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·,·class·IsFinal·>·</td></tr> | ||
| 113 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga9aaec884c080483fea267d1098f81590">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal)</td></tr> | ||
| 114 | <tr·class="memdesc:ga9aaec884c080483fea267d1098f81590"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 115 | <tr·class="separator:ga9aaec884c080483fea267d1098f81590"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"·id="r_ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga89fbdd009241b14e86b4fff7ba208a04">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
| 118 | <tr·class="memdesc:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"·id="r_ga4cc6af2842348271c242c048e0411637"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
| 121 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga4cc6af2842348271c242c048e0411637">Dune::Functions::resolveStaticMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
| 122 | <tr·class="memdesc:ga4cc6af2842348271c242c048e0411637"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 123 | <tr·class="separator:ga4cc6af2842348271c242c048e0411637"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 93 | </table> | 124 | </table> |
| 94 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 95 | <!--·start·footer·part·--> | 126 | <!--·start·footer·part·--> |
| 96 | <hr·class="footer"/><address·class="footer"><small> | 127 | <hr·class="footer"/><address·class="footer"><small> |
| 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 128 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 98 | </small></address> | 129 | </small></address> |
| 99 | </body> | 130 | </body> |
| Offset 1, 20 lines modified | Offset 1, 56 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Namespaces | ||
| 9 | 8 | Namespaces·|·Functions | |
| 9 | indexaccess.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | #include·<type_traits> | ||
| 10 | #include·<dune/common/ | 12 | #include·<dune/common/typetraits.hh> |
| 11 | #include·<dune/common/concept.hh> | 13 | #include·<dune/common/concept.hh> |
| 14 | #include·<dune/common/hybridutilities.hh> | ||
| 12 | #include·<dune/functions/common/ | 15 | #include·<dune/functions/common/utility.hh> |
| 13 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
| 14 | Namespaces | 17 | Namespaces |
| 15 | namespace· ·Dune | 18 | namespace· ·Dune |
| 16 | 19 | ||
| 17 | namespace· ·Dune::Functions | 20 | namespace· ·Dune::Functions |
| 18 | 21 | ||
| 22 | Functions | ||
| 23 | template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·Dune::models<·Imp:: | ||
| 24 | Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>·=·0> | ||
| 25 | ····················auto ·Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
| 26 | ··························&i,·F·&&f)·->·decltype(f(c[i])) | ||
| 27 | ·························Provide·operator[]·index-access·for·containers. | ||
| 28 | |||
| 29 | template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·not·Dune::models< | ||
| 30 | Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>·=·0> | ||
| 31 | ··········decltype(auto) ·Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
| 32 | ··························&i,·F·&&f) | ||
| 33 | ·························Provide·operator[]·index-access·for·containers. | ||
| 34 | |||
| 35 | template<class·Result·,·class·C·,·class·MultiIndex·> | ||
| 36 | ··················Result ·Dune::Functions::hybridMultiIndexAccess·(C·&&c,·const | ||
| 37 | ··························MultiIndex·&index) | ||
| 38 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 39 | |||
| 40 | template<class·C·,·class·MultiIndex·,·class·IsFinal·> | ||
| 41 | constexpr·decltype(auto) ·Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
| 42 | ··························const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal) | ||
| 43 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 44 | |||
| 45 | template<class·C·,·class·MultiIndex·> | ||
| 46 | constexpr·decltype(auto) ·Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
| 47 | ··························const·MultiIndex·&multiIndex) | ||
| 48 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 49 | |||
| 50 | template<class·C·,·class·MultiIndex·> | ||
| 51 | constexpr·decltype(auto) ·Dune::Functions::resolveStaticMultiIndex·(C·&&c, | ||
| 52 | ··························const·MultiIndex·&multiIndex) | ||
| 53 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 54 | |||
| 19 | =============================================================================== | 55 | =============================================================================== |
| 20 | ·····Generated·by [doxygen]·1.9.8 | 56 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·indexaccess.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 120 lines modified | Offset 74, 339 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">indexaccess.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 92 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> |
| 93 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 95 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <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="a00224.html">Dune</a>·{</div> | ||
| 102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword"> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 104 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
| 105 | <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> | ||
| 106 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f)</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Concept·{</div> | ||
| 108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 109 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> |
| 110 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>HasDynamicIndexAccess</div> |
| 111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span> | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> |
| 112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·C></div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">auto</span>·require(C&&·c)·->·<span·class="keyword">decltype</span>(</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····c[std::declval<size_type>()]</div> | ||
| 113 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··);</div> |
| 114 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····models<·HasFreeDerivative,·F>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 115 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">auto</span>·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)·->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f))</div> | ||
| 116 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>};</div> |
| 117 | <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="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f);</div> | ||
| 118 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">struct·</span>HasStaticIndexAccess</div> | ||
| 119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> |
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·C></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·require(C&&·c)·->·<span·class="keyword">decltype</span>(</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····c[Dune::Indices::_0]</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··);</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 120 | <div·class="line"><a·id="l0004 | 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·Concept</span></div> | ||
| 121 | <div·class="line"><a·id="l0004 | 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> | ||
| 123 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··std::enable_if_t<</div> | ||
| 124 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····not(models<·HasFreeDerivative,·F>())·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 125 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>Dummy·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)</div> | ||
| 126 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> | ||
| 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
| 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> | 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}·<span·class="comment">//·namespace·Imp</span></div> |
| 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 130 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 131 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 132 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface></div> | ||
| 133 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface</div> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{};</div> | ||
| 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> | ||
| 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 140 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span><<span·class="keyword">class·</span>C,·<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>F,</div> |
| 141 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface<Range(Domain),·DerivativeInterface></div> | ||
| 142 | <div·class="line"><a·id="l0006 | 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··std::enable_if_t<·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>·=·0></div> |
| 137 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00221.html#ga2226fe3a86eb176df27c9801a98a10ae">···67</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#ga2226fe3a86eb176df27c9801a98a10ae">hybridIndexAccess</a>(C&&·c,·<span·class="keyword">const</span>·I&·i,·F&&·f)</div> | ||
| 143 | <div·class="line"><a·id="l0006 | 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··->·<span·class="keyword">decltype</span>(f(c[i]))</div> |
| 144 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)·<span·class="keyword">const</span>·=·0;</div> | ||
| 145 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">virtual</span>·DerivativeInterface·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
| 147 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div> | ||
| 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span> | 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>{</div> |
| 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">return</span>·f(c[i]);</div> |
| 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}</div> |
| 143 | </div> | ||
| 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
| 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation</div> | ||
| 153 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{};</div> | ||
| 154 | <div·class="line"><a·id="l0007 | 144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
| 145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">template</span><<span·class="keyword">class·</span>C,·<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>F,</div> | ||
| 146 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::enable_if_t<·not·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 147 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00225.html#ga2226fe3a86eb176df27c9801a98a10ae">···92</a></span><span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00221.html#ga2226fe3a86eb176df27c9801a98a10ae">hybridIndexAccess</a>(C&&·c,·<span·class="keyword">const</span>·I&·i,·F&&·f)</div> | ||
| 155 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
| 156 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
| Max diff block lines reached; 39918/65350 bytes (61.08%) of diff not shown. | |||
| Offset 1, 124 lines modified | Offset 1, 371 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | indexaccess.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<utility> | ||
| 23 | 12#include·<type_traits> | ||
| 24 | 13 | ||
| 21 | 1 | 25 | 14#include·<dune/common/typetraits.hh> |
| 22 | 1 | 26 | 15#include·<dune/common/concept.hh> |
| 23 | 1 | 27 | 16#include·<dune/common/hybridutilities.hh> |
| 28 | 17 | ||
| 24 | 1 | 29 | 18#include·<dune/functions/common/utility.hh> |
| 25 | 14 | ||
| 26 | 15 | ||
| 27 | 16namespace·Dune·{ | ||
| 28 | 17namespace·Functions·{ | ||
| 29 | 18namespace·Imp·{ | ||
| 30 | 19 | 30 | 19 |
| 31 | 2 | 31 | 20 |
| 32 | 21 | ||
| 33 | 22namespace·Dune·{ | ||
| 34 | 23namespace·Functions·{ | ||
| 32 | 24 | 35 | 24 |
| 36 | 25 | ||
| 37 | 26namespace·Imp·{ | ||
| 38 | 27 | ||
| 39 | 28namespace·Concept·{ | ||
| 40 | 29 | ||
| 41 | 30template<class·size_type> | ||
| 42 | 31struct·HasDynamicIndexAccess | ||
| 43 | 32{ | ||
| 33 | 44 | 33·template<class·C> | |
| 45 | 34·auto·require(C&&·c)·->·decltype( | ||
| 46 | 35·c[std::declval<size_type>()] | ||
| 47 | 36·); | ||
| 48 | 37}; | ||
| 49 | 38 | ||
| 50 | 39struct·HasStaticIndexAccess | ||
| 51 | 40{ | ||
| 52 | 41·template<class·C> | ||
| 34 | 53 | 42·auto·require(C&&·c)·->·decltype( | |
| 54 | 43·c[Dune::Indices::_0] | ||
| 55 | 44·); | ||
| 56 | 45}; | ||
| 57 | 46 | ||
| 58 | 47}·//·namespace·Concept | ||
| 59 | 48 | ||
| 60 | 49}·//·namespace·Imp | ||
| 35 | 27·derivative(f) | ||
| 36 | 28·); | ||
| 37 | 29}; | ||
| 38 | 30 | ||
| 39 | 31 | ||
| 40 | 32 | ||
| 41 | 33template<class·Dummy,·class·F, | ||
| 42 | 34·std::enable_if_t< | ||
| 43 | 35·models<·HasFreeDerivative,·F>()·,·int>·=·0> | ||
| 44 | 36auto·derivativeIfImplemented(const·F&·f)·->·decltype(derivative(f)) | ||
| 45 | 37{ | ||
| 46 | 38·return·derivative(f); | ||
| 47 | 39} | ||
| 48 | 40 | ||
| 49 | 41 | ||
| 50 | 42 | ||
| 51 | 43template<class·Dummy,·class·F, | ||
| 52 | 44·std::enable_if_t< | ||
| 53 | 45·not(models<·HasFreeDerivative,·F>())·,·int>·=·0> | ||
| 54 | 46Dummy·derivativeIfImplemented(const·F&·f) | ||
| 55 | 47{ | ||
| 56 | 48·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
| 57 | 49} | ||
| 58 | 50 | 61 | 50 |
| 59 | 51 | 62 | 51 |
| 60 | 52 | 63 | 52 |
| 64 | 65template<class·C,·class·I,·class·F, | ||
| 65 | 66·std::enable_if_t<·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(), | ||
| 66 | int>·=·0> | ||
| 67 | 67auto·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
| 68 | 68·->·decltype(f(c[i])) | ||
| 61 | 53template<class·Signature,·class·DerivativeInterface> | ||
| 62 | 54class·DifferentiableFunctionWrapperInterface | ||
| 63 | 55{}; | ||
| 64 | 56 | ||
| 65 | 57//·Interface·of·type·erasure·wrapper | ||
| 66 | 58// | ||
| 67 | 59//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 68 | ...) | ||
| 69 | 60//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 70 | 61template<class·Range,·class·Domain,·class·DerivativeInterface> | ||
| 71 | 62class·DifferentiableFunctionWrapperInterface<Range(Domain), | ||
| 72 | DerivativeInterface> | ||
| 73 | 63{ | ||
| 74 | 64public: | ||
| 75 | 65·virtual·Range·operator()·(const·Domain&·x)·const·=·0; | ||
| 76 | 66 | ||
| 77 | 67·virtual·DerivativeInterface·derivative()·const·=·0; | ||
| 78 | 68}; | ||
| 79 | 69 | 69 | 69{ |
| 80 | 70 | 70 | 70·return·f(c[i]); |
| 81 | 71 | 71 | 71} |
| 72 | 72 | ||
| 73 | 90template<class·C,·class·I,·class·F, | ||
| 74 | 91·std::enable_if_t<·not·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>, | ||
| 75 | C>(),·int>·=·0> | ||
| 76 | 92decltype(auto)·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
| 77 | 93{ | ||
| 78 | 94·using·Size·=·decltype(Hybrid::size(c)); | ||
| 79 | 95·return·Hybrid::switchCases(std::make_index_sequence<Size::value>(),·i, | ||
| 80 | 96·[&](const·auto&·ii)·->·decltype(auto){ | ||
| Max diff block lines reached; 8626/12938 bytes (66.67%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·signature.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 121 lines modified | Offset 73, 49 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">signature.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 84 | <code>#include·< | 84 | <code>#include·<tuple></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a000 | 85 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 88 | </div> | 86 | </div> |
| 89 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 90 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 92 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01295.html">Dune::Functions::SignatureTraits<·Signature,·isCallable·></a></td></tr> |
| 94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helper·class·to·deduce·the·signature·of·a·callable.··<a·href="a01295.html#details">More...</a><br·/></td></tr> |
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01159.html">Dune::Functions::Concept::Function<·Range(Domain)></a></td></tr> | ||
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01159.html#details">More...</a><br·/></td></tr> | ||
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01303.html">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·></a></td></tr> |
| 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Tag-class·to·encapsulate·signature·information.··<a·href="a01303.html#details">More...</a><br·/></td></tr> | ||
| 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01167.html#details">More...</a><br·/></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01175.html">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·></a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01175.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01183.html">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·></a></td></tr> | ||
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01183.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01187.html">Dune::Functions::Concept::EntitySet</a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>··<a·href="a01187.html#details">More...</a><br·/></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01195.html">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·></a></td></tr> | ||
| 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01195.html#details">More...</a><br·/></td></tr> | ||
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01203.html">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·></a></td></tr> | ||
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01203.html#details">More...</a><br·/></td></tr> | ||
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01211.html">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·></a></td></tr> | ||
| 118 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01211.html#details">More...</a><br·/></td></tr> | ||
| 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01219.html">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·></a></td></tr> | ||
| 121 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01219.html#details">More...</a><br·/></td></tr> | ||
| 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 123 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
| 124 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 125 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
| 126 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 128 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 102 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 130 | <tr·class="memitem:a00227"·id="r_a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::Concept</a></td></tr> | ||
| 131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 132 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
| 133 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 134 | Functions</h2></td></tr> | 106 | Functions</h2></td></tr> |
| 107 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"·id="r_ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplParams"·colspan="2">template<class·Range·,·class·Domain·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 108 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00216.html#ga18b2a675f9153814c422d33878daebb2">Dune::Functions::derivativeSignatureTag</a>·(<a·class="el"·href="a01299.html">SignatureTag</a><·Range(Domain),·DerivativeTraits·>·tag)</td></tr> | ||
| 109 | <tr·class="memdesc:ga18b2a675f9153814c422d33878daebb2"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·<a·class="el"·href="a01299.html">SignatureTag</a>·for·derivative.··<br·/></td></tr> | ||
| 135 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"·id="r_ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> | ||
| 136 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">Dune::Functions::Concept::isCallable</a>·()</td></tr> | ||
| 137 | <tr·class="memdesc:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 139 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"·id="r_ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> | ||
| 140 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">Dune::Functions::Concept::isCallable</a>·(F·&&,·Args·&&...)</td></tr> | ||
| 141 | <tr·class="memdesc:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<br·/></td></tr> | ||
| 142 | <tr·class="separator:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 143 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"·id="r_ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·>·</td></tr> | ||
| 144 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga44de2338acc7d9c49fbc12452545c7fc">Dune::Functions::Concept::isFunction</a>·()</td></tr> | ||
| 145 | <tr·class="memdesc:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01155.html">Function</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 146 | <tr·class="separator:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 147 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"·id="r_gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 148 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gaf3604a4b809f49bb590440c0f06ededa">Dune::Functions::Concept::isFunction</a>·(F·&&f,·<a·class="el"·href="a01299.html">SignatureTag</a><·Signature,·DerivativeTraits·>)</td></tr> | ||
| 149 | <tr·class="memdesc:gaf3604a4b809f49bb590440c0f06ededa"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01155.html">Function</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 150 | <tr·class="separator:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 151 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"·id="r_ga6c75551b9678848113181d29678ec81e"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
| 152 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga6c75551b9678848113181d29678ec81e">Dune::Functions::Concept::isDifferentiableFunction</a>·()</td></tr> | ||
| 153 | <tr·class="memdesc:ga6c75551b9678848113181d29678ec81e"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01163.html">DifferentiableFunction</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 154 | <tr·class="separator:ga6c75551b9678848113181d29678ec81e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 155 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"·id="r_ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 156 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga2ce66508daac0e7fab4ea581865b13c3">Dune::Functions::Concept::isDifferentiableFunction</a>·(F·&&f,·<a·class="el"·href="a01299.html">SignatureTag</a><·Signature,·DerivativeTraits·>)</td></tr> | ||
| 157 | <tr·class="memdesc:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01163.html">DifferentiableFunction</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 158 | <tr·class="separator:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 159 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"·id="r_gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·>·</td></tr> | ||
| 160 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gae2c89a3c7780ff790a8b066bbb5f9687">Dune::Functions::Concept::isLocalFunction</a>·()</td></tr> | ||
| 161 | <tr·class="memdesc:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01171.html">LocalFunction</a>·concept·with·given·signature·and·local·context.··<br·/></td></tr> | ||
| 162 | <tr·class="separator:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 163 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"·id="r_ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
| 164 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga2a244aa61f5d2c3f5d0dfb125b0436d5">Dune::Functions::Concept::isDifferentiableLocalFunction</a>·()</td></tr> | ||
| 165 | <tr·class="memdesc:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01179.html">DifferentiableLocalFunction</a>·concept·with·given·signature·and·local·context.··<br·/></td></tr> | ||
| 166 | <tr·class="separator:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 167 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"·id="r_gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> | ||
| 168 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gaa59c2062e5469a358cd00ce5bb90fe4d">Dune::Functions::Concept::isEntitySet</a>·()</td></tr> | ||
| 169 | <tr·class="memdesc:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01191.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<br·/></td></tr> | ||
| 170 | <tr·class="separator:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 171 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"·id="r_ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·<a·class="el"·href="a01187.html">EntitySet</a>·>·</td></tr> | ||
| 172 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga1691be3e84b0405cc8a7ebcd598bd861">Dune::Functions::Concept::isGridFunction</a>·()</td></tr> | ||
| 173 | <tr·class="memdesc:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01191.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<br·/></td></tr> | ||
| 174 | <tr·class="separator:ga1 | 110 | <tr·class="separator:ga18b2a675f9153814c422d33878daebb2"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <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> | ||
| 112 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00216.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">Dune::Functions::derivativeSignatureTags</a>·(<a·class="el"·href="a01299.html">Dune::Functions::SignatureTag</a><·Signature,·DerivativeTraits·>·tag)</td></tr> | ||
| 113 | <tr·class="memdesc:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·SignatureTags·for·derivatives.··<br·/></td></tr> | ||
| 175 | <tr·class="memitem:gab53d12b97e04f88eec30f4192944e85a"·id="r_gab53d12b97e04f88eec30f4192944e85a"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·<a·class="el"·href="a01187.html">EntitySet</a>·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
| 176 | <tr·class="memitem:gab53d12b97e04f88eec30f4192944e85a"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gab53d12b97e04f88eec30f4192944e85a">Dune::Functions::Concept::isDifferentiableGridFunction</a>·()</td></tr> | ||
| Max diff block lines reached; 287/24672 bytes (1.16%) of diff not shown. | |||
| Offset 2, 135 lines modified | Offset 2, 39 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | signature.hh·File·Reference | ||
| 10 | #include·<type_traits> | ||
| 11 | #include·<tuple> | ||
| 9 | functionconcepts.hh·File·Reference | ||
| 10 | #include·<dune/common/typelist.hh> | ||
| 11 | #include·<dune/common/concept.hh> | ||
| 12 | #include·<dune/functions/common/signature.hh> | ||
| 13 | #include·<dune/functions/ | 12 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 14 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 15 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 16 | Classes | 14 | Classes |
| 17 | struct· ·Dune::Functions::Concept::Callable<_Args_> | ||
| 18 | 15 | struct· ·Dune::Functions::SignatureTraits<_Signature,_isCallable_> | |
| 16 | ········Helper·class·to·deduce·the·signature·of·a·callable.·More... | ||
| 19 | 17 | ||
| 18 | struct· ·Dune::Functions::SignatureTag<_Range(Domain),_DerivativeTraitsT_> | ||
| 19 | ········Tag-class·to·encapsulate·signature·information.·More... | ||
| 20 | struct· ·Dune::Functions::Concept::Function<_Range(Domain)> | ||
| 21 | ········Concept·for·a·function·mapping·Domain·to·Range.·More... | ||
| 22 | |||
| 23 | struct· ·Dune::Functions::Concept::DifferentiableFunction<_Range(Domain), | ||
| 24 | ·········DerivativeTraits_> | ||
| 25 | ········Concept·for·a·differentiable·function·mapping·Domain·to·Range.·More... | ||
| 26 | |||
| 27 | struct· ·Dune::Functions::Concept::LocalFunction<_Range(Domain),_LocalContext_> | ||
| 28 | ········Concept·for·a·local·function·mapping·Domain·to·Range.·More... | ||
| 29 | |||
| 30 | struct· ·Dune::Functions::Concept::DifferentiableLocalFunction<_Range(Domain), | ||
| 31 | ·········LocalContext,_DerivativeTraits_> | ||
| 32 | ········Concept·for·a·differentiable·local·function·mapping·Domain·to·Range. | ||
| 33 | ·········More... | ||
| 34 | |||
| 35 | struct· ·Dune::Functions::Concept::EntitySet | ||
| 36 | ········Concept·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain), | ||
| 37 | ·········EntitySet,·DerivativeTraits>·More... | ||
| 38 | |||
| 39 | struct· ·Dune::Functions::Concept::GridFunction<_Range(Domain),_EntitySet_> | ||
| 40 | ········Concept·for·a·grid·function·mapping·Domain·to·Range.·More... | ||
| 41 | |||
| 42 | struct· ·Dune::Functions::Concept::DifferentiableGridFunction<_Range(Domain), | ||
| 43 | ·········EntitySet,_DerivativeTraits_> | ||
| 44 | ········Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range. | ||
| 45 | ·········More... | ||
| 46 | |||
| 47 | struct· ·Dune::Functions::Concept::GridViewFunction<_Range(Domain),_GridView_> | ||
| 48 | ········Concept·for·a·grid·view·function·mapping·Domain·to·Range.·More... | ||
| 49 | |||
| 50 | struct· ·Dune::Functions::Concept::DifferentiableGridViewFunction<_Range | ||
| 51 | ·········(Domain),_GridView,_DerivativeTraits_> | ||
| 52 | ········Concept·for·a·differentiable·grid·view·function·mapping·Domain·to | ||
| 53 | ·········Range.·More... | ||
| 54 | 20 | ||
| 55 | Namespaces | 21 | Namespaces |
| 56 | namespace· ·Dune | 22 | namespace· ·Dune |
| 57 | 23 | ||
| 58 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 59 | 25 | ||
| 60 | namespace· ·Dune::Functions::Concept | ||
| 61 | |||
| 62 | Functions | 26 | Functions |
| 63 | template<class·F·,·class...·Args> | ||
| 64 | static·constexpr·auto ·Dune::Functions::Concept::isCallable·() | ||
| 65 | 27 | template<class·Range·,·class·Domain·,·template<·class·>·class | |
| 28 | DerivativeTraits> | ||
| 29 | auto ·Dune::Functions::derivativeSignatureTag·(SignatureTag<·Range(Domain), | ||
| 30 | ······DerivativeTraits·>·tag) | ||
| 31 | ·····Construct·SignatureTag·for·derivative. | ||
| 66 | 32 | ||
| 33 | template<std::size_t·maxOrder,·class·Signature·,·template<·class·>·class | ||
| 67 | template<class·F·,·class...·Args> | ||
| 68 | static·constexpr·auto ·Dune::Functions::Concept::isCallable·(F·&&,·Args·&&...) | ||
| 69 | ······················Check·if·f·is·callable·with·given·argument·list. | ||
| 70 | |||
| 71 | template<class·F·,·class·Signature·> | ||
| 72 | static·constexpr·bool ·Dune::Functions::Concept::isFunction·() | ||
| 73 | ······················Check·if·F·models·the·Function·concept·with·given | ||
| 74 | ·······················signature. | ||
| 75 | |||
| 76 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
| 77 | static·constexpr·bool ·Dune::Functions::Concept::isFunction·(F·&&f, | ||
| 78 | ·······················SignatureTag<·Signature,·DerivativeTraits·>) | ||
| 79 | ······················Check·if·f·models·the·Function·concept·with·given | ||
| 80 | ·······················signature. | ||
| 81 | |||
| 82 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·= | ||
| 83 | De | 34 | DerivativeTraits> |
| 35 | auto ·Dune::Functions::derivativeSignatureTags·(Dune::Functions::SignatureTag< | ||
| 36 | ······Signature,·DerivativeTraits·>·tag) | ||
| 37 | ·····Construct·SignatureTags·for·derivatives. | ||
| 84 | static·constexpr·bool ·Dune::Functions::Concept::isDifferentiableFunction·() | ||
| 85 | ······················Check·if·F·models·the·DifferentiableFunction·concept | ||
| 86 | ·······················with·given·signature. | ||
| 87 | |||
| 88 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
| 89 | static·constexpr·bool ·Dune::Functions::Concept::isDifferentiableFunction·(F | ||
| 90 | ·······················&&f,·SignatureTag<·Signature,·DerivativeTraits·>) | ||
| 91 | ······················Check·if·f·models·the·DifferentiableFunction·concept | ||
| 92 | ·······················with·given·signature. | ||
| 93 | |||
| 94 | template<class·F·,·class·Signature·,·class·LocalContext·> | ||
| 95 | static·constexpr·bool ·Dune::Functions::Concept::isLocalFunction·() | ||
| 96 | ······················Check·if·F·models·the·LocalFunction·concept·with·given | ||
| 97 | ·······················signature·and·local·context. | ||
| 98 | |||
| 99 | template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·> | ||
| 100 | class·DerivativeTraits·=·DefaultDerivativeTraits> | ||
| 101 | static·constexpr·bool ·Dune::Functions::Concept::isDifferentiableLocalFunction | ||
| 102 | ·······················() | ||
| 103 | ······················Check·if·F·models·the·DifferentiableLocalFunction | ||
| 104 | ·······················concept·with·given·signature·and·local·context. | ||
| 105 | |||
| 106 | template<class·E·> | ||
| 107 | static·constexpr·bool ·Dune::Functions::Concept::isEntitySet·() | ||
| 108 | ······················Check·if·F·models·the·GridFunction·concept·with·given | ||
| 109 | ·······················signature·and·entity·set. | ||
| 110 | |||
| 111 | template<class·F·,·class·Signature·,·class·EntitySet·> | ||
| 112 | static·constexpr·bool ·Dune::Functions::Concept::isGridFunction·() | ||
| 113 | ······················Check·if·F·models·the·GridFunction·concept·with·given | ||
| 114 | ·······················signature·and·entity·set. | ||
| Max diff block lines reached; 116/7060 bytes (1.64%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·signature.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 370 lines modified | Offset 74, 168 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">signature.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 99 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 100 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Concept·{</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·Callable·concept·############################################################</span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 110 | <div·class="line"><a·id="l000 | 100 | <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> |
| 111 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="};"> | ||
| 112 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01291.html">···24</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">IsCallable</a>;</div> |
| 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> | ||
| 104 | <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> | ||
| 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">IsCallable</a></div> | ||
| 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
| 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>yes·{·std::size_t·dummy[2];·};</div> | ||
| 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">struct·</span>no··{·std::size_t·dummy[1];·};</div> | ||
| 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> | ||
| 111 | <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> | ||
| 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> | ||
| 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">static</span>·no··test(...);</div> | ||
| 113 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 115 | <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> | ||
| 114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
| 115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01151.html#a8020f2dc3373ee93bbb30e7dfd362b9f">···39</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01151.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
| 116 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>};</div> |
| 117 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 118 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span> | 119 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">struct·</span>IsCallable<R(D)></div> |
| 119 | </div> | ||
| 120 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span> | 120 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> |
| 121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
| 122 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="}"> | ||
| 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">···51</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>()</div> | ||
| 124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{·<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01151.html">Concept::Callable</a><Args...>,·F>();·}</div> | ||
| 125 | </div> | 121 | <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> |
| 122 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 123 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">struct·</span>IsCallable<R(*)(D)></div> | ||
| 126 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> | ||
| 127 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> | ||
| 128 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>};</div> | ||
| 129 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#endif</span></div> | ||
| 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 130 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·></div> | ||
| 132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01295.html">···60</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01295.html">SignatureTraits</a>·{};</div> | ||
| 127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
| 128 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00221.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">···61</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>(F&&,·Args&&...)</div> | ||
| 130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div> | ||
| 131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01151.html">Concept::Callable</a><Args&&...>,·F>();</div> | ||
| 132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> | ||
| 133 | </div> | ||
| 134 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 135 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> |
| 135 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
| 136 | <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="a01295.html">SignatureTraits</a><T,·true></div> | ||
| 137 | <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="a01295.html">SignatureTraits</a><decltype(&T::operator()),·true></div> | ||
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{};</div> |
| 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//·Function·concept·############################################################</span></div> | ||
| 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
| 139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01155.html">···70</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01155.html">Function</a>;</div> | ||
| 140 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain></div> | ||
| 142 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="};"> | ||
| 143 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01159.html">···81</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01155.html">Function</a><Range(Domain)>·:·Refines<Callable<Domain>·></div> | ||
| 144 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>{</div> | ||
| 145 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
| 146 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01159.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">···84</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01159.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">require</a>(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
| 147 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//·F·models·Function<Range(Domain)>·if·the·result·of·F(Domain)·is·implicitly·convertible·to·Range</span></div> | ||
| 148 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····requireConvertible<Range>(f(std::declval<Domain>()))</div> | ||
| 149 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··);</div> | ||
| 150 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div> | ||
| 151 | </div> | ||
| 152 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>·C,·<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></div> | ||
| 143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{};</div> | ||
| Max diff block lines reached; 63534/92573 bytes (68.63%) of diff not shown. | |||
| Offset 1, 465 lines modified | Offset 1, 184 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | signature.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/typelist.hh> | ||
| 22 | 1 | 21 | 10#include·<type_traits> |
| 22 | 11#include·<tuple> | ||
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/functions/common/signature.hh> | ||
| 25 | 1 | 24 | 13#include·<dune/functions/common/defaultderivativetraits.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 27 | 16 | ||
| 28 | 1 | 26 | 15namespace·Dune·{ |
| 29 | 1 | 27 | 16namespace·Functions·{ |
| 28 | 17 | ||
| 29 | 23template<typename·F> | ||
| 30 | 24struct·IsCallable; | ||
| 31 | 25 | ||
| 32 | 26#ifndef·DOXYGEN | ||
| 33 | 27template<typename·F> | ||
| 30 | 19namespace·Concept·{ | ||
| 31 | 20 | ||
| 32 | 21using·namespace·Dune::Concept; | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 36 | 25//·Callable·concept | ||
| 37 | ############################################################ | ||
| 38 | 26 | ||
| 39 | 27 | ||
| 40 | 35template<class...·Args> | ||
| 41 | 34 | 28struct·IsCallable | |
| 35 | 29{ | ||
| 36 | 30·struct·yes·{·std::size_t·dummy[2];·}; | ||
| 37 | 31·struct·no·{·std::size_t·dummy[1];·}; | ||
| 38 | 32 | ||
| 39 | 33·template<typename·C> | ||
| 40 | 34·static·yes·test(const·decltype(&C::operator())·*); | ||
| 41 | 35·template<typename·C> | ||
| 42 | 36·static·no·test(...); | ||
| 42 | 37 | 43 | 37 |
| 43 | 38·template<class·F> | ||
| 44 | 39·auto·require(F&&·f)·->·decltype( | ||
| 45 | 40·f(std::declval<Args>()...) | ||
| 46 | 41·); | ||
| 47 | 44 | 38·enum·{·value·=·(sizeof(test<F>(0))·==·sizeof(yes))·}; | |
| 45 | 39}; | ||
| 46 | 40 | ||
| 47 | 41template<typename·R,·typename·D> | ||
| 48 | 42struct·IsCallable<R(D)> | ||
| 48 | 43 | 49 | 43{ |
| 49 | 50template<class·F,·class...·Args> | ||
| 50 | 51static·constexpr·auto·isCallable() | ||
| 51 | 50 | 44·enum·{·value·=·true·}; | |
| 51 | 45}; | ||
| 52 | 46 | ||
| 53 | 47template<typename·R,·typename·D> | ||
| 54 | 48struct·IsCallable<R(*)(D)> | ||
| 55 | 49{ | ||
| 56 | 50·enum·{·value·=·true·}; | ||
| 57 | 51}; | ||
| 58 | 52#endif | ||
| 52 | 53 | 59 | 53 |
| 53 | 60template<class·F,·class...·Args> | ||
| 54 | 61static·constexpr·auto·isCallable(F&&,·Args&&...) | ||
| 55 | 62{ | ||
| 56 | 63·return·models<Concept::Callable<Args&&...>,·F>(); | ||
| 57 | 64} | ||
| 58 | 65 | ||
| 59 | 66 | ||
| 60 | 67 | ||
| 61 | 68//·Function·concept | ||
| 62 | ############################################################ | ||
| 63 | 69template<class·Signature> | ||
| 64 | 70struct·Function; | ||
| 65 | 60 | 59template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·> | |
| 61 | 60struct·SignatureTraits·{}; | ||
| 62 | 61 | ||
| 63 | 62#ifndef·DOXYGEN | ||
| 64 | 64template<class·T> | ||
| 65 | 65struct·SignatureTraits<T,·true> | ||
| 66 | 66·:·public·SignatureTraits<decltype(&T::operator()),·true> | ||
| 67 | 67{}; | ||
| 68 | 68 | ||
| 69 | 70template·<typename·C,·typename·R,·typename·D> | ||
| 70 | 71struct·SignatureTraits<R(C::*)(D)·const,·true> | ||
| 71 | 72·:·public·SignatureTraits<R(D),·true> | ||
| 72 | 73{}; | ||
| 73 | 74 | ||
| 74 | 76template·<typename·C,·typename·R,·typename·D> | ||
| 75 | 77struct·SignatureTraits<R(C::*)(D),·true> | ||
| 76 | 78·:·public·SignatureTraits<R(D),·true> | ||
| 77 | 79{}; | ||
| 78 | 80 | ||
| 79 | 82template·<typename·R,·typename·D> | ||
| 80 | 83struct·SignatureTraits<R(*)(D),·true> | ||
| 81 | 84·:·public·SignatureTraits<R(D),·true> | ||
| 82 | 85{}; | ||
| 83 | 86 | ||
| 66 | 8 | 84 | 88template<class·R,·class·D> |
| 85 | 89struct·SignatureTraits<R(D),·true> | ||
| 86 | 90{ | ||
| 87 | 91·using·Range·=·R; | ||
| 88 | 92·using·Domain·=·D; | ||
| 89 | 93 | ||
| 90 | 94·using·RawRange·=·std::decay_t<Range>; | ||
| 91 | 95·using·RawDomain·=·std::decay_t<Domain>; | ||
| 92 | 96 | ||
| 93 | 97·using·RawSignature·=·RawRange(RawDomain); | ||
| 94 | 98 | ||
| Max diff block lines reached; 17251/22352 bytes (77.18%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·utility.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 48 lines modified | Offset 72, 90 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 79 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 82 | </div><!--header--> |
| 82 | <div·class="contents"> | 83 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<utility></code><br·/> |
| 84 | <code>#include·< | 85 | <code>#include·<type_traits></code><br·/> |
| 85 | <code>#include·< | 86 | <code>#include·<dune/common/overloadset.hh></code><br·/> |
| 86 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/indices.hh></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 87 | </div> | 89 | </div> |
| 88 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 89 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
| 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 91 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01367.html">Dune::Functions::LastType<·T·></a></td></tr> |
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Get·last·entry·of·type·list.··<a·href="a01367.html#details">More...</a><br·/></td></tr> |
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01379.html">Dune::Functions::RotateTuple<·T·></a></td></tr> |
| 98 | <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="a01379.html#details">More...</a><br·/></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01271.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01275.html">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·></a></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 109 | Typedefs</h2></td></tr> | ||
| 110 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"·id="r_ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·T,·class·ArgTuple·>·</td></tr> | ||
| 111 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga047a2180b455bfa030fba76eb6270952">Dune::Functions::ExpandTuple</a>·=·typename·Imp::ExpandTupleHelper<·T,·ArgTuple·>::Type</td></tr> | ||
| 112 | <tr·class="memdesc:ga047a2180b455bfa030fba76eb6270952"><td·class="mdescLeft"> </td><td·class="mdescRight">Expand·tuple·arguments·as·template·arguments.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:ga047a2180b455bfa030fba76eb6270952"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"·id="r_ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·F,·class...·Tuples>·</td></tr> | ||
| 115 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga1ce77345fbee606e5ac22aeef7d109d6">Dune::Functions::TransformTuple</a>·=·typename·Imp::TransformTupleHelper<·F,·Tuples...·>::Type</td></tr> | ||
| 116 | <tr·class="memdesc:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·types·argument·using·type-functor.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"·id="r_ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplParams"·colspan="2">template<class·IntegerSequence·>·</td></tr> | ||
| 119 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ad7adaea3a8e209aef72602f07a6988b3">Dune::Functions::IntegerSequenceTuple</a>·=·typename·Imp::IntegerSequenceTupleHelper<·IntegerSequence·>::Type</td></tr> | ||
| 120 | <tr·class="memdesc:ad7adaea3a8e209aef72602f07a6988b3"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...>··<br·/></td></tr> | ||
| 121 | <tr·class="separator:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 122 | </table><table·class="memberdecls"> | ||
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 123 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 109 | Functions</h2></td></tr> | 124 | Functions</h2></td></tr> |
| 110 | <tr·class="memitem:af1c4bfbe0c688f745e4731c519db55dd"·id="r_af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplParams"·colspan="2">template<typename·Stream·,·class·size_type·,·std::size_t·n>·</td></tr> | ||
| 111 | <tr·class="memitem:a | 125 | <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> |
| 126 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.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> | ||
| 127 | <tr·class="separator:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 128 | <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> | ||
| 129 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.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> | ||
| 130 | <tr·class="separator:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 131 | <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> | ||
| 132 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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> | ||
| 133 | <tr·class="memdesc:gac7d45de6c68fce943e6924403389d234"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·dynamic·index·to·static·index_constant.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:gac7d45de6c68fce943e6924403389d234"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 135 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"·id="r_ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T>·</td></tr> | ||
| 136 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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> | ||
| 137 | <tr·class="memdesc:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·functor.··<br·/></td></tr> | ||
| 112 | <tr·class="separator:a | 138 | <tr·class="separator:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 139 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"·id="r_gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T1,·class...·T2>·</td></tr> | ||
| 140 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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> | ||
| 141 | <tr·class="memdesc:gae663a5bfd683c8a0844bb974807d8f52"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·binary·functor.··<br·/></td></tr> | ||
| 142 | <tr·class="separator:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 143 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"·id="r_ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplParams"·colspan="2">template<class·Expression·>·</td></tr> | ||
| 144 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga7d55c56e78792c4b169c18d875a60935">Dune::Functions::callableCheck</a>·(Expression·f)</td></tr> | ||
| 145 | <tr·class="memdesc:ga7d55c56e78792c4b169c18d875a60935"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·predicate·for·checking·validity·of·expressions.··<br·/></td></tr> | ||
| 146 | <tr·class="separator:ga7d55c56e78792c4b169c18d875a60935"><td·class="memSeparator"·colspan="2"> </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"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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="separator:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 151 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"·id="r_a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
| 152 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">Dune::Functions::forwardCapture</a>·(T·&&t)</td></tr> | ||
| 153 | <tr·class="memdesc:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·capture·object·for·perfect·forwarding.··<br·/></td></tr> | ||
| 154 | <tr·class="separator:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table> | 155 | </table> |
| 114 | </div><!--·contents·--> | 156 | </div><!--·contents·--> |
| 115 | <!--·start·footer·part·--> | 157 | <!--·start·footer·part·--> |
| 116 | <hr·class="footer"/><address·class="footer"><small> | 158 | <hr·class="footer"/><address·class="footer"><small> |
| 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 159 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 118 | </small></address> | 160 | </small></address> |
| 119 | </body> | 161 | </body> |
| Offset 1, 35 lines modified | Offset 1, 91 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | 9 | utility.hh·File·Reference | |
| 10 | #include·<cstddef> | ||
| 11 | #include·<array> | ||
| 12 | #include·< | 10 | #include·<utility> |
| 11 | #include·<type_traits> | ||
| 12 | #include·<dune/common/overloadset.hh> | ||
| 13 | #include·<dune/common/ | 13 | #include·<dune/common/indices.hh> |
| 14 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 14 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | 16 | Classes |
| 16 | ·class· ·Dune::Functions::StaticMultiIndex<_size_type,_n_> | ||
| 17 | 17 | struct· ·Dune::Functions::LastType<_T_> | |
| 18 | ········Get·last·entry·of·type·list.·More... | ||
| 18 | 19 | ||
| 20 | struct· ·Dune::Functions::RotateTuple<_T_> | ||
| 21 | ········Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first | ||
| 22 | ·········position.·More... | ||
| 19 | ·class· ·Dune::Functions::StaticMultiIndex<_size_type,_1_> | ||
| 20 | ········A·statically·sized·MultiIndex·type.·More... | ||
| 21 | |||
| 22 | struct· ·std::tuple_size<_Dune::Functions::StaticMultiIndex<_size_type,_n_>_> | ||
| 23 | 23 | ||
| 24 | Namespaces | 24 | Namespaces |
| 25 | namespace· ·Dune | 25 | namespace· ·Dune |
| 26 | 26 | ||
| 27 | namespace· ·Dune::Functions | 27 | namespace· ·Dune::Functions |
| 28 | 28 | ||
| 29 | Typedefs | ||
| 30 | template<template<·class...·>·class·T,·class·ArgTuple·> | ||
| 31 | using ·Dune::Functions::ExpandTuple·=·typename·Imp::ExpandTupleHelper<·T, | ||
| 32 | ·······ArgTuple·>::Type | ||
| 33 | ······Expand·tuple·arguments·as·template·arguments. | ||
| 34 | |||
| 35 | template<template<·class...·>·class·F,·class...·Tuples> | ||
| 36 | using ·Dune::Functions::TransformTuple·=·typename·Imp::TransformTupleHelper<·F, | ||
| 37 | ·······Tuples...·>::Type | ||
| 38 | ······Transform·tuple·types·argument·using·type-functor. | ||
| 39 | |||
| 40 | template<class·IntegerSequence·> | ||
| 41 | using ·Dune::Functions::IntegerSequenceTuple·=·typename·Imp:: | ||
| 42 | ·······IntegerSequenceTupleHelper<·IntegerSequence·>::Type | ||
| 43 | ······Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...> | ||
| 44 | |||
| 29 | Functions | 45 | Functions |
| 30 | template<typename·Stream·,·class·size_type·,·std::size_t·n> | ||
| 31 | Stream·& ·Dune::Functions::operator<<·(Stream·&stream,·const·StaticMultiIndex< | ||
| 32 | ···· | 46 | template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args> |
| 47 | auto ·Dune::Functions::forwardAsStaticInteger·(std::integer_sequence<·size_ | ||
| 48 | ······type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&...·args)·- | ||
| 49 | ······>·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std:: | ||
| 50 | ······forward<·Args·>(args)...)) | ||
| 51 | |||
| 52 | template<class·F·,·class·size_type·,·size_type·firstValue,·size_type | ||
| 53 | secondValue,·size_type...·otherValues,·class...·Args> | ||
| 54 | auto ·Dune::Functions::forwardAsStaticInteger·(std::integer_sequence<·size_ | ||
| 55 | ······type,·firstValue,·secondValue,·otherValues...·>·values,·const·size_type | ||
| 56 | ······i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_ | ||
| 57 | ······type,·firstValue·>(),·std::forward<·Args·>(args)...)) | ||
| 58 | |||
| 59 | template<std::size_t·end,·class·F·,·class·size_type·,·class...·Args> | ||
| 60 | auto ·Dune::Functions::forwardAsStaticIndex·(const·size_type·&i,·F·&&f,·Args | ||
| 61 | ······&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·> | ||
| 62 | ······(args)...)) | ||
| 63 | ·····Transform·dynamic·index·to·static·index_constant. | ||
| 64 | |||
| 65 | template<class·F·,·class...·T> | ||
| 66 | auto ·Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T...·>·&tuple) | ||
| 67 | ······->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std:: | ||
| 68 | ······index_sequence_for<·T...·>{})) | ||
| 69 | ·····Transform·tuple·value·using·a·functor. | ||
| 70 | |||
| 71 | template<class·F·,·class...·T1,·class...·T2> | ||
| 72 | auto ·Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T1...·> | ||
| 73 | ······&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp:: | ||
| 74 | ······transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std::index_ | ||
| 75 | ······sequence_for<·T1...·>{})) | ||
| 76 | ·····Transform·tuple·value·using·a·binary·functor. | ||
| 77 | |||
| 78 | template<class·Expression·> | ||
| 79 | auto ·Dune::Functions::callableCheck·(Expression·f) | ||
| 80 | ·····Create·a·predicate·for·checking·validity·of·expressions. | ||
| 81 | |||
| 82 | template<class·Check·> | ||
| 83 | auto ·Dune::Functions::negatePredicate·(Check·check) | ||
| 84 | ·····Negate·given·predicate. | ||
| 85 | |||
| 86 | template<class·T·> | ||
| 87 | auto ·Dune::Functions::forwardCapture·(T·&&t) | ||
| 88 | ·····Create·a·capture·object·for·perfect·forwarding. | ||
| 33 | 89 | ||
| 34 | =============================================================================== | 90 | =============================================================================== |
| 35 | ·····Generated·by [doxygen]·1.9.8 | 91 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·utility.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 123 lines modified | Offset 74, 308 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">utility.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_UTILITY_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_UTILITY_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/overloadset.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class=" | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/functionconcepts.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 101 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 102 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 103 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·size_type·firstValue,·<span·class="keyword">class</span>...·Args></div> | ||
| 104 | <div·class="foldopen"·id="foldopen0002 | 107 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> |
| 105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01267.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a>·:</div> | ||
| 106 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">···25</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStati[·...·truncated·by·diffoscope;·len:·163,·SHA:·5d94c038ac31ae2dd6c875f0d7bd1a25843e0960e7fa19b8ebfa7f7128a98aa4·...·]</div> |
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
| 111 | <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> | ||
| 107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div> |
| 108 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div> | ||
| 109 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01267.html#a447f3574395ba840fdca4ce12586caa0">···31</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01267.html#a447f3574395ba840fdca4ce12586caa0">size</a>()·{·<span·class="keywordflow">return</span>·n;·}</div> | ||
| 110 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01267.html#afaeb5be782d31ac12efe25302bbe4c50">···32</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01267.html#afaeb5be782d31ac12efe25302bbe4c50">max_size</a>()·{·<span·class="keywordflow">return</span>·n;·}</div> | ||
| 111 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
| 112 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> | ||
| 113 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">···34</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
| 114 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> | ||
| 115 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··}</div> | ||
| 116 | </div> | 113 | </div> |
| 117 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 115 | <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> | ||
| 116 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | ||
| 117 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00225.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">···32</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.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> | ||
| 118 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
| 119 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
| 120 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keywordflow">if</span>·(i==firstValue)</div> | ||
| 121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
| 122 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·secondValue,·otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 118 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>} | 123 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}</div> |
| 119 | </div> | 124 | </div> |
| 120 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 125 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 121 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 126 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 122 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 127 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 128 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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> | ||
| 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
| 124 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
| 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01271.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a><size_type,1>·:</div> | ||
| 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">public</span>·std::array<size_type,·1></div> | ||
| 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> | ||
| 128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
| 129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01271.html#a4d9eba5c2afef532845eb32f3c92fddb">···57</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01271.html#a4d9eba5c2afef532845eb32f3c92fddb">size</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
| 131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01271.html#a2f1bfeeff7da7e9fb352a0b4223c2b26">···58</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01271.html#a2f1bfeeff7da7e9fb352a0b4223c2b26">max_size</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
| 132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 134 | <div·class="foldopen"·id="foldopen0006 | 129 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> |
| 135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01271.html#a04d0165dfe084b48e67ee75b72a4c046">···61</a></span>··<span·class="keyword">operator</span>·<span·class="keyword">const</span>·size_type&·()·<span·class="keyword">const</span>·{</div> | ||
| 136 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00221.html#gac7d45de6c68fce943e6924403389d234">···64</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#gac7d45de6c68fce943e6924403389d234">forwardAsSta[·...·truncated·by·diffoscope;·len:·104,·SHA:·2b37502e2074409f9ab4ea33e0f1b6773cfbefb53aa73ffc71849d3b2ef3097b·...·]</div> |
| 131 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...))</div> | ||
| 132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div> | ||
| 133 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::make_index_sequence<end>{},·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 137 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>}</div> |
| 138 | </div> | 135 | </div> |
| 139 | <div·class="line"><a·id="l0006 | 136 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 140 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> | ||
| 141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01271.html#ae2acb6d4f8e9af393eea105ef6220119">···65</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01271.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
| 142 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> | ||
| 143 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 144 | </div> | ||
| 145 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 146 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
| 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01271.html#a43e775f6e3306b3479e3c35b6b8c2dd2">···69</a></span>··<span·class="keyword">operator</span>·size_type&·()·{</div> | ||
| 148 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
| 149 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>· | 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 150 | </div> | ||
| 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span> | 140 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 141 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class·</span>List></div> | ||
| 153 | </div> | ||
| 154 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExpandTupleHelper</div> |
| 156 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 143 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{};</div> |
| 144 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 145 | <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">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>ListType,·<span·class="keyword">class</span>...·Args></div> | ||
| 146 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">struct·</span>ExpandTupleHelper<T,·ListType<Args...>></div> | ||
| 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div> | ||
| 157 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Stream,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 158 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> | ||
| 159 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00225.html#af1c4bfbe0c688f745e4731c519db55dd">···78</a></span><span·class="keyword">inline</span>·Stream&·<a·class="code·hl_function"·href="a00225.html#af1c4bfbe0c688f745e4731c519db55dd">operator<<</a>(Stream&·stream,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,n></a>&·c)·{</div> | ||
| 160 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·ci·:·c)</div> | ||
| Max diff block lines reached; 41354/64194 bytes (64.42%) of diff not shown. | |||
| Offset 1, 123 lines modified | Offset 1, 353 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | utility.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_UTILITY_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_UTILITY_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<cstddef> | ||
| 22 | 11#include·<array> | ||
| 23 | 1 | 21 | 10 |
| 22 | 11#include·<utility> | ||
| 23 | 12#include·<type_traits> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/common/ | 25 | 14#include·<dune/common/overloadset.hh> |
| 26 | 15 | 26 | 15#include·<dune/common/indices.hh> |
| 27 | 16 | 27 | 16 |
| 28 | 17n | 28 | 17#include·<dune/functions/common/functionconcepts.hh> |
| 29 | 18 | 29 | 18 |
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 26template<class·size_type,·std::size_t·n> | ||
| 33 | 27class·StaticMultiIndex·: | ||
| 34 | 28·public·std::array<size_type,·n> | ||
| 35 | 29{ | ||
| 36 | 30public: | ||
| 37 | 31·static·constexpr·std::size_t·size()·{·return·n;·} | ||
| 38 | 32·static·constexpr·std::size_t·max_size()·{·return·n;·} | ||
| 39 | 33 | ||
| 40 | 34·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ | ||
| 41 | 35·return·hash_range(v.begin(),·v.end()); | ||
| 42 | 36·} | ||
| 43 | 30 | 19namespace·Dune·{ | |
| 31 | 20namespace·Functions·{ | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24template<class·F,·class·size_type,·size_type·firstValue,·class...·Args> | ||
| 36 | 25auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue> | ||
| 37 | values,·const·size_type&·i,·F&&·f,·Args&&...·args) | ||
| 38 | 26·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
| 39 | forward<Args>(args)...)) | ||
| 40 | 27{ | ||
| 41 | 28·return·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args> | ||
| 42 | (args)...); | ||
| 43 | 29} | ||
| 44 | 30 | ||
| 45 | 31template<class·F,·class·size_type,·size_type·firstValue,·size_type | ||
| 46 | secondValue,·size_type...·otherValues,·class...·Args> | ||
| 47 | 32auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue, | ||
| 48 | secondValue,·otherValues...>·values,·const·size_type·i,·F&&·f,·Args&&...·args) | ||
| 49 | 33·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
| 50 | forward<Args>(args)...)) | ||
| 51 | 34{ | ||
| 52 | 35·if·(i==firstValue) | ||
| 53 | 36·return·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args> | ||
| 54 | (args)...); | ||
| 55 | 37·return·forwardAsStaticInteger(std::integer_sequence<size_type,·secondValue, | ||
| 56 | otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...); | ||
| 44 | 38} | 57 | 38} |
| 45 | 39 | 58 | 39 |
| 46 | 40 | 59 | 40 |
| 47 | 41 | 60 | 41 |
| 61 | 63template<std::size_t·end,·class·F,·class·size_type,·class...·Args> | ||
| 62 | 64auto·forwardAsStaticIndex(const·size_type&·i,·F&&·f,·Args&&...·args) | ||
| 63 | 65·->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...)) | ||
| 64 | 66{ | ||
| 65 | 67·return·forwardAsStaticInteger(std::make_index_sequence<end>{},·i,·std:: | ||
| 66 | forward<F>(f),·std::forward<Args>(args)...); | ||
| 48 | 51template<class·size_type> | ||
| 49 | 52class·StaticMultiIndex<size_type,1>·: | ||
| 50 | 53·public·std::array<size_type,·1> | ||
| 51 | 54{ | ||
| 52 | 55public: | ||
| 53 | 56 | ||
| 54 | 57·static·constexpr·std::size_t·size()·{·return·1;·} | ||
| 55 | 58·static·constexpr·std::size_t·max_size()·{·return·1;·} | ||
| 56 | 59 | ||
| 57 | 60 | ||
| 58 | 61·operator·const·size_type&·()·const·{ | ||
| 59 | 62·return·(*this)[0]; | ||
| 60 | 63·} | ||
| 61 | 64 | ||
| 62 | 65·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ | ||
| 63 | 66·return·hash_range(v.begin(),·v.end()); | ||
| 64 | 67·} | ||
| 65 | 68 | 67 | 68} |
| 66 | 69·operator·size_type&·()·{ | ||
| 67 | 70·return·(*this)[0]; | ||
| 68 | 71·} | ||
| 69 | 72 | ||
| 70 | 73}; | ||
| 71 | 74 | ||
| 72 | 75 | ||
| 73 | 76 | ||
| 74 | 77template<typename·Stream,·class·size_type,·std::size_t·n> | ||
| 75 | 78inline·Stream&·operator<<(Stream&·stream,·const·StaticMultiIndex<size_ | ||
| 76 | type,n>&·c)·{ | ||
| 77 | 79·for·(const·auto&·ci·:·c) | ||
| 78 | 80·stream·<<·ci·<<·"·"; | ||
| 79 | 68 | 69 | |
| 69 | 70 | ||
| 70 | 71 | ||
| 71 | 72namespace·Imp·{ | ||
| 72 | 73 | ||
| 73 | 74·template<template<class...>·class·T,·class·List> | ||
| 74 | 75·struct·ExpandTupleHelper | ||
| 75 | 76·{}; | ||
| 76 | 77 | ||
| 77 | 78·template<template<class...>·class·T,·template<class...>·class·ListType, | ||
| 78 | class...·Args> | ||
| 79 | 79·struct·ExpandTupleHelper<T,·ListType<Args...>> | ||
| 80 | 80·{ | ||
| 81 | 81·using·Type·=·T<Args...>; | ||
| 80 | 82} | 82 | 82·}; |
| Max diff block lines reached; 9488/13423 bytes (70.68%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·lo | 8 | <title>dune-functions:·polymorphicsmallobject.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 23 lines modified | Offset 70, 32 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 78 | ··<div·class="headertitle"><div·class="title">lo | 79 | ··<div·class="headertitle"><div·class="title">polymorphicsmallobject.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 80 | </div><!--header--> |
| 80 | <div·class="contents"> | 81 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 82 | < | 82 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
| 83 | <code>#include·<utility></code><br·/> | ||
| 84 | <code>#include·<type_traits></code><br·/> | ||
| 85 | <code>#include·<algorithm></code><br·/> | ||
| 83 | </div> | 86 | </div> |
| 84 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 85 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 90 | Classes</h2></td></tr> | ||
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01283.html">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·></a></td></tr> | ||
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·providing·small·object·optimization·with·polymorphic·types.··<a·href="a01283.html#details">More...</a><br·/></td></tr> | ||
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 94 | </table><table·class="memberdecls"> | ||
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 87 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
| 88 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | </table> | 101 | </table> |
| Offset 1, 19 lines modified | Offset 1, 26 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Namespaces | ||
| 9 | localfunction_imp.hh·File·Reference | ||
| 10 | #include·<dune/functions/common/type_traits.hh> | ||
| 11 | 8 | Classes·|·Namespaces | |
| 9 | polymorphicsmallobject.hh·File·Reference | ||
| 10 | #include·<cstddef> | ||
| 11 | #include·<utility> | ||
| 12 | #include·<type_traits> | ||
| 13 | #include·<algorithm> | ||
| 12 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | ||
| 16 | class· ·Dune::Functions::PolymorphicSmallObject<_Base,_bufferSize_> | ||
| 17 | ·······A·wrapper·providing·small·object·optimization·with·polymorphic·types. | ||
| 18 | ········More... | ||
| 19 | |||
| 13 | Namespaces | 20 | Namespaces |
| 14 | namespace· ·Dune | 21 | namespace· ·Dune |
| 15 | 22 | ||
| 16 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 17 | 24 | ||
| 18 | =============================================================================== | 25 | =============================================================================== |
| 19 | ·····Generated·by [doxygen]·1.9.8 | 26 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·lo | 8 | <title>dune-functions:·polymorphicsmallobject.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 92 lines modified | Offset 74, 203 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">lo | 80 | ··<div·class="headertitle"><div·class="title">polymorphicsmallobject.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<algorithm></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <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> | ||
| 102 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01283.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01283.html">PolymorphicSmallObject</a></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//</span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">class·</span>LocalFunctionWrapperInterface·:</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">public</span>:</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&)·=·0;</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()·=·0;</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()·<span·class="keyword">const</span>·=·0;</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()·<span·class="keyword">const</span>·=·0;</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</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>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">class</span>·B></div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>LocalFunctionWrapperImplementation·:</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>Base·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>Base::Base;</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&·context)</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····this->get().bind(context);</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··}</div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> |
| 105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·Actual·buffer·size·must·be·>·0</span></div> | ||
| 106 | <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> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> | ||
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····this->get().unbind();</div> | ||
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div> | ||
| 138 | <div·class="line"><a·id="l0005 | 107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 139 | <div·class="line"><a·id="l0005 | 108 | <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> |
| 109 | <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> | ||
| 110 | <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> | ||
| 111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 140 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> |
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·this->get().bound();</div> | ||
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>· | 113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 114 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> | ||
| 115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01283.html#ab91da8192c7c5d7a796d79145ce97c84">···62</a></span>··<a·class="code·hl_function"·href="a01283.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>()·:</div> | ||
| 116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····p_(nullptr)</div> | ||
| 143 | <div·class="line"><a·id="l0006 | 117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{}</div> |
| 118 | </div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()<span·class="keyword">·const</span></div> | ||
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·this->get().localContext();</div> | ||
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>· | 119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 120 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Derived,</div> | ||
| 121 | <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> | ||
| 122 | <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> | ||
| 123 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 124 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01283.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">···75</a></span>··<a·class="code·hl_function"·href="a01283.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">PolymorphicSmallObject</a>(Derived&&·derived)</div> | ||
| 148 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> |
| 126 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·useBuffer·=·(<span·class="keyword">sizeof</span>(Derived)·<=·bufferSize)</div> | ||
| 127 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········&&·(bufferAlignment·%·<span·class="keyword">alignof</span>(Derived)·==·0);</div> | ||
| 149 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(useBuffer)·{</div> | ||
| 130 | <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> | ||
| 150 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}·<span·class="keywordflow">else</span>·{</div> |
| 132 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······p_·=·<span·class="keyword">new</span>·Derived(std::forward<Derived>(derived));</div> | ||
| 133 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> | ||
| 134 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> | ||
| 135 | </div> | ||
| 151 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
| 137 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01283.html#a4b1d4df1c0a49f22c3da8beff0412560">···88</a></span>··<a·class="code·hl_function"·href="a01283.html#a4b1d4df1c0a49f22c3da8beff0412560">PolymorphicSmallObject</a>(<a·class="code·hl_class"·href="a01283.html">PolymorphicSmallObject</a>&&·other)·<span·class="keyword">noexcept</span></div> | ||
| 139 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div> | ||
| 140 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····moveToWrappedObject(std::move(other));</div> | ||
| 141 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> | ||
| Max diff block lines reached; 4876/39427 bytes (12.37%) of diff not shown. | |||
| Offset 1, 94 lines modified | Offset 1, 209 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | lo | 8 | polymorphicsmallobject.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/functions/common/type_traits.hh> | ||
| 22 | 11#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 23 | 12 | ||
| 24 | 1 | 21 | 10#include·<cstddef> |
| 22 | 11#include·<utility> | ||
| 23 | 12#include·<type_traits> | ||
| 24 | 13#include·<algorithm> | ||
| 25 | 14 | 25 | 14 |
| 26 | 15namespace·Dune·{ | 26 | 15namespace·Dune·{ |
| 27 | 16namespace·Functions·{ | 27 | 16namespace·Functions·{ |
| 28 | 17 | 28 | 17 |
| 29 | 18 | 29 | 18 |
| 30 | 49template<class·Base,·size_t·bufferSize> | ||
| 31 | 50class·PolymorphicSmallObject | ||
| 30 | 19//·Interface·of·type·erasure·wrapper | ||
| 31 | 20// | ||
| 32 | 21//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 33 | ...) | ||
| 34 | 22//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 35 | 23template<class·Signature,·class·DerivativeInterface,·class·LocalContext> | ||
| 36 | 24class·LocalFunctionWrapperInterface·: | ||
| 37 | 25·public·DifferentiableFunctionWrapperInterface<Signature, | ||
| 38 | DerivativeInterface> | ||
| 39 | 26{ | ||
| 40 | 27public: | ||
| 41 | 28·virtual·void·bind(const·LocalContext&)·=·0; | ||
| 42 | 29 | ||
| 43 | 30·virtual·void·unbind()·=·0; | ||
| 44 | 31 | ||
| 45 | 32·virtual·bool·bound()·const·=·0; | ||
| 46 | 33 | ||
| 47 | 34·virtual·const·LocalContext&·localContext()·const·=·0; | ||
| 48 | 35}; | ||
| 49 | 36 | ||
| 50 | 37 | ||
| 51 | 38//·Implementation·of·type·erasure·wrapper | ||
| 52 | 39template<class·Signature,·class·DerivativeInterface,·class·LocalContext, | ||
| 53 | class·B> | ||
| 54 | 40class·LocalFunctionWrapperImplementation·: | ||
| 55 | 41·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 56 | DerivativeInterface,·B> | ||
| 57 | 42{ | ||
| 58 | 43·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 59 | DerivativeInterface,·B>; | ||
| 60 | 44public: | ||
| 61 | 45·using·Base::Base; | ||
| 62 | 46 | ||
| 63 | 47·virtual·void·bind(const·LocalContext&·context) | ||
| 64 | 48·{ | ||
| 65 | 49·this->get().bind(context); | ||
| 66 | 50·} | ||
| 67 | 51 | 32 | 51{ |
| 68 | 52· | 33 | 52·//·Actual·buffer·size·must·be·>·0 |
| 34 | 53·static·constexpr·std::size_t·actualBufferSize·=·std::max(sizeof(std::byte), | ||
| 35 | bufferSize); | ||
| 36 | 54 | ||
| 37 | 55·//·Alignment·requirement·for·the·buffer.·The·`Derived`·type·must·have | ||
| 38 | 56·//·an·alignment·requirement·that·is·a·divisor·of·`bufferAlignment` | ||
| 39 | 57·static·constexpr·std::size_t·bufferAlignment·=·alignof(std::max_align_t); | ||
| 40 | 58 | ||
| 41 | 59public: | ||
| 42 | 60 | ||
| 43 | 62·PolymorphicSmallObject()·: | ||
| 44 | 63·p_(nullptr) | ||
| 45 | 64·{} | ||
| 46 | 65 | ||
| 47 | 72·template<class·Derived, | ||
| 48 | 73·std::enable_if_t<std::is_base_of_v<Base,·std::remove_cv_t< | ||
| 49 | 74·std::remove_reference_t<Derived>>>,·int>·=·0> | ||
| 50 | 75·PolymorphicSmallObject(Derived&&·derived) | ||
| 51 | 76·{ | ||
| 52 | 77·constexpr·bool·useBuffer·=·(sizeof(Derived)·<=·bufferSize) | ||
| 53 | 78·&&·(bufferAlignment·%·alignof(Derived)·==·0); | ||
| 54 | 79 | ||
| 55 | 80·if·constexpr·(useBuffer)·{ | ||
| 56 | 81·p_·=·new·(&buffer_)·Derived(std::forward<Derived>(derived)); | ||
| 57 | 82·}·else·{ | ||
| 58 | 83·p_·=·new·Derived(std::forward<Derived>(derived)); | ||
| 59 | 84·} | ||
| 60 | 85·} | ||
| 61 | 86 | ||
| 62 | 88·PolymorphicSmallObject(PolymorphicSmallObject&&·other)·noexcept | ||
| 63 | 89·{ | ||
| 64 | 90·moveToWrappedObject(std::move(other)); | ||
| 65 | 91·} | ||
| 66 | 92 | ||
| 67 | 94·PolymorphicSmallObject(const·PolymorphicSmallObject&·other) | ||
| 68 | 95·{ | ||
| 69 | 96·copyToWrappedObject(other); | ||
| 70 | 97·} | ||
| 71 | 98 | ||
| 72 | 100·~PolymorphicSmallObject() | ||
| 73 | 101·{ | ||
| 74 | 102·destroyWrappedObject(); | ||
| 75 | 103·} | ||
| 76 | 104 | ||
| 77 | 106·PolymorphicSmallObject&·operator=(const·PolymorphicSmallObject&·other) | ||
| 78 | 107·{ | ||
| 79 | 108·if·(&other!=this) | ||
| 80 | 109·{ | ||
| 81 | 110·destroyWrappedObject(); | ||
| 82 | 111·copyToWrappedObject(other); | ||
| 83 | 112·} | ||
| 84 | 113·return·*this; | ||
| 85 | 114·} | ||
| 86 | 115 | ||
| Max diff block lines reached; 2128/7907 bytes (26.91%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·overflowarray.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 49 lines modified | Offset 71, 39 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">overflowarray.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 80 | </div><!--header--> |
| 82 | <div·class="contents"> | 81 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<algorithm></code><br·/> |
| 83 | <code>#include·<iostream></code><br·/> | ||
| 84 | <code>#include·<cstddef></code><br·/> | ||
| 85 | <code>#include·<array></code><br·/> | ||
| 86 | <code>#include·<initializer_list></code><br·/> | ||
| 84 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/genericiterator.hh></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 88 | </div> | 88 | </div> |
| 89 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 90 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 92 | Classes</h2></td></tr> | 92 | Classes</h2></td></tr> |
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01279.html">Dune::Functions::OverflowArray<·BA,·maxSize·></a></td></tr> |
| 94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·dynamically·sized·array-like·class·with·overflow.··<a·href="a01279.html#details">More...</a><br·/></td></tr> | ||
| 94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01143.html#details">More...</a><br·/></td></tr> | ||
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></a></td></tr> | ||
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01147.html#details">More...</a><br·/></td></tr> | ||
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 101 | Namespaces</h2></td></tr> | 98 | Namespaces</h2></td></tr> |
| 102 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 99 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 101 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | </table><table·class="memberdecls"> | ||
| 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 108 | Functions</h2></td></tr> | ||
| 109 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"·id="r_gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplParams"·colspan="2">template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class...·F>·</td></tr> | ||
| 110 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01139.html">DifferentiableFunctionFromCallables</a><·Signature,·DerivativeTraits,·F...·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">Dune::Functions::makeDifferentiableFunctionFromCallables</a>·(const·<a·class="el"·href="a01299.html">SignatureTag</a><·Signature,·DerivativeTraits·>·&signatureTag,·F·&&...·f)</td></tr> | ||
| 111 | <tr·class="memdesc:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01107.html">DifferentiableFunction</a>·from·callables.··<br·/></td></tr> | ||
| 112 | <tr·class="separator:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table> | 103 | </table> |
| 114 | </div><!--·contents·--> | 104 | </div><!--·contents·--> |
| 115 | <!--·start·footer·part·--> | 105 | <!--·start·footer·part·--> |
| 116 | <hr·class="footer"/><address·class="footer"><small> | 106 | <hr·class="footer"/><address·class="footer"><small> |
| 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 118 | </small></address> | 108 | </small></address> |
| 119 | </body> | 109 | </body> |
| Offset 1, 46 lines modified | Offset 1, 27 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | 9 | overflowarray.hh·File·Reference | |
| 10 | #include·<algorithm> | ||
| 11 | #include·<iostream> | ||
| 12 | #include·<cstddef> | ||
| 13 | #include·<array> | ||
| 14 | #include·<initializer_list> | ||
| 10 | #include·<dune/common/ | 15 | #include·<dune/common/genericiterator.hh> |
| 11 | #include·<dune/common/hybridutilities.hh> | ||
| 12 | #include·<dune/functions/common/signature.hh> | ||
| 13 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 14 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 15 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
| 16 | Classes | 17 | Classes |
| 18 | class· ·Dune::Functions::OverflowArray<_BA,_maxSize_> | ||
| 19 | ·······A·dynamically·sized·array-like·class·with·overflow.·More... | ||
| 17 | class· ·Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
| 18 | ········DerivativeTraits,_F_> | ||
| 19 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
| 20 | ·······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
| 21 | ········More... | ||
| 22 | |||
| 23 | class· ·Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
| 24 | ········DerivativeTraits,_F,_DF,_Derivatives..._> | ||
| 25 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
| 26 | ·······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
| 27 | ········More... | ||
| 28 | 20 | ||
| 29 | Namespaces | 21 | Namespaces |
| 30 | namespace· ·Dune | 22 | namespace· ·Dune |
| 31 | 23 | ||
| 32 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 33 | 25 | ||
| 34 | Functions | ||
| 35 | template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class... | ||
| 36 | F> | ||
| 37 | DifferentiableFunctionFromCallables<·Dune::Functions:: | ||
| 38 | Signature,·DerivativeTraits,·F...·> ·makeDifferentiableFunctionFromCallables | ||
| 39 | ·····································(const·SignatureTag<·Signature, | ||
| 40 | ·····································DerivativeTraits·>·&signatureTag,·F·&&... | ||
| 41 | ·····································f) | ||
| 42 | ····································Create·a·DifferentiableFunction·from | ||
| 43 | ·····································callables. | ||
| 44 | |||
| 45 | =============================================================================== | 26 | =============================================================================== |
| 46 | ·····Generated·by [doxygen]·1.9.8 | 27 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·overflowarray.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 163 lines modified | Offset 74, 282 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">overflowarray.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<algorithm></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<iostream></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<cstddef></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<array></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·< | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<initializer_list></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·< | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> | ||
| 102 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 105 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class</span>·BA,·std::<span·class="keywordtype">size_t</span>·maxSize·=·std::tuple_size_v<BA>></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class</span>...·Callables></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01139.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01139.html">DifferentiableFunctionFromCallables</a>;</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F></div> | ||
| 114 | <div·class="foldopen"·id="foldopen0004 | 106 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> |
| 115 | <div·class="line"><a·id="l0004 | 107 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01279.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01279.html">OverflowArray</a>·:</div> |
| 108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>·BA</div> | ||
| 116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> | 109 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> |
| 117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">p | 110 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·baseSize·=·std::tuple_size_v<BA>;</div> |
| 118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 111 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 119 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> |
| 113 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01279.html#a95296504e2bd12821b975daa3d2f9934">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a95296504e2bd12821b975daa3d2f9934">BaseArray</a>·=·BA;</div> | ||
| 120 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 121 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01 | 115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>·=·<span·class="keyword">typename</span>·BaseArray::value_type;</div> |
| 116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01279.html#a057b2fd50430511a0c5697c8e271fd70">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a057b2fd50430511a0c5697c8e271fd70">reference</a>·=·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
| 117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01279.html#a040c3d78e6edfb6576a03b8be4f0e71c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a040c3d78e6edfb6576a03b8be4f0e71c">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
| 118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01279.html#ad6864fbd3a109a6b10b32af7e9c58b5b">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#ad6864fbd3a109a6b10b32af7e9c58b5b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>*;</div> | ||
| 119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01279.html#a87ef9a454715903d6832df402705780d">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a87ef9a454715903d6832df402705780d">difference_type</a>·=·std::ptrdiff_t;</div> | ||
| 120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·=·std::size_t;</div> | ||
| 121 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01279.html#a72ffe9b324024906b65d3051ec1d199c">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#a72ffe9b324024906b65d3051ec1d199c">iterator</a>·=·Dune::GenericIterator<OverflowArray,·value_type>;</div> | ||
| 122 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01279.html#ad7feb14b245d1a17e13e690cf693aba7">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01279.html#ad7feb14b245d1a17e13e690cf693aba7">const_iterator</a>·=·Dune::GenericIterator<const·OverflowArray,·const·value_type>;</div> | ||
| 122 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01143.html#af3d92b77ee01a494d609225d37eb5259">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01143.html#af3d92b77ee01a494d609225d37eb5259">DerivativeSignature</a>·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(Domain);</div> | ||
| 124 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> |
| 125 | <div·class="line"><a·id="l0006 | 125 | <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="a01279.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>,·maxSize-baseSize>;</div> |
| 126 | <div·class="line"><a·id="l0006 | 126 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 127 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF>·=·0></div> | ||
| 128 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01143.html#a9509c11776197d4e92b8d1f0ad2a10cb">···65</a></span>··<a·class="code·hl_function"·href="a01143.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a>(FF&&·f)·:</div> | ||
| 130 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····f_(std::forward<FF>(f))</div> | ||
| 131 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>· | 127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">public</span>:</div> |
| 132 | </div> | ||
| 133 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 128 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01279.html#a8ff4c2cab7f220136c0b072c6a055f34">···69</a></span>··<a·class="code·hl_function"·href="a01279.html#a8ff4c2cab7f220136c0b072c6a055f34">OverflowArray</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
| 130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 134 | <div·class="foldopen"·id="foldopen0007 | 131 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> |
| 135 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01143.html#a720d931d3d5ea77435ea74436c6ab489">···70</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
| 136 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword"> | 132 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01279.html#aec5c016d84ff17d2c57dac741c1954b6">···71</a></span>··<a·class="code·hl_function"·href="a01279.html#aec5c016d84ff17d2c57dac741c1954b6">OverflowArray</a>(<span·class="keyword">const</span>·std::initializer_list<value_type[·...·truncated·by·diffoscope;·len:·13,·SHA:·ab283c776e409e52a6a9b20b13f5a307f50caf9d58e59725eace3f20c43b0f09·...·]{</div> |
| 133 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····assert(l.size()·<=·<a·class="code·hl_function"·href="a01279.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
| 137 | <div·class="line"><a·id="l0007 | 134 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····size_·=·l.size();</div> |
| 135 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····std::copy_n(l.begin(),·size_,·<a·class="code·hl_function"·href="a01279.html#a4b246cb76dc8a3b81638052e5d3c4617">begin</a>());</div> | ||
| 138 | <div·class="line"><a·id="l0007 | 136 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div> |
| 139 | </div> | 137 | </div> |
| 140 | <div·class="line"><a·id="l0007 | 138 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 141 | <div·class="foldopen"·id="foldopen000 | 139 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> |
| 142 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga8bec39fece3c312f2030bab07b2e8721">···80</a></span>··<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a01107.html">Derivative</a>·<a·class="code·hl_friend"·href="a00215.html#ga8bec39fece3c312f2030bab07b2e8721">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01139.html">DifferentiableFunctionFromCallables</a>&·t)</div> | ||
| 143 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div> | ||
| 144 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01279.html#a0fb3877160f4a79b3f149a873ba6bc10">···77</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01279.html#a0fb3877160f4a79b3f149a873ba6bc10">operato[·...·truncated·by·diffoscope;·len:·155,·SHA:·0c8e0f9c4bac90286fab06180fdd89b75f592c42e44e6aa95a540f43e2c662e7·...·]</div> |
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·!=·other.<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>())</div> | ||
| 142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
| 143 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">for</span>·(<a·class="code·hl_typedef"·href="a01279.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·i=0;·i<<a·class="code·hl_function"·href="a01279.html#a6418868e96294c749e1f50b3f4e24e04">size</a>();·++i)</div> | ||
| 144 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keywordflow">if</span>·((*<span·class="keyword">this</span>)[i]·!=·other[i])</div> | ||
| 145 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
| 146 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
| 145 | <div·class="line"><a·id="l0008 | 147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div> |
| 146 | </div> | 148 | </div> |
| 147 | <div·class="line"><a·id="l0008 | 149 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
| 148 | <div·class=" | 150 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> |
| 151 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01279.html#aac47600e996341476adeda5a998a6c4d">···87</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01279.html#aac47600e996341476adeda5a998a6c4d">clear</a>()·{</div> | ||
| 149 | <div·class="line"><a·id="l0008 | 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····size_·=·0;</div> |
| 150 | <div·class="line"><a·id="l0008 | 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> |
| 151 | </div> | 154 | </div> |
| 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | 155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
| 155 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>DF,·<span·class="keyword">class</span>...·Derivatives></div> | ||
| 156 | <div·class="foldopen"·id="foldopen00 | 156 | <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> |
| 157 | <div·class="line"><a·id="l00 | 157 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01279.html#acb3c0d310f92e484249c69697210dd3b">···97</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01279.html#acb3c0d310f92e484249c69697210dd3b">resize[·...·truncated·by·diffoscope;·len:·103,·SHA:·b6cd93e2f6ebe045cf4425671f85ac9bc1570c1c8f7f93c4349c5755c52579d4·...·]</div> |
| 158 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····assert(n·<=·<a·class="code·hl_function"·href="a01279.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
| 159 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····size_·=·n;</div> | ||
| 158 | <div·class="line"><a·id="l0010 | 160 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··}</div> |
| 159 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">public</span>:</div> | ||
| Max diff block lines reached; 31155/75319 bytes (41.36%) of diff not shown. | |||
| Offset 1, 196 lines modified | Offset 1, 317 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | overflowarray.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 23 | 12#include·<dune/common/hybridutilities.hh> | ||
| 24 | 13 | ||
| 25 | 1 | 21 | 10#include·<algorithm> |
| 22 | 11#include·<iostream> | ||
| 23 | 12#include·<cstddef> | ||
| 24 | 13#include·<array> | ||
| 25 | 14#include·<initializer_list> | ||
| 26 | 15 | 26 | 15 |
| 27 | 16#include·<dune/functions/common/differentiablefunction.hh> | ||
| 28 | 1 | 27 | 16#include·<dune/common/genericiterator.hh> |
| 28 | 17 | ||
| 29 | 18 | 29 | 18 |
| 30 | 19 | 30 | 19 |
| 31 | 20 | ||
| 32 | 21namespace·Dune·{ | ||
| 33 | 2 | 31 | 20namespace·Dune::Functions·{ |
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 46template<class·BA,·std::size_t·maxSize·=·std::tuple_size_v<BA>> | ||
| 35 | 47class·OverflowArray·: | ||
| 36 | 48·public·BA | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 26template<class·Signature,·template<class>·class·DerivativeTraits,·class... | ||
| 38 | Callables> | ||
| 39 | 27class·DifferentiableFunctionFromCallables; | ||
| 40 | 28 | ||
| 41 | 29 | ||
| 42 | 30 | ||
| 43 | 47template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 44 | class·F> | ||
| 45 | 48class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits,·F> | ||
| 46 | 49{ | 37 | 49{ |
| 47 | 50pu | 38 | 50·static·constexpr·std::size_t·baseSize·=·std::tuple_size_v<BA>; |
| 48 | 51 | 39 | 51 |
| 49 | 5 | 40 | 52public: |
| 41 | 53·using·BaseArray·=·BA; | ||
| 50 | 54 | 42 | 54 |
| 51 | 55·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 52 | 56 | ||
| 53 | 58·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 54 | (Domain); | ||
| 55 | 59 | ||
| 56 | 61·using·Derivative·=·DifferentiableFunction<DerivativeSignature, | ||
| 57 | DerivativeTraits>; | ||
| 58 | 62 | ||
| 59 | 64·template<class·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF> | ||
| 60 | =·0> | ||
| 61 | 65·DifferentiableFunctionFromCallables(FF&&·f)·: | ||
| 62 | 66·f_(std::forward<FF>(f)) | ||
| 63 | 43 | 55·using·value_type·=·typename·BaseArray::value_type; | |
| 44 | 56·using·reference·=·value_type&; | ||
| 45 | 57·using·const_reference·=·const·value_type&; | ||
| 46 | 58·using·pointer·=·value_type*; | ||
| 47 | 59·using·difference_type·=·std::ptrdiff_t; | ||
| 48 | 60·using·size_type·=·std::size_t; | ||
| 49 | 61·using·iterator·=·Dune::GenericIterator<OverflowArray,·value_type>; | ||
| 50 | 62·using·const_iterator·=·Dune::GenericIterator<const·OverflowArray,·const | ||
| 51 | value_type>; | ||
| 52 | 63 | ||
| 53 | 64private: | ||
| 54 | 65·using·OverflowBuffer·=·std::array<value_type,·maxSize-baseSize>; | ||
| 55 | 66 | ||
| 56 | 67public: | ||
| 64 | 68 | 57 | 68 |
| 65 | 70·Range·operator()·(const·Domain&·x)·const | ||
| 66 | 71·{ | ||
| 67 | 58 | 69·OverflowArray()·=·default; | |
| 59 | 70 | ||
| 60 | 71·OverflowArray(const·std::initializer_list<value_type>&·l)·{ | ||
| 61 | 72·assert(l.size()·<=·capacity()); | ||
| 62 | 73·size_·=·l.size(); | ||
| 63 | 74·std::copy_n(l.begin(),·size_,·begin()); | ||
| 68 | 7 | 64 | 75·} |
| 69 | 74 | ||
| 70 | 80·friend·Derivative·derivative(const·DifferentiableFunctionFromCallables&·t) | ||
| 71 | 81·{ | ||
| 72 | 65 | 76 | |
| 66 | 77·bool·operator_==_(const·OverflowArray&·other)·const·{ | ||
| 67 | 78·if·(size()·!=·other.size()) | ||
| 68 | 79·return·false; | ||
| 69 | 80·for·(size_type·i=0;·i<size();·++i) | ||
| 70 | 81·if·((*this)[i]·!=·other[i]) | ||
| 71 | 82·return·false; | ||
| 72 | 83·return·true; | ||
| 73 | 8 | 73 | 84·} |
| 74 | 85 | ||
| 75 | 87·void·clear()·{ | ||
| 76 | 88·size_·=·0; | ||
| 77 | 89·} | ||
| 74 | 84 | ||
| 75 | 85private: | ||
| 76 | 86·F·f_; | ||
| 77 | 87}; | ||
| 78 | 88 | ||
| 79 | 89 | ||
| 80 | 90 | 78 | 90 |
| 81 | 107template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 82 | class·F,·class·DF,·class...·Derivatives> | ||
| 83 | 108class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits, | ||
| 84 | F,·DF,·Derivatives...> | ||
| 85 | 109{ | ||
| 86 | 79 | 97·void·resize(size_type·n)·{ | |
| Max diff block lines reached; 9152/15739 bytes (58.15%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 25 lines modified | Offset 72, 33 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">localfunction.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 84 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/common/localfunction_imp.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 83 | </div> | 89 | </div> |
| 84 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 85 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 87 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
| 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0124 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01247.html">Dune::Functions::LocalFunction<·Signature,·LocalContext,·DerivativeTraits,·bufferSize·></a></td></tr> |
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01255.html">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·local·functions·using·type·erasure.··<a·href="a01255.html#details">More...</a><br·/></td></tr> |
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 93 | Namespaces</h2></td></tr> | 101 | Namespaces</h2></td></tr> |
| 94 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 102 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 104 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| Offset 2, 20 lines modified | Offset 2, 30 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | 9 | localfunction.hh·File·Reference | |
| 10 | #include·<type_traits> | 10 | #include·<type_traits> |
| 11 | #include·<dune/common/typeutilities.hh> | ||
| 12 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 13 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 14 | #include·<dune/functions/common/localfunction_imp.hh> | ||
| 15 | #include·<dune/functions/common/typeerasure.hh> | ||
| 16 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 18 | Classes |
| 13 | class· ·Dune::Functions::PolymorphicType<_Interface_> | ||
| 14 | 19 | class· ·Dune::Functions::LocalFunction<_Signature,_LocalContext, | |
| 20 | ········DerivativeTraits,_bufferSize_> | ||
| 21 | |||
| 22 | class· ·Dune::Functions::LocalFunction<_Range(Domain),_LocalContext, | ||
| 23 | ········DerivativeTraits,_bufferSize_> | ||
| 24 | ·······Class·storing·local·functions·using·type·erasure.·More... | ||
| 15 | 25 | ||
| 16 | Namespaces | 26 | Namespaces |
| 17 | namespace· ·Dune | 27 | namespace· ·Dune |
| 18 | 28 | ||
| 19 | namespace· ·Dune::Functions | 29 | namespace· ·Dune::Functions |
| 20 | 30 | ||
| 21 | =============================================================================== | 31 | =============================================================================== |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 64 lines modified | Offset 74, 174 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">localfunction.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 97 | <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/common/differentiablefunction.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/common/localfunction_imp.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 95 | <div·class="line"><a·id="l000 | 104 | <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="a00224.html">Dune</a>·{</div> |
| 96 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 97 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 98 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 99 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">/*</span></div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
| 100 | <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> | ||
| 101 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> | ||
| 102 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01243.html">···28</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01243.html">PolymorphicType</a></div> | ||
| 103 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
| 104 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·*/</span></div> |
| 105 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">template</span><<span·class="keyword">cla[·...·truncated·by·diffoscope;·len:·148,·SHA:·884035fabb675933d2d0aa5c04532dba001b556a793bc27c59517d036b68f0e6·...·]</div> |
| 106 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> | 115 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> |
| 107 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a0124 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01247.html">···33</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01247.html">LocalFunction</a></div> |
| 108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span> | 117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{};</div> |
| 109 | </div> | 118 | </div> |
| 110 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
| 111 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 121 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Imp</div> | ||
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> | ||
| 124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·L,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
| 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">struct·</span>LocalFunctionTraits·:</div> | ||
| 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
| 112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{</div> |
| 113 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">protected</span>:</div> |
| 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> | ||
| 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">using·</span>LocalContext·=·L;</div> | ||
| 114 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 115 | <div·class="line"><a·id="l000 | 135 | <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>·Base::DerivativeSignature;</div> |
| 136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 137 | <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="a01247.html">LocalFunction<DerivativeSignature,·L,·DerivativeTraits,·bufferSize></a>;</div> | ||
| 138 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Concept·=·LocalFunctionWrapperInterface<S,·DerivativeInterface,·L>;</div> | ||
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">using·</span>Model·=·LocalFunctionWrapperImplementation<S,·DerivativeInterface,·L,·B>;</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> | ||
| 116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 145 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 117 | </div> | ||
| 118 | <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> |
| 119 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 148 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
| 149 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="};"> | ||
| 150 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01255.html">···91</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01247.html">LocalFunction</a><·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>·:</div> | ||
| 151 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01335.html">TypeErasureBase</a><</div> | ||
| 152 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>::Concept,</div> | ||
| 153 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>::template·Model></div> | ||
| 154 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>{</div> | ||
| 155 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">using·</span>Traits·=·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>;</div> | ||
| 120 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
| 157 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01335.html">Base</a>·=·<a·class="code·hl_class"·href="a01335.html">TypeErasureBase<typename·Traits::Concept,·Traits::template·Model></a>;</div> | ||
| 158 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
| 159 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">using·</span>DerivativeInterface·=·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01247.html">Traits::DerivativeInterface</a>;</div> | ||
| 160 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
| 161 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">public</span>:</div> | ||
| 162 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
| 163 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F,·disableCopyMove<LocalFunction,·F>·=·0·></div> | ||
| 164 | <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="}"> | ||
| 165 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a01255.html#a6d54d317a0068c6bcb27a937afac321d">··116</a></span>··<a·class="code·hl_function"·href="a01255.html#a6d54d317a0068c6bcb27a937afac321d">LocalFunction</a>(F&&·f)·:</div> | ||
| 166 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<a·class="code·hl_class"·href="a01335.html">Base</a>(std::forward<F>(f))</div> | ||
| 167 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{</div> | ||
| 168 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····<span·class="keyword">static_assert</span>(Dune::Functions::Concept::isLocalFunction<F,·Range(Domain),·LocalContext>(),·<span·class="stringliteral">"Trying·to·construct·a·LocalFunction·from·type·that·does·not·model·the·LocalFunction·concept"</span>);</div> | ||
| 169 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··}</div> | ||
| 170 | </div> | ||
| 171 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> | ||
| 172 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a01255.html#af06e8ffc9fe0be67a76a17cbf6c86c90">··122</a></span>··<a·class="code·hl_function"·href="a01255.html#af06e8ffc9fe0be67a76a17cbf6c86c90">LocalFunction</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
| 173 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> | ||
| 174 | <div·class="foldopen"·id="foldopen00127"·data-start="{"·data-end="}"> | ||
| 175 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01255.html#ad6810aaf520c4e4e99fe9d4343332dde">··127</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
| 176 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">··</span>{</div> | ||
| 177 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····<span·class="keywordflow">return</span>·this->asInterface().operator()(x);</div> | ||
| 178 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··}</div> | ||
| Max diff block lines reached; 4921/32426 bytes (15.18%) of diff not shown. | |||
| Offset 1, 68 lines modified | Offset 1, 194 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | localfunction.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | 21 | 10#include·<type_traits> |
| 22 | 11 | 22 | 11 |
| 23 | 12 | 23 | 12#include·<dune/common/typeutilities.hh> |
| 24 | 13 | ||
| 25 | 14#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 26 | 15#include·<dune/functions/common/differentiablefunction.hh> | ||
| 27 | 16#include·<dune/functions/common/localfunction_imp.hh> | ||
| 28 | 17#include·<dune/functions/common/typeerasure.hh> | ||
| 29 | 18#include·<dune/functions/common/functionconcepts.hh> | ||
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 21 | ||
| 24 | 33 | 22namespace·Dune·{ | |
| 25 | 34 | 23namespace·Functions·{ | |
| 26 | 15 | ||
| 27 | 16 | ||
| 28 | 17 | ||
| 29 | 27template<class·Interface> | ||
| 30 | 28class·PolymorphicType | ||
| 31 | 29{ | ||
| 32 | 30public: | ||
| 33 | 31 | ||
| 34 | 35 | 24 | |
| 36 | 25 | ||
| 37 | 26 | ||
| 38 | 27/* | ||
| 39 | 28·*·Default·implementation·is·empty | ||
| 40 | 29·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
| 41 | 30·*·describing·a·function·signature·as·Range(Domain). | ||
| 42 | 31·*/ | ||
| 43 | 32template<class·Signature,·class·LocalContext,·template<class>·class | ||
| 44 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 45 | 33class·LocalFunction | ||
| 35 | 34 | 46 | 34{}; |
| 36 | 35 | 47 | 35 |
| 37 | 44·virtual·Interface*·clone()·const·=·0; | ||
| 38 | 45 | ||
| 39 | 55·virtual·Interface*·clone(void*·buffer)·const·=·0; | ||
| 40 | 56 | ||
| 41 | 66·virtual·Interface*·move(void*·buffer)·=·0; | ||
| 42 | 48 | 36 | |
| 49 | 37 | ||
| 50 | 38namespace·Imp | ||
| 51 | 39{ | ||
| 52 | 40 | ||
| 53 | 42·template<class·S,·class·L,·template<class>·class·DerivativeTraits,·size_ | ||
| 54 | t·bufferSize> | ||
| 55 | 43·struct·LocalFunctionTraits·: | ||
| 56 | 44·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
| 57 | 45·{ | ||
| 58 | 46·protected: | ||
| 59 | 47·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
| 60 | 48 | ||
| 61 | 49·public: | ||
| 62 | 51·using·LocalContext·=·L; | ||
| 63 | 52 | ||
| 64 | 54·using·DerivativeSignature·=·typename·Base::DerivativeSignature; | ||
| 65 | 55 | ||
| 66 | 57·using·DerivativeInterface·=·LocalFunction<DerivativeSignature,_L, | ||
| 67 | DerivativeTraits,_bufferSize>; | ||
| 68 | 58 | ||
| 69 | 60·using·Concept·=·LocalFunctionWrapperInterface<S,·DerivativeInterface,·L>; | ||
| 70 | 61 | ||
| 71 | 63·template<class·B> | ||
| 72 | 64·using·Model·=·LocalFunctionWrapperImplementation<S,·DerivativeInterface,·L, | ||
| 73 | B>; | ||
| 74 | 65·}; | ||
| 75 | 66} | ||
| 76 | 67 | ||
| 43 | 68 | 77 | 68 |
| 44 | 69 | 78 | 69 |
| 45 | 79 | 90template<class·Range,·class·Domain,·class·LocalContext,·template<class>·class | |
| 80 | DerivativeTraits,·size_t·bufferSize> | ||
| 81 | 91class·LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits, | ||
| 82 | bufferSize>·: | ||
| 83 | 92·public·TypeErasureBase< | ||
| 84 | 93·typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
| 85 | DerivativeTraits,·bufferSize>::Concept, | ||
| 86 | 94·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits, | ||
| 87 | bufferSize>::template·Model> | ||
| 88 | 95{ | ||
| 89 | 96·using·Traits·=·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
| 90 | DerivativeTraits,·bufferSize>; | ||
| 91 | 97 | ||
| 92 | 98·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template | ||
| 93 | Model>; | ||
| 94 | 99 | ||
| 95 | 100·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | ||
| 96 | 101 | ||
| 97 | 102public: | ||
| 98 | 103 | ||
| 99 | 115·template<class·F,·disableCopyMove<LocalFunction,·F>·=·0·> | ||
| 100 | 116·LocalFunction(F&&·f)·: | ||
| 101 | 117·Base(std::forward<F>(f)) | ||
| 102 | 118·{ | ||
| 103 | 119·static_assert(Dune::Functions::Concept::isLocalFunction<F,·Range(Domain), | ||
| 104 | LocalContext>(),·"Trying·to·construct·a·LocalFunction·from·type·that·does·not | ||
| 105 | model·the·LocalFunction·concept"); | ||
| 106 | 120·} | ||
| 107 | 121 | ||
| 108 | 122·LocalFunction()·=·default; | ||
| 109 | 123 | ||
| 110 | 127·Range·operator()·(const·Domain&·x)·const | ||
| 111 | 128·{ | ||
| 112 | 129·return·this->asInterface().operator()(x); | ||
| 113 | 130·} | ||
| 114 | 131 | ||
| Max diff block lines reached; 2049/6913 bytes (29.64%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·functionconcepts.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 49 lines modified | Offset 73, 121 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">functionconcepts.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<type | 83 | <div·class="textblock"><code>#include·<dune/common/typelist.hh></code><br·/> |
| 84 | <code>#include·< | 84 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a000 | 86 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
| 86 | </div> | 88 | </div> |
| 87 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 90 | Classes</h2></td></tr> | 92 | Classes</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01151.html">Dune::Functions::Concept::Callable<·Args·></a></td></tr> |
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.··<a·href="a01151.html#details">More...</a><br·/></td></tr> |
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01159.html">Dune::Functions::Concept::Function<·Range(Domain)></a></td></tr> | ||
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01159.html#details">More...</a><br·/></td></tr> | ||
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01167.html">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·></a></td></tr> |
| 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01167.html#details">More...</a><br·/></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01175.html">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·></a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01175.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01183.html">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·></a></td></tr> | ||
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01183.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01187.html">Dune::Functions::Concept::EntitySet</a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>··<a·href="a01187.html#details">More...</a><br·/></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01195.html">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·></a></td></tr> | ||
| 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01195.html#details">More...</a><br·/></td></tr> | ||
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01203.html">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·></a></td></tr> | ||
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01203.html#details">More...</a><br·/></td></tr> | ||
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01211.html">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·></a></td></tr> | ||
| 118 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01211.html#details">More...</a><br·/></td></tr> | ||
| 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01219.html">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·></a></td></tr> | ||
| 121 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01219.html#details">More...</a><br·/></td></tr> | ||
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | </table><table·class="memberdecls"> | 123 | </table><table·class="memberdecls"> |
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 124 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 99 | Namespaces</h2></td></tr> | 125 | Namespaces</h2></td></tr> |
| 100 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 126 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 128 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 130 | <tr·class="memitem:a00227"·id="r_a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::Concept</a></td></tr> | ||
| 131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 104 | </table><table·class="memberdecls"> | 132 | </table><table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 133 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 106 | Functions</h2></td></tr> | 134 | Functions</h2></td></tr> |
| 107 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"·id="r_ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplParams"·colspan="2">template<class·Range·,·class·Domain·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 108 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00216.html#ga18b2a675f9153814c422d33878daebb2">Dune::Functions::derivativeSignatureTag</a>·(<a·class="el"·href="a01299.html">SignatureTag</a><·Range(Domain),·DerivativeTraits·>·tag)</td></tr> | ||
| 109 | <tr·class="mem | 135 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"·id="r_ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> |
| 136 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">Dune::Functions::Concept::isCallable</a>·()</td></tr> | ||
| 137 | <tr·class="memdesc:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 139 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"·id="r_ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> | ||
| 140 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">Dune::Functions::Concept::isCallable</a>·(F·&&,·Args·&&...)</td></tr> | ||
| 141 | <tr·class="memdesc:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<br·/></td></tr> | ||
| 142 | <tr·class="separator:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 143 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"·id="r_ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·>·</td></tr> | ||
| 144 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga44de2338acc7d9c49fbc12452545c7fc">Dune::Functions::Concept::isFunction</a>·()</td></tr> | ||
| 145 | <tr·class="memdesc:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01155.html">Function</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 146 | <tr·class="separator:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 147 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"·id="r_gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 148 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gaf3604a4b809f49bb590440c0f06ededa">Dune::Functions::Concept::isFunction</a>·(F·&&f,·<a·class="el"·href="a01299.html">SignatureTag</a><·Signature,·DerivativeTraits·>)</td></tr> | ||
| 149 | <tr·class="memdesc:gaf3604a4b809f49bb590440c0f06ededa"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01155.html">Function</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 150 | <tr·class="separator:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 151 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"·id="r_ga6c75551b9678848113181d29678ec81e"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
| 152 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga6c75551b9678848113181d29678ec81e">Dune::Functions::Concept::isDifferentiableFunction</a>·()</td></tr> | ||
| 153 | <tr·class="memdesc:ga6c75551b9678848113181d29678ec81e"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01163.html">DifferentiableFunction</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 154 | <tr·class="separator:ga6c75551b9678848113181d29678ec81e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 155 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"·id="r_ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
| 156 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga2ce66508daac0e7fab4ea581865b13c3">Dune::Functions::Concept::isDifferentiableFunction</a>·(F·&&f,·<a·class="el"·href="a01299.html">SignatureTag</a><·Signature,·DerivativeTraits·>)</td></tr> | ||
| 157 | <tr·class="memdesc:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01163.html">DifferentiableFunction</a>·concept·with·given·signature.··<br·/></td></tr> | ||
| 110 | <tr·class="separator:ga | 158 | <tr·class="separator:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <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> | ||
| 112 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00216.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">Dune::Functions::derivativeSignatureTags</a>·(<a·class="el"·href="a01299.html">Dune::Functions::SignatureTag</a><·Signature,·DerivativeTraits·>·tag)</td></tr> | ||
| 113 | <tr·class="mem | 159 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"·id="r_gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·>·</td></tr> |
| 160 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gae2c89a3c7780ff790a8b066bbb5f9687">Dune::Functions::Concept::isLocalFunction</a>·()</td></tr> | ||
| 161 | <tr·class="memdesc:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01171.html">LocalFunction</a>·concept·with·given·signature·and·local·context.··<br·/></td></tr> | ||
| 114 | <tr·class="separator:ga | 162 | <tr·class="separator:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 163 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"·id="r_ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
| 164 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga2a244aa61f5d2c3f5d0dfb125b0436d5">Dune::Functions::Concept::isDifferentiableLocalFunction</a>·()</td></tr> | ||
| 165 | <tr·class="memdesc:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01179.html">DifferentiableLocalFunction</a>·concept·with·given·signature·and·local·context.··<br·/></td></tr> | ||
| 166 | <tr·class="separator:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 167 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"·id="r_gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> | ||
| 168 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gaa59c2062e5469a358cd00ce5bb90fe4d">Dune::Functions::Concept::isEntitySet</a>·()</td></tr> | ||
| 169 | <tr·class="memdesc:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01191.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<br·/></td></tr> | ||
| 170 | <tr·class="separator:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 171 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"·id="r_ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·<a·class="el"·href="a01187.html">EntitySet</a>·>·</td></tr> | ||
| 172 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga1691be3e84b0405cc8a7ebcd598bd861">Dune::Functions::Concept::isGridFunction</a>·()</td></tr> | ||
| 173 | <tr·class="memdesc:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01191.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<br·/></td></tr> | ||
| 174 | <tr·class="separator:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 175 | <tr·class="memitem:gab53d12b97e04f88eec30f4192944e85a"·id="r_gab53d12b97e04f88eec30f4192944e85a"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·<a·class="el"·href="a01187.html">EntitySet</a>·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
| 176 | <tr·class="memitem:gab53d12b97e04f88eec30f4192944e85a"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gab53d12b97e04f88eec30f4192944e85a">Dune::Functions::Concept::isDifferentiableGridFunction</a>·()</td></tr> | ||
| 177 | <tr·class="memdesc:gab53d12b97e04f88eec30f4192944e85a"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01199.html">DifferentiableGridFunction</a>·concept·with·given·signature·and·entity·set.··<br·/></td></tr> | ||
| 178 | <tr·class="separator:gab53d12b97e04f88eec30f4192944e85a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 179 | <tr·class="memitem:ga8510d4e3f9e774bd9a3f434e3de659c9"·id="r_ga8510d4e3f9e774bd9a3f434e3de659c9"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·GridView·>·</td></tr> | ||
| Max diff block lines reached; 287/24672 bytes (1.16%) of diff not shown. | |||
| Offset 2, 39 lines modified | Offset 2, 135 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | signature.hh·File·Reference | ||
| 10 | #include·<type_traits> | ||
| 11 | 9 | functionconcepts.hh·File·Reference | |
| 10 | #include·<dune/common/typelist.hh> | ||
| 11 | #include·<dune/common/concept.hh> | ||
| 12 | #include·<dune/functions/common/signature.hh> | ||
| 12 | #include·<dune/functions/ | 13 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> |
| 14 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
| 13 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 14 | Classes | 16 | Classes |
| 15 | struct· ·Dune::Functions::SignatureTraits<_Signature,_isCallable_> | ||
| 16 | 17 | struct· ·Dune::Functions::Concept::Callable<_Args_> | |
| 18 | ········Concept·objects·that·can·be·called·with·given·argument·list.·More... | ||
| 17 | 19 | ||
| 18 | struct· ·Dune::Functions::SignatureTag<_Range(Domain),_DerivativeTraitsT_> | ||
| 19 | 20 | struct· ·Dune::Functions::Concept::Function<_Range(Domain)> | |
| 21 | ········Concept·for·a·function·mapping·Domain·to·Range.·More... | ||
| 22 | |||
| 23 | struct· ·Dune::Functions::Concept::DifferentiableFunction<_Range(Domain), | ||
| 24 | ·········DerivativeTraits_> | ||
| 25 | ········Concept·for·a·differentiable·function·mapping·Domain·to·Range.·More... | ||
| 26 | |||
| 27 | struct· ·Dune::Functions::Concept::LocalFunction<_Range(Domain),_LocalContext_> | ||
| 28 | ········Concept·for·a·local·function·mapping·Domain·to·Range.·More... | ||
| 29 | |||
| 30 | struct· ·Dune::Functions::Concept::DifferentiableLocalFunction<_Range(Domain), | ||
| 31 | ·········LocalContext,_DerivativeTraits_> | ||
| 32 | ········Concept·for·a·differentiable·local·function·mapping·Domain·to·Range. | ||
| 33 | ·········More... | ||
| 34 | |||
| 35 | struct· ·Dune::Functions::Concept::EntitySet | ||
| 36 | ········Concept·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain), | ||
| 37 | ·········EntitySet,·DerivativeTraits>·More... | ||
| 38 | |||
| 39 | struct· ·Dune::Functions::Concept::GridFunction<_Range(Domain),_EntitySet_> | ||
| 40 | ········Concept·for·a·grid·function·mapping·Domain·to·Range.·More... | ||
| 41 | |||
| 42 | struct· ·Dune::Functions::Concept::DifferentiableGridFunction<_Range(Domain), | ||
| 43 | ·········EntitySet,_DerivativeTraits_> | ||
| 44 | ········Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range. | ||
| 45 | ·········More... | ||
| 46 | |||
| 47 | struct· ·Dune::Functions::Concept::GridViewFunction<_Range(Domain),_GridView_> | ||
| 48 | ········Concept·for·a·grid·view·function·mapping·Domain·to·Range.·More... | ||
| 49 | |||
| 50 | struct· ·Dune::Functions::Concept::DifferentiableGridViewFunction<_Range | ||
| 51 | ·········(Domain),_GridView,_DerivativeTraits_> | ||
| 52 | ········Concept·for·a·differentiable·grid·view·function·mapping·Domain·to | ||
| 53 | ·········Range.·More... | ||
| 20 | 54 | ||
| 21 | Namespaces | 55 | Namespaces |
| 22 | namespace· ·Dune | 56 | namespace· ·Dune |
| 23 | 57 | ||
| 24 | namespace· ·Dune::Functions | 58 | namespace· ·Dune::Functions |
| 25 | 59 | ||
| 60 | namespace· ·Dune::Functions::Concept | ||
| 61 | |||
| 26 | Functions | 62 | Functions |
| 63 | template<class·F·,·class...·Args> | ||
| 64 | static·constexpr·auto ·Dune::Functions::Concept::isCallable·() | ||
| 65 | ······················Check·if·f·is·callable·with·given·argument·list. | ||
| 27 | template<class·Range·,·class·Domain·,·template<·class·>·class | ||
| 28 | DerivativeTraits> | ||
| 29 | auto ·Dune::Functions::derivativeSignatureTag·(SignatureTag<·Range(Domain), | ||
| 30 | ······DerivativeTraits·>·tag) | ||
| 31 | ·····Construct·SignatureTag·for·derivative. | ||
| 32 | 66 | ||
| 33 | template< | 67 | template<class·F·,·class...·Args> |
| 68 | static·constexpr·auto ·Dune::Functions::Concept::isCallable·(F·&&,·Args·&&...) | ||
| 69 | ······················Check·if·f·is·callable·with·given·argument·list. | ||
| 70 | |||
| 71 | template<class·F·,·class·Signature·> | ||
| 72 | static·constexpr·bool ·Dune::Functions::Concept::isFunction·() | ||
| 73 | ······················Check·if·F·models·the·Function·concept·with·given | ||
| 74 | ·······················signature. | ||
| 75 | |||
| 76 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
| 77 | static·constexpr·bool ·Dune::Functions::Concept::isFunction·(F·&&f, | ||
| 78 | ·······················SignatureTag<·Signature,·DerivativeTraits·>) | ||
| 79 | ······················Check·if·f·models·the·Function·concept·with·given | ||
| 80 | ·······················signature. | ||
| 81 | |||
| 82 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·= | ||
| 34 | DerivativeTraits> | 83 | DefaultDerivativeTraits> |
| 35 | auto ·Dune::Functions::derivativeSignatureTags·(Dune::Functions::SignatureTag< | ||
| 36 | ······Signature,·DerivativeTraits·>·tag) | ||
| 37 | 84 | static·constexpr·bool ·Dune::Functions::Concept::isDifferentiableFunction·() | |
| 85 | ······················Check·if·F·models·the·DifferentiableFunction·concept | ||
| 86 | ·······················with·given·signature. | ||
| 87 | |||
| 88 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
| 89 | static·constexpr·bool ·Dune::Functions::Concept::isDifferentiableFunction·(F | ||
| 90 | ·······················&&f,·SignatureTag<·Signature,·DerivativeTraits·>) | ||
| 91 | ······················Check·if·f·models·the·DifferentiableFunction·concept | ||
| 92 | ·······················with·given·signature. | ||
| 93 | |||
| 94 | template<class·F·,·class·Signature·,·class·LocalContext·> | ||
| 95 | static·constexpr·bool ·Dune::Functions::Concept::isLocalFunction·() | ||
| 96 | ······················Check·if·F·models·the·LocalFunction·concept·with·given | ||
| 97 | ·······················signature·and·local·context. | ||
| 98 | |||
| 99 | template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·> | ||
| 100 | class·DerivativeTraits·=·DefaultDerivativeTraits> | ||
| 101 | static·constexpr·bool ·Dune::Functions::Concept::isDifferentiableLocalFunction | ||
| 102 | ·······················() | ||
| 103 | ······················Check·if·F·models·the·DifferentiableLocalFunction | ||
| 104 | ·······················concept·with·given·signature·and·local·context. | ||
| 105 | |||
| 106 | template<class·E·> | ||
| 107 | static·constexpr·bool ·Dune::Functions::Concept::isEntitySet·() | ||
| 108 | ······················Check·if·F·models·the·GridFunction·concept·with·given | ||
| 109 | ·······················signature·and·entity·set. | ||
| 110 | |||
| 111 | template<class·F·,·class·Signature·,·class·EntitySet·> | ||
| 112 | static·constexpr·bool ·Dune::Functions::Concept::isGridFunction·() | ||
| 113 | ······················Check·if·F·models·the·GridFunction·concept·with·given | ||
| 114 | ·······················signature·and·entity·set. | ||
| 115 | |||
| 116 | template<class·F·,·class·Signature·,·class·EntitySet·,·template<·class·>·class | ||
| 117 | DerivativeTraits·=·DefaultDerivativeTraits> | ||
| Max diff block lines reached; 116/7060 bytes (1.64%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·functionconcepts.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 168 lines modified | Offset 74, 370 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">functionconcepts.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/typelist.hh></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/signature.hh</a>></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 97 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 98 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 99 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Concept·{</div> |
| 100 | <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> | ||
| 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01291.html">···24</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">IsCallable</a>;</div> | ||
| 102 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> | ||
| 104 | <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> | ||
| 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">IsCallable</a></div> | ||
| 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> | ||
| 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>yes·{·std::size_t·dummy[2];·};</div> | ||
| 108 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> |
| 109 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 110 | <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> | ||
| 111 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·Callable·concept·############################################################</span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span> | 110 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">class</span>...·Args></div> |
| 113 | <div·class=" | 111 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="};"> |
| 112 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01151.html">···36</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01151.html">Callable</a></div> | ||
| 114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 113 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
| 115 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·· | 114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> |
| 115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01151.html#a8020f2dc3373ee93bbb30e7dfd362b9f">···39</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01151.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
| 116 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····f(std::declval<Args>()...)</div> |
| 117 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··);</div> |
| 118 | <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> | ||
| 119 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span> | 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>};</div> |
| 119 | </div> | ||
| 120 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span> | 120 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
| 122 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="}"> | ||
| 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">···51</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>()</div> | ||
| 124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{·<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01151.html">Concept::Callable</a><Args...>,·F>();·}</div> | ||
| 125 | </div> | ||
| 121 | <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> | ||
| 122 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 123 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">struct·</span>IsCallable<R(*)(D)></div> | ||
| 126 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> | ||
| 127 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> | ||
| 128 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>};</div> | ||
| 129 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#endif</span></div> | ||
| 130 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·></div> | ||
| 132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"> | 127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> |
| 128 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00221.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">···61</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>(F&&,·Args&&...)</div> | ||
| 130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div> | ||
| 131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01151.html">Concept::Callable</a><Args&&...>,·F>();</div> | ||
| 132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> | ||
| 133 | </div> | ||
| 133 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 134 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 135 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
| 136 | <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="a01295.html">SignatureTraits</a><T,·true></div> | ||
| 137 | <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="a01295.html">SignatureTraits</a><decltype(&T::operator()),·true></div> | ||
| 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//·Function·concept·############################################################</span></div> | ||
| 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>·C,·<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> |
| 143 | <div·class="line"><a·id="l0007 | 139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01155.html">···70</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01155.html">Function</a>;</div> |
| 144 | <div·class="line"><a·id="l0007 | 140 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 145 | <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> | ||
| 146 | <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> | ||
| 147 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain></div> |
| 142 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="};"> | ||
| 143 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01159.html">···81</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01155.html">Function</a><Range(Domain)>·:·Refines<Callable<Domain>·></div> | ||
| 144 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>{</div> | ||
| 145 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
| 146 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01159.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">···84</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01159.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">require</a>(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
| 147 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//·F·models·Function<Range(Domain)>·if·the·result·of·F(Domain)·is·implicitly·convertible·to·Range</span></div> | ||
| 148 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····requireConvertible<Range>(f(std::declval<Domain>()))</div> | ||
| 148 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··);</div> |
| 150 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div> | ||
| 151 | </div> | ||
| 149 | <div·class="line"><a·id="l0008 | 152 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
| 150 | <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> | ||
| 151 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">struct·</span>SignatureTraits<R(*)(D),·<span·class="keyword">true</span>></div> | ||
| 152 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·<span·class="keyword">true</span>></div> | ||
| 153 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>{};</div> | ||
| Max diff block lines reached; 63534/92573 bytes (68.63%) of diff not shown. | |||
| Offset 1, 184 lines modified | Offset 1, 465 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | functionconcepts.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 1 | 21 | 10#include·<dune/common/typelist.hh> |
| 22 | 11#include·<dune/common/concept.hh> | ||
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/functions/common/signature.hh> | ||
| 24 | 1 | 25 | 14#include·<dune/functions/gridfunctions/localderivativetraits.hh> |
| 25 | 1 | 26 | 15#include·<dune/functions/gridfunctions/gridviewentityset.hh> |
| 27 | 16 | ||
| 26 | 1 | 28 | 17namespace·Dune·{ |
| 27 | 1 | 29 | 18namespace·Functions·{ |
| 28 | 17 | ||
| 29 | 23template<typename·F> | ||
| 30 | 24struct·IsCallable; | ||
| 31 | 25 | ||
| 32 | 26#ifndef·DOXYGEN | ||
| 33 | 30 | 19namespace·Concept·{ | |
| 31 | 20 | ||
| 32 | 21using·namespace·Dune::Concept; | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 36 | 25//·Callable·concept | ||
| 37 | ############################################################ | ||
| 38 | 26 | ||
| 39 | 27 | ||
| 40 | 35template<class...·Args> | ||
| 34 | 41 | 36struct·Callable | |
| 35 | 29{ | ||
| 36 | 30·struct·yes·{·std::size_t·dummy[2];·}; | ||
| 37 | 31·struct·no·{·std::size_t·dummy[1];·}; | ||
| 38 | 32 | ||
| 39 | 33·template<typename·C> | ||
| 40 | 34·static·yes·test(const·decltype(&C::operator())·*); | ||
| 41 | 35·template<typename·C> | ||
| 42 | 36·static·no·test(...); | ||
| 43 | 37 | 42 | 37{ |
| 44 | 38·enum·{·value·=·(sizeof(test<F>(0))·==·sizeof(yes))·}; | ||
| 45 | 39}; | ||
| 46 | 40 | ||
| 47 | 41template<typename·R,·typename·D> | ||
| 48 | 43 | 38·template<class·F> | |
| 44 | 39·auto·require(F&&·f)·->·decltype( | ||
| 45 | 40·f(std::declval<Args>()...) | ||
| 46 | 41·); | ||
| 47 | 42}; | ||
| 49 | 43 | 48 | 43 |
| 49 | 50template<class·F,·class...·Args> | ||
| 50 | 51static·constexpr·auto·isCallable() | ||
| 51 | 52{·return·models<Concept::Callable<Args...>,·F>();·} | ||
| 50 | 44·enum·{·value·=·true·}; | ||
| 51 | 45}; | ||
| 52 | 46 | ||
| 53 | 47template<typename·R,·typename·D> | ||
| 54 | 48struct·IsCallable<R(*)(D)> | ||
| 55 | 49{ | ||
| 56 | 50·enum·{·value·=·true·}; | ||
| 57 | 51}; | ||
| 58 | 52#endif | ||
| 59 | 53 | 52 | 53 |
| 53 | 60template<class·F,·class...·Args> | ||
| 54 | 61static·constexpr·auto·isCallable(F&&,·Args&&...) | ||
| 55 | 62{ | ||
| 56 | 63·return·models<Concept::Callable<Args&&...>,·F>(); | ||
| 57 | 64} | ||
| 58 | 65 | ||
| 59 | 66 | ||
| 60 | 67 | ||
| 61 | 68//·Function·concept | ||
| 62 | ############################################################ | ||
| 63 | 69template<class·Signature> | ||
| 64 | 70struct·Function; | ||
| 65 | 71 | ||
| 60 | 59template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·> | ||
| 61 | 60struct·SignatureTraits·{}; | ||
| 62 | 61 | ||
| 63 | 62#ifndef·DOXYGEN | ||
| 64 | 64template<class·T> | ||
| 65 | 65struct·SignatureTraits<T,·true> | ||
| 66 | 66·:·public·SignatureTraits<decltype(&T::operator()),·true> | ||
| 67 | 67{}; | ||
| 68 | 68 | ||
| 69 | 70template·<typename·C,·typename·R,·typename·D> | ||
| 70 | 71struct·SignatureTraits<R(C::*)(D)·const,·true> | ||
| 71 | 72·:·public·SignatureTraits<R(D),·true> | ||
| 72 | 73{}; | ||
| 73 | 74 | ||
| 74 | 76template·<typename·C,·typename·R,·typename·D> | ||
| 75 | 77struct·SignatureTraits<R(C::*)(D),·true> | ||
| 76 | 78·:·public·SignatureTraits<R(D),·true> | ||
| 77 | 79{}; | ||
| 78 | 80 | ||
| 79 | 82template·<typename·R,·typename·D> | ||
| 80 | 83struct·SignatureTraits<R(*)(D),·true> | ||
| 81 | 84·:·public·SignatureTraits<R(D),·true> | ||
| 82 | 85{}; | ||
| 83 | 86 | ||
| 84 | 8 | 66 | 80template<class·Range,·class·Domain> |
| 85 | 89struct·SignatureTraits<R(D),·true> | ||
| 86 | 90{ | ||
| 87 | 91·using·Range·=·R; | ||
| 88 | 92·using·Domain·=·D; | ||
| 89 | 93 | ||
| 90 | 94·using·RawRange·=·std::decay_t<Range>; | ||
| 91 | 95·using·RawDomain·=·std::decay_t<Domain>; | ||
| 92 | 96 | ||
| 93 | 97·using·RawSignature·=·RawRange(RawDomain); | ||
| 94 | 98 | ||
| Max diff block lines reached; 17265/22366 bytes (77.19%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·multiindex.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 38 lines modified | Offset 70, 50 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">multiindex.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
| 83 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 84 | <code>#include·< | 84 | <code>#include·<array></code><br·/> |
| 85 | <code>#include·<iostream></code><br·/> | ||
| 86 | <code>#include·<dune/common/hash.hh></code><br·/> | ||
| 85 | </div> | 87 | </div> |
| 86 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 87 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
| 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 91 | Classes</h2></td></tr> | ||
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01267.html">Dune::Functions::StaticMultiIndex<·size_type,·n·></a></td></tr> | ||
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01267.html#details">More...</a><br·/></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01271.html">Dune::Functions::StaticMultiIndex<·size_type,·1·></a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01271.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01275.html">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·></a></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | </table><table·class="memberdecls"> | ||
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 89 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 90 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 96 | Functions</h2></td></tr> | 109 | Functions</h2></td></tr> |
| 110 | <tr·class="memitem:af1c4bfbe0c688f745e4731c519db55dd"·id="r_af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplParams"·colspan="2">template<typename·Stream·,·class·size_type·,·std::size_t·n>·</td></tr> | ||
| 111 | <tr·class="memitem:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#af1c4bfbe0c688f745e4731c519db55dd">Dune::Functions::operator<<</a>·(Stream·&stream,·const·<a·class="el"·href="a01267.html">StaticMultiIndex</a><·size_type,·n·>·&c)</td></tr> | ||
| 97 | <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> | ||
| 98 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#gaa625ea93bc3285b8a09c9267302386ec">Dune::Functions::staticFindInRange</a>·(F·&&f,·Args·&&...·args)</td></tr> | ||
| 99 | <tr·class="memdesc:gaa625ea93bc3285b8a09c9267302386ec"><td·class="mdescLeft"> </td><td·class="mdescRight">Static·find·loop.··<br·/></td></tr> | ||
| 100 | <tr·class="separator: | 112 | <tr·class="separator:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | </table> | 113 | </table> |
| 102 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 103 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
| 104 | <hr·class="footer"/><address·class="footer"><small> | 116 | <hr·class="footer"/><address·class="footer"><small> |
| 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 106 | </small></address> | 118 | </small></address> |
| 107 | </body> | 119 | </body> |
| Offset 1, 25 lines modified | Offset 1, 35 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | multiindex.hh·File·Reference | |
| 10 | #include·<cstddef> | ||
| 11 | #include·<array> | ||
| 12 | #include·<iostream> | ||
| 10 | #include·<dune/common/ | 13 | #include·<dune/common/hash.hh> |
| 11 | #include·<dune/functions/common/type_traits.hh> | ||
| 12 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 13 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | ||
| 16 | ·class· ·Dune::Functions::StaticMultiIndex<_size_type,_n_> | ||
| 17 | ········A·statically·sized·MultiIndex·type.·More... | ||
| 18 | |||
| 19 | ·class· ·Dune::Functions::StaticMultiIndex<_size_type,_1_> | ||
| 20 | ········A·statically·sized·MultiIndex·type.·More... | ||
| 21 | |||
| 22 | struct· ·std::tuple_size<_Dune::Functions::StaticMultiIndex<_size_type,_n_>_> | ||
| 23 | |||
| 14 | Namespaces | 24 | Namespaces |
| 15 | namespace· ·Dune | 25 | namespace· ·Dune |
| 16 | 26 | ||
| 17 | namespace· ·Dune::Functions | 27 | namespace· ·Dune::Functions |
| 18 | 28 | ||
| 19 | Functions | 29 | Functions |
| 20 | template<std::size_t·begin_t,·std::size_t·end_t,·class·F·,·class...·Args> | ||
| 21 | void ·Dune::Functions::staticFindInRange·(F·&&f,·Args·&&...·args) | ||
| 22 | 30 | template<typename·Stream·,·class·size_type·,·std::size_t·n> | |
| 31 | Stream·& ·Dune::Functions::operator<<·(Stream·&stream,·const·StaticMultiIndex< | ||
| 32 | ··········size_type,·n·>·&c) | ||
| 23 | 33 | ||
| 24 | =============================================================================== | 34 | =============================================================================== |
| 25 | ·····Generated·by [doxygen]·1.9.8 | 35 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·multiindex.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 81 lines modified | Offset 74, 123 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">multiindex.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<array></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<iostream></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 93 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/hash.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a0022 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 103 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 104 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> |
| 104 | <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="};"> | ||
| 105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01267.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a>·:</div> | ||
| 105 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>·std::array<size_type,·n></div> |
| 106 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> |
| 107 | <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> | ||
| 108 | <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> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">if</span>·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...))</div> | ||
| 111 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">public</span>:</div> |
| 109 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01267.html#a447f3574395ba840fdca4ce12586caa0">···31</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01267.html#a447f3574395ba840fdca4ce12586caa0">size</a>()·{·<span·class="keywordflow">return</span>·n;·}</div> | ||
| 110 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01267.html#afaeb5be782d31ac12efe25302bbe4c50">···32</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01267.html#afaeb5be782d31ac12efe25302bbe4c50">max_size</a>()·{·<span·class="keywordflow">return</span>·n;·}</div> | ||
| 112 | <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> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>};</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 111 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 116 | <div·class=" | 112 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> |
| 113 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">···34</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword"> | 114 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> |
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 115 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··}</div> |
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
| 120 | < | 116 | </div> |
| 117 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>};</div> | ||
| 119 | </div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>· | 120 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 121 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 122 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 124 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> |
| 124 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
| 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01271.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a><size_type,1>·:</div> | ||
| 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">public</span>·std::array<size_type,·1></div> | ||
| 125 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> |
| 126 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> |
| 127 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 128 | <div·class="line"><a·id="l0005 | 130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01271.html#a4d9eba5c2afef532845eb32f3c92fddb">···57</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01271[·...·truncated·by·diffoscope;·len:·98,·SHA:·957484b2e4b3f0d23015947786e57bb5f2b0380932130fc94aeb906a143ffbdf·...·]</div> |
| 131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01271.html#a2f1bfeeff7da7e9fb352a0b4223c2b26">···58</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01271.html#a2f1bfeeff7da7e9fb352a0b4223c2b26">max_size</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
| 132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 129 | <div·class="foldopen"·id="foldopen0006 | 134 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> |
| 135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01271.html#a04d0165dfe084b48e67ee75b72a4c046">···61</a></span>··<span·class="keyword">operator</span>·<span·class="keyword">const</span>·size_type&·()·<span·class="keyword">const</span>·{</div> | ||
| 136 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
| 130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00221.html#gaa625ea93bc3285b8a09c9267302386ec">···60</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00221.html#gaa625ea93bc3285b8a09c9267302386ec">staticFindInRange</a>(F&&·f,·Args&&...·args)</div> | ||
| 131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> | ||
| 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}</div> | 137 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div> |
| 134 | </div> | 138 | </div> |
| 135 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 139 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
| 140 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> | ||
| 141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01271.html#ae2acb6d4f8e9af393eea105ef6220119">···65</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01271.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
| 142 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> | ||
| 136 | <div·class="line"><a·id="l0006 | 143 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> |
| 144 | </div> | ||
| 137 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
| 139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 145 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 146 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
| 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01271.html#a43e775f6e3306b3479e3c35b6b8c2dd2">···69</a></span>··<span·class="keyword">operator</span>·size_type&·()·{</div> | ||
| 148 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
| 140 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··}</div> |
| 150 | </div> | ||
| 141 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
| 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>};</div> | ||
| 153 | </div> | ||
| 154 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 157 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Stream,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 158 | <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> | ||
| 159 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00225.html#af1c4bfbe0c688f745e4731c519db55dd">···78</a></span><span·class="keyword">inline</span>·Stream&·<a·class="code·hl_function"·href="a00225.html#af1c4bfbe0c688f745e4731c519db55dd">operator<<</a>(Stream&·stream,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,n></a>&·c)·{</div> | ||
| 160 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·ci·:·c)</div> | ||
| 161 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····stream·<<·ci·<<·<span·class="stringliteral">"··"</span>;</div> | ||
| 162 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordflow">return</span>·stream;</div> | ||
| 163 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>}</div> | ||
| 164 | </div> | ||
| 165 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 166 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
| Max diff block lines reached; 3318/26472 bytes (12.53%) of diff not shown. | |||
| Offset 1, 81 lines modified | Offset 1, 123 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | multiindex.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10 | 21 | 10#include·<cstddef> |
| 22 | 11#include·<array> | ||
| 23 | 12#include·<iostream> | ||
| 24 | 13 | ||
| 22 | 1 | 25 | 14#include·<dune/common/hash.hh> |
| 23 | 12 | ||
| 24 | 13#include·<dune/functions/common/type_traits.hh> | ||
| 25 | 14#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 26 | 15 | 26 | 15 |
| 27 | 16 | 27 | 16 |
| 28 | 17namespace·Dune·{ | ||
| 29 | 1 | 28 | 17namespace·Dune::Functions·{ |
| 29 | 18 | ||
| 30 | 19 | 30 | 19 |
| 31 | 20 | ||
| 32 | 26template<class·size_type,·std::size_t·n> | ||
| 33 | 27class·StaticMultiIndex·: | ||
| 34 | 28·public·std::array<size_type,·n> | ||
| 35 | 29{ | ||
| 36 | 30public: | ||
| 37 | 31·static·constexpr·std::size_t·size()·{·return·n;·} | ||
| 38 | 32·static·constexpr·std::size_t·max_size()·{·return·n;·} | ||
| 31 | 20namespace·Imp·{ | ||
| 32 | 21 | ||
| 33 | 22template<class·ST,·ST·begin,·ST·end> | ||
| 34 | 23struct·StaticFindInRange | ||
| 35 | 24{ | ||
| 36 | 25·template<class·F,·class...Args> | ||
| 37 | 26·static·void·apply(F&&·f,·Args&&...·args) | ||
| 38 | 27·{ | ||
| 39 | 28·if·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...)) | ||
| 40 | 29·return; | ||
| 41 | 30·StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std:: | ||
| 42 | forward<Args>(args)...); | ||
| 43 | 31·} | ||
| 44 | 32}; | ||
| 45 | 33 | 39 | 33 |
| 46 | 34template<class·ST,·ST·end> | ||
| 47 | 35struct·StaticFindInRange<ST,·end,·end> | ||
| 48 | 36{ | ||
| 49 | 37·template<class·F,·class...Args> | ||
| 50 | 38·static·void·apply(F&&·f,·Args&&...) | ||
| 51 | 39·{} | ||
| 52 | 4 | 40 | 34·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ |
| 41 | 35·return·hash_range(v.begin(),·v.end()); | ||
| 42 | 36·} | ||
| 43 | 37 | ||
| 44 | 38}; | ||
| 45 | 39 | ||
| 46 | 40 | ||
| 53 | 41 | 47 | 41 |
| 54 | 42}·//end·namespace·Imp | ||
| 55 | 43 | ||
| 56 | 44 | ||
| 57 | 45 | ||
| 58 | 59template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args> | ||
| 59 | 60void·staticFindInRange(F&&·f,·Args&&...·args) | ||
| 60 | 61{ | ||
| 61 | 62·Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F> | ||
| 62 | 48 | 51template<class·size_type> | |
| 49 | 52class·StaticMultiIndex<size_type,1>·: | ||
| 50 | 53·public·std::array<size_type,·1> | ||
| 51 | 54{ | ||
| 52 | 55public: | ||
| 53 | 56 | ||
| 54 | 57·static·constexpr·std::size_t·size()·{·return·1;·} | ||
| 55 | 58·static·constexpr·std::size_t·max_size()·{·return·1;·} | ||
| 56 | 59 | ||
| 57 | 60 | ||
| 58 | 61·operator·const·size_type&·()·const·{ | ||
| 59 | 62·return·(*this)[0]; | ||
| 63 | 63} | 60 | 63·} |
| 64 | 64 | 61 | 64 |
| 65 | 65 | ||
| 66 | 66}·//·namespace·Dune::Functions | ||
| 67 | 6 | 62 | 65·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ |
| 63 | 66·return·hash_range(v.begin(),·v.end()); | ||
| 64 | 67·} | ||
| 68 | 68 | 65 | 68 |
| 69 | 69 | ||
| 70 | 66 | 69·operator·size_type&·()·{ | |
| 67 | 70·return·(*this)[0]; | ||
| 68 | 71·} | ||
| 69 | 72 | ||
| 70 | 73}; | ||
| 71 | 74 | ||
| 72 | 75 | ||
| 73 | 76 | ||
| 74 | 77template<typename·Stream,·class·size_type,·std::size_t·n> | ||
| 75 | 78inline·Stream&·operator<<(Stream&·stream,·const·StaticMultiIndex<size_ | ||
| 76 | type,n>&·c)·{ | ||
| 77 | 79·for·(const·auto&·ci·:·c) | ||
| 78 | 80·stream·<<·ci·<<·"·"; | ||
| 79 | 81·return·stream; | ||
| 80 | 82} | ||
| 81 | 83 | ||
| 82 | 84 | ||
| 83 | 85 | ||
| 84 | 86}·//·namespace·Dune::Functions | ||
| 85 | 87 | ||
| 86 | 88template<class·size_type,·std::size_t·n> | ||
| 87 | 89struct·std::tuple_size<·Dune::Functions::StaticMultiIndex<size_type,n>·> | ||
| 88 | 90·:·std::integral_constant<std::size_t,·n>·{·}; | ||
| 89 | 91 | ||
| 90 | 92DUNE_DEFINE_HASH(DUNE_HASH_TEMPLATE_ARGS(typename·size_type,·std::size_ | ||
| 91 | t·n),DUNE_HASH_TYPE(Dune::Functions::StaticMultiIndex<size_type,n>)) | ||
| 92 | 93 | ||
| Max diff block lines reached; 1221/4940 bytes (24.72%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·reserveddeque.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 44 lines modified | Offset 71, 69 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#define-members">Macros</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">reserveddeque.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·· | ||
| 84 | <a·href="#details">More...</a></p> | ||
| 82 | <div·class="textblock"><code>#include·< | 85 | <div·class="textblock"><code>#include·<algorithm></code><br·/> |
| 86 | <code>#include·<iostream></code><br·/> | ||
| 87 | <code>#include·<cstddef></code><br·/> | ||
| 88 | <code>#include·<initializer_list></code><br·/> | ||
| 83 | <code>#include·<dune/common/ | 89 | <code>#include·<dune/common/genericiterator.hh></code><br·/> |
| 84 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 90 | </div> | 90 | </div> |
| 91 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 94 | Classes</h2></td></tr> | 94 | Classes</h2></td></tr> |
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01287.html">Dune::Functions::ReservedDeque<·T,·n·></a></td></tr> |
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·double-ended·queue·(deque)·class·with·statically·reserved·memory.··<a·href="a01287.html#details">More...</a><br·/></td></tr> | ||
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01115.html">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></a></td></tr> | ||
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·differentiable·functions·using·type·erasure.··<a·href="a01115.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | </table><table·class="memberdecls"> | ||
| 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
| 107 | Macros</h2></td></tr> | ||
| 108 | <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"·id="r_a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)   {}</td></tr> | ||
| 109 | <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 107 | </table> | 110 | </table> |
| 111 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
| 112 | <div·class="textblock"><p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·</p> | ||
| 113 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
| 114 | <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a> | ||
| 115 | <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">◆ </a></span>CHECKSIZE</h2> | ||
| 116 | <div·class="memitem"> | ||
| 117 | <div·class="memproto"> | ||
| 118 | ······<table·class="memname"> | ||
| 119 | ········<tr> | ||
| 120 | ··········<td·class="memname">#define·CHECKSIZE</td> | ||
| 121 | ··········<td>(</td> | ||
| 122 | ··········<td·class="paramtype"> </td> | ||
| 123 | ··········<td·class="paramname">X</td><td>)</td> | ||
| 124 | ··········<td>   {}</td> | ||
| 125 | ········</tr> | ||
| 126 | ······</table> | ||
| 127 | </div><div·class="memdoc"> | ||
| 128 | </div> | ||
| 129 | </div> | ||
| 108 | </div><!--·contents·--> | 130 | </div><!--·contents·--> |
| 109 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
| 110 | <hr·class="footer"/><address·class="footer"><small> | 132 | <hr·class="footer"/><address·class="footer"><small> |
| 111 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 133 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 112 | </small></address> | 134 | </small></address> |
| 113 | </body> | 135 | </body> |
| 114 | </html> | 136 | </html> |
| Offset 1, 33 lines modified | Offset 1, 37 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Macros |
| 9 | differentiablefunction.hh·File·Reference | ||
| 10 | 9 | reserveddeque.hh·File·Reference | |
| 10 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
| 11 | More... | ||
| 12 | #include·<algorithm> | ||
| 13 | #include·<iostream> | ||
| 14 | #include·<cstddef> | ||
| 15 | #include·<initializer_list> | ||
| 11 | #include·<dune/common/ | 16 | #include·<dune/common/genericiterator.hh> |
| 12 | #include·<dune/functions/common/type_traits.hh> | ||
| 13 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 14 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 15 | #include·<dune/functions/common/signature.hh> | ||
| 16 | #include·<dune/functions/common/typeerasure.hh> | ||
| 17 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 18 | Classes |
| 19 | class· ·Dune::Functions::ReservedDeque<_T,_n_> | ||
| 20 | ·······A·double-ended·queue·(deque)·class·with·statically·reserved·memory. | ||
| 21 | ········More... | ||
| 20 | class· ·Dune::Functions::DifferentiableFunction<_Signature,_DerivativeTraits, | ||
| 21 | ········bufferSize_> | ||
| 22 | |||
| 23 | class· ·Dune::Functions::DifferentiableFunction<_Range(Domain), | ||
| 24 | ········DerivativeTraits,_bufferSize_> | ||
| 25 | ·······Class·storing·differentiable·functions·using·type·erasure.·More... | ||
| 26 | 22 | ||
| 27 | Namespaces | 23 | Namespaces |
| 28 | namespace· ·Dune | 24 | namespace· ·Dune |
| 29 | 25 | ||
| 30 | namespace· ·Dune::Functions | 26 | namespace· ·Dune::Functions |
| 31 | 27 | ||
| 28 | Macros | ||
| 29 | #define ·CHECKSIZE(X) {} | ||
| 30 | |||
| 31 | *****·Detailed·Description·***** | ||
| 32 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
| 33 | *****·Macro·Definition·Documentation·***** | ||
| 34 | *****·◆ CHECKSIZE·***** | ||
| 35 | #define·CHECKSIZE·(· ·X·)· {} | ||
| 32 | =============================================================================== | 36 | =============================================================================== |
| 33 | ·····Generated·by [doxygen]·1.9.8 | 37 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·reserveddeque.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 142 lines modified | Offset 74, 281 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">reserveddeque.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00080.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00080.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iostream></span></div> |
| 94 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 95 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 94 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/signature.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 98 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 99 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDDEQUE</span></div> | ||
| 100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> | ||
| 101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#else</span></div> | ||
| 102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00080.html#a65543e75bc949ecdb95a25b1f4e11675">···24</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> | ||
| 103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#endif</span></div> | ||
| 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 103 | <div·class="line"><a·id="l0002 | 105 | <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="a00224.html">Dune</a>·{</div> |
| 104 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 105 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 108 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·n></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">/*</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
| 110 | <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> | ||
| 111 | <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> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·*/</span></div> | ||
| 113 | <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=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
| 114 | <div·class="foldopen"·id="foldopen000 | 109 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> |
| 115 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01287.html">···48</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01287.html">ReservedDeque</a></div> |
| 116 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> |
| 112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div> | ||
| 113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01287.html#a1a11a57db6a51cd6ceebc8aba56e87d9">···55</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01287.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a>;</div> | ||
| 115 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01287.html#a65bd934ebbbb695648a6f506d8914861">···57</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01287.html#a65bd934ebbbb695648a6f506d8914861">pointer</a>;</div> | ||
| 116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01287.html#a9d97a3dd5165e57039304aab2c6065b3">···59</a></span>····<span·class="keyword">typedef</span>·T&·<a·class="code·hl_typedef"·href="a01287.html#a9d97a3dd5165e57039304aab2c6065b3">reference</a>;</div> | ||
| 117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01287.html#a841549562074d4cf71f7cac885b5e351">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&·<a·class="code·hl_typedef"·href="a01287.html#a841549562074d4cf71f7cac885b5e351">const_reference</a>;</div> | ||
| 118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01287.html#ae274c5849a958b0d61a6047ae8849ce4">···63</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01287.html#ae274c5849a958b0d61a6047ae8849ce4">size_type</a>;</div> | ||
| 119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01287.html#a9caae6b45eb4e86efd054b5b21e17ecb">···65</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01287.html#a9caae6b45eb4e86efd054b5b21e17ecb">difference_type</a>;</div> | ||
| 120 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01287.html#a165ae75902a942b5a9a01a540d5e92b3">···67</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<ReservedDeque,·value_type>·<a·class="code·hl_typedef"·href="a01287.html#a165ae75902a942b5a9a01a540d5e92b3">iterator</a>;</div> | ||
| 121 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01287.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">···69</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·<a·class="code·hl_typedef"·href="a01287.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">const_iterator</a>;</div> | ||
| 122 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 123 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}"> | ||
| 124 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01287.html#a1a933bab5b5adcc06dfd9408aa98e6a5">···76</a></span>····<a·class="code·hl_function"·href="a01287.html#a1a933bab5b5adcc06dfd9408aa98e6a5">ReservedDeque</a>()·:</div> | ||
| 125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······size_(0),</div> | ||
| 126 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······first_(0)</div> | ||
| 127 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{}</div> | ||
| 117 | </div> | 128 | </div> |
| 118 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Imp</div> | ||
| 122 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">struct·</span>DifferentiableFunctionTraits</div> | ||
| 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>Signature·=·S;</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 129 | <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="a01295.html">SignatureTraits<Signature>::Range</a>;</div> | ||
| 130 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 131 | <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="a01295.html">SignatureTraits<Signature>::Domain</a>;</div> | ||
| 132 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
| 133 | <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="a01295.html">SignatureTraits<Signature>::template</a>·DerivativeSignature<DerivativeTraits>;</div> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 135 | <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="a01107.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits,·bufferSize></a>;</div> | ||
| 136 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
| 137 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Concept·=·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface>;</div> | ||
| 138 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 139 | <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> | ||
| 140 | <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> | ||
| 141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··};</div> | ||
| 142 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> | ||
| 143 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 145 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
| 147 | <div·class="foldopen"·id="foldopen0008 | 130 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> |
| 131 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01287.html#ad7ce13b5aef147da1c161680a6002e32">···81</a></span>····<a·class="code·hl_function"·href="a01287.html#ad7ce13b5aef147da1c161680a6002e32">ReservedDeque</a>(std::initializer_list<T>·<span·class="keyword">const</span>·&l)</div> | ||
| 148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01115.html">···85</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01107.html">DifferentiableFunction</a><·Range(Domain),·DerivativeTraits,·bufferSize>·:</div> | ||
| 149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01335.html">TypeErasureBase</a><</div> | ||
| 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::Concept,</div> | ||
| 151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::template·Model></div> | ||
| 152 | <div·class="line"><a·id="l0008 | 132 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{</div> |
| 153 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······assert(l.size()·<=·n);<span·class="comment">//·Actually,·this·is·not·needed·any·more!</span></div> |
| 134 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······size_·=·l.size();</div> | ||
| 135 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······std::copy_n(l.begin(),·size_,·data_);</div> | ||
| 154 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> |
| Max diff block lines reached; 32230/65865 bytes (48.93%) of diff not shown. | |||
| Offset 1, 157 lines modified | Offset 1, 324 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | reserveddeque.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 1 | 21 | 14#include·<algorithm> |
| 22 | 15#include·<iostream> | ||
| 23 | 16#include·<cstddef> | ||
| 24 | 17#include·<initializer_list> | ||
| 25 | 18 | ||
| 23 | 1 | 26 | 19#include·<dune/common/genericiterator.hh> |
| 24 | 13 | ||
| 25 | 14#include·<dune/functions/common/type_traits.hh> | ||
| 26 | 15#include·<dune/functions/common/defaultderivativetraits.hh> | ||
| 27 | 16#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 28 | 17#include·<dune/functions/common/signature.hh> | ||
| 29 | 18#include·<dune/functions/common/typeerasure.hh> | ||
| 30 | 19#include·<dune/functions/common/functionconcepts.hh> | ||
| 31 | 20 | 27 | 20 |
| 28 | 21#ifdef·CHECK_RESERVEDDEQUE | ||
| 29 | 22#define·CHECKSIZE(X)·assert(X) | ||
| 30 | 23#else | ||
| 31 | 24#define·CHECKSIZE(X)·{} | ||
| 32 | 25#endif | ||
| 33 | 26 | ||
| 32 | 2 | 34 | 27namespace·Dune·{ |
| 33 | 2 | 35 | 28namespace·Functions·{ |
| 36 | 29 | ||
| 37 | 47·template<class·T,·int·n> | ||
| 38 | 48·class·ReservedDeque | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 26/* | ||
| 38 | 27·*·Default·implementation·is·empty | ||
| 39 | 28·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
| 40 | 29·*·describing·a·function·signature·as·Range(Domain). | ||
| 41 | 30·*/ | ||
| 42 | 31template<class·Signature,·template<class>·class | ||
| 43 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
| 44 | 32class·DifferentiableFunction | ||
| 45 | 33{}; | ||
| 46 | 34 | ||
| 47 | 35 | ||
| 48 | 36 | ||
| 49 | 37namespace·Imp | ||
| 50 | 38{ | ||
| 51 | 39 | ||
| 52 | 41·template<class·S,·template<class>·class·DerivativeTraits,·size_t·bufferSize> | ||
| 53 | 42·struct·DifferentiableFunctionTraits | ||
| 54 | 4 | 39 | 49·{ |
| 40 | 50·public: | ||
| 41 | 51 | ||
| 42 | 55·typedef·T·value_type; | ||
| 43 | 57·typedef·T*·pointer; | ||
| 44 | 59·typedef·T&·reference; | ||
| 45 | 61·typedef·const·T&·const_reference; | ||
| 46 | 63·typedef·size_t·size_type; | ||
| 47 | 65·typedef·std::ptrdiff_t·difference_type; | ||
| 48 | 67·typedef·Dune::GenericIterator<ReservedDeque,·value_type>·iterator; | ||
| 49 | 69·typedef·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·const_ | ||
| 50 | iterator; | ||
| 51 | 70 | ||
| 52 | 76·ReservedDeque()·: | ||
| 53 | 77·size_(0), | ||
| 54 | 78·first_(0) | ||
| 55 | 79·{} | ||
| 56 | 80 | ||
| 57 | 81·ReservedDeque(std::initializer_list<T>·const·&l) | ||
| 58 | 82·{ | ||
| 59 | 83·assert(l.size()·<=·n);//·Actually,·this·is·not·needed·any·more! | ||
| 60 | 84·size_·=·l.size(); | ||
| 61 | 85·std::copy_n(l.begin(),·size_,·data_); | ||
| 62 | 86·} | ||
| 63 | 87 | ||
| 64 | 93·void·clear() | ||
| 65 | 94·{ | ||
| 66 | 95·first_·=·0; | ||
| 67 | 96·size_·=·0; | ||
| 68 | 97·} | ||
| 69 | 98 | ||
| 70 | 100·void·resize(size_t·s) | ||
| 55 | 45·using·Signature·=·S; | ||
| 56 | 46 | ||
| 57 | 48·using·Range·=·typename·SignatureTraits<Signature>::Range; | ||
| 58 | 49 | ||
| 59 | 51·using·Domain·=·typename·SignatureTraits<Signature>::Domain; | ||
| 60 | 52 | ||
| 61 | 54·using·DerivativeSignature·=·typename·SignatureTraits<Signature>::template | ||
| 62 | DerivativeSignature<DerivativeTraits>; | ||
| 63 | 55 | ||
| 64 | 57·using·DerivativeInterface·=·DifferentiableFunction<DerivativeSignature, | ||
| 65 | DerivativeTraits,_bufferSize>; | ||
| 66 | 58 | ||
| 67 | 60·using·Concept·=·DifferentiableFunctionWrapperInterface<Signature, | ||
| 68 | DerivativeInterface>; | ||
| 69 | 61 | ||
| 70 | 63·template<class·B> | ||
| 71 | 64·using·Model·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 72 | DerivativeInterface,·B>; | ||
| 73 | 65·}; | ||
| 74 | 66} | ||
| 75 | 67 | ||
| 76 | 68 | ||
| 77 | 69 | ||
| 78 | 84template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 79 | size_t·bufferSize> | ||
| 80 | 85class·DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize>·: | ||
| 81 | 86·public·TypeErasureBase< | ||
| 82 | 87·typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
| 83 | bufferSize>::Concept, | ||
| Max diff block lines reached; 7650/12889 bytes (59.35%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·typeerasure.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 91 lines modified | Offset 71, 38 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | ||
| 81 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">typeerasure.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 80 | </div><!--header--> |
| 83 | <div·class="contents"> | 81 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<typeinfo></code><br·/> |
| 85 | <code>#include·<type_traits></code><br·/> | ||
| 86 | <code>#include·<dune/common/overloadset.hh></code><br·/> | ||
| 87 | <code>#include·<dune/common/i | 83 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a000 | 84 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/common/polymorphicsmallobject.hh</a>></code><br·/> | ||
| 89 | </div> | 87 | </div> |
| 90 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 91 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 93 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
| 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01335.html">Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·></a></td></tr> |
| 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·for·type-erased·interface·wrapper.··<a·href="a01335.html#details">More...</a><br·/></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01379.html">Dune::Functions::RotateTuple<·T·></a></td></tr> | ||
| 98 | <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="a01379.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 97 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 98 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 100 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | </table><table·class="memberdecls"> | ||
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 109 | Typedefs</h2></td></tr> | ||
| 110 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"·id="r_ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·T,·class·ArgTuple·>·</td></tr> | ||
| 111 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga047a2180b455bfa030fba76eb6270952">Dune::Functions::ExpandTuple</a>·=·typename·Imp::ExpandTupleHelper<·T,·ArgTuple·>::Type</td></tr> | ||
| 112 | <tr·class="memdesc:ga047a2180b455bfa030fba76eb6270952"><td·class="mdescLeft"> </td><td·class="mdescRight">Expand·tuple·arguments·as·template·arguments.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:ga047a2180b455bfa030fba76eb6270952"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"·id="r_ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·F,·class...·Tuples>·</td></tr> | ||
| 115 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga1ce77345fbee606e5ac22aeef7d109d6">Dune::Functions::TransformTuple</a>·=·typename·Imp::TransformTupleHelper<·F,·Tuples...·>::Type</td></tr> | ||
| 116 | <tr·class="memdesc:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·types·argument·using·type-functor.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"·id="r_ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplParams"·colspan="2">template<class·IntegerSequence·>·</td></tr> | ||
| 119 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ad7adaea3a8e209aef72602f07a6988b3">Dune::Functions::IntegerSequenceTuple</a>·=·typename·Imp::IntegerSequenceTupleHelper<·IntegerSequence·>::Type</td></tr> | ||
| 120 | <tr·class="memdesc:ad7adaea3a8e209aef72602f07a6988b3"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...>··<br·/></td></tr> | ||
| 121 | <tr·class="separator:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 122 | </table><table·class="memberdecls"> | ||
| 123 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 124 | Functions</h2></td></tr> | ||
| 125 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7"·id="r_a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args>·</td></tr> | ||
| 126 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.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> | ||
| 127 | <tr·class="separator:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 128 | <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> | ||
| 129 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.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> | ||
| 130 | <tr·class="separator:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 131 | <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> | ||
| 132 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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> | ||
| 133 | <tr·class="memdesc:gac7d45de6c68fce943e6924403389d234"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·dynamic·index·to·static·index_constant.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:gac7d45de6c68fce943e6924403389d234"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 135 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"·id="r_ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T>·</td></tr> | ||
| 136 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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> | ||
| 137 | <tr·class="memdesc:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·functor.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 139 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"·id="r_gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T1,·class...·T2>·</td></tr> | ||
| 140 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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> | ||
| 141 | <tr·class="memdesc:gae663a5bfd683c8a0844bb974807d8f52"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·binary·functor.··<br·/></td></tr> | ||
| 142 | <tr·class="separator:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 143 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"·id="r_ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplParams"·colspan="2">template<class·Expression·>·</td></tr> | ||
| 144 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga7d55c56e78792c4b169c18d875a60935">Dune::Functions::callableCheck</a>·(Expression·f)</td></tr> | ||
| 145 | <tr·class="memdesc:ga7d55c56e78792c4b169c18d875a60935"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·predicate·for·checking·validity·of·expressions.··<br·/></td></tr> | ||
| 146 | <tr·class="separator:ga7d55c56e78792c4b169c18d875a60935"><td·class="memSeparator"·colspan="2"> </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"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.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="separator:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 151 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"·id="r_a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
| 152 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">Dune::Functions::forwardCapture</a>·(T·&&t)</td></tr> | ||
| 153 | <tr·class="memdesc:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·capture·object·for·perfect·forwarding.··<br·/></td></tr> | ||
| 154 | <tr·class="separator:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 155 | </table> | 102 | </table> |
| 156 | </div><!--·contents·--> | 103 | </div><!--·contents·--> |
| 157 | <!--·start·footer·part·--> | 104 | <!--·start·footer·part·--> |
| 158 | <hr·class="footer"/><address·class="footer"><small> | 105 | <hr·class="footer"/><address·class="footer"><small> |
| 159 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 106 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 160 | </small></address> | 107 | </small></address> |
| 161 | </body> | 108 | </body> |
| Offset 1, 91 lines modified | Offset 1, 27 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Classes·|·Namespaces | ||
| 9 | typeerasure.hh·File·Reference | ||
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
| 9 | utility.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | #include·<type | 10 | #include·<typeinfo> |
| 12 | #include·<dune/common/overloadset.hh> | ||
| 13 | #include·<dune/common/i | 11 | #include·<dune/common/typeutilities.hh> |
| 12 | #include·<dune/functions/common/type_traits.hh> | ||
| 14 | #include·<dune/functions/common/ | 13 | #include·<dune/functions/common/interfaces.hh> |
| 14 | #include·<dune/functions/common/polymorphicsmallobject.hh> | ||
| 15 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 16 | Classes | 16 | Classes |
| 17 | class· ·Dune::Functions::TypeErasureBase<_Interface,_Implementation,_bufferSize | ||
| 18 | ········> | ||
| 19 | ·······Base·class·for·type-erased·interface·wrapper.·More... | ||
| 17 | struct· ·Dune::Functions::LastType<_T_> | ||
| 18 | ········Get·last·entry·of·type·list.·More... | ||
| 19 | |||
| 20 | struct· ·Dune::Functions::RotateTuple<_T_> | ||
| 21 | ········Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first | ||
| 22 | ·········position.·More... | ||
| 23 | 20 | ||
| 24 | Namespaces | 21 | Namespaces |
| 25 | namespace· ·Dune | 22 | namespace· ·Dune |
| 26 | 23 | ||
| 27 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 28 | 25 | ||
| 29 | Typedefs | ||
| 30 | template<template<·class...·>·class·T,·class·ArgTuple·> | ||
| 31 | using ·Dune::Functions::ExpandTuple·=·typename·Imp::ExpandTupleHelper<·T, | ||
| 32 | ·······ArgTuple·>::Type | ||
| 33 | ······Expand·tuple·arguments·as·template·arguments. | ||
| 34 | |||
| 35 | template<template<·class...·>·class·F,·class...·Tuples> | ||
| 36 | using ·Dune::Functions::TransformTuple·=·typename·Imp::TransformTupleHelper<·F, | ||
| 37 | ·······Tuples...·>::Type | ||
| 38 | ······Transform·tuple·types·argument·using·type-functor. | ||
| 39 | |||
| 40 | template<class·IntegerSequence·> | ||
| 41 | using ·Dune::Functions::IntegerSequenceTuple·=·typename·Imp:: | ||
| 42 | ·······IntegerSequenceTupleHelper<·IntegerSequence·>::Type | ||
| 43 | ······Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...> | ||
| 44 | |||
| 45 | Functions | ||
| 46 | template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args> | ||
| 47 | auto ·Dune::Functions::forwardAsStaticInteger·(std::integer_sequence<·size_ | ||
| 48 | ······type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&...·args)·- | ||
| 49 | ······>·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std:: | ||
| 50 | ······forward<·Args·>(args)...)) | ||
| 51 | |||
| 52 | template<class·F·,·class·size_type·,·size_type·firstValue,·size_type | ||
| 53 | secondValue,·size_type...·otherValues,·class...·Args> | ||
| 54 | auto ·Dune::Functions::forwardAsStaticInteger·(std::integer_sequence<·size_ | ||
| 55 | ······type,·firstValue,·secondValue,·otherValues...·>·values,·const·size_type | ||
| 56 | ······i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_ | ||
| 57 | ······type,·firstValue·>(),·std::forward<·Args·>(args)...)) | ||
| 58 | |||
| 59 | template<std::size_t·end,·class·F·,·class·size_type·,·class...·Args> | ||
| 60 | auto ·Dune::Functions::forwardAsStaticIndex·(const·size_type·&i,·F·&&f,·Args | ||
| 61 | ······&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·> | ||
| 62 | ······(args)...)) | ||
| 63 | ·····Transform·dynamic·index·to·static·index_constant. | ||
| 64 | |||
| 65 | template<class·F·,·class...·T> | ||
| 66 | auto ·Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T...·>·&tuple) | ||
| 67 | ······->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std:: | ||
| 68 | ······index_sequence_for<·T...·>{})) | ||
| 69 | ·····Transform·tuple·value·using·a·functor. | ||
| 70 | |||
| 71 | template<class·F·,·class...·T1,·class...·T2> | ||
| 72 | auto ·Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T1...·> | ||
| 73 | ······&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp:: | ||
| 74 | ······transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std::index_ | ||
| 75 | ······sequence_for<·T1...·>{})) | ||
| 76 | ·····Transform·tuple·value·using·a·binary·functor. | ||
| 77 | |||
| 78 | template<class·Expression·> | ||
| 79 | auto ·Dune::Functions::callableCheck·(Expression·f) | ||
| 80 | ·····Create·a·predicate·for·checking·validity·of·expressions. | ||
| 81 | |||
| 82 | template<class·Check·> | ||
| 83 | auto ·Dune::Functions::negatePredicate·(Check·check) | ||
| 84 | ·····Negate·given·predicate. | ||
| 85 | |||
| 86 | template<class·T·> | ||
| 87 | auto ·Dune::Functions::forwardCapture·(T·&&t) | ||
| 88 | ·····Create·a·capture·object·for·perfect·forwarding. | ||
| 89 | |||
| 90 | =============================================================================== | 26 | =============================================================================== |
| 91 | ·····Generated·by [doxygen]·1.9.8 | 27 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·typeerasure.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 308 lines modified | Offset 74, 173 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">typeerasure.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<typeinfo></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/in | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/interfaces.hh</a>></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/common/polymorphicsmallobject.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 102 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> | ||
| 107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span>TypeErasureWrapperInterface·:</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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> | ||
| 107 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> | ||
| 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">···25</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue>·values,·<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
| 111 | <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> | ||
| 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div> | ||
| 113 | </div> | ||
| 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 115 | <div·class="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> | ||
| 116 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | ||
| 117 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00225.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">···32</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.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> | ||
| 118 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
| 119 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
| 120 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>·Interface,</div> |
| 109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">public</span>·PolymorphicType<TypeErasureWrapperInterface<Interface>></div> | ||
| 121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
| 122 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00225.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·secondValue,·otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
| 123 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}</div> | ||
| 124 | </div> | ||
| 125 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 128 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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> | ||
| 129 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> | ||
| 130 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00221.html#gac7d45de6c68fce943e6924403389d234">···64</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00221.html#gac7d45de6c68fce943e6924403389d234">forwardAsStaticIndex</a>(<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
| 131 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...))</div> | ||
| 132 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</span>:</div> |
| 133 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::type_info&·target_type()·<span·class="keyword">const</span>·=·0;</div> |
| 134 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> |
| 135 | </div> | 114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 136 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 137 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
| 117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface,·<span·class="keyword">class</span>·T></div> | ||
| 118 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">class·</span>TypeErasureWrapperBase·:</div> | ||
| 119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>·TypeErasureWrapperInterface<Interface></div> | ||
| 138 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div> |
| 139 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">public</span>:</div> |
| 122 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0></div> | ||
| 123 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··TypeErasureWrapperBase(TT&&·t)·:</div> | ||
| 124 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····wrapped_(std::forward<TT>(t))</div> | ||
| 125 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{}</div> | ||
| 140 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 141 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class·</span>List></div> | ||
| 142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·· | 127 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··T&·get()</div> |
| 143 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{ | 128 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> |
| 129 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
| 130 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | ||
| 144 | <div·class="line"><a·id="l0007 | 131 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 132 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">const</span>·T&·get()<span·class="keyword">·const</span></div> | ||
| 145 | <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">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>ListType,·<span·class="keyword">class</span>...·Args></div> | ||
| 146 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">struct·</span>ExpandTupleHelper<T,·ListType<Args...>></div> | ||
| 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div> | ||
| 148 | <div·class="line"><a·id="l0008 | 133 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">··</span>{</div> |
| 134 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
| 149 | <div·class="line"><a·id="l0008 | 135 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div> |
| 150 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}·<span·class="comment">//·end·namespace·Imp</span></div> | ||
| 152 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | 136 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
| 153 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</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> | ||
| 154 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">protected</span>:</div> |
| 138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">using·</span>Wrapped·=·T;</div> | ||
| 139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··Wrapped·wrapped_;</div> | ||
| 140 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>};</div> | ||
| 155 | <div·class="line"><a·id="l0009 | 141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
| 156 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
| 157 | <div·class="line"><a·id="l00 | 142 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
| 158 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 159 | <div·class="line"><a·id="l00 | 143 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
| 160 | <div·class="line"><a·id="l001 | 144 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span[·...·truncated·by·diffoscope;·len:·53,·SHA:·7e913260d740ada25c5682b545b8d8fa193746c41a80903d755f37eed71e66b0·...·]></div> |
| 161 | <div·class="line"><a·id="l001 | 145 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">class·</span>TypeErasureWrapperImplementation·:</div> |
| 162 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··{};</div> | ||
| 163 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
| Max diff block lines reached; 46227/70537 bytes (65.54%) of diff not shown. | |||
| Offset 1, 353 lines modified | Offset 1, 185 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | 8 | typeerasure.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_ | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_ | 19 | 8#define·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<utility> | ||
| 23 | 1 | 21 | 10#include·<typeinfo> |
| 22 | 11 | ||
| 23 | 12#include·<dune/common/typeutilities.hh> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/functions/common/type_traits.hh> | ||
| 25 | 14#include·<dune/common/overloadset.hh> | ||
| 26 | 15#include·<dune/common/indices.hh> | ||
| 27 | 16 | ||
| 28 | 1 | 26 | 15#include·<dune/functions/common/interfaces.hh> |
| 29 | 1 | 27 | 16#include·<dune/functions/common/polymorphicsmallobject.hh> |
| 28 | 17 | ||
| 30 | 1 | 29 | 18namespace·Dune·{ |
| 31 | 30 | 19namespace·Functions·{ | |
| 31 | 20namespace·Imp·{ | ||
| 32 | 21 | 32 | 21 |
| 33 | 22 | 33 | 22 |
| 34 | 23 | 34 | 23 |
| 35 | 37template<class·Interface> | ||
| 36 | 38class·TypeErasureWrapperInterface·: | ||
| 37 | 39·public·Interface, | ||
| 38 | 40·public·PolymorphicType<TypeErasureWrapperInterface<Interface>> | ||
| 35 | 24template<class·F,·class·size_type,·size_type·firstValue,·class...·Args> | ||
| 36 | 25auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue> | ||
| 37 | values,·const·size_type&·i,·F&&·f,·Args&&...·args) | ||
| 38 | 26·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
| 39 | forward<Args>(args)...)) | ||
| 40 | 27{ | ||
| 41 | 28·return·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args> | ||
| 42 | (args)...); | ||
| 43 | 29} | ||
| 44 | 30 | ||
| 45 | 31template<class·F,·class·size_type,·size_type·firstValue,·size_type | ||
| 46 | secondValue,·size_type...·otherValues,·class...·Args> | ||
| 47 | 32auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue, | ||
| 48 | secondValue,·otherValues...>·values,·const·size_type·i,·F&&·f,·Args&&...·args) | ||
| 49 | 33·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
| 50 | forward<Args>(args)...)) | ||
| 51 | 34{ | ||
| 52 | 35·if·(i==firstValue) | ||
| 53 | 36·return·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args> | ||
| 54 | (args)...); | ||
| 55 | 37·return·forwardAsStaticInteger(std::integer_sequence<size_type,·secondValue, | ||
| 56 | otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...); | ||
| 57 | 38} | ||
| 58 | 39 | ||
| 59 | 40 | ||
| 60 | 41 | 39 | 41{ |
| 61 | 63template<std::size_t·end,·class·F,·class·size_type,·class...·Args> | ||
| 62 | 64auto·forwardAsStaticIndex(const·size_type&·i,·F&&·f,·Args&&...·args) | ||
| 63 | 65·->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...)) | ||
| 64 | 66{ | ||
| 65 | 67·return·forwardAsStaticInteger(std::make_index_sequence<end>{},·i,·std:: | ||
| 66 | forward<F>(f),·std::forward<Args>(args)...); | ||
| 67 | 68} | ||
| 68 | 69 | ||
| 69 | 70 | ||
| 70 | 71 | ||
| 71 | 40 | 42public: | |
| 41 | 43·virtual·const·std::type_info&·target_type()·const·=·0; | ||
| 42 | 44}; | ||
| 43 | 45 | ||
| 44 | 46 | ||
| 45 | 47 | ||
| 46 | 64template<class·Interface,·class·T> | ||
| 47 | 65class·TypeErasureWrapperBase·: | ||
| 48 | 66·public·TypeErasureWrapperInterface<Interface> | ||
| 49 | 67{ | ||
| 50 | 68public: | ||
| 51 | 69·template<class·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0> | ||
| 52 | 70·TypeErasureWrapperBase(TT&&·t)·: | ||
| 53 | 71·wrapped_(std::forward<TT>(t)) | ||
| 54 | 72·{} | ||
| 72 | 73 | 55 | 73 |
| 56 | 75·T&·get() | ||
| 73 | 74·template<template<class...>·class·T,·class·List> | ||
| 74 | 75·struct·ExpandTupleHelper | ||
| 75 | 76·{ | 57 | 76·{ |
| 76 | 77 | ||
| 77 | 78·template<template<class...>·class·T,·template<class...>·class·ListType, | ||
| 78 | class...·Args> | ||
| 79 | 7 | 58 | 77·return·wrapped_; |
| 59 | 78·} | ||
| 60 | 79 | ||
| 61 | 81·const·T&·get()·const | ||
| 80 | 8 | 62 | 82·{ |
| 63 | 83·return·wrapped_; | ||
| 64 | 84·} | ||
| 81 | 81·using·Type·=·T<Args...>; | ||
| 82 | 82·}; | ||
| 83 | 83 | ||
| 84 | 84}·//·end·namespace·Imp | ||
| 85 | 85 | 65 | 85 |
| 66 | 86protected: | ||
| 67 | 87·using·Wrapped·=·T; | ||
| 68 | 88·Wrapped·wrapped_; | ||
| 69 | 89}; | ||
| 70 | 90 | ||
| 71 | 91 | ||
| 72 | 92 | ||
| 73 | 116template<class·Interface,·template<class>·class·Implementation,·class·T> | ||
| 74 | 117class·TypeErasureWrapperImplementation·: | ||
| 75 | 118·public·Implementation<TypeErasureWrapperBase<Interface,·T>·> | ||
| 86 | 97template<template<class...>·class·T,·class·ArgTuple> | ||
| 87 | 98using·ExpandTuple·=·typename·Imp::ExpandTupleHelper<T,·ArgTuple>::Type; | ||
| 88 | 99 | ||
| Max diff block lines reached; 10155/14811 bytes (68.56%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·in | 8 | <title>dune-functions:·differentiablefunction_imp.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 61 lines modified | Offset 70, 30 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title">in | 78 | ··<div·class="headertitle"><div·class="title">differentiablefunction_imp.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 79 | </div><!--header--> |
| 81 | <div·class="contents"> | 80 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<uti | 81 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
| 83 | <code>#include·<type_traits></code><br·/> | ||
| 84 | <code>#include·<dune/common/typetraits.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/concept.hh></code><br·/> | 82 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 86 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a000 | 83 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 88 | </div> | 84 | </div> |
| 89 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 90 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 92 | Namespaces</h2></td></tr> | 88 | Namespaces</h2></td></tr> |
| 93 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | </table><table·class="memberdecls"> | ||
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 99 | Functions</h2></td></tr> | ||
| 100 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"·id="r_ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>··=·0>·</td></tr> | ||
| 101 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)·->·decltype(f(c[i]))</td></tr> | ||
| 102 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<br·/></td></tr> | ||
| 103 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 104 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"·id="r_ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·not·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>··=·0>·</td></tr> | ||
| 105 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)</td></tr> | ||
| 106 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<br·/></td></tr> | ||
| 107 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"·id="r_gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplParams"·colspan="2">template<class·Result·,·class·C·,·class·MultiIndex·>·</td></tr> | ||
| 109 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplItemLeft"·align="right"·valign="top">Result </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#gabd5106817636cc5542dc4e9a1817551b">Dune::Functions::hybridMultiIndexAccess</a>·(C·&&c,·const·MultiIndex·&index)</td></tr> | ||
| 110 | <tr·class="memdesc:gabd5106817636cc5542dc4e9a1817551b"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 111 | <tr·class="separator:gabd5106817636cc5542dc4e9a1817551b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"·id="r_ga9aaec884c080483fea267d1098f81590"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·,·class·IsFinal·>·</td></tr> | ||
| 113 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga9aaec884c080483fea267d1098f81590">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal)</td></tr> | ||
| 114 | <tr·class="memdesc:ga9aaec884c080483fea267d1098f81590"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 115 | <tr·class="separator:ga9aaec884c080483fea267d1098f81590"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"·id="r_ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga89fbdd009241b14e86b4fff7ba208a04">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
| 118 | <tr·class="memdesc:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"·id="r_ga4cc6af2842348271c242c048e0411637"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
| 121 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ga4cc6af2842348271c242c048e0411637">Dune::Functions::resolveStaticMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
| 122 | <tr·class="memdesc:ga4cc6af2842348271c242c048e0411637"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<br·/></td></tr> | ||
| 123 | <tr·class="separator:ga4cc6af2842348271c242c048e0411637"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 124 | </table> | 93 | </table> |
| 125 | </div><!--·contents·--> | 94 | </div><!--·contents·--> |
| 126 | <!--·start·footer·part·--> | 95 | <!--·start·footer·part·--> |
| 127 | <hr·class="footer"/><address·class="footer"><small> | 96 | <hr·class="footer"/><address·class="footer"><small> |
| 128 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 129 | </small></address> | 98 | </small></address> |
| 130 | </body> | 99 | </body> |
| Offset 1, 56 lines modified | Offset 1, 20 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | Namespaces | ||
| 9 | differentiablefunction_imp.hh·File·Reference | ||
| 8 | Namespaces·|·Functions | ||
| 9 | indexaccess.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | #include·<type_traits> | ||
| 12 | #include·<dune/common/ | 10 | #include·<dune/common/exceptions.hh> |
| 13 | #include·<dune/common/concept.hh> | 11 | #include·<dune/common/concept.hh> |
| 14 | #include·<dune/common/hybridutilities.hh> | ||
| 15 | #include·<dune/functions/common/ | 12 | #include·<dune/functions/common/type_traits.hh> |
| 16 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 17 | Namespaces | 14 | Namespaces |
| 18 | namespace· ·Dune | 15 | namespace· ·Dune |
| 19 | 16 | ||
| 20 | namespace· ·Dune::Functions | 17 | namespace· ·Dune::Functions |
| 21 | 18 | ||
| 22 | Functions | ||
| 23 | template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·Dune::models<·Imp:: | ||
| 24 | Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>·=·0> | ||
| 25 | ····················auto ·Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
| 26 | ··························&i,·F·&&f)·->·decltype(f(c[i])) | ||
| 27 | ·························Provide·operator[]·index-access·for·containers. | ||
| 28 | |||
| 29 | template<class·C·,·class·I·,·class·F·,·std::enable_if_t<·not·Dune::models< | ||
| 30 | Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>·=·0> | ||
| 31 | ··········decltype(auto) ·Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
| 32 | ··························&i,·F·&&f) | ||
| 33 | ·························Provide·operator[]·index-access·for·containers. | ||
| 34 | |||
| 35 | template<class·Result·,·class·C·,·class·MultiIndex·> | ||
| 36 | ··················Result ·Dune::Functions::hybridMultiIndexAccess·(C·&&c,·const | ||
| 37 | ··························MultiIndex·&index) | ||
| 38 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 39 | |||
| 40 | template<class·C·,·class·MultiIndex·,·class·IsFinal·> | ||
| 41 | constexpr·decltype(auto) ·Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
| 42 | ··························const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal) | ||
| 43 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 44 | |||
| 45 | template<class·C·,·class·MultiIndex·> | ||
| 46 | constexpr·decltype(auto) ·Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
| 47 | ··························const·MultiIndex·&multiIndex) | ||
| 48 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 49 | |||
| 50 | template<class·C·,·class·MultiIndex·> | ||
| 51 | constexpr·decltype(auto) ·Dune::Functions::resolveStaticMultiIndex·(C·&&c, | ||
| 52 | ··························const·MultiIndex·&multiIndex) | ||
| 53 | ·························Provide·multi-index·access·by·chaining·operator[]. | ||
| 54 | |||
| 55 | =============================================================================== | 19 | =============================================================================== |
| 56 | ·····Generated·by [doxygen]·1.9.8 | 20 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·in | 8 | <title>dune-functions:·differentiablefunction_imp.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 339 lines modified | Offset 74, 120 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">in | 80 | ··<div·class="headertitle"><div·class="title">differentiablefunction_imp.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00086.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00086.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_IN | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_IN | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 96 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 97 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 100 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <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="a00224.html">Dune</a>·{</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword"> | 102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">struct·</span>HasFreeDerivative</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span> | 103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> |
| 104 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
| 105 | <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> | ||
| 106 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f)</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··);</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Concept·{</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>};</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span> | 109 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 110 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span> | 111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">auto</span>·require(C&&·c)·->·<span·class="keyword">decltype</span>(</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····c[std::declval<size_type>()]</div> | ||
| 118 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··std::enable_if_t<</div> |
| 114 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····models<·HasFreeDerivative,·F>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 115 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">auto</span>·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)·->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f))</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 116 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
| 117 | <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="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f);</div> | ||
| 120 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>}</div> |
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">struct·</span>HasStaticIndexAccess</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·C></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·require(C&&·c)·->·<span·class="keyword">decltype</span>(</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····c[Dune::Indices::_0]</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··);</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
| 128 | <div·class="line"><a·id="l0004 | 120 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·Concept</span></div> | ||
| 130 | <div·class="line"><a·id="l0004 | 121 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
| 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> | ||
| 123 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··std::enable_if_t<</div> | ||
| 124 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····not(models<·HasFreeDerivative,·F>())·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 125 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>Dummy·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)</div> | ||
| 126 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> | ||
| 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>} | 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}</div> |
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 130 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 131 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span><<span·class="keyword">class·</span>C,·<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>F,</div> | ||
| 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··std::enable_if_t<·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 137 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface></div> |
| 133 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface</div> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{};</div> | ||
| 135 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
| 137 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> | ||
| 138 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
| 139 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 140 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface></div> | ||
| 141 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface<Range(Domain),·DerivativeInterface></div> | ||
| 142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{</div> | ||
| 139 | <div·class="line"><a·id="l0006 | 143 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div> |
| 144 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)·<span·class="keyword">const</span>·=·0;</div> | ||
| 145 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">virtual</span>·DerivativeInterface·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
| 147 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div> | ||
| 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span> | 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>· | 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 143 | </div> | 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</s[·...·truncated·by·diffoscope;·len:·11,·SHA:·28e70fa5c518721b84b61c4f72a25ee40ff0e249d98abb464f3cf3fedb2329e9·...·]/div> |
| 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation</div> | ||
| 153 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{};</div> | ||
| 144 | <div·class="line"><a·id="l0007 | 154 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
| 145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">template</span><<span·class="keyword">class·</span>C,·<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>F,</div> | ||
| 146 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··std::enable_if_t<·not·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 147 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> |
| 156 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
| 157 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation<·Range(Domain),·DerivativeInterface,·B>·:</div> | ||
| Max diff block lines reached; 39918/65350 bytes (61.08%) of diff not shown. | |||
| Offset 1, 371 lines modified | Offset 1, 124 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | 7 | ····*·common |
| 8 | in | 8 | differentiablefunction_imp.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<utility> | ||
| 23 | 12#include·<type_traits> | ||
| 24 | 13 | ||
| 25 | 1 | 21 | 10#include·<dune/common/exceptions.hh> |
| 26 | 1 | 22 | 11#include·<dune/common/concept.hh> |
| 23 | 12 | ||
| 27 | 16#include·<dune/common/hybridutilities.hh> | ||
| 28 | 17 | ||
| 29 | 1 | 24 | 13#include·<dune/functions/common/type_traits.hh> |
| 25 | 14 | ||
| 26 | 15 | ||
| 27 | 16namespace·Dune·{ | ||
| 28 | 17namespace·Functions·{ | ||
| 29 | 18namespace·Imp·{ | ||
| 30 | 19 | 30 | 19 |
| 31 | 23struct·HasFreeDerivative | ||
| 31 | 20 | ||
| 32 | 21 | ||
| 33 | 22namespace·Dune·{ | ||
| 34 | 23namespace·Functions·{ | ||
| 35 | 24 | 32 | 24{ |
| 36 | 25 | ||
| 37 | 26namespace·Imp·{ | ||
| 38 | 27 | ||
| 39 | 28namespace·Concept·{ | ||
| 40 | 29 | ||
| 41 | 30template<class·size_type> | ||
| 42 | 31struct·HasDynamicIndexAccess | ||
| 43 | 32{ | ||
| 44 | 33 | 25·template<class·F> | |
| 45 | 34·auto·require(C&&·c)·->·decltype( | ||
| 46 | 35·c[std::declval<size_type>()] | ||
| 47 | 36·); | ||
| 48 | 37}; | ||
| 49 | 38 | ||
| 50 | 39struct·HasStaticIndexAccess | ||
| 51 | 40{ | ||
| 52 | 41·template<class·C> | ||
| 53 | 34 | 26·auto·require(F&&·f)·->·decltype( | |
| 54 | 43·c[Dune::Indices::_0] | ||
| 55 | 44·); | ||
| 56 | 45}; | ||
| 57 | 46 | ||
| 58 | 47}·//·namespace·Concept | ||
| 59 | 48 | ||
| 60 | 35 | 27·derivative(f) | |
| 36 | 28·); | ||
| 37 | 29}; | ||
| 38 | 30 | ||
| 39 | 31 | ||
| 40 | 32 | ||
| 41 | 33template<class·Dummy,·class·F, | ||
| 42 | 34·std::enable_if_t< | ||
| 43 | 35·models<·HasFreeDerivative,·F>()·,·int>·=·0> | ||
| 44 | 36auto·derivativeIfImplemented(const·F&·f)·->·decltype(derivative(f)) | ||
| 45 | 37{ | ||
| 46 | 38·return·derivative(f); | ||
| 47 | 39} | ||
| 48 | 40 | ||
| 49 | 41 | ||
| 50 | 42 | ||
| 51 | 43template<class·Dummy,·class·F, | ||
| 52 | 44·std::enable_if_t< | ||
| 53 | 45·not(models<·HasFreeDerivative,·F>())·,·int>·=·0> | ||
| 54 | 46Dummy·derivativeIfImplemented(const·F&·f) | ||
| 55 | 47{ | ||
| 56 | 48·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
| 57 | 49} | ||
| 61 | 50 | 58 | 50 |
| 62 | 51 | 59 | 51 |
| 63 | 52 | 60 | 52 |
| 64 | 65template<class·C,·class·I,·class·F, | ||
| 65 | 66·std::enable_if_t<·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(), | ||
| 66 | int>·=·0> | ||
| 67 | 67auto·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
| 68 | 61 | 53template<class·Signature,·class·DerivativeInterface> | |
| 62 | 54class·DifferentiableFunctionWrapperInterface | ||
| 63 | 55{}; | ||
| 64 | 56 | ||
| 65 | 57//·Interface·of·type·erasure·wrapper | ||
| 66 | 58// | ||
| 67 | 59//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 68 | ...) | ||
| 69 | 60//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 70 | 61template<class·Range,·class·Domain,·class·DerivativeInterface> | ||
| 71 | 62class·DifferentiableFunctionWrapperInterface<Range(Domain), | ||
| 72 | DerivativeInterface> | ||
| 73 | 63{ | ||
| 74 | 64public: | ||
| 75 | 65·virtual·Range·operator()·(const·Domain&·x)·const·=·0; | ||
| 76 | 66 | ||
| 77 | 67·virtual·DerivativeInterface·derivative()·const·=·0; | ||
| 78 | 68}; | ||
| 69 | 69 | 79 | 69 |
| 70 | 70 | 80 | 70 |
| 71 | 71 | 81 | 71 |
| 72 | 72 | ||
| 73 | 90template<class·C,·class·I,·class·F, | ||
| 74 | 91·std::enable_if_t<·not·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>, | ||
| 75 | C>(),·int>·=·0> | ||
| 76 | 92decltype(auto)·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
| 77 | 93{ | ||
| 78 | 94·using·Size·=·decltype(Hybrid::size(c)); | ||
| 79 | 95·return·Hybrid::switchCases(std::make_index_sequence<Size::value>(),·i, | ||
| 80 | 96·[&](const·auto&·ii)·->·decltype(auto){ | ||
| Max diff block lines reached; 8626/12938 bytes (66.67%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunctionfromcallables.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 48 lines modified | Offset 65, 55 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | 76 | <a·href="#nested-classes">Classes</a>·| |
| 77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">differentiablefunctionfromcallables.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<cm | 82 | <div·class="textblock"><code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 83 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 84 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
| 83 | </div> | 87 | </div> |
| 84 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 85 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 87 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
| 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·></a></td></tr> | ||
| 89 | <tr·class="mem | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01143.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·></a></td></tr> |
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01143.html#details">More...</a><br·/></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01147.html#details">More...</a><br·/></td></tr> | ||
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 93 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
| 94 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 98 | </table><table·class="memberdecls"> | 105 | </table><table·class="memberdecls"> |
| 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 100 | Functions</h2></td></tr> | 107 | Functions</h2></td></tr> |
| 101 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"·id="r_ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplParams"·colspan="2">template<class·K·,·int·sinFactor,·int·cosFactor>·</td></tr> | ||
| 102 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01067.html">TrigonometricFunction</a><·K,·-cosFactor,·sinFactor·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">Dune::Functions::derivative</a>·(const·<a·class="el"·href="a01067.html">TrigonometricFunction</a><·K,·sinFactor,·cosFactor·>·&f)</td></tr> | ||
| 103 | <tr·class="mem | 108 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"·id="r_gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplParams"·colspan="2">template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class...·F>·</td></tr> |
| 109 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01139.html">DifferentiableFunctionFromCallables</a><·Signature,·DerivativeTraits,·F...·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">Dune::Functions::makeDifferentiableFunctionFromCallables</a>·(const·<a·class="el"·href="a01299.html">SignatureTag</a><·Signature,·DerivativeTraits·>·&signatureTag,·F·&&...·f)</td></tr> | ||
| 110 | <tr·class="memdesc:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01107.html">DifferentiableFunction</a>·from·callables.··<br·/></td></tr> | ||
| 104 | <tr·class="separator:ga | 111 | <tr·class="separator:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | </table> | 112 | </table> |
| 106 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
| 107 | <!--·start·footer·part·--> | 114 | <!--·start·footer·part·--> |
| 108 | <hr·class="footer"/><address·class="footer"><small> | 115 | <hr·class="footer"/><address·class="footer"><small> |
| 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 110 | </small></address> | 117 | </small></address> |
| 111 | </body> | 118 | </body> |
| Offset 1, 30 lines modified | Offset 1, 46 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*· | 7 | ····*·common |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | trigonometricfunction.hh·File·Reference | ||
| 10 | 9 | differentiablefunctionfromcallables.hh·File·Reference | |
| 10 | #include·<dune/common/typeutilities.hh> | ||
| 11 | #include·<dune/common/hybridutilities.hh> | ||
| 12 | #include·<dune/functions/common/signature.hh> | ||
| 13 | #include·<dune/functions/common/differentiablefunction.hh> | ||
| 14 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 16 | Classes |
| 13 | class· ·Dune::Functions::TrigonometricFunction<_K,_sinFactor,_cosFactor_> | ||
| 14 | 17 | class· ·Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | |
| 18 | ········DerivativeTraits,_F_> | ||
| 19 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
| 20 | ·······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
| 21 | ········More... | ||
| 22 | |||
| 23 | class· ·Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
| 24 | ········DerivativeTraits,_F,_DF,_Derivatives..._> | ||
| 25 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
| 26 | ·······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
| 27 | ········More... | ||
| 15 | 28 | ||
| 16 | Namespaces | 29 | Namespaces |
| 17 | namespace· ·Dune | 30 | namespace· ·Dune |
| 18 | 31 | ||
| 19 | namespace· ·Dune::Functions | 32 | namespace· ·Dune::Functions |
| 20 | 33 | ||
| 21 | Functions | 34 | Functions |
| 22 | template<class·K·,·int·sinFactor,·int·cosFactor> | ||
| 23 | TrigonometricFunction<·K,·-cosFactor,·Dune::Functions::derivative·(const | ||
| 24 | 35 | template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class... | |
| 36 | F> | ||
| 37 | DifferentiableFunctionFromCallables<·Dune::Functions:: | ||
| 38 | Signature,·DerivativeTraits,·F...·> ·makeDifferentiableFunctionFromCallables | ||
| 39 | ·····································(const·SignatureTag<·Signature, | ||
| 40 | ·····································DerivativeTraits·>·&signatureTag,·F·&&... | ||
| 25 | ····································· | 41 | ·····································f) |
| 26 | ·····································Obtain·derivative·of | ||
| 27 | ····································· | 42 | ····································Create·a·DifferentiableFunction·from |
| 43 | ·····································callables. | ||
| 28 | 44 | ||
| 29 | =============================================================================== | 45 | =============================================================================== |
| 30 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunctionfromcallables.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 71 lines modified | Offset 70, 167 lines modified | ||
| 70 | </div> | 70 | </div> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">differentiablefunctionfromcallables.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00089.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00089.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cmath></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 95 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/signature.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·sinFactor,·<span·class="keywordtype">int</span>·cosFactor></div> | ||
| 100 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};"> | ||
| 101 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01067.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01067.html">TrigonometricFunction</a></div> | ||
| 102 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 103 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class</span>...·Callables></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01139.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01139.html">DifferentiableFunctionFromCallables</a>;</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F></div> | ||
| 104 | <div·class="foldopen"·id="foldopen000 | 114 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> |
| 115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01143.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01139.html">DifferentiableFunctionFromCallables</a><Range(Domain),·DerivativeTraits,·F></div> | ||
| 105 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01067.html#a84e99df5856264ae06faa710876763aa">···34</a></span>··K·<a·class="code·hl_function"·href="a01067.html#a84e99df5856264ae06faa710876763aa">operator·()·</a>(<span·class="keyword">const</span>·K&·x)<span·class="keyword">·const</span></div> | ||
| 106 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">··</span>{</div> | ||
| 107 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">return</span>·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x);</div> | ||
| 108 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··}</div> | ||
| 109 | </div> | ||
| 110 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>};</div> | ||
| 111 | </div> | ||
| 112 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 114 | <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> | ||
| 115 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
| 116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">···43</a></span><a·class="code·hl_class"·href="a01067.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01067.html">TrigonometricFunction<K,·sinFactor,·cosFactor></a>&·f)</div> | ||
| 117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
| 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01067.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>();</div> | ||
| 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}</div> | ||
| 120 | </div> | ||
| 121 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 123 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span> | 116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> |
| 124 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span> | 117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> |
| 125 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 119 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01143.html#acffaa1044b3ca19944d0f78fc0ff1ac4">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01143.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·=·Range(Domain);</div> | ||
| 126 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 121 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01143.html#acce6cff869c703e4f707474228581e03">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01143.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01295.html">SignatureTraits<Signature>::RawSignature</a>;</div> | ||
| 127 | <div·class="line"><a·id="l0005 | 122 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> | ||
| 129 | <div·class=" | 123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01143.html#af3d92b77ee01a494d609225d37eb5259">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01143.html#af3d92b77ee01a494d609225d37eb[·...·truncated·by·diffoscope;·len:·122,·SHA:·15c3878730fd4af3d4757356817e304b0dc25d6b86e9f8323809814b9bc3c5db·...·]</div> |
| 124 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01143.html#a1213bfc3682b37f706a9f0b1e958cfbe">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01107.html">Derivative</a>·=·<a·class="code·hl_class"·href="a01107.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits></a>;</div> | ||
| 126 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF>·=·0></div> | ||
| 128 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | ||
| 129 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01143.html#a9509c11776197d4e92b8d1f0ad2a10cb">···65</a></span>··<a·class="code·hl_function"·href="a01143.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a>(FF&&·f)·:</div> | ||
| 130 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····f_(std::forward<FF>(f))</div> | ||
| 131 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{}</div> | ||
| 132 | </div> | ||
| 133 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 134 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> | ||
| 135 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01143.html#a720d931d3d5ea77435ea74436c6ab489">···70</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
| 136 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">··</span>{</div> | ||
| 137 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">return</span>·f_(x);</div> | ||
| 138 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> | ||
| 139 | </div> | ||
| 140 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 141 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> | ||
| 142 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga8bec39fece3c312f2030bab07b2e8721">···80</a></span>··<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a01107.html">Derivative</a>·<a·class="code·hl_friend"·href="a00215.html#ga8bec39fece3c312f2030bab07b2e8721">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01139.html">DifferentiableFunctionFromCallables</a>&·t)</div> | ||
| 143 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div> | ||
| 144 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
| 145 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div> | ||
| 146 | </div> | ||
| 147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> | ||
| 149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··F·f_;</div> | ||
| 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>};</div> | ||
| 151 | </div> | ||
| 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>DF,·<span·class="keyword">class</span>...·Derivatives></div> | ||
| Max diff block lines reached; 5779/35084 bytes (16.47%) of diff not shown. | |||
| Offset 1, 68 lines modified | Offset 1, 196 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·analyticfunctions | ||
| 8 | 7 | ····*·common | |
| 8 | differentiablefunctionfromcallables.hh | ||
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<cmath> | ||
| 22 | 11 | ||
| 23 | 12namespace·Dune·{ | ||
| 24 | 13namespace·Functions·{ | ||
| 25 | 1 | 21 | 10 |
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 23 | 12#include·<dune/common/hybridutilities.hh> | ||
| 24 | 13 | ||
| 25 | 14#include·<dune/functions/common/signature.hh> | ||
| 26 | 15 | 26 | 15 |
| 27 | 16#include·<dune/functions/common/differentiablefunction.hh> | ||
| 28 | 17#include·<dune/functions/common/functionconcepts.hh> | ||
| 29 | 18 | ||
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 21namespace·Dune·{ | ||
| 33 | 22namespace·Functions·{ | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 26template<class·Signature,·template<class>·class·DerivativeTraits,·class... | ||
| 38 | Callables> | ||
| 39 | 27class·DifferentiableFunctionFromCallables; | ||
| 40 | 28 | ||
| 41 | 29 | ||
| 42 | 30 | ||
| 43 | 47template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 44 | class·F> | ||
| 45 | 48class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits,·F> | ||
| 27 | 16 | ||
| 28 | 29template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 29 | 30class·TrigonometricFunction | ||
| 30 | 31{ | ||
| 31 | 32public: | ||
| 32 | 34·K·operator_()_(const·K&·x)·const | ||
| 33 | 35·{ | ||
| 34 | 36·return·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x); | ||
| 35 | 37·} | ||
| 36 | 38}; | ||
| 37 | 39 | ||
| 38 | 40 | ||
| 39 | 42template<class·K,·int·sinFactor,·int·cosFactor> | ||
| 40 | 43TrigonometricFunction<K,·-cosFactor,·sinFactor>·derivative(const | ||
| 41 | TrigonometricFunction<K,_sinFactor,_cosFactor>&·f) | ||
| 42 | 44{ | ||
| 43 | 45·return·TrigonometricFunction<K,·-cosFactor,·sinFactor>(); | ||
| 44 | 46} | ||
| 45 | 47 | ||
| 46 | 48 | ||
| 47 | 49 | 46 | 49{ |
| 48 | 50 | 47 | 50public: |
| 49 | 51 | 48 | 51 |
| 50 | 52 | ||
| 51 | 53 | ||
| 52 | 54#endif·//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH | ||
| 53 | Dune::Functions::derivative | ||
| 54 | TrigonometricFunction<·K,·-cosFactor,·sinFactor·>·derivative(const | ||
| 55 | TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f) | ||
| 56 | Obtain·derivative·of·TrigonometricFunction·function. | ||
| 57 | 49 | 53·using·Signature·=·Range(Domain); | |
| 50 | 54 | ||
| 51 | 55·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 52 | 56 | ||
| 53 | 58·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 54 | (Domain); | ||
| 55 | 59 | ||
| 56 | 61·using·Derivative·=·DifferentiableFunction<DerivativeSignature, | ||
| 57 | DerivativeTraits>; | ||
| 58 | 62 | ||
| 59 | 64·template<class·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF> | ||
| 60 | =·0> | ||
| 61 | 65·DifferentiableFunctionFromCallables(FF&&·f)·: | ||
| 62 | 66·f_(std::forward<FF>(f)) | ||
| 63 | 67·{} | ||
| 64 | 68 | ||
| 65 | 70·Range·operator()·(const·Domain&·x)·const | ||
| 66 | 71·{ | ||
| 67 | 72·return·f_(x); | ||
| 68 | 73·} | ||
| 69 | 74 | ||
| 70 | 80·friend·Derivative·derivative(const·DifferentiableFunctionFromCallables&·t) | ||
| 71 | 81·{ | ||
| 72 | 82·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
| 73 | 83·} | ||
| 74 | 84 | ||
| 75 | 85private: | ||
| 76 | 86·F·f_; | ||
| 77 | 87}; | ||
| 78 | 88 | ||
| 79 | 89 | ||
| 80 | 90 | ||
| 81 | 107template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
| 82 | class·F,·class·DF,·class...·Derivatives> | ||
| 83 | 108class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits, | ||
| 84 | F,·DF,·Derivatives...> | ||
| 85 | 109{ | ||
| 86 | 110public: | ||
| 87 | 111 | ||
| 88 | 112·using·Signature·=·Range(Domain); | ||
| 89 | 113·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
| 90 | 114·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
| 91 | (Domain); | ||
| 92 | 115 | ||
| 93 | 116·using·Derivative·=·DifferentiableFunctionFromCallables<DerivativeSignature, | ||
| 94 | DerivativeTraits,·DF,·Derivatives...>; | ||
| Max diff block lines reached; 2794/8294 bytes (33.69%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction_imp.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 67 lines modified | Offset 65, 34 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>· | 76 | <a·href="#namespaces">Namespaces</a>··</div> |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 77 | ··<div·class="headertitle"><div·class="title">localfunction_imp.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 78 | </div><!--header--> |
| 81 | <div·class="contents"> | 79 | <div·class="contents"> |
| 80 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 81 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
| 82 | <div·class="textblock"><code>#include·<cmath></code><br·/> | ||
| 83 | <code>#include·<initializer_list></code><br·/> | ||
| 84 | <code>#include·<vector></code><br·/> | ||
| 85 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 86 | </div> | 82 | </div> |
| 87 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 90 | Classes</h2></td></tr> | ||
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01055.html">Dune::Functions::Polynomial<·K,·C·></a></td></tr> | ||
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·univariate·polynomial·implementation.··<a·href="a01055.html#details">More...</a><br·/></td></tr> | ||
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 94 | </table><table·class="memberdecls"> | ||
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 96 | Namespaces</h2></td></tr> | 86 | Namespaces</h2></td></tr> |
| 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 87 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 89 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | </table><table·class="memberdecls"> | ||
| 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 103 | Functions</h2></td></tr> | ||
| 104 | <tr·class="memitem:a368f344cc96ccfadd1c947cefb82789f"·id="r_a368f344cc96ccfadd1c947cefb82789f"><td·class="memTemplParams"·colspan="2">template<class·K·>·</td></tr> | ||
| 105 | <tr·class="memitem:a368f344cc96ccfadd1c947cefb82789f"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a368f344cc96ccfadd1c947cefb82789f">Dune::Functions::Polynomial</a>·(std::vector<·K·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::vector<·K·>·></td></tr> | ||
| 106 | <tr·class="separator:a368f344cc96ccfadd1c947cefb82789f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 107 | <tr·class="memitem:a016550b1c91d9134c26429189244978d"·id="r_a016550b1c91d9134c26429189244978d"><td·class="memTemplParams"·colspan="2">template<class·K·,·std::size_t·n>·</td></tr> | ||
| 108 | <tr·class="memitem:a016550b1c91d9134c26429189244978d"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a016550b1c91d9134c26429189244978d">Dune::Functions::Polynomial</a>·(std::array<·K,·n·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::array<·K,·n·>·></td></tr> | ||
| 109 | <tr·class="separator:a016550b1c91d9134c26429189244978d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | <tr·class="memitem:a1dba9ae8fffc043b3e692e34991565ac"·id="r_a1dba9ae8fffc043b3e692e34991565ac"><td·class="memTemplParams"·colspan="2">template<class·K·,·K...·ci>·</td></tr> | ||
| 111 | <tr·class="memitem:a1dba9ae8fffc043b3e692e34991565ac"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a1dba9ae8fffc043b3e692e34991565ac">Dune::Functions::Polynomial</a>·(std::integer_sequence<·K,·ci...·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::integer_sequence<·K,·ci...·>·></td></tr> | ||
| 112 | <tr·class="separator:a1dba9ae8fffc043b3e692e34991565ac"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | <tr·class="memitem:a85fee67e59a9cdf2dc2e12b4abdbb16b"·id="r_a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memTemplParams"·colspan="2">template<class·K·>·</td></tr> | ||
| 114 | <tr·class="memitem:a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a85fee67e59a9cdf2dc2e12b4abdbb16b">Dune::Functions::Polynomial</a>·(std::initializer_list<·K·>)·->·<a·class="el"·href="a01055.html">Polynomial</a><·K,·std::vector<·K·>·></td></tr> | ||
| 115 | <tr·class="separator:a85fee67e59a9cdf2dc2e12b4abdbb16b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:ae39290bbc7f0c8afc2a2234e2038ee43"·id="r_ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memTemplParams"·colspan="2">template<class·K·,·class·Coefficients·>·</td></tr> | ||
| 117 | <tr·class="memitem:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae39290bbc7f0c8afc2a2234e2038ee43">Dune::Functions::makePolynomial</a>·(Coefficients·coefficients)</td></tr> | ||
| 118 | <tr·class="memdesc:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01055.html"·title="A·univariate·polynomial·implementation.">Polynomial</a>.··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ae39290bbc7f0c8afc2a2234e2038ee43"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:a0f2765282a4f56600544187da5350845"·id="r_a0f2765282a4f56600544187da5350845"><td·class="memTemplParams"·colspan="2">template<class·K·,·class·C·>·</td></tr> | ||
| 121 | <tr·class="memitem:a0f2765282a4f56600544187da5350845"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a0f2765282a4f56600544187da5350845">Dune::Functions::makePolynomial</a>·(std::initializer_list<·C·>·coefficients)</td></tr> | ||
| 122 | <tr·class="memdesc:a0f2765282a4f56600544187da5350845"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01055.html"·title="A·univariate·polynomial·implementation.">Polynomial</a>.··<br·/></td></tr> | ||
| 123 | <tr·class="separator:a0f2765282a4f56600544187da5350845"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 124 | </table> | 91 | </table> |
| 125 | </div><!--·contents·--> | 92 | </div><!--·contents·--> |
| 126 | <!--·start·footer·part·--> | 93 | <!--·start·footer·part·--> |
| 127 | <hr·class="footer"/><address·class="footer"><small> | 94 | <hr·class="footer"/><address·class="footer"><small> |
| 128 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 95 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 129 | </small></address> | 96 | </small></address> |
| 130 | </body> | 97 | </body> |
| Offset 1, 50 lines modified | Offset 1, 19 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·common | ||
| 8 | Namespaces | ||
| 9 | localfunction_imp.hh·File·Reference | ||
| 10 | #include·<dune/functions/common/type_traits.hh> | ||
| 11 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 7 | ····*·analyticfunctions | ||
| 8 | Classes·|·Namespaces·|·Functions | ||
| 9 | polynomial.hh·File·Reference | ||
| 10 | #include·<cmath> | ||
| 11 | #include·<initializer_list> | ||
| 12 | #include·<vector> | ||
| 13 | #include·<dune/common/hybridutilities.hh> | ||
| 14 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | ||
| 16 | class· ·Dune::Functions::Polynomial<_K,_C_> | ||
| 17 | ·······A·univariate·polynomial·implementation.·More... | ||
| 18 | |||
| 19 | Namespaces | 13 | Namespaces |
| 20 | namespace· ·Dune | 14 | namespace· ·Dune |
| 21 | 15 | ||
| 22 | namespace· ·Dune::Functions | 16 | namespace· ·Dune::Functions |
| 23 | 17 | ||
| 24 | Functions | ||
| 25 | template<class·K·> | ||
| 26 | ···· ·Dune::Functions::Polynomial·(std::vector<·K·>)·->·Polynomial<·K,·std:: | ||
| 27 | ······vector<·K·>·> | ||
| 28 | |||
| 29 | template<class·K·,·std::size_t·n> | ||
| 30 | ···· ·Dune::Functions::Polynomial·(std::array<·K,·n·>)·->·Polynomial<·K,·std:: | ||
| 31 | ······array<·K,·n·>·> | ||
| 32 | |||
| 33 | template<class·K·,·K...·ci> | ||
| 34 | ···· ·Dune::Functions::Polynomial·(std::integer_sequence<·K,·ci...·>)·- | ||
| 35 | ······>·Polynomial<·K,·std::integer_sequence<·K,·ci...·>·> | ||
| 36 | |||
| 37 | template<class·K·> | ||
| 38 | ···· ·Dune::Functions::Polynomial·(std::initializer_list<·K·>)·->·Polynomial< | ||
| 39 | ······K,·std::vector<·K·>·> | ||
| 40 | |||
| 41 | template<class·K·,·class·Coefficients·> | ||
| 42 | auto ·Dune::Functions::makePolynomial·(Coefficients·coefficients) | ||
| 43 | ·····Create·Polynomial. | ||
| 44 | |||
| 45 | template<class·K·,·class·C·> | ||
| 46 | auto ·Dune::Functions::makePolynomial·(std::initializer_list<·C·>·coefficients) | ||
| 47 | ·····Create·Polynomial. | ||
| 48 | |||
| 49 | =============================================================================== | 18 | =============================================================================== |
| 50 | ·····Generated·by [doxygen]·1.9.8 | 19 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction_imp.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 236 lines modified | Offset 70, 96 lines modified | ||
| 70 | </div> | 70 | </div> |
| 71 | </div> | 71 | </div> |
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">localfunction_imp.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cmath></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<initiali | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class=" | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 98 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 99 | <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="}"> | ||
| 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a00224.html">···17</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 101 | <div·class=" | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//</span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">class·</span>LocalFunctionWrapperInterface·:</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
| 102 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">public</span>:</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&)·=·0;</div> | ||
| 103 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 104 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()·=·0;</div> |
| 105 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()·<span·class="keyword">const</span>·=·0;</div> | ||
| 106 | <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> | ||
| 107 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="comment">//·Overload·for·std::vector</span></div> | ||
| 108 | <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> | ||
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keywordflow">if</span>·(coefficients.size()==0)</div> | ||
| 111 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keywordflow">return</span>·std::vector<K,·Allocator>();</div> | ||
| 112 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····std::vector<K,·Allocator>·dpCoefficients(coefficients.size()-1);</div> | ||
| 113 | <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> | ||
| 114 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······dpCoefficients[i-1]·=·coefficients[i]*K(i);</div> | ||
| 115 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keywordflow">return</span>·dpCoefficients;</div> | ||
| 116 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··}</div> | ||
| 117 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 118 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class=" | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()·<span·class="keyword">const</span>·=·0;</div> |
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 119 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</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>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">class</span>·B></div> | ||
| 120 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·K,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
| 121 | <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> | ||
| 122 | <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> | ||
| 123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keywordflow">return</span>·coefficients;</div> | ||
| 124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>LocalFunctionWrapperImplementation·:</div> |
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
| 125 | <div·class="line"><a·id="l0004 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>Base·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div> | ||
| 126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······std::array<K,·n-1>·dpCoefficients;</div> | ||
| 127 | <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> | ||
| 128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········dpCoefficients[i-1]·=·coefficients[i]*K(i);</div> | ||
| 129 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·· | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>Base::Base;</div> |
| 130 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>· | 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 131 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·· | 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&·context)</div> |
| 132 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> |
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····this->get().bind(context);</div> | ||
| 133 | <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> | ||
| 134 | <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> | ||
| 135 | <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> | ||
| 136 | <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> | ||
| 137 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·to·do·the·same·inline.</span></div> | ||
| 138 | <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> | ||
| 139 | <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> | ||
| 140 | <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> | ||
| 141 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··}</div> |
| 142 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 143 | <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> | ||
| 144 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="comment">//·Overload·for·std::integer_sequence</span></div> | ||
| 145 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()</div> |
| 146 | <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> | ||
| 147 | <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> | ||
| 148 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> |
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····this->get().unbind();</div> | ||
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div> | ||
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
| 149 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">··</span>{</div> |
| 150 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·this->get().bound();</div> |
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()<span·class="keyword">·const</span></div> | ||
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">··</span>{</div> | ||
| 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordflow">return</span>·this->get().localContext();</div> | ||
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··}</div> | ||
| Max diff block lines reached; 3145/46890 bytes (6.71%) of diff not shown. | |||
| Offset 1, 246 lines modified | Offset 1, 94 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·analyticfunctions | ||
| 8 | 7 | ····*·common | |
| 8 | localfunction_imp.hh | ||
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<cmath> | ||
| 22 | 11#include·<initializer_list> | ||
| 23 | 1 | 21 | 10#include·<dune/functions/common/type_traits.hh> |
| 22 | 11#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
| 23 | 12 | ||
| 24 | 13 | 24 | 13 |
| 25 | 14 | 25 | 14 |
| 26 | 15#include·<dune/common/hybridutilities.hh> | ||
| 27 | 16 | ||
| 28 | 1 | 26 | 15namespace·Dune·{ |
| 29 | 1 | 27 | 16namespace·Functions·{ |
| 30 | 19 | ||
| 31 | 28 | 17namespace·Imp·{ | |
| 32 | 21 | ||
| 33 | 22·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 34 | 23·//·Overload·for·std::vector | ||
| 35 | 24·template<class·K,·class·Allocator> | ||
| 36 | 25·auto·polynomialDerivativeCoefficients(const·std::vector<K,·Allocator>& | ||
| 37 | coefficients)·{ | ||
| 38 | 26·if·(coefficients.size()==0) | ||
| 39 | 27·return·std::vector<K,·Allocator>(); | ||
| 40 | 28·std::vector<K,·Allocator>·dpCoefficients(coefficients.size()-1); | ||
| 41 | 29·for·(size_t·i=1;·i<coefficients.size();·++i) | ||
| 42 | 30·dpCoefficients[i-1]·=·coefficients[i]*K(i); | ||
| 43 | 31·return·dpCoefficients; | ||
| 44 | 29 | 18 | |
| 30 | 19//·Interface·of·type·erasure·wrapper | ||
| 31 | 20// | ||
| 32 | 21//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone, | ||
| 33 | ...) | ||
| 34 | 22//·will·be·added·by·the·type·erasure·foundation·classes. | ||
| 35 | 23template<class·Signature,·class·DerivativeInterface,·class·LocalContext> | ||
| 36 | 24class·LocalFunctionWrapperInterface·: | ||
| 37 | 25·public·DifferentiableFunctionWrapperInterface<Signature, | ||
| 38 | DerivativeInterface> | ||
| 39 | 26{ | ||
| 40 | 27public: | ||
| 41 | 28·virtual·void·bind(const·LocalContext&)·=·0; | ||
| 42 | 29 | ||
| 43 | 30·virtual·void·unbind()·=·0; | ||
| 44 | 31 | ||
| 45 | 32·virtual·bool·bound()·const·=·0; | ||
| 45 | 33 | 46 | 33 |
| 46 | 34·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 47 | 35·//·Overload·for·std::array | ||
| 48 | 36·template<class·K,·std::size_t·n> | ||
| 49 | 37·auto·polynomialDerivativeCoefficients(const·std::array<K,·n>&·coefficients) | ||
| 50 | { | ||
| 51 | 38·if·constexpr·(n==0) | ||
| 52 | 39·return·coefficients; | ||
| 53 | 4 | 47 | 34·virtual·const·LocalContext&·localContext()·const·=·0; |
| 48 | 35}; | ||
| 49 | 36 | ||
| 50 | 37 | ||
| 51 | 38//·Implementation·of·type·erasure·wrapper | ||
| 52 | 39template<class·Signature,·class·DerivativeInterface,·class·LocalContext, | ||
| 53 | class·B> | ||
| 54 | 40class·LocalFunctionWrapperImplementation·: | ||
| 55 | 41·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 56 | DerivativeInterface,·B> | ||
| 57 | 42{ | ||
| 58 | 43·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
| 59 | DerivativeInterface,·B>; | ||
| 60 | 44public: | ||
| 61 | 45·using·Base::Base; | ||
| 62 | 46 | ||
| 63 | 47·virtual·void·bind(const·LocalContext&·context) | ||
| 54 | 4 | 64 | 48·{ |
| 65 | 49·this->get().bind(context); | ||
| 55 | 42·std::array<K,·n-1>·dpCoefficients; | ||
| 56 | 43·for·(size_t·i=1;·i<coefficients.size();·++i) | ||
| 57 | 44·dpCoefficients[i-1]·=·coefficients[i]*K(i); | ||
| 58 | 45·return·dpCoefficients; | ||
| 59 | 46·} | ||
| 60 | 47·} | ||
| 61 | 48 | ||
| 62 | 49·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 63 | 50·//·Helper·function·for·the·std::integer_sequence·overload. | ||
| 64 | 51·//·With·C++20·this·can·be·avoided,·because·lambda·function | ||
| 65 | 52·//·can·partially·specify·template·arguments·which·allows | ||
| 66 | 53·//·to·do·the·same·inline. | ||
| 67 | 54·template<class·I,·I·i0,·I...·i,·class·J,·J·j0,·J...·j> | ||
| 68 | 55·auto·polynomialDerivativeCoefficientsHelper(std::integer_sequence<I,·i0, | ||
| 69 | i...>,·std::integer_sequence<J,·j0,·j...>)·{ | ||
| 70 | 56·return·std::integer_sequence<I,·i*I(j)...>(); | ||
| 71 | 5 | 66 | 50·} |
| 67 | 51 | ||
| 68 | 52·virtual·void·unbind() | ||
| 72 | 58 | ||
| 73 | 59·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 74 | 60·//·Overload·for·std::integer_sequence | ||
| 75 | 61·template<class·I,·I...·i> | ||
| 76 | 62·auto·polynomialDerivativeCoefficients(std::integer_sequence<I,·i...> | ||
| 77 | coefficients)·{ | ||
| 78 | 63·if·constexpr·(sizeof...(i)==0) | ||
| 79 | 64·return·coefficients; | ||
| 80 | 65·else | ||
| 81 | 66·return·polynomialDerivativeCoefficientsHelper(coefficients,·std::make_index_ | ||
| 82 | sequence<sizeof...(i)>()); | ||
| 83 | 67·} | ||
| 84 | 68 | ||
| 85 | 69·//·Compute·coefficients·of·derivative·of·polynomial. | ||
| 86 | 70·//·Overload·for·std::tuple | ||
| 87 | 71·template<class...T> | ||
| 88 | 72·auto·polynomialDerivativeCoefficients(const·std::tuple<T...>&·coefficients) | ||
| Max diff block lines reached; 1177/9404 bytes (12.52%) of diff not shown. | |||
| Offset 80, 17 lines modified | Offset 80, 17 lines modified | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">lagrangedgbasis.hh·File·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">lagrangedgbasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<array></code><br·/> | 84 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 86 | <code>#include·<dune/common/math.hh></code><br·/> | 86 | <code>#include·<dune/common/math.hh></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a001 | 87 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a001 | 88 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a001 | 89 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | 90 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> |
| 91 | </div> | 91 | </div> |
| 92 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 93 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 95 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01703.html">Dune::Functions::LagrangeDGPreBasis<·GV,·k·></a></td></tr> | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01703.html">Dune::Functions::LagrangeDGPreBasis<·GV,·k·></a></td></tr> |
| Offset 90, 17 lines modified | Offset 90, 17 lines modified | ||
| 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> | 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> | 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> |
| 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> | 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> | 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> |
| 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
| 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> |
| 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> | 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> |
| Offset 316, 17 lines modified | Offset 316, 17 lines modified | ||
| 316 | <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>·</div> | 316 | <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>·</div> |
| 317 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div> | 317 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div> |
| 318 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>}·<span·class="comment">//·end·namespace·Functions</span></div> | 318 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>}·<span·class="comment">//·end·namespace·Functions</span></div> |
| 319 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | 319 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>}·<span·class="comment">//·end·namespace·Dune</span></div> |
| 320 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div> | 320 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div> |
| 321 | <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>·</div> | 321 | <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>·</div> |
| 322 | <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> | 322 | <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> |
| 323 | <div·class="ttc"·id="aa00104_html"><div·class="ttname"><a·href="a00104.html">nodes.hh</a></div></div> | ||
| 323 | <div·class="ttc"·id="aa001 | 324 | <div·class="ttc"·id="aa00158_html"><div·class="ttname"><a·href="a00158.html">defaultglobalbasis.hh</a></div></div> |
| 324 | <div·class="ttc"·id="aa00128_html"><div·class="ttname"><a·href="a00128.html">nodes.hh</a></div></div> | ||
| 325 | <div·class="ttc"·id="aa001 | 325 | <div·class="ttc"·id="aa00176_html"><div·class="ttname"><a·href="a00176.html">lagrangebasis.hh</a></div></div> |
| 326 | <div·class="ttc"·id="aa00188_html"><div·class="ttname"><a·href="a00188.html">leafprebasismixin.hh</a></div></div> | 326 | <div·class="ttc"·id="aa00188_html"><div·class="ttname"><a·href="a00188.html">leafprebasismixin.hh</a></div></div> |
| 327 | <div·class="ttc"·id="aa00219_html_gae7dbc0c4e48b9cf3da63d6ef431b3481"><div·class="ttname"><a·href="a00219.html#gae7dbc0c4e48b9cf3da63d6ef431b3481">Dune::Functions::BasisFactory::lagrangeDG</a></div><div·class="ttdeci">auto·lagrangeDG()</div><div·class="ttdoc">Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis.</div><div·class="ttdef"><b>Definition</b>·lagrangedgbasis.hh:208</div></div> | 327 | <div·class="ttc"·id="aa00219_html_gae7dbc0c4e48b9cf3da63d6ef431b3481"><div·class="ttname"><a·href="a00219.html#gae7dbc0c4e48b9cf3da63d6ef431b3481">Dune::Functions::BasisFactory::lagrangeDG</a></div><div·class="ttdeci">auto·lagrangeDG()</div><div·class="ttdoc">Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis.</div><div·class="ttdef"><b>Definition</b>·lagrangedgbasis.hh:208</div></div> |
| 328 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> | 328 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> |
| 329 | <div·class="ttc"·id="aa01563_html"><div·class="ttname"><a·href="a01563.html">Dune::Functions::DefaultGlobalBasis</a></div><div·class="ttdoc">Global·basis·for·given·pre-basis.</div><div·class="ttdef"><b>Definition</b>·defaultglobalbasis.hh:50</div></div> | 329 | <div·class="ttc"·id="aa01563_html"><div·class="ttname"><a·href="a01563.html">Dune::Functions::DefaultGlobalBasis</a></div><div·class="ttdoc">Global·basis·for·given·pre-basis.</div><div·class="ttdef"><b>Definition</b>·defaultglobalbasis.hh:50</div></div> |
| 330 | <div·class="ttc"·id="aa01691_html"><div·class="ttname"><a·href="a01691.html">Dune::Functions::LagrangeNode</a></div><div·class="ttdef"><b>Definition</b>·lagrangebasis.hh:375</div></div> | 330 | <div·class="ttc"·id="aa01691_html"><div·class="ttname"><a·href="a01691.html">Dune::Functions::LagrangeNode</a></div><div·class="ttdef"><b>Definition</b>·lagrangebasis.hh:375</div></div> |
| 331 | <div·class="ttc"·id="aa01691_html_a9d58cded4e8fb6665c22c758e55f4914"><div·class="ttname"><a·href="a01691.html#a9d58cded4e8fb6665c22c758e55f4914">Dune::Functions::LagrangeNode::element</a></div><div·class="ttdeci">const·Element·&·element()·const</div><div·class="ttdoc">Return·current·element,·throw·if·unbound.</div><div·class="ttdef"><b>Definition</b>·lagrangebasis.hh:427</div></div> | 331 | <div·class="ttc"·id="aa01691_html_a9d58cded4e8fb6665c22c758e55f4914"><div·class="ttname"><a·href="a01691.html#a9d58cded4e8fb6665c22c758e55f4914">Dune::Functions::LagrangeNode::element</a></div><div·class="ttdeci">const·Element·&·element()·const</div><div·class="ttdoc">Return·current·element,·throw·if·unbound.</div><div·class="ttdef"><b>Definition</b>·lagrangebasis.hh:427</div></div> |
| 332 | <div·class="ttc"·id="aa01703_html"><div·class="ttname"><a·href="a01703.html">Dune::Functions::LagrangeDGPreBasis</a></div><div·class="ttdef"><b>Definition</b>·lagrangedgbasis.hh:44</div></div> | 332 | <div·class="ttc"·id="aa01703_html"><div·class="ttname"><a·href="a01703.html">Dune::Functions::LagrangeDGPreBasis</a></div><div·class="ttdef"><b>Definition</b>·lagrangedgbasis.hh:44</div></div> |
| Offset 240, 16 lines modified | Offset 240, 16 lines modified | ||
| 240 | 233 | 240 | 233 |
| 241 | 234 | 241 | 234 |
| 242 | 235}·//·end·namespace·Functions | 242 | 235}·//·end·namespace·Functions |
| 243 | 236}·//·end·namespace·Dune | 243 | 236}·//·end·namespace·Dune |
| 244 | 237 | 244 | 237 |
| 245 | 238 | 245 | 238 |
| 246 | 239#endif·//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH | 246 | 239#endif·//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH |
| 247 | defaultglobalbasis.hh | ||
| 248 | nodes.hh | 247 | nodes.hh |
| 248 | defaultglobalbasis.hh | ||
| 249 | lagrangebasis.hh | 249 | lagrangebasis.hh |
| 250 | leafprebasismixin.hh | 250 | leafprebasismixin.hh |
| 251 | Dune::Functions::BasisFactory::lagrangeDG | 251 | Dune::Functions::BasisFactory::lagrangeDG |
| 252 | auto·lagrangeDG() | 252 | auto·lagrangeDG() |
| 253 | Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis. | 253 | Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis. |
| 254 | Definition·lagrangedgbasis.hh:208 | 254 | Definition·lagrangedgbasis.hh:208 |
| 255 | Dune | 255 | Dune |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·bsplinebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 53 lines modified | Offset 72, 80 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 79 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">bsplinebasis.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 82 | </div><!--header--> |
| 82 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>The·B-spline·global·function·space·basis.·· | ||
| 85 | <a·href="#details">More...</a></p> | ||
| 83 | <div·class="textblock"><code>#include·< | 86 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 84 | <code>#include·< | 87 | <code>#include·<numeric></code><br·/> |
| 85 | <code>#include·<dune/common/ | 88 | <code>#include·<dune/common/dynmatrix.hh></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 88 | <code>#include·< | 89 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> |
| 90 | <code>#include·<dune/common/diagonalmatrix.hh></code><br·/> | ||
| 91 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
| 92 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
| 93 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a0 | 94 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 95 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 96 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 90 | </div> | 97 | </div> |
| 91 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 98 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 99 | <table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 94 | Classes</h2></td></tr> | 101 | Classes</h2></td></tr> |
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html">Dune::Functions::BSplineLocalBasis<·GV,·R·></a></td></tr> |
| 103 | <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="a01467.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html">Dune::Functions::BSplineLocalCoefficients<·dim·></a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A | 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Attaches·a·shape·function·to·an·entity.··<a·href="a01471.html#details">More...</a><br·/></td></tr> |
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01475.html">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·></a></td></tr> | ||
| 109 | <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="a01475.html#details">More...</a><br·/></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01459.html">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·></a></td></tr> | ||
| 112 | <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="a01459.html#details">More...</a><br·/></td></tr> | ||
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01463.html">Dune::Functions::BSplinePreBasis<·GV·></a></td></tr> | ||
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·B-spline·basis.··<a·href="a01463.html#details">More...</a><br·/></td></tr> | ||
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html">Dune::Functions::BSplineNode<·GV·></a></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 98 | </table><table·class="memberdecls"> | 119 | </table><table·class="memberdecls"> |
| 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 100 | Namespaces</h2></td></tr> | 121 | Namespaces</h2></td></tr> |
| 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 122 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 124 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 126 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 128 | </table><table·class="memberdecls"> | ||
| 129 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 130 | Typedefs</h2></td></tr> | ||
| 131 | <tr·class="memitem:ga189243b64e66543614a954706d70ce4a"·id="r_ga189243b64e66543614a954706d70ce4a"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
| 132 | <tr·class="memitem:ga189243b64e66543614a954706d70ce4a"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga189243b64e66543614a954706d70ce4a">Dune::Functions::BSplineBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01463.html">BSplinePreBasis</a><·GV·>·></td></tr> | ||
| 133 | <tr·class="memdesc:ga189243b64e66543614a954706d70ce4a"><td·class="mdescLeft"> </td><td·class="mdescRight">A·global·B-spline·basis.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:ga189243b64e66543614a954706d70ce4a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | </table><table·class="memberdecls"> | 135 | </table><table·class="memberdecls"> |
| 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 136 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 107 | Functions</h2></td></tr> | 137 | Functions</h2></td></tr> |
| 108 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"·id="r_aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
| 109 | <tr·class="memitem: | 138 | <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="a00219.html#ga63a9701af71fffbbb851a38cb8cf886f">Dun[·...·truncated·by·diffoscope;·len:·130,·SHA:·e1a4f7d84193dfad8140020bc198ea874714e4e3b568842412ae8d82682f04ca·...·])</td></tr> |
| 139 | <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> | ||
| 110 | <tr·class="separator: | 140 | <tr·class="separator:ga63a9701af71fffbbb851a38cb8cf886f"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"·id="r_a5c705706be679d2a462e38b08274ad33"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·std::enable_if_t<·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·V,·MultiIndex·>(),·int·>··=·0>·</td></tr> | ||
| 112 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"><td·class="memTemplItemLeft"·align="right"·valign="top">V·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a5c705706be679d2a462e38b08274ad33">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
| 113 | <tr·class="separator:a5c705706be679d2a462e38b08274ad33"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"·id="r_ae48bf799daaf0751086b47457350675e"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·std::enable_if_t<·not·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·V,·MultiIndex·>(),·int·>··=·0>·</td></tr> | ||
| 115 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html">HierarchicVectorWrapper</a><·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae48bf799daaf0751086b47457350675e">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
| 116 | <tr·class="separator:ae48bf799daaf0751086b47457350675e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 117 | </table> | 141 | </table> |
| 142 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
| 143 | <div·class="textblock"><p>The·B-spline·global·function·space·basis.·</p> | ||
| 118 | </div><!--·contents·--> | 144 | </div></div><!--·contents·--> |
| 119 | <!--·start·footer·part·--> | 145 | <!--·start·footer·part·--> |
| 120 | <hr·class="footer"/><address·class="footer"><small> | 146 | <hr·class="footer"/><address·class="footer"><small> |
| 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 147 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 122 | </small></address> | 148 | </small></address> |
| 123 | </body> | 149 | </body> |
| 124 | </html> | 150 | </html> |
| Offset 1, 42 lines modified | Offset 1, 65 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | 9 | bsplinebasis.hh·File·Reference | |
| 10 | The·B-spline·global·function·space·basis.·More... | ||
| 11 | #include·<array> | ||
| 12 | #include·<numeric> | ||
| 10 | #include·<dune/common/ | 13 | #include·<dune/common/dynmatrix.hh> |
| 11 | #include·<dune/common/hybridutilities.hh> | ||
| 12 | #include·<dune/common/indices.hh> | ||
| 13 | #include·<dune/functions/common/ | 14 | #include·<dune/localfunctions/common/localbasis.hh> |
| 15 | #include·<dune/common/diagonalmatrix.hh> | ||
| 14 | #include·<dune/functions/common/ | 16 | #include·<dune/localfunctions/common/localkey.hh> |
| 15 | #include·<dune/functions/common/t | 17 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> |
| 18 | #include·<dune/geometry/type.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/ | 19 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 20 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 17 | Go_to_the_source_code_of_this_file. | 22 | Go_to_the_source_code_of_this_file. |
| 18 | Classes | 23 | Classes |
| 19 | class· ·Dune::Functions::HierarchicVectorWrapper<_V,_CO_> | ||
| 20 | 24 | class· ·Dune::Functions::BSplineLocalBasis<_GV,_R_> | |
| 25 | ·······LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the | ||
| 26 | ········restriction·of·a·B-spline·patch·to·a·knot·span.·More... | ||
| 27 | |||
| 28 | class· ·Dune::Functions::BSplineLocalCoefficients<_dim_> | ||
| 29 | ·······Attaches·a·shape·function·to·an·entity.·More... | ||
| 30 | |||
| 31 | class· ·Dune::Functions::BSplineLocalInterpolation<_dim,_LB_> | ||
| 32 | ·······Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
| 33 | ········spline·basis·on·tensor-product·grids.·More... | ||
| 34 | |||
| 35 | class· ·Dune::Functions::BSplineLocalFiniteElement<_GV,_R_> | ||
| 36 | ·······LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
| 37 | ········spline·basis·on·tensor-product·grids.·More... | ||
| 38 | |||
| 39 | class· ·Dune::Functions::BSplinePreBasis<_GV_> | ||
| 40 | ·······Pre-basis·for·B-spline·basis.·More... | ||
| 41 | |||
| 42 | class· ·Dune::Functions::BSplineNode<_GV_> | ||
| 21 | 43 | ||
| 22 | Namespaces | 44 | Namespaces |
| 23 | namespace· ·Dune | 45 | namespace· ·Dune |
| 24 | 46 | ||
| 25 | namespace· ·Dune::Functions | 47 | namespace· ·Dune::Functions |
| 26 | 48 | ||
| 49 | namespace· ·Dune::Functions::BasisFactory | ||
| 27 | Functions | ||
| 28 | template<class·V·> | ||
| 29 | HierarchicVectorWrapper<·V·> ·Dune::Functions::hierarchicVector·(V·&v) | ||
| 30 | 50 | ||
| 31 | template<class·MultiIndex·,·class·V·,·std::enable_if_t<·models<·Concept:: | ||
| 32 | HasIndexAccess,·V,·MultiIndex·>(),·int·>·=·0> | ||
| 33 | ·························V·& ·Dune::Functions:: | ||
| 34 | 51 | Typedefs | |
| 52 | template<typename·GV·> | ||
| 53 | using ·Dune::Functions::BSplineBasis·=·DefaultGlobalBasis<·BSplinePreBasis<·GV | ||
| 54 | ·······>·> | ||
| 55 | ······A·global·B-spline·basis. | ||
| 35 | 56 | ||
| 36 | template<class·MultiIndex·,·class·V·,·std::enable_if_t<·not·models<·Concept:: | ||
| 37 | HasIndexAccess,·V,·MultiIndex·>(),·int·>·=·0> | ||
| 38 | HierarchicVectorWrapper<·V·> ·Dune::Functions:: | ||
| 39 | 57 | Functions | |
| 58 | auto ·Dune::Functions::BasisFactory::bSpline·(const·std::vector<·double·> | ||
| 59 | ······&knotVector,·unsigned·int·order,·bool·makeOpen=true) | ||
| 60 | ·····Create·a·pre-basis·factory·that·can·create·a·B-spline·pre-basis. | ||
| 40 | 61 | ||
| 62 | *****·Detailed·Description·***** | ||
| 63 | The·B-spline·global·function·space·basis. | ||
| 41 | =============================================================================== | 64 | =============================================================================== |
| 42 | ·····Generated·by [doxygen]·1.9.8 | 65 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·bsplinebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 294 lines modified | Offset 74, 1284 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">bsplinebasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"><a·class="line"·href="a01467.html#a0866963a2c58b8b1f281a50722b9f3da">····1</a></span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#warning·The·header·dune/functions/functionspacebases/hierarchicvectorwrapper.hh·is·deprecated·and·will·be·removed·after·release·2.10.</span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<numeric></span></div> |
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 96 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/dynmatrix.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 100 | <div·class="line"><a·id="l000 | 97 | <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> |
| 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/common/diagonalmatrix.hh></span></div> | ||
| 101 | <div·class="line"><a·id="l000 | 99 | <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> |
| 100 | <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> | ||
| 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
| 102 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span> | 106 | <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="a00224.html">Dune</a></div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span> | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> |
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="comment">//·Construct·default·coefficient·type·from·vector·and·multiindex·type</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·vector·type·itself·is·returned.</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·MultiIndex></div> | ||
| 117 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·A·maze·of·dependencies·between·the·different·parts·of·this.··We·need·a·few·forward·declarations</span></div> | ||
| 111 | <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> | ||
| 112 | <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="a01459.html">BSplineLocalFiniteElement</a>;</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>· | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 114 | <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> |
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 115 | <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="a01463.html">BSplinePreBasis</a>;</div> |
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>· | 116 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">using·</span>E0·=·<span·class="keyword">decltype</span>(std::declval<E>()[Dune::Indices::_0]);</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<E0,·size-1>::type;</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····};</div> | ||
| 125 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 118 | <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> | ||
| 119 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01467.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01467.html">BSplineLocalBasis</a></div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E></div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper<E,·0></div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····{</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">using·</span>type·=·E;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····};</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<V,·StaticSizeOrZero<MultiIndex>::value>::type;</div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> |
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 122 | <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="a01459.html">BSplineLocalFiniteElement</a><GV,R>;</div> |
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">enum</span>·{dim·=·GV::dimension};</div> | ||
| 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">public</span>:</div> | ||
| 136 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
| 128 | <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> | ||
| 129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01467.html#a0ec676c23af5cfb27d18260102af08ca">···60</a></span>··FieldMatrix<R,1,dim>·>·<a·class="code·hl_typedef"·href="a01467.html#a0ec676c23af5cfb27d18260102af08ca">Traits</a>;</div> | ||
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·This·tag·class·is·used·as·Coefficient·template·parameter</span></div> | ||
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·for·HierarchicVectorWrapper·if·the·coefficient·type·should</span></div> | ||
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="comment">//·be·deduced.</span></div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">struct·</span>DeducedCoefficientTag·{};</div> | ||
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>}·<span·class="comment">//·namespace·Imp</span></div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 131 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
| 132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01467.html#ab66fbd26ea34c67071da5c0fa9504191">···66</a></span>··<a·class="code·hl_function"·href="a01467.html#ab66fbd26ea34c67071da5c0fa9504191">BSplineLocalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01463.html">BSplinePreBasis<GV></a>&·preBasis,</div> | ||
| 133 | <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="a01459.html">BSplineLocalFiniteElement<GV,R></a>&·lFE)</div> | ||
| 134 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··:·preBasis_(preBasis),</div> | ||
| 135 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····lFE_(lFE)</div> | ||
| 136 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{}</div> | ||
| 137 | </div> | ||
| 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 139 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 140 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01467.html#a6f6f0d5f6137fc30c687a913a9794ef9">···75</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01467.html#a6f6f0d5f6137fc30c687a913a9794ef9">evaluateFunction</a>·(<span·class="keyword">const</span>·FieldVector<D,dim>&·in,</div> | ||
| 141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·························std::vector<FieldVector<R,1>·>&·out)<span·class="keyword">·const</span></div> | ||
| 142 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">··</span>{</div> | ||
| 143 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> | ||
| 144 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····scaling_.umv(in,globalIn);</div> | ||
| 145 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····preBasis_.evaluateFunction(globalIn,·out,·lFE_.currentKnotSpan_);</div> | ||
| 144 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··}</div> |
| 148 | </div> | ||
| 145 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
| 146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·CO=Imp::DeducedCoefficientTag></div> | ||
| 147 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="} | 150 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> |
| 151 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01467.html#a7bece6d4241e57b2f43e52f4427c7c7c">···87</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01467.html#a7bece6d4241e57b2f43e52f4427c7c7c">evaluateJacobian</a>·(<span·class="keyword">const</span>·FieldVector<D,dim>&·in,</div> | ||
| 152 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·························std::vector<FieldMatrix<D,1,dim>·>&·out)<span·class="keyword">·const</span></div> | ||
| Max diff block lines reached; 238563/263157 bytes (90.65%) of diff not shown. | |||
| Offset 1, 320 lines modified | Offset 1, 1476 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | bsplinebasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 14#include·<array> | ||
| 22 | 15#include·<numeric> | ||
| 23 | 16 | ||
| 21 | 10#ifndef·DUNE_FUNCTIONS_HIERARCHICVECTORWRAPPER_TEST_NO_DEPRECATION | ||
| 22 | 11#warning·The·header·dune/functions/functionspacebases/ | ||
| 23 | hierarchicvectorwrapper.hh·is·deprecated·and·will·be·removed·after·release | ||
| 24 | 2.10. | ||
| 25 | 12#endif | ||
| 26 | 13 | ||
| 27 | 1 | 24 | 18#include·<dune/common/dynmatrix.hh> |
| 25 | 19 | ||
| 28 | 15#include·<dune/common/hybridutilities.hh> | ||
| 29 | 16#include·<dune/common/indices.hh> | ||
| 30 | 17 | ||
| 31 | 18#include·<dune/functions/common/indexaccess.hh> | ||
| 32 | 19#include·<dune/functions/common/utility.hh> | ||
| 33 | 20#include·<dune/functions/common/ | 26 | 20#include·<dune/localfunctions/common/localbasis.hh> |
| 27 | 21#include·<dune/common/diagonalmatrix.hh> | ||
| 28 | 22#include·<dune/localfunctions/common/localkey.hh> | ||
| 29 | 23#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 30 | 24#include·<dune/geometry/type.hh> | ||
| 34 | 2 | 31 | 25#include·<dune/functions/functionspacebases/nodes.hh> |
| 32 | 26#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 33 | 27#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 35 | 22 | ||
| 36 | 23 | ||
| 37 | 24namespace·Dune·{ | ||
| 38 | 25namespace·Functions·{ | ||
| 39 | 26 | ||
| 40 | 27 | ||
| 41 | 28 | 34 | 28 |
| 42 | 29namespace· | 35 | 29namespace·Dune |
| 43 | 30 | 36 | 30{ |
| 44 | 31·//·Construct·default·coefficient·type·from·vector·and·multiindex·type | ||
| 45 | 32·//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the | ||
| 46 | 3 | 37 | 31namespace·Functions·{ |
| 38 | 32 | ||
| 39 | 33//·A·maze·of·dependencies·between·the·different·parts·of·this.·We·need·a·few | ||
| 40 | forward·declarations | ||
| 41 | 34template<typename·GV,·typename·R> | ||
| 42 | 35class·BSplineLocalFiniteElement; | ||
| 43 | 36 | ||
| 44 | 37template<typename·GV> | ||
| 45 | 38class·BSplinePreBasis; | ||
| 46 | 39 | ||
| 47 | 40 | ||
| 47 | 48 | 49template<class·GV,·class·R> | |
| 49 | 50class·BSplineLocalBasis | ||
| 50 | 51{ | ||
| 51 | 52·friend·class·BSplineLocalFiniteElement<GV,R>; | ||
| 48 | 35·struct·CoefficientType | ||
| 49 | 36·{ | ||
| 50 | 37·template<class·E,·std::size_t·size> | ||
| 51 | 38·struct·DefaultCoefficientTypeHelper | ||
| 52 | 39·{ | ||
| 53 | 40·using·E0·=·decltype(std::declval<E>()[Dune::Indices::_0]); | ||
| 54 | 41·using·type·=·typename·DefaultCoefficientTypeHelper<E0,·size-1>::type; | ||
| 55 | 42·}; | ||
| 56 | 43 | ||
| 57 | 44·template<class·E> | ||
| 58 | 45·struct·DefaultCoefficientTypeHelper<E,·0> | ||
| 59 | 46·{ | ||
| 60 | 47·using·type·=·E; | ||
| 61 | 48·}; | ||
| 62 | 49 | ||
| 63 | 50·using·type·=·typename·DefaultCoefficientTypeHelper<V, | ||
| 64 | StaticSizeOrZero<MultiIndex>::value>::type; | ||
| 65 | 51·}; | ||
| 66 | 52 | ||
| 67 | 53 | 52 | 53 |
| 53 | 54·typedef·typename·GV::ctype·D; | ||
| 54 | 55·enum·{dim·=·GV::dimension}; | ||
| 55 | 56public: | ||
| 56 | 57 | ||
| 57 | 59·typedef·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>, | ||
| 58 | 60·FieldMatrix<R,1,dim>·>·Traits; | ||
| 68 | 54 | ||
| 69 | 55·//·This·tag·class·is·used·as·Coefficient·template·parameter | ||
| 70 | 56·//·for·HierarchicVectorWrapper·if·the·coefficient·type·should | ||
| 71 | 57·//·be·deduced. | ||
| 72 | 58·struct·DeducedCoefficientTag·{}; | ||
| 73 | 59 | ||
| 74 | 60}·//·namespace·Imp | ||
| 75 | 61 | 59 | 61 |
| 76 | 62 | ||
| 77 | 63 | ||
| 78 | 86template<class·V,·class·CO=Imp::DeducedCoefficientTag> | ||
| 79 | 87class | ||
| 80 | 88[[deprecated("HierarchicVectorWrapper·is·deprecated·and·will·be·removed·after | ||
| 81 | release·2.10.")]] | ||
| 82 | 89HierarchicVectorWrapper | ||
| 83 | 90{ | ||
| 84 | 91·template<class·MultiIndex> | ||
| 85 | 92·using·Coefficient·=·std::conditional_t<·std::is_same_v<Imp:: | ||
| 86 | DeducedCoefficientTag,CO>·and·HasStaticSize_v<MultiIndex>, | ||
| 87 | 93·typename·Imp::CoefficientType<V,·MultiIndex>::type, | ||
| 88 | 94·CO | ||
| 89 | 95·>; | ||
| 90 | 96 | ||
| 91 | 97 | ||
| 92 | 60 | 66·BSplineLocalBasis(const·BSplinePreBasis<GV>&·preBasis, | |
| 61 | 67·const·BSplineLocalFiniteElement<GV,R>&·lFE) | ||
| 62 | 68·:·preBasis_(preBasis), | ||
| 63 | 69·lFE_(lFE) | ||
| 64 | 70·{} | ||
| 65 | 71 | ||
| 66 | 75·void·evaluateFunction·(const·FieldVector<D,dim>&·in, | ||
| Max diff block lines reached; 52954/57731 bytes (91.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·powerbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 55 lines modified | Offset 70, 61 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">powerbasis.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<me | 83 | <div·class="textblock"><code>#include·<dune/common/reservedvector.hh></code><br·/> |
| 83 | <code>#include·< | 84 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 84 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/indices.hh></code><br·/> |
| 85 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
| 87 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00008_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a0005 | 86 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a0 | 87 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00 | 88 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a00137_source.html">dune/functions/functionspacebases/dynamicpowerbasis.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a001 | 90 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a001 | 92 | <code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> |
| 93 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 94 | </div> | 94 | </div> |
| 95 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 96 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 98 | Classes</h2></td></tr> | ||
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01779.html">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·></a></td></tr> | ||
| 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·power·bases.··<a·href="a01779.html#details">More...</a><br·/></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | </table><table·class="memberdecls"> | ||
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 98 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
| 99 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 105 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 107 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 103 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 105 | Functions</h2></td></tr> | 115 | Functions</h2></td></tr> |
| 116 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"·id="r_ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·,·class·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga0d8eb549af76bc2563ab189e63668ee5">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·const·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·&)</td></tr> | ||
| 118 | <tr·class="memdesc:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 106 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"·id="r_a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·>·</td></tr> | ||
| 107 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a13b0c6bf02d744e7b2078d1a535b5211">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bv,·const·NTRE·&nodeToRangeEntry)</td></tr> | ||
| 108 | <tr·class="memdesc:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<br·/></td></tr> | ||
| 109 | <tr·class="separator:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"·id="r_ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·>·</td></tr> | ||
| 111 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae167dc7b5ace0ff9617a3205b05744b5">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bitVector)</td></tr> | ||
| 112 | <tr·class="memdesc:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<br·/></td></tr> | ||
| 113 | <tr·class="separator: | 119 | <tr·class="separator:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"·id="r_a2e34859322800ae26a292903910ef9f7"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·>·</td></tr> | ||
| 115 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a2e34859322800ae26a292903910ef9f7">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f)</td></tr> | ||
| 116 | <tr·class="mem | 120 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"·id="r_gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·>·</td></tr> |
| 121 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gab84b622cf7be16d0373640b6f0478eb0">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory)</td></tr> | ||
| 122 | <tr·class="memdesc:gab84b622cf7be16d0373640b6f0478eb0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 117 | <tr·class="separator: | 123 | <tr·class="separator:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 118 | </table> | 124 | </table> |
| 119 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
| 120 | <!--·start·footer·part·--> | 126 | <!--·start·footer·part·--> |
| 121 | <hr·class="footer"/><address·class="footer"><small> | 127 | <hr·class="footer"/><address·class="footer"><small> |
| 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 128 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 123 | </small></address> | 129 | </small></address> |
| 124 | </body> | 130 | </body> |
| Offset 1, 44 lines modified | Offset 1, 48 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | powerbasis.hh·File·Reference | ||
| 9 | interpolate.hh·File·Reference | ||
| 10 | #include·<memory> | ||
| 11 | #include·<vector> | ||
| 12 | #include·<dune/common/exceptions.hh> | ||
| 13 | #include·<dune/common/ | 10 | #include·<dune/common/reservedvector.hh> |
| 11 | #include·<dune/common/typeutilities.hh> | ||
| 14 | #include·<dune/common/ | 12 | #include·<dune/common/indices.hh> |
| 15 | #include·<dune/typetree/traversal.hh> | ||
| 16 | #include·<dune/functions/gridfunctions/gridviewfunction.hh> | ||
| 17 | #include·<dune/functions/common/ | 13 | #include·<dune/functions/common/utility.hh> |
| 18 | #include·<dune/functions/ | 14 | #include·<dune/functions/common/type_traits.hh> |
| 19 | #include·<dune/functions/ | 15 | #include·<dune/functions/functionspacebases/basistags.hh> |
| 16 | #include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/ | 17 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 18 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/ | 19 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> |
| 20 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 22 | Go_to_the_source_code_of_this_file. | 21 | Go_to_the_source_code_of_this_file. |
| 22 | Classes | ||
| 23 | class· ·Dune::Functions::PowerPreBasis<_IMS,_SPB,_C_> | ||
| 24 | ·······A·pre-basis·for·power·bases.·More... | ||
| 25 | |||
| 23 | Namespaces | 26 | Namespaces |
| 24 | namespace· ·Dune | 27 | namespace· ·Dune |
| 25 | 28 | ||
| 26 | namespace· ·Dune::Functions | 29 | namespace· ·Dune::Functions |
| 27 | 30 | ||
| 31 | namespace· ·Dune::Functions::BasisFactory | ||
| 32 | |||
| 33 | namespace· ·Dune::Functions::BasisBuilder | ||
| 34 | |||
| 28 | Functions | 35 | Functions |
| 29 | template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·> | ||
| 30 | void ·Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
| 31 | ······const·BV·&bv,·const·NTRE·&nodeToRangeEntry) | ||
| 32 | 36 | template<std::size_t·k,·class·ChildPreBasisFactory·,·class | |
| 37 | IndexMergingStrategy·> | ||
| 38 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 39 | ······&&childPreBasisFactory,·const·IndexMergingStrategy·&) | ||
| 40 | ·····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis. | ||
| 33 | 41 | ||
| 42 | template<std::size_t·k,·class·ChildPreBasisFactory·> | ||
| 43 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 44 | ······&&childPreBasisFactory) | ||
| 45 | ·····Create·a·factory·builder·that·can·build·a·PowerPreBasis. | ||
| 34 | template<class·B·,·class·C·,·class·F·,·class·BV·> | ||
| 35 | void ·Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
| 36 | ······const·BV·&bitVector) | ||
| 37 | ·····Interpolate·given·function·in·discrete·function·space. | ||
| 38 | |||
| 39 | template<class·B·,·class·C·,·class·F·> | ||
| 40 | void ·Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f) | ||
| 41 | ·····Interpolate·given·function·in·discrete·function·space. | ||
| 42 | 46 | ||
| 43 | =============================================================================== | 47 | =============================================================================== |
| 44 | ·····Generated·by [doxygen]·1.9.8 | 48 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·powerbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 294 lines modified | Offset 74, 197 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">powerbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00101.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00101.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<me | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
| 99 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00137.html">dune/functions/functionspacebases/dynamicpowerbasis.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a0 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00125.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a02936.html">dune/functions/backends/concepts.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00164.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 109 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 110 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 111 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 113 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·This·is·the·reusable·part·of·the·power·bases.·It·contains</span></div> | ||
| 114 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//</span></div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//···PowerPreBasis</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//</span></div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 116 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> |
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordtype">bool</span>·test(<span·class="keywordtype">int</span>)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;·}</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··}·allTrue_;</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
| 121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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> | ||
| 122 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01779.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01779.html">PowerPreBasis</a>·:</div> | ||
| 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01579.html">DynamicPowerPreBasis</a><IMS,SPB></div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">operator</span>·bool()<span·class="keyword">·const</span></div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">··</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·I></div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">const</span>·AllTrueBitSetVector&·operator[](<span·class="keyword">const</span>·I&)<span·class="keyword">·const</span></div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">··</span>{</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··}</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·SP></div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">void</span>·resize(<span·class="keyword">const</span>·SP&)<span·class="keyword">·const</span></div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">··</span>{}</div> | ||
| 135 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> |
| 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01579.html">Base</a>·=·<a·class="code·hl_class"·href="a01579.html">DynamicPowerPreBasis<IMS,SPB></a>;</div> | ||
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span> | 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> |
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01779.html#a419106855686e36864eea0100d8e618e">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01779.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>·=·SPB;</div> | ||
| 139 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
| 132 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01779.html#a6b8240fbf35a7a0111f0376b12dc7653">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01755.html">Node</a>·=·<a·class="code·hl_class"·href="a01755.html">PowerBasisNode<typename·SubPreBasis::Node,·C></a>;</div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·This·helper·function·implements·the·restriction·of·some·given·function·of·type·F.</span></div> | ||
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·The·restriction·is·a·simple·callback·that·is·applied·to·the·values·of·the</span></div> | ||
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·function·and·the·values·of·its·derivative.</span></div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·Restriction></div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span>ComponentFunction</div> | ||
| 145 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
| 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">p | 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01779.html#a1f0855468818ec475153cb0755cb7ab8">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01779.html#a1f0855468818ec475153cb0755cb7ab8">size_type</a>·=·<span·class="keyword">typename</span>·[·...·truncated·by·diffoscope;·len:·100,·SHA:·a82e6c24db7c5f75c9e05cfe290085c515d11c91363d0f21969eb4a5a3a7270d·...·]</div> |
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01779.html#a1c74f8319f302dc61ba704be6489cf37">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01779.html#a1c74f8319f302dc61ba704be6489cf37">IndexMergingStrategy</a>·=·IMS;</div> | ||
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··ComponentFunction(F·f,·Restriction·restriction)·:</div> | ||
| 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····f_(std::move(f)),</div> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····restriction_(std::move(restriction))</div> | ||
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{}</div> | ||
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Domain></div> | ||
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">auto</span>·operator()(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">··</span>{</div> | ||
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·restriction_(f_(x));</div> | ||
| 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div> | ||
| 158 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01779.html#ae9064a255245dcd3fbd5d1f39aa9f149">···70</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="a01779.html#ae9064a255245dcd3fbd5d1f39aa9f149">children</a>·=·{};</div> | ||
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">friend</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·ComponentFunction&·cf)</div> | ||
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{</div> | ||
| 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="comment">//·This·provides·support·for·capturing·the·derivative·of·the·function·by·reference</span></div> | ||
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//·using·forwardCapture·for·perfect·forwarding·capture.·If·the·function·caches·its</span></div> | ||
| 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·derivative,·this·saves·a·potentially·costly·copy.</span></div> | ||
| Max diff block lines reached; 49938/77157 bytes (64.72%) of diff not shown. | |||
| Offset 1, 323 lines modified | Offset 1, 243 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | powerbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<memory> | ||
| 22 | 11#include·<vector> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/exceptions.hh> | ||
| 25 | 1 | 21 | 10#include·<dune/common/reservedvector.hh> |
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 26 | 1 | 23 | 12#include·<dune/common/indices.hh> |
| 24 | 13 | ||
| 27 | 16 | ||
| 28 | 17#include·<dune/typetree/traversal.hh> | ||
| 29 | 18 | ||
| 30 | 19#include·<dune/functions/gridfunctions/gridviewfunction.hh> | ||
| 31 | 25 | 14#include·<dune/functions/common/utility.hh> | |
| 32 | 21 | ||
| 33 | 22#include·<dune/functions/backends/concepts.hh> | ||
| 34 | 26 | 15#include·<dune/functions/common/type_traits.hh> | |
| 27 | 16#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 28 | 17#include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 35 | 29 | 18#include·<dune/functions/functionspacebases/nodes.hh> | |
| 30 | 19#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 36 | 2 | 31 | 20#include·<dune/functions/functionspacebases/containerdescriptors.hh> |
| 37 | 2 | 32 | 21#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24 | ||
| 38 | 2 | 36 | 25namespace·Dune·{ |
| 39 | 2 | 37 | 26namespace·Functions·{ |
| 38 | 27 | ||
| 39 | 28 | ||
| 40 | 29 | 40 | 29/ |
| 41 | 30namespace·Imp·{ | ||
| 42 | 31 | ||
| 43 | 32struct·AllTrueBitSetVector | ||
| 44 | 33{ | ||
| 45 | 34·struct·AllTrueBitSet | ||
| 46 | 35·{ | ||
| 47 | 36·bool·test(int)·const·{·return·true;·} | ||
| 48 | 41 | /·***************************************************************************** | |
| 42 | 30//·This·is·the·reusable·part·of·the·power·bases.·It·contains | ||
| 43 | 31// | ||
| 44 | 32//·PowerPreBasis | ||
| 45 | 33// | ||
| 46 | 34//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 47 | shared | ||
| 48 | 35//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 49 | 36//·and·can·be·used·without·a·global·basis. | ||
| 50 | 37/ | ||
| 51 | /·***************************************************************************** | ||
| 49 | 38 | 52 | 38 |
| 53 | 49template<class·IMS,·class·SPB,·std::size_t·C> | ||
| 54 | 50class·PowerPreBasis·: | ||
| 55 | 51·public·DynamicPowerPreBasis<IMS,SPB> | ||
| 50 | 39·operator·bool()·const | ||
| 51 | 40·{ | ||
| 52 | 41·return·true; | ||
| 53 | 42·} | ||
| 54 | 43 | ||
| 55 | 44·template<class·I> | ||
| 56 | 45·const·AllTrueBitSetVector&·operator[](const·I&)·const | ||
| 57 | 46·{ | ||
| 58 | 47·return·*this; | ||
| 59 | 48·} | ||
| 60 | 49 | ||
| 61 | 50·template<class·SP> | ||
| 62 | 51·void·resize(const·SP&)·const | ||
| 63 | 52 | 56 | 52{ |
| 64 | 53 | ||
| 65 | 54}; | ||
| 66 | 5 | 57 | 53·using·Base·=·DynamicPowerPreBasis<IMS,SPB>; |
| 58 | 54 | ||
| 59 | 55public: | ||
| 67 | 56 | 60 | 56 |
| 61 | 58·using·SubPreBasis·=·SPB; | ||
| 62 | 59 | ||
| 63 | 61·using·Node·=·PowerBasisNode<typename_SubPreBasis::Node,_C>; | ||
| 64 | 62 | ||
| 65 | 64·using·size_type·=·typename·Base::size_type; | ||
| 68 | 57 | ||
| 69 | 58//·This·helper·function·implements·the·restriction·of·some·given·function·of | ||
| 70 | type·F. | ||
| 71 | 59//·The·restriction·is·a·simple·callback·that·is·applied·to·the·values·of·the | ||
| 72 | 60//·function·and·the·values·of·its·derivative. | ||
| 73 | 61template<class·F,·class·Restriction> | ||
| 74 | 62class·ComponentFunction | ||
| 75 | 63{ | ||
| 76 | 64public: | ||
| 77 | 65 | 66 | 65 |
| 78 | 66·ComponentFunction(F·f,·Restriction·restriction)·: | ||
| 79 | 67·f_(std::move(f)), | ||
| 80 | 68·restriction_(std::move(restriction)) | ||
| 81 | 69·{} | ||
| 82 | 70 | ||
| 83 | 71·template<class·Domain> | ||
| 84 | 72·auto·operator()(const·Domain&·x)·const | ||
| 85 | 73·{ | ||
| 86 | 74·return·restriction_(f_(x)); | ||
| 87 | 75·} | ||
| 88 | 76 | ||
| 89 | 67 | 67·using·IndexMergingStrategy·=·IMS; | |
| 68 | 68 | ||
| 69 | 70·inline·static·constexpr·std::integral_constant<std::size_t,C>·children·=·{}; | ||
| 70 | 71 | ||
| 71 | 77·template<class...·SFArgs, | ||
| 72 | 78·disableCopyMove<PowerPreBasis,·SFArgs...>·=·0, | ||
| 73 | 79·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
| 74 | 80·explicit·PowerPreBasis(SFArgs&&...·sfArgs)·: | ||
| 75 | 81·Base(std::size_t(C),·std::forward<SFArgs>(sfArgs)...) | ||
| Max diff block lines reached; 12485/17429 bytes (71.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·nodes.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 54 lines modified | Offset 73, 60 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">nodes.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<cassert></code><br·/> |
| 84 | <code>#include·< | 84 | <code>#include·<memory></code><br·/> |
| 85 | <code>#include·<dune/common/indices.hh></code><br·/> | 85 | <code>#include·<dune/common/indices.hh></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 91 | <code>#include·< | 86 | <code>#include·<dune/typetree/leafnode.hh></code><br·/> |
| 87 | <code>#include·<dune/typetree/powernode.hh></code><br·/> | ||
| 88 | <code>#include·<dune/typetree/dynamicpowernode.hh></code><br·/> | ||
| 89 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
| 90 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
| 91 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
| 92 | </div> | 92 | </div> |
| 93 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 94 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01747.html">Dune::Functions::BasisNodeMixin</a></td></tr> | ||
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01751.html">Dune::Functions::LeafBasisNode</a></td></tr> | ||
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01755.html">Dune::Functions::PowerBasisNode<·T,·n·></a></td></tr> | ||
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01759.html">Dune::Functions::DynamicPowerBasisNode<·T·></a></td></tr> |
| 98 | <tr·class=" | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01763.html">Dune::Functions::CompositeBasisNode<·T·></a></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 109 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 110 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 112 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 115 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 111 | Functions</h2></td></tr> | 116 | Functions</h2></td></tr> |
| 117 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"·id="r_a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
| 118 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a475e15e64943b3461f2f87a7805a3c8e">Dune::Functions::clearSize</a>·(Tree·&tree,·std::size_t·offset)</td></tr> | ||
| 112 | <tr·class="memitem:gad1b5c7a712be185869dd34172f19dae1"·id="r_gad1b5c7a712be185869dd34172f19dae1"><td·class="memTemplParams"·colspan="2">template<class·ChildPreBasisFactory·,·class·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·>·</td></tr> | ||
| 113 | <tr·class="memitem:gad1b5c7a712be185869dd34172f19dae1"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gad1b5c7a712be185869dd34172f19dae1">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·std::size_t·k,·const·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·&)</td></tr> | ||
| 114 | <tr·class="memdesc:gad1b5c7a712be185869dd34172f19dae1"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 115 | <tr·class="separator: | 119 | <tr·class="separator:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 120 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"·id="r_a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplParams"·colspan="2">template<typename·Tree·,·typename·Entity·>·</td></tr> | ||
| 121 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a4dc892a209e0f55bc65eadaf2c808454">Dune::Functions::bindTree</a>·(Tree·&tree,·const·Entity·&entity,·std::size_t·offset=0)</td></tr> | ||
| 116 | <tr·class="memitem:ga6d03224fd86e6f56642f98313a6adf7d"·id="r_ga6d03224fd86e6f56642f98313a6adf7d"><td·class="memTemplParams"·colspan="2">template<class·ChildPreBasisFactory·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga6d03224fd86e6f56642f98313a6adf7d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga6d03224fd86e6f56642f98313a6adf7d">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·std::size_t·k)</td></tr> | ||
| 118 | <tr·class="memdesc:ga6d03224fd86e6f56642f98313a6adf7d"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 119 | <tr·class="separator: | 122 | <tr·class="separator:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 123 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"·id="r_a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
| 124 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a5e19b913a34ad68144f4fd873c51b977">Dune::Functions::initializeTree</a>·(Tree·&tree,·std::size_t·treeIndexOffset=0)</td></tr> | ||
| 125 | <tr·class="separator:a5e19b913a34ad68144f4fd873c51b977"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | </table> | 126 | </table> |
| 121 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
| 122 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
| 123 | <hr·class="footer"/><address·class="footer"><small> | 129 | <hr·class="footer"/><address·class="footer"><small> |
| 124 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 125 | </small></address> | 131 | </small></address> |
| 126 | </body> | 132 | </body> |
| Offset 2, 42 lines modified | Offset 2, 48 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | dynamicpowerbasis.hh·File·Reference | ||
| 10 | #include·<dune/common/reservedvector.hh> | ||
| 11 | 9 | nodes.hh·File·Reference | |
| 10 | #include·<cassert> | ||
| 11 | #include·<memory> | ||
| 12 | #include·<dune/common/indices.hh> | 12 | #include·<dune/common/indices.hh> |
| 13 | #include·<dune/functions/common/utility.hh> | ||
| 14 | #include·<dune/functions/common/type_traits.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 18 | #include·<dune/ | 13 | #include·<dune/typetree/leafnode.hh> |
| 14 | #include·<dune/typetree/powernode.hh> | ||
| 15 | #include·<dune/typetree/dynamicpowernode.hh> | ||
| 16 | #include·<dune/typetree/compositenode.hh> | ||
| 17 | #include·<dune/typetree/traversal.hh> | ||
| 18 | #include·<dune/typetree/visitor.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | 20 | Classes |
| 21 | class· ·Dune::Functions::BasisNodeMixin | ||
| 22 | |||
| 23 | class· ·Dune::Functions::LeafBasisNode | ||
| 24 | |||
| 25 | class· ·Dune::Functions::PowerBasisNode<_T,_n_> | ||
| 26 | |||
| 21 | class· ·Dune::Functions::DynamicPower | 27 | class· ·Dune::Functions::DynamicPowerBasisNode<_T_> |
| 22 | | 28 | |
| 29 | class· ·Dune::Functions::CompositeBasisNode<_T_> | ||
| 23 | 30 | ||
| 24 | Namespaces | 31 | Namespaces |
| 25 | namespace· ·Dune | 32 | namespace· ·Dune |
| 26 | 33 | ||
| 27 | namespace· ·Dune::Functions | 34 | namespace· ·Dune::Functions |
| 28 | 35 | ||
| 29 | namespace· ·Dune::Functions::BasisFactory | ||
| 30 | |||
| 31 | Functions | 36 | Functions |
| 37 | template<typename·Tree·> | ||
| 38 | void ·Dune::Functions::clearSize·(Tree·&tree,·std::size_t·offset) | ||
| 32 | template<class·ChildPreBasisFactory·,·class·IndexMergingStrategy·> | ||
| 33 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 34 | ······&&childPreBasisFactory,·std::size_t·k,·const·IndexMergingStrategy·&) | ||
| 35 | ·····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis. | ||
| 36 | 39 | ||
| 37 | template<class·ChildPreBasisFactory·> | ||
| 38 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 39 | ······&&childPreBasisFactory,·std::size_t·k) | ||
| 40 | 40 | template<typename·Tree·,·typename·Entity·> | |
| 41 | void ·Dune::Functions::bindTree·(Tree·&tree,·const·Entity·&entity,·std::size_ | ||
| 42 | ······t·offset=0) | ||
| 43 | |||
| 44 | template<typename·Tree·> | ||
| 45 | void ·Dune::Functions::initializeTree·(Tree·&tree,·std::size_ | ||
| 46 | ······t·treeIndexOffset=0) | ||
| 41 | 47 | ||
| 42 | =============================================================================== | 48 | =============================================================================== |
| 43 | ·····Generated·by [doxygen]·1.9.8 | 49 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·nodes.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 513 lines modified | Offset 74, 400 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">nodes.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00104.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00104.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cassert></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<memory></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 94 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
| 95 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·< | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/leafnode.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·< | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/typetree/powernode.hh></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·< | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/dynamicpowernode.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·< | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·< | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l0002 | 104 | <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="a00224.html">Dune</a>·{</div> |
| 106 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">namespace·</span>Functions·{</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">namespace·</span>Impl·{</div> | ||
| 108 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·This·is·the·reusable·part·of·the·dynamic·power·bases.·It·contains</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class=" | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······<span·class="keyword">struct·</span>ClearSizeVisitor</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class=" | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> |
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
| 113 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······{</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 118 | <div·class="line"><a·id="l0003 | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class</span>·IMS,·<span·class="keyword">class</span>·SPB></div> | ||
| 120 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> | ||
| 121 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath·treePath)</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········{</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··········leaf(node,treePath);</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··········node.setSize(0);</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········}</div> | ||
| 122 | <div·class="line"><a·id="l0004 | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 123 | <div·class="line"><a·id="l0004 | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath·treePath)</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········{</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··········node.setOffset(offset_);</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········}</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········ClearSizeVisitor(std::size_t·offset)</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··········:·offset_(offset)</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········{}</div> | ||
| 124 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 125 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword"> | 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keyword">const</span>·std::size_t·offset_;</div> |
| 126 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 127 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······};</div> |
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 129 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·Entity></div> |
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keyword">struct·</span>BindVisitor</div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
| 130 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······{</div> |
| 131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·=·std::size_t;</div> | ||
| 132 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 133 | <div·class="line"><a·id="l0006 | 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath)</div> | ||
| 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········{</div> |
| 135 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··········node.setOffset(offset_);</div> |
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········}</div> | ||
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01579.html#a4777f6061409c22e48bcd685c3c3d698">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01579.html#a4777f6061409c22e48bcd685c3c3d698">maxMultiIndexSize</a>·=·SubPreBasis::maxMultiIndexSize·+·isBlocked;</div> | ||
| 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01579.html#afc84d993bba25c9429877c76e8a722e5">···69</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01579.html#afc84d993bba25c9429877c76e8a722e5">minMultiIndexSize</a>·=·SubPreBasis::minMultiIndexSize·+·isBlocked;</div> | ||
| 139 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keywordtype">void</span>·post(Node&·node,·TreePath)</div> | ||
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········{</div> | ||
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··········node.setSize(offset_·-·node.offset());</div> | ||
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········}</div> | ||
| 140 | <div·class="line"><a·id="l0007 | 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 141 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> | ||
| 142 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····disableCopyMove<<a·class="code·hl_class"·href="a01579.html">DynamicPowerPreBasis</a>,·SFArgs...>·=·0,</div> | ||
| 143 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_typedef"·href="a00221.html#ga80c230cc3d1605429839d9a6076af5ee">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01579.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
| 144 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
| 145 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01579.html#a0fe2f62daa16567953f11aca5727df00">···80</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01579.html#a0fe2f62daa16567953f11aca5727df00">DynamicPowerPreBasis</a>(std::size_t·c,·SFArgs&&...·sfArgs)·:</div> | ||
| 146 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a01579.html#aee27ec153820ad6c61016bfa6476eae0">children_</a>(c),</div> | ||
| 147 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
| 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath)</div> | ||
| 158 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div> | ||
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··········node.setOffset(offset_);</div> | ||
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········node.bind(entity_);</div> | ||
| 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········offset_·+=·node.size();</div> | ||
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········}</div> | ||
| 148 | <div·class="line"><a·id="l0008 | 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
| 149 | <div·class="line"><a·id="l0008 | 164 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········BindVisitor(<span·class="keyword">const</span>·Entity&·entity,·std::size_t·offset·=·0)</div> |
| Max diff block lines reached; 124420/148974 bytes (83.52%) of diff not shown. | |||
| Offset 1, 605 lines modified | Offset 1, 402 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | nodes.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/reservedvector.hh> | ||
| 22 | 1 | 21 | 10#include·<cassert> |
| 22 | 11#include·<memory> | ||
| 23 | 12 | ||
| 23 | 1 | 24 | 13#include·<dune/common/indices.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/typetree/leafnode.hh> | ||
| 27 | 16#include·<dune/typetree/powernode.hh> | ||
| 28 | 17#include·<dune/typetree/dynamicpowernode.hh> | ||
| 29 | 18#include·<dune/typetree/compositenode.hh> | ||
| 30 | 19#include·<dune/typetree/traversal.hh> | ||
| 31 | 20#include·<dune/typetree/visitor.hh> | ||
| 24 | 13 | ||
| 25 | 14#include·<dune/functions/common/utility.hh> | ||
| 26 | 15#include·<dune/functions/common/type_traits.hh> | ||
| 27 | 16#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 28 | 17#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 29 | 18#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 30 | 19#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 31 | 20 | ||
| 32 | 21 | 32 | 21 |
| 33 | 22 | ||
| 34 | 2 | 33 | 22namespace·Dune·{ |
| 35 | 2 | 34 | 23·namespace·Functions·{ |
| 35 | 24 | ||
| 36 | 25 | 36 | 25 |
| 37 | 26 | 37 | 26·namespace·Impl·{ |
| 38 | 27 | 38 | 27 |
| 39 | /·***************************************************************************** | ||
| 40 | 28//·This·is·the·reusable·part·of·the·dynamic·power·bases.·It·contains | ||
| 41 | 29// | ||
| 42 | 30//·DynamicPowerPreBasis | ||
| 43 | 31// | ||
| 44 | 32//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 45 | shared | ||
| 46 | 33//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 47 | 34//·and·can·be·used·without·a·global·basis. | ||
| 48 | 35/ | ||
| 49 | /·***************************************************************************** | ||
| 50 | 36 | ||
| 51 | 46template<class·IMS,·class·SPB> | ||
| 52 | 47class·DynamicPowerPreBasis | ||
| 53 | 48{ | ||
| 54 | 49·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
| 55 | 39 | 28 | |
| 40 | 29·struct·ClearSizeVisitor | ||
| 41 | 30·:·public·TypeTree::TreeVisitor | ||
| 42 | 31·,·public·TypeTree::DynamicTraversal | ||
| 43 | 32·{ | ||
| 44 | 33 | ||
| 45 | 34·template<typename·Node,·typename·TreePath> | ||
| 46 | 35·void·pre(Node&·node,·TreePath·treePath) | ||
| 47 | 36·{ | ||
| 48 | 37·leaf(node,treePath); | ||
| 49 | 38·node.setSize(0); | ||
| 50 | 39·} | ||
| 51 | 40 | ||
| 52 | 41·template<typename·Node,·typename·TreePath> | ||
| 53 | 42·void·leaf(Node&·node,·TreePath·treePath) | ||
| 54 | 43·{ | ||
| 55 | 44·node.setOffset(offset_); | ||
| 56 | 45·} | ||
| 57 | 46 | ||
| 58 | 47·ClearSizeVisitor(std::size_t·offset) | ||
| 59 | 48·:·offset_(offset) | ||
| 60 | 49·{} | ||
| 56 | 50 | 61 | 50 |
| 57 | 51 | 62 | 51·const·std::size_t·offset_; |
| 58 | 52 | 63 | 52 |
| 59 | 5 | 64 | 53·}; |
| 65 | 54 | ||
| 60 | 55 | 66 | 55 |
| 61 | 57·using·GridView·=·typename·SPB::GridView; | ||
| 62 | 58 | ||
| 63 | 67 | 56·template<typename·Entity> | |
| 68 | 57·struct·BindVisitor | ||
| 69 | 58·:·public·TypeTree::TreeVisitor | ||
| 70 | 59·,·public·TypeTree::DynamicTraversal | ||
| 71 | 60·{ | ||
| 64 | 61 | 72 | 61 |
| 65 | 63·using·IndexMergingStrategy·=·IMS; | ||
| 66 | 64 | ||
| 67 | 6 | 73 | 62·template<typename·Node,·typename·TreePath> |
| 74 | 63·void·pre(Node&·node,·TreePath) | ||
| 75 | 64·{ | ||
| 76 | 65·node.setOffset(offset_); | ||
| 77 | 66·} | ||
| 68 | 67 | 78 | 67 |
| 69 | 68·static·constexpr·size_type·maxMultiIndexSize·=·SubPreBasis:: | ||
| 70 | maxMultiIndexSize·+·isBlocked; | ||
| 71 | 69·static·constexpr·size_type·minMultiIndexSize·=·SubPreBasis:: | ||
| 72 | minMultiIndexSize·+·isBlocked; | ||
| 73 | 70·static·constexpr·size_type·multiIndexBufferSize·=·SubPreBasis:: | ||
| 74 | multiIndexBufferSize·+·isBlocked; | ||
| 75 | 71 | ||
| 76 | 77·template<class...·SFArgs, | ||
| 77 | 78·disableCopyMove<DynamicPowerPreBasis,·SFArgs...>·=·0, | ||
| 78 | 79·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
| 79 | 80·explicit·DynamicPowerPreBasis(std::size_t·c,·SFArgs&&...·sfArgs)·: | ||
| 80 | 81·children_(c), | ||
| 81 | 82·subPreBasis_(std::forward<SFArgs>(sfArgs)...) | ||
| 82 | 83·{ | ||
| 83 | 84·static_assert(models<Concept::PreBasis<GridView>,·SubPreBasis>(), | ||
| 84 | "Subprebasis·passed·to·DynamicPowerPreBasis·does·not·model·the·PreBasis | ||
| 85 | 79 | 68·template<typename·Node,·typename·TreePath> | |
| 80 | 69·void·post(Node&·node,·TreePath) | ||
| 81 | 70·{ | ||
| Max diff block lines reached; 26608/31239 bytes (85.18%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·periodicbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 53 lines modified | Offset 73, 51 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">periodicbasis.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<utility></code><br·/> |
| 84 | <code>#include·< | 84 | <code>#include·<type_traits></code><br·/> |
| 85 | <code>#include·<limits></code><br·/> | ||
| 85 | <code>#include·< | 86 | <code>#include·<set></code><br·/> |
| 87 | <code>#include·<vector></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 88 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code><br·/> | ||
| 89 | </div> | 91 | </div> |
| 90 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 91 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 93 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
| 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01767.html">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet</a></td></tr> |
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Container·storing·identified·indices·for·a·periodic·basis.··<a·href="a01767.html#details">More...</a><br·/></td></tr> | ||
| 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 98 | Namespaces</h2></td></tr> | 101 | Namespaces</h2></td></tr> |
| 99 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 102 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 104 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:a00235"·id="r_a00235"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00235.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
| 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 103 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 105 | Functions</h2></td></tr> | 112 | Functions</h2></td></tr> |
| 113 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"·id="r_ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisIndicator·,·class·PIS·>·</td></tr> | ||
| 114 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga797d4c1dfcfe6b0a98de9284c4f6b5e3">Dune::Functions::BasisFactory::Experimental::periodic</a>·(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet)</td></tr> | ||
| 115 | <tr·class="memdesc:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·periodic·pre-basis.··<br·/></td></tr> | ||
| 106 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"·id="r_a17589fdc18b015644525c7ad037e6441"><td·class="memTemplParams"·colspan="2">template<class·RB·,·class·TP·>·</td></tr> | ||
| 107 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a17589fdc18b015644525c7ad037e6441">Dune::Functions::SubspaceBasis</a>·(const·RB·&,·const·TP)·->·<a·class="el"·href="a01859.html">SubspaceBasis</a><·RB,·TP·></td></tr> | ||
| 108 | <tr·class="separator:a17589fdc18b015644525c7ad037e6441"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"·id="r_ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplParams"·colspan="2">template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·>·</td></tr> | ||
| 110 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae3d703ee72289b3936eb24255fc52694">Dune::Functions::SubspaceBasis</a>·(const·<a·class="el"·href="a01859.html">SubspaceBasis</a><·RootRootBasis,·InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·<a·class="el"·href="a01859.html">SubspaceBasis</a><·std::decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP,·OuterTP·>·></td></tr> | ||
| 111 | <tr·class="separator:ae3d703ee72289b3936eb24255fc52694"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"·id="r_a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
| 113 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a9effbb98da0e9104a60979fa734c1220">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath)</td></tr> | ||
| 114 | <tr·class="memdesc:a9effbb98da0e9104a60979fa734c1220"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01859.html">SubspaceBasis</a>·from·a·root·basis·and·a·prefixPath.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:a9effbb98da0e9104a60979fa734c1220"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"·id="r_abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
| 117 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#abb8781cf3fb98ca29446be66bcf65ac4">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·PrefixTreeIndices·&...·prefixTreeIndices)</td></tr> | ||
| 118 | <tr·class="separator:a | 116 | <tr·class="separator:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 119 | </table> | 117 | </table> |
| 120 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| 121 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
| 122 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
| 123 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 124 | </small></address> | 122 | </small></address> |
| 125 | </body> | 123 | </body> |
| Offset 2, 45 lines modified | Offset 2, 38 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | periodicbasis.hh·File·Reference | |
| 10 | #include·<dune/common/reservedvector.hh> | ||
| 11 | #include·<dune/common/typeutilities.hh> | ||
| 12 | #include·<dune/common/concept.hh> | ||
| 13 | #include·<dune/functions/common/type_traits.hh> | ||
| 14 | #include·< | 10 | #include·<utility> |
| 11 | #include·<type_traits> | ||
| 12 | #include·<limits> | ||
| 13 | #include·<set> | ||
| 14 | #include·<vector> | ||
| 15 | #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/transformedindexbasis.hh> | ||
| 16 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 17 | Classes | 19 | Classes |
| 18 | class· ·Dune::Functions:: | 20 | class· ·Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet |
| 21 | ·······Container·storing·identified·indices·for·a·periodic·basis.·More... | ||
| 19 | 22 | ||
| 20 | Namespaces | 23 | Namespaces |
| 21 | namespace· ·Dune | 24 | namespace· ·Dune |
| 22 | 25 | ||
| 23 | namespace· ·Dune::Functions | 26 | namespace· ·Dune::Functions |
| 24 | 27 | ||
| 28 | namespace· ·Dune::Functions::BasisFactory | ||
| 29 | |||
| 30 | namespace· ·Dune::Functions::BasisFactory::Experimental | ||
| 31 | |||
| 25 | Functions | 32 | Functions |
| 33 | template<class·RawPreBasisIndicator·,·class·PIS·> | ||
| 34 | auto ·Dune::Functions::BasisFactory::Experimental::periodic | ||
| 35 | ······(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet) | ||
| 36 | ·····Create·a·pre-basis·factory·that·can·create·a·periodic·pre-basis. | ||
| 26 | template<class·RB·,·class·TP·> | ||
| 27 | ···· ·Dune::Functions::SubspaceBasis·(const·RB·&,·const·TP)·->·SubspaceBasis< | ||
| 28 | ······RB,·TP·> | ||
| 29 | |||
| 30 | template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·> | ||
| 31 | ···· ·Dune::Functions::SubspaceBasis·(const·SubspaceBasis<·RootRootBasis, | ||
| 32 | ······InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std:: | ||
| 33 | ······decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP, | ||
| 34 | ······OuterTP·>·> | ||
| 35 | |||
| 36 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
| 37 | auto ·Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
| 38 | ······TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath) | ||
| 39 | ·····Create·SubspaceBasis·from·a·root·basis·and·a·prefixPath. | ||
| 40 | |||
| 41 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
| 42 | auto ·Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
| 43 | ······PrefixTreeIndices·&...·prefixTreeIndices) | ||
| 44 | 37 | ||
| 45 | =============================================================================== | 38 | =============================================================================== |
| 46 | ·····Generated·by [doxygen]·1.9.8 | 39 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·periodicbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 210 lines modified | Offset 74, 226 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">periodicbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00107.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00107.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<utility></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<limits></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<set></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 100 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00125.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00182.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 102 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>BasisFactory·{</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class=" | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are</span></div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·not·completely·sure·yet·whether·we·like·it.··We·reserve·the·right·to</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·modify·it·without·advance·warning.··Use·at·your·own·risk!</span></div> | ||
| 108 | <div·class="line"><a·id="l0002 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·Inner,·<span·class="keyword">class</span>...·Outer></div> | ||
| 110 | <div·class=" | 111 | <div·class="foldopen"·id="foldopen00029"·data-start="{"·data-end="}"> |
| 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00235.html">···29</a></span><span·class="keyword">namespace·</span>Experimental·{</div> | ||
| 111 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat(inner._data,·outer._data));</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>· | 114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">using·</span>JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std::declval<InnerTP>(),·std::declval<OuterTP>()))>;</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>}</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·TP></div> | ||
| 123 | <div·class="foldopen"·id="foldopen0004 | 115 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> |
| 124 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01767.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01767.html">PeriodicIndexSet</a></div> |
| 125 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>;</div> | ||
| 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> | 119 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> |
| 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 120 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
| 121 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
| 122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01767.html#a97911b25f2c1cf61ab48a667ae448b7e">···52</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01767.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIndexPair</a>(std::size_t·a,·std::size_t·b)</div> | ||
| 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB;</div> | ||
| 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01859.html#a00d424aa40e6c051f610a308317cc57e">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·<span·class="keyword">typename</span>·RootBasis::LocalView;</div> | ||
| 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01859.html#a5dcb19c46539c51ce32a6fdc55738387">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>·=·TP;</div> | ||
| 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01859.html#a6e7dd708494382dad7cc288ce6cfe6b8">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>·=·<span·class="keyword">typename</span>·RootBasis::GridView;</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> |
| 136 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">if</span>·(a>b)</div> |
| 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······std::swap(a,b);</div> | ||
| 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">if</span>·(a==b)</div> | ||
| 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keywordflow">return</span>;</div> | ||
| 128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····indexPairSet_.insert(std::make_pair(a,b));</div> | ||
| 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> | ||
| 130 | </div> | ||
| 137 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 132 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
| 133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01767.html#ace4a53d881dc7e6add6b0fd05a394738">···61</a></span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·<a·class="code·hl_function"·href="a01767.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>()<span·class="keyword">·const</span></div> | ||
| 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01859.html#ad328a135f42bb2a6b9bf60983f61f254">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·=·std::size_t;</div> | ||
| 139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01859.html#a616eaadc3d1d8706041ab1b0d03510bc">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01863.html">LocalView</a>·=·<a·class="code·hl_class"·href="a01863.html">SubspaceLocalView<RootLocalView,·PrefixPath></a>;</div> | ||
| 141 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">··</span>{</div> |
| 142 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01859.html#a330b42b7087eca7afb92ec40eba36440">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a330b42b7087eca7afb92ec40eba36440">SizePrefix</a>·=·<span·class="keyword">typename</span>·RootBasis::SizePrefix;</div> | ||
| 143 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·indexPairSet_;</div> |
| 144 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> |
| 137 | </div> | ||
| 145 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
| 146 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01859.html#aee8689dac160442b891bc738c55c1087">···66</a></span>··<a·class="code·hl_function"·href="a01859.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>&·<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01859.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>&·<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
| 147 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<a·class="code·hl_variable"·href="a01859.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>(&<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>),</div> | ||
| 148 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<a·class="code·hl_variable"·href="a01859.html#ab3509a847b8dfb33032f14ca666c13bb">prefixPath_</a>(<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)</div> | ||
| 149 | <div·class="line"><a·id="l0006 | 138 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">private</span>:</div> | ||
| 140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··IndexPairSet·indexPairSet_;</div> | ||
| 141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div> | ||
| 150 | </div> | 142 | </div> |
| 143 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 144 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 152 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RootRootBasis,·<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> | ||
| 153 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> | ||
| 154 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01859.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">···77</a></span>··<a·class="code·hl_function"·href="a01859.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01859.html">SubspaceBasis<RootRootBasis,·InnerTP></a>&·<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·OuterTP&·<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
| 155 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<a·class="code·hl_class"·href="a01859.html">SubspaceBasis</a>(<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>(),·Impl::joinTreePaths(<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>(),·<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>))</div> | ||
| 156 | <div·class="line"><a·id="l0007 | 145 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 157 | </div> | 146 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 147 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//·An·index·transformation·for·a·TransformedIndexPreBasis</span></div> | ||
| 149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//·implementing·periodic·functions·by·merging·indices.</span></div> | ||
| Max diff block lines reached; 45358/68444 bytes (66.27%) of diff not shown. | |||
| Offset 1, 249 lines modified | Offset 1, 244 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | periodicbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/reservedvector.hh> | ||
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 23 | 12#include·<dune/common/concept.hh> | ||
| 24 | 13 | ||
| 25 | 14#include·<dune/functions/common/type_traits.hh> | ||
| 26 | 1 | 21 | 10#include·<utility> |
| 22 | 11#include·<type_traits> | ||
| 23 | 12#include·<limits> | ||
| 24 | 13#include·<set> | ||
| 25 | 14#include·<vector> | ||
| 26 | 15 | ||
| 27 | 16#include·<dune/functions/functionspacebases/concepts.hh> | 27 | 16#include·<dune/functions/functionspacebases/concepts.hh> |
| 28 | 17 | ||
| 29 | 1 | 28 | 17#include·<dune/functions/functionspacebases/containerdescriptors.hh> |
| 29 | 18#include·<dune/functions/functionspacebases/transformedindexbasis.hh> | ||
| 30 | 19 | 30 | 19 |
| 31 | 20 | 31 | 20 |
| 32 | 21namespace·Functions·{ | 32 | 21namespace·Dune::Functions·{ |
| 33 | 22 | 33 | 22 |
| 34 | 23 | 34 | 23namespace·BasisFactory·{ |
| 35 | 24 | 35 | 24 |
| 36 | 25//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are | ||
| 37 | 26//·not·completely·sure·yet·whether·we·like·it.·We·reserve·the·right·to | ||
| 38 | 27//·modify·it·without·advance·warning.·Use·at·your·own·risk! | ||
| 39 | 28 | ||
| 40 | 29namespace·Experimental·{ | ||
| 41 | 30 | ||
| 42 | 31 | ||
| 43 | 40class·PeriodicIndexSet | ||
| 44 | 41{ | ||
| 45 | 42·using·IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>; | ||
| 36 | 25namespace·Impl·{ | ||
| 37 | 26 | ||
| 38 | 27·template<class...·Inner,·class...·Outer> | ||
| 39 | 28·auto·joinTreePaths(const·TypeTree::HybridTreePath<Inner...>&·inner,·const | ||
| 40 | TypeTree::HybridTreePath<Outer...>·outer) | ||
| 41 | 29·{ | ||
| 42 | 30·return·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat(inner._ | ||
| 43 | data,·outer._data)); | ||
| 44 | 31·} | ||
| 45 | 32 | ||
| 46 | 33·template<class·InnerTP,·class·OuterTP> | ||
| 47 | 34·using·JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std:: | ||
| 48 | declval<InnerTP>(),·std::declval<OuterTP>()))>; | ||
| 49 | 35 | ||
| 50 | 36} | ||
| 51 | 37 | ||
| 52 | 38 | ||
| 53 | 39 | ||
| 54 | 40template<class·RB,·class·TP> | ||
| 55 | 41class·SubspaceBasis | ||
| 56 | 42{ | ||
| 57 | 43public: | 46 | 43public: |
| 58 | 44 | 47 | 44 |
| 48 | 52·void·unifyIndexPair(std::size_t·a,·std::size_t·b) | ||
| 49 | 53·{ | ||
| 50 | 54·if·(a>b) | ||
| 51 | 55·std::swap(a,b); | ||
| 52 | 56·if·(a==b) | ||
| 53 | 57·return; | ||
| 54 | 58·indexPairSet_.insert(std::make_pair(a,b)); | ||
| 55 | 59·} | ||
| 56 | 60 | ||
| 57 | 61·const·auto&·indexPairSet()·const | ||
| 58 | 62·{ | ||
| 59 | 63·return·indexPairSet_; | ||
| 60 | 64·} | ||
| 61 | 65 | ||
| 62 | 66private: | ||
| 63 | 67·IndexPairSet·indexPairSet_; | ||
| 64 | 68}; | ||
| 65 | 69 | ||
| 59 | 45·using·RootBasis·=·RB; | ||
| 60 | 46 | ||
| 61 | 47·using·RootLocalView·=·typename·RootBasis::LocalView; | ||
| 62 | 48 | ||
| 63 | 49·using·PrefixPath·=·TP; | ||
| 64 | 50 | ||
| 65 | 52·using·GridView·=·typename·RootBasis::GridView; | ||
| 66 | 53 | ||
| 67 | 55·using·MultiIndex·=·typename·RootBasis::MultiIndex; | ||
| 68 | 56 | ||
| 69 | 57·using·size_type·=·std::size_t; | ||
| 70 | 58 | ||
| 71 | 60·using·LocalView·=·SubspaceLocalView<RootLocalView,_PrefixPath>; | ||
| 72 | 61 | ||
| 73 | 62·using·SizePrefix·=·typename·RootBasis::SizePrefix; | ||
| 74 | 63 | ||
| 75 | 64 | ||
| 76 | 66·SubspaceBasis(const·RootBasis&·rootBasis,·const·PrefixPath&·prefixPath)·: | ||
| 77 | 67·rootBasis_(&rootBasis), | ||
| 78 | 68·prefixPath_(prefixPath) | ||
| 79 | 69·{} | ||
| 80 | 70 | 66 | 70 |
| 81 | 76·template<class·RootRootBasis,·class·InnerTP,·class·OuterTP> | ||
| 82 | 77·SubspaceBasis(const·SubspaceBasis<RootRootBasis,_InnerTP>&·rootBasis,·const | ||
| 83 | OuterTP&·prefixPath)·: | ||
| 84 | 78·SubspaceBasis(rootBasis.rootBasis(),·Impl::joinTreePaths | ||
| 85 | (rootBasis.prefixPath(),·prefixPath)) | ||
| 86 | 7 | 67 | 71 |
| 68 | 72namespace·Impl·{ | ||
| 69 | 73 | ||
| 70 | 74//·An·index·transformation·for·a·TransformedIndexPreBasis | ||
| 71 | 75//·implementing·periodic·functions·by·merging·indices. | ||
| 72 | 76//·Currently·only·flat·indices·are·supported. | ||
| 73 | 77class·PeriodicIndexingTransformation | ||
| 74 | 78{ | ||
| Max diff block lines reached; 10745/14507 bytes (74.07%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultnodetorangemap.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 77 lines modified | Offset 73, 47 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">defaultnodetorangemap.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | ||
| 84 | <code>#include·<dune/common/concept.hh></code><br·/> | 83 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
| 84 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 85 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
| 86 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
| 85 | </div> | 87 | </div> |
| 86 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 87 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 89 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
| 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01571.html">Dune::Functions::DefaultNodeToRangeMap<·Tree·></a></td></tr> |
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·lexicographic·ordering.··<a·href="a01571.html#details">More...</a><br·/></td></tr> | ||
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01399.html">Dune::Functions::BasisFactory::IndexMergingStrategy</a></td></tr> | ||
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·for·index·merging·strategies·to·simplify·detection.··<a·href="a01399.html#details">More...</a><br·/></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01575.html">Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor</a></td></tr> |
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·without·blocking.··<a·href="a01403.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01407.html">Dune::Functions::BasisFactory::FlatInterleaved</a></td></tr> | ||
| 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·without·blocking.··<a·href="a01407.html#details">More...</a><br·/></td></tr> | ||
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01411.html">Dune::Functions::BasisFactory::BlockedLexicographic</a></td></tr> | ||
| 102 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<a·href="a01411.html#details">More...</a><br·/></td></tr> | ||
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01415.html">Dune::Functions::BasisFactory::BlockedInterleaved</a></td></tr> | ||
| 105 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<a·href="a01415.html#details">More...</a><br·/></td></tr> | ||
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 109 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
| 110 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 102 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:a00227"·id="r_a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::Concept</a></td></tr> | ||
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
| 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 122 | Functions</h2></td></tr> | 106 | Functions</h2></td></tr> |
| 107 | <tr·class="memitem:a37dfd0fc94784b1ffe3050d87b37ad76"·id="r_a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplParams"·colspan="2">template<class·Tree·>·</td></tr> | ||
| 108 | <tr·class="memitem:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01571.html">DefaultNodeToRangeMap</a><·Tree·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a37dfd0fc94784b1ffe3050d87b37ad76">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Tree·&tree)</td></tr> | ||
| 123 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"·id="r_a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
| 124 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">Dune::Functions::Concept::isIndexMergingStrategy</a>·()</td></tr> | ||
| 125 | <tr·class="separator:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 126 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"·id="r_a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
| 127 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#a4c80c069c722824168167f5ac1bc3474">Dune::Functions::Concept::isIndexMergingStrategy</a>·(T·&&t)</td></tr> | ||
| 128 | <tr·class="separator:a | 109 | <tr·class="separator:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 129 | <tr·class="memitem:ad5 | 110 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"·id="r_ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·TreePath·>·</td></tr> |
| 111 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ad5971c4cc40d4d8a400ef5fe9e596350">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Basis·&basis,·TreePath·&&treePath)·->·decltype(makeDefaultNodeToRangeMap(TypeTree::child(basis.localView().tree(),·treePath)))</td></tr> | ||
| 130 | <tr·class="separator:ad5 | 112 | <tr·class="separator:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 131 | <tr·class="memitem:ga611fb3c6cb312fb95e83dd1a62da13bc"·id="r_ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01403.html">FlatLexicographic</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga611fb3c6cb312fb95e83dd1a62da13bc">Dune::Functions::BasisFactory::flatLexicographic</a>·()</td></tr> | ||
| 132 | <tr·class="memdesc:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·without·blocking.··<br·/></td></tr> | ||
| 133 | <tr·class="separator:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 134 | <tr·class="memitem:ga67995074ba44e2e28647170584f54bec"·id="r_ga67995074ba44e2e28647170584f54bec"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01407.html">FlatInterleaved</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga67995074ba44e2e28647170584f54bec">Dune::Functions::BasisFactory::flatInterleaved</a>·()</td></tr> | ||
| 135 | <tr·class="memdesc:ga67995074ba44e2e28647170584f54bec"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·without·blocking.··<br·/></td></tr> | ||
| 136 | <tr·class="separator:ga67995074ba44e2e28647170584f54bec"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 137 | <tr·class="memitem:gadd59442e0e62464ee27af6f2741b4494"·id="r_gadd59442e0e62464ee27af6f2741b4494"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01411.html">BlockedLexicographic</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#gadd59442e0e62464ee27af6f2741b4494">Dune::Functions::BasisFactory::blockedLexicographic</a>·()</td></tr> | ||
| 138 | <tr·class="memdesc:gadd59442e0e62464ee27af6f2741b4494"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<br·/></td></tr> | ||
| 139 | <tr·class="separator:gadd59442e0e62464ee27af6f2741b4494"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 140 | <tr·class="memitem:ga649b67336300e9f05e38b5479ca21a24"·id="r_ga649b67336300e9f05e38b5479ca21a24"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01415.html">BlockedInterleaved</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga649b67336300e9f05e38b5479ca21a24">Dune::Functions::BasisFactory::blockedInterleaved</a>·()</td></tr> | ||
| 141 | <tr·class="memdesc:ga649b67336300e9f05e38b5479ca21a24"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<br·/></td></tr> | ||
| 142 | <tr·class="separator:ga649b67336300e9f05e38b5479ca21a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 143 | </table> | 113 | </table> |
| 144 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 145 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
| 146 | <hr·class="footer"/><address·class="footer"><small> | 116 | <hr·class="footer"/><address·class="footer"><small> |
| 147 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 148 | </small></address> | 118 | </small></address> |
| 149 | </body> | 119 | </body> |
| Offset 2, 79 lines modified | Offset 2, 37 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | defaultnodetorangemap.hh·File·Reference | ||
| 9 | basistags.hh·File·Reference | ||
| 10 | #include·<type_traits> | ||
| 11 | #include·<dune/common/concept.hh> | 10 | #include·<dune/common/concept.hh> |
| 11 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 12 | #include·<dune/typetree/traversal.hh> | ||
| 13 | #include·<dune/typetree/visitor.hh> | ||
| 12 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 13 | Classes | 15 | Classes |
| 14 | struct· ·Dune::Functions:: | 16 | struct· ·Dune::Functions::DefaultNodeToRangeMap<_Tree_> |
| 17 | ········A·simple·node·to·range·map·using·lexicographic·ordering.·More... | ||
| 15 | 18 | ||
| 19 | struct· ·Dune::Functions::DefaultNodeToRangeMap<_Tree_>::Visitor | ||
| 16 | struct· ·Dune::Functions::BasisFactory::IndexMergingStrategy | ||
| 17 | ········Base·class·for·index·merging·strategies·to·simplify·detection.·More... | ||
| 18 | |||
| 19 | struct· ·Dune::Functions::BasisFactory::FlatLexicographic | ||
| 20 | ········Lexicographic·merging·of·direct·children·without·blocking.·More... | ||
| 21 | |||
| 22 | struct· ·Dune::Functions::BasisFactory::FlatInterleaved | ||
| 23 | ········Interleaved·merging·of·direct·children·without·blocking.·More... | ||
| 24 | |||
| 25 | struct· ·Dune::Functions::BasisFactory::BlockedLexicographic | ||
| 26 | ········Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating | ||
| 27 | ·········one·block·per·direct·child).·More... | ||
| 28 | |||
| 29 | struct· ·Dune::Functions::BasisFactory::BlockedInterleaved | ||
| 30 | ········Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating | ||
| 31 | ·········blocks·at·the·leaves·containing·one·leaf·per·child·each).·More... | ||
| 32 | 20 | ||
| 33 | Namespaces | 21 | Namespaces |
| 34 | namespace· ·Dune | 22 | namespace· ·Dune |
| 35 | 23 | ||
| 36 | namespace· ·Dune::Functions | 24 | namespace· ·Dune::Functions |
| 37 | 25 | ||
| 38 | namespace· ·Dune::Functions::Concept | ||
| 39 | |||
| 40 | namespace· ·Dune::Functions::BasisFactory | ||
| 41 | |||
| 42 | namespace· ·Dune::Functions::BasisBuilder | ||
| 43 | |||
| 44 | Functions | 26 | Functions |
| 45 | template<typename·T·> | ||
| 46 | ·········static·constexpr·bool ·Dune::Functions::Concept:: | ||
| 47 | 27 | template<class·Tree·> | |
| 28 | DefaultNodeToRangeMap<·Tree·> ·Dune::Functions::makeDefaultNodeToRangeMap | ||
| 29 | ·······························(const·Tree·&tree) | ||
| 48 | 30 | ||
| 31 | template<class·Basis·,·class·TreePath·> | ||
| 32 | ·························auto ·Dune::Functions::makeDefaultNodeToRangeMap | ||
| 33 | ·······························(const·Basis·&basis,·TreePath·&&treePath)·- | ||
| 34 | ·······························>·decltype(makeDefaultNodeToRangeMap(TypeTree:: | ||
| 35 | ·······························child(basis.localView().tree(),·treePath))) | ||
| 49 | template<typename·T·> | ||
| 50 | ·········static·constexpr·bool ·Dune::Functions::Concept:: | ||
| 51 | ································isIndexMergingStrategy·(T·&&t) | ||
| 52 | |||
| 53 | ··························void ·Dune::Functions::BasisFactory:: | ||
| 54 | ································registerIndexMergingStrategy | ||
| 55 | ································(IndexMergingStrategy) | ||
| 56 | |||
| 57 | ···constexpr·FlatLexicographic ·Dune::Functions::BasisFactory:: | ||
| 58 | ································flatLexicographic·() | ||
| 59 | ·······························Creates·a·lexicographic·merging·of·direct | ||
| 60 | ································children·without·blocking. | ||
| 61 | |||
| 62 | ·····constexpr·FlatInterleaved ·Dune::Functions::BasisFactory::flatInterleaved | ||
| 63 | ································() | ||
| 64 | ·······························Creates·an·interleaved·merging·of·direct | ||
| 65 | ································children·without·blocking. | ||
| 66 | |||
| 67 | constexpr·BlockedLexicographic ·Dune::Functions::BasisFactory:: | ||
| 68 | ································blockedLexicographic·() | ||
| 69 | ································Creates·a·lexicographic·merging·of·direct | ||
| 70 | ·······························children·with·blocking·(i.e.·creating·one·block | ||
| 71 | ································per·direct·child). | ||
| 72 | |||
| 73 | ··constexpr·BlockedInterleaved ·Dune::Functions::BasisFactory:: | ||
| 74 | ································blockedInterleaved·() | ||
| 75 | ································Creates·an·interleaved·merging·of·direct | ||
| 76 | ·······························children·with·blocking·(i.e.·creating·blocks·at | ||
| 77 | ································the·leaves·containing·one·leaf·per·child·each). | ||
| 78 | 36 | ||
| 79 | =============================================================================== | 37 | =============================================================================== |
| 80 | ·····Generated·by [doxygen]·1.9.8 | 38 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultnodetorangemap.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 150 lines modified | Offset 74, 152 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">defaultnodetorangemap.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00113.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00113.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#inc | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#warning·The·header·dune/functions/common/defaultnodetorangemap.hh·is·deprecated·and·will·be·removed·after·release·2.10.</span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 93 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 94 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 100 | <div·class="foldopen"·id="foldopen00018"·data-start="{"·data-end="};"> | ||
| 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a01395.html">···18</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01395.html">IndexMergingStrategy</a></div> | ||
| 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>· | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>· | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>· | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>· | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 108 | </div> | ||
| 109 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 110 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Tree></div> |
| 111 | <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="}"> | ||
| 112 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">···27</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>()</div> | ||
| 113 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····{</div> | ||
| 114 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······<span·class="keywordflow">return</span>·models<Concept::IndexMergingStrategy,T>();</div> | ||
| 115 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····}</div> | ||
| 116 | </div> | ||
| 117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
| 119 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> | ||
| 120 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00227.html#a4c80c069c722824168167f5ac1bc3474">···33</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>(T&&·t)</div> | ||
| 121 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····{</div> | ||
| 122 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">return</span>·models<Concept::IndexMergingStrategy,std::decay_t<T>>();</div> | ||
| 123 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····}</div> | ||
| 124 | </div> | ||
| 125 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··}·<span·class="comment">//·namespace·Concept</span></div> | ||
| 127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 129 | <div·class="foldopen"·id="foldopen0004 | 108 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
| 130 | <div·class="line"><a·id="l0004 | 109 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01571.html">···45</a></span><span·class="keyword">struct</span></div> |
| 110 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>[[deprecated(<span·class="stringliteral">"DefaultNodeToRangeMap·is·deprecated·and·will·be·removed·after·release·2.10."</span>)]]</div> | ||
| 111 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><a·class="code·hl_struct"·href="a01571.html">DefaultNodeToRangeMap</a></div> | ||
| 131 | <div·class="line"><a·id="l0004 | 112 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div> |
| 132 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01399.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a>·{};</div> | ||
| 133 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 113 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 134 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00230.html#ad515867ac194016a6f9e4463d1c67a24">···50</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00230.html#ad515867ac194016a6f9e4463d1c67a24">registerIndexMergingStrategy</a>(<a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a>);</div> | ||
| 135 | <div·class="line"><a·id="l0005 | 114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//·A·simple·visitor·for·computing·lexicographic</span></div> |
| 115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·subtree·indices.·To·identify·a·leaf·node</span></div> | ||
| 116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·we·use·its·treeIndex()·which·is·unique</span></div> | ||
| 117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·wrt·the·whole·tree·and·store·the·computed</span></div> | ||
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="comment">//·index·in·a·vector·indexed·by·the·tree·indices.</span></div> | ||
| 136 | <div·class="foldopen"·id="foldopen000 | 119 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
| 137 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01575.html">···55</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01575.html">Visitor</a></div> |
| 138 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> |
| 122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
| 139 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··{</div> |
| 124 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
| 125 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01575.html#a31bda2d0d2a6e6caaad0c4b54833baaa">···59</a></span>····<a·class="code·hl_function"·href="a01575.html#a31bda2d0d2a6e6caaad0c4b54833baaa">Visitor</a>(std::vector<std::size_t>&·indices)·:</div> | ||
| 126 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······indices_(indices),</div> | ||
| 127 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······counter_(0)</div> | ||
| 128 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····{}</div> | ||
| 140 | </div> | 129 | </div> |
| 141 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
| 142 | <div·class="foldopen"·id="foldopen00 | 132 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> |
| 143 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a01407.html">··116</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01407.html">FlatInterleaved</a></div> | ||
| 144 | <div·class="line"><a·id="l00 | 133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01575.html#a6fa6002b8649337f257a1ba63f487638">···65</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01575.html#a6fa6002b8649337f257a1ba63f487638">leaf[·...·truncated·by·diffoscope;·len:·39,·SHA:·7b0bf9aaf47d6f019d643da4bea8b26ea35e8c4901ca36e8b8b2b0e854605b27·...·]</div> |
| 134 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····{</div> | ||
| 135 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keywordflow">if</span>·(indices_.size()·<·node.treeIndex()+1)</div> | ||
| 136 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········indices_.resize(node.treeIndex()+1);</div> | ||
| 137 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······indices_[node.treeIndex()]·=·counter_;</div> | ||
| 138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······++counter_;</div> | ||
| 145 | <div·class="line"><a·id="l00 | 139 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div> |
| 146 | </div> | 140 | </div> |
| 147 | <div·class="line"><a·id="l00 | 141 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
| 142 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01575.html#ad27dd745d2d84fd89675da8e7a706963">···73</a></span>····std::vector<std::size_t>&·<a·class="code·hl_variable"·href="a01575.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>;</div> | ||
| 143 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01575.html#a776d43a445def9066a5ad7b7d524d640">···74</a></span>····std::size_t·<a·class="code·hl_variable"·href="a01575.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
| 148 | <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="};"> | ||
| 149 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a01411.html">··150</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01411.html">BlockedLexicographic</a></div> | ||
| 150 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a></div> | ||
| 151 | <div·class="line"><a·id="l00 | 144 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div> |
| 152 | </div> | 145 | </div> |
| 153 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> | ||
| 154 | <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno"><a·class="line"·href="a01415.html">··184</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01415.html">BlockedInterleaved</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a>·{};</div> | ||
| 155 | <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div> | ||
| 156 | <div·class="line"><a·id="l00 | 146 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 157 | <div·class="foldopen"·id="foldopen00 | 147 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> |
| 158 | <div·class="line"><a·id="l00 | 148 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01571.html#a1f05cfc19a0fd6aeddd0fd441f0e0718">···87</a></span>··<a·class="code·hl_function"·href="a01571.html#a1f05cfc19a0fd6aeddd0fd441f0e0718">DefaultNodeToRangeMap</a>(<span·class="keywo[·...·truncated·by·diffoscope;·len:·31,·SHA:·638b75760cd2fd9846a7940983d785ee4567fcfafac30419c250584882a2a635·...·])</div> |
| 159 | <div·class="line"><a·id="l00 | 149 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div> |
| 160 | <div·class="line"><a·id="l00 | 150 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····TypeTree::applyToTree(tree,·<a·class="code·hl_struct"·href="a01575.html">Visitor</a>(indices_));</div> |
| Max diff block lines reached; 6177/42376 bytes (14.58%) of diff not shown. | |||
| Offset 1, 154 lines modified | Offset 1, 156 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | defaultnodetorangemap.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#in | 21 | 10#warning·The·header·dune/functions/common/defaultnodetorangemap.hh·is |
| 22 | deprecated·and·will·be·removed·after·release·2.10. | ||
| 23 | 11 | ||
| 22 | 1 | 24 | 12#include·<dune/common/concept.hh> |
| 25 | 13 | ||
| 26 | 14#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 23 | 12 | ||
| 24 | 13namespace·Dune·{ | ||
| 25 | 14namespace·Functions·{ | ||
| 26 | 15 | 27 | 15 |
| 28 | 16#include·<dune/typetree/traversal.hh> | ||
| 29 | 17#include·<dune/typetree/visitor.hh> | ||
| 30 | 18 | ||
| 31 | 19 | ||
| 32 | 20namespace·Dune·{ | ||
| 33 | 21namespace·Functions·{ | ||
| 34 | 22 | ||
| 35 | 23 | ||
| 36 | 24 | ||
| 37 | 44template<class·Tree> | ||
| 38 | 45struct | ||
| 39 | 46[[deprecated("DefaultNodeToRangeMap·is·deprecated·and·will·be·removed·after | ||
| 40 | release·2.10.")]] | ||
| 41 | 47DefaultNodeToRangeMap | ||
| 42 | 48{ | ||
| 27 | 16·namespace·Concept·{ | ||
| 28 | 17 | ||
| 29 | 18·struct·IndexMergingStrategy | ||
| 30 | 19·{ | ||
| 31 | 20·template<typename·T> | ||
| 32 | 21·auto·require(T&&·t)·->·decltype( | ||
| 33 | 22·registerIndexMergingStrategy(t) | ||
| 34 | 23·); | ||
| 35 | 24·}; | ||
| 36 | 25 | ||
| 37 | 26·template<typename·T> | ||
| 38 | 27·static·constexpr·bool·isIndexMergingStrategy() | ||
| 39 | 28·{ | ||
| 40 | 29·return·models<Concept::IndexMergingStrategy,T>(); | ||
| 41 | 30·} | ||
| 42 | 31 | ||
| 43 | 32·template<typename·T> | ||
| 44 | 33·static·constexpr·bool·isIndexMergingStrategy(T&&·t) | ||
| 45 | 34·{ | ||
| 46 | 35·return·models<Concept::IndexMergingStrategy,std::decay_t<T>>(); | ||
| 47 | 36·} | ||
| 48 | 37 | ||
| 49 | 38·}·//·namespace·Concept | ||
| 50 | 39 | ||
| 51 | 40 | ||
| 52 | 41namespace·BasisFactory·{ | ||
| 53 | 42 | ||
| 54 | 48·struct·IndexMergingStrategy·{}; | ||
| 55 | 49 | 43 | 49 |
| 56 | 50·void·registerIndexMergingStrategy(IndexMergingStrategy); | ||
| 57 | 51 | ||
| 58 | 82·struct·FlatLexicographic | ||
| 59 | 83·:·public·IndexMergingStrategy | ||
| 60 | 84·{}; | ||
| 61 | 85 | ||
| 62 | 116·struct·FlatInterleaved | ||
| 63 | 117·:·public·IndexMergingStrategy | ||
| 64 | 118·{}; | ||
| 65 | 119 | ||
| 66 | 150·struct·BlockedLexicographic | ||
| 67 | 151·:·public·IndexMergingStrategy | ||
| 68 | 152·{}; | ||
| 69 | 153 | ||
| 70 | 184·struct·BlockedInterleaved·:·public·IndexMergingStrategy·{}; | ||
| 71 | 185 | ||
| 72 | 186 | ||
| 73 | 192·constexpr·FlatLexicographic·flatLexicographic() | ||
| 74 | 193·{ | ||
| 75 | 194·return·{}; | ||
| 76 | 195·} | ||
| 77 | 196 | ||
| 78 | 202·constexpr·FlatInterleaved·flatInterleaved() | ||
| 79 | 203·{ | ||
| 80 | 204·return·{}; | ||
| 81 | 205·} | ||
| 82 | 206 | ||
| 83 | 212·constexpr·BlockedLexicographic·blockedLexicographic() | ||
| 84 | 213·{ | ||
| 85 | 214·return·{}; | ||
| 86 | 215·} | ||
| 87 | 216 | ||
| 88 | 222·constexpr·BlockedInterleaved·blockedInterleaved() | ||
| 89 | 223·{ | ||
| 90 | 224·return·{}; | ||
| 91 | 225·} | ||
| 92 | 226 | ||
| 93 | 227}·//·end·namespace·BasisFactory | ||
| 94 | 228 | ||
| 95 | 229//·Backward·compatibility | ||
| 96 | 230namespace·[[deprecated("Will·be·removed·after·Dune·2.10")]]·BasisBuilder·{ | ||
| 97 | 231 | ||
| 98 | 232·using·namespace·BasisFactory; | ||
| 99 | 233 | ||
| 100 | 234} | ||
| 101 | 44 | 50·//·A·simple·visitor·for·computing·lexicographic | |
| 45 | 51·//·subtree·indices.·To·identify·a·leaf·node | ||
| 46 | 52·//·we·use·its·treeIndex()·which·is·unique | ||
| 47 | 53·//·wrt·the·whole·tree·and·store·the·computed | ||
| 48 | 54·//·index·in·a·vector·indexed·by·the·tree·indices. | ||
| 49 | 55·struct·Visitor | ||
| 50 | 56·:·public·TypeTree::TreeVisitor | ||
| 51 | 57·,·public·TypeTree::DynamicTraversal | ||
| Max diff block lines reached; 2622/8992 bytes (29.16%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·nedelecbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 78 lines modified | Offset 74, 60 lines modified | ||
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | 79 | <a·href="#typedef-members">Typedefs</a>·| |
| 80 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">nedelecbasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>The·B-spline·global·function·space·basis.·· | ||
| 85 | <a·href="#details">More...</a></p> | ||
| 86 | <div·class="textblock"><code>#include·<array></code><br·/> | 84 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 87 | <code>#include·<numeric></code><br·/> | ||
| 88 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 89 | <code>#include·<dune/ | 86 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> |
| 90 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> |
| 91 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
| 92 | <code>#include·<dune/localfunctions/common/localfiniteelement | 88 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> |
| 93 | <code>#include·<dune/ | 89 | <code>#include·<dune/localfunctions/nedelec.hh></code><br·/> |
| 94 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 95 | <code>#include·<<a·class="el"·href="a001 | 90 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00197_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
| 96 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | 92 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> |
| 93 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 97 | </div> | 94 | </div> |
| 98 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 99 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 101 | Classes</h2></td></tr> | 98 | Classes</h2></td></tr> |
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html">Dune::Functions::BSplineLocalBasis<·GV,·R·></a></td></tr> | ||
| 103 | <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="a01467.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html">Dune::Functions::BSplineLocalCoefficients<·dim·></a></td></tr> | ||
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Attaches·a·shape·function·to·an·entity.··<a·href="a01471.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01475.html">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·></a></td></tr> | ||
| 109 | <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="a01475.html#details">More...</a><br·/></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01459.html">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·></a></td></tr> | ||
| 112 | <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="a01459.html#details">More...</a><br·/></td></tr> | ||
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01731.html">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·></a></td></tr> |
| 115 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·B-spline·basis.··<a·href="a01463.html#details">More...</a><br·/></td></tr> | ||
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01727.html">Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·></a></td></tr> |
| 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 119 | </table><table·class="memberdecls"> | 103 | </table><table·class="memberdecls"> |
| 120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 121 | Namespaces</h2></td></tr> | 105 | Namespaces</h2></td></tr> |
| 122 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 106 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 124 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 108 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 126 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | 110 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> |
| 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 128 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
| 129 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 130 | Typedefs</h2></td></tr> | 114 | Typedefs</h2></td></tr> |
| 131 | <tr·class="memitem: | 115 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"·id="r_a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> |
| 132 | <tr·class="memitem: | 116 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a744da0623cd512fc478d47bd2f7908eb">Dune::Functions::NedelecBasis</a>·=·[·...·truncated·by·diffoscope;·len:·139,·SHA:·7c1400dab17e158aabbc0de578fbce2f411756f2b36fdb249bd0b1f2af45a3e6·...·]·>·></td></tr> |
| 133 | <tr·class="memdesc: | 117 | <tr·class="memdesc:a744da0623cd512fc478d47bd2f7908eb"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Nédélec·finite·element·space.··<br·/></td></tr> |
| 134 | <tr·class="separator: | 118 | <tr·class="separator:a744da0623cd512fc478d47bd2f7908eb"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 135 | </table><table·class="memberdecls"> | 119 | </table><table·class="memberdecls"> |
| 136 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 137 | Functions</h2></td></tr> | 121 | Functions</h2></td></tr> |
| 138 | <tr·class="memitem:ga | 122 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"·id="r_gafe0fe439067c288f197101b8686223e8"><td·class="memTemplParams"·colspan="2">template<std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> |
| 123 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gafe0fe439067c288f197101b8686223e8">Dune::Functions::BasisFactory::nedelec</a>·()</td></tr> | ||
| 139 | <tr·class="memdesc:ga | 124 | <tr·class="memdesc:gafe0fe439067c288f197101b8686223e8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Nédélec·pre-basis.··<br·/></td></tr> |
| 140 | <tr·class="separator:ga | 125 | <tr·class="separator:gafe0fe439067c288f197101b8686223e8"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 141 | </table> | 126 | </table> |
| 142 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
| 143 | <div·class="textblock"><p>The·B-spline·global·function·space·basis.·</p> | ||
| 144 | </div>< | 127 | </div><!--·contents·--> |
| 145 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
| 146 | <hr·class="footer"/><address·class="footer"><small> | 129 | <hr·class="footer"/><address·class="footer"><small> |
| 147 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 148 | </small></address> | 131 | </small></address> |
| 149 | </body> | 132 | </body> |
| 150 | </html> | 133 | </html> |
| Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
| 1 | u | 1 | utf-8 |
| Offset 2, 64 lines modified | Offset 2, 45 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | 9 | nedelecbasis.hh·File·Reference | |
| 10 | The·B-spline·global·function·space·basis.·More... | ||
| 11 | #include·<array> | 10 | #include·<array> |
| 12 | #include·<numeric> | ||
| 13 | #include·<dune/common/dynmatrix.hh> | ||
| 14 | #include·<dune/localfunctions/common/localbasis.hh> | ||
| 15 | #include·<dune/common/ | 11 | #include·<dune/common/exceptions.hh> |
| 16 | #include·<dune/ | 12 | #include·<dune/grid/common/capabilities.hh> |
| 13 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 17 | #include·<dune/localfunctions/common/localfiniteelement | 14 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> |
| 15 | #include·<dune/localfunctions/nedelec.hh> | ||
| 18 | #include·<dune/geometry/type.hh> | ||
| 19 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 17 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | 18 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> |
| 19 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 22 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
| 23 | Classes | 21 | Classes |
| 22 | class· ·Dune::Functions::NedelecPreBasis<_GV,_Range,_kind,_order_> | ||
| 24 | class· ·Dune::Functions::BSplineLocalBasis<_GV,_R_> | ||
| 25 | ·······LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the | ||
| 26 | ········restriction·of·a·B-spline·patch·to·a·knot·span.·More... | ||
| 27 | |||
| 28 | class· ·Dune::Functions::BSplineLocalCoefficients<_dim_> | ||
| 29 | ·······Attaches·a·shape·function·to·an·entity.·More... | ||
| 30 | |||
| 31 | class· ·Dune::Functions::BSplineLocalInterpolation<_dim,_LB_> | ||
| 32 | ·······Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
| 33 | ········spline·basis·on·tensor-product·grids.·More... | ||
| 34 | |||
| 35 | class· ·Dune::Functions::BSplineLocalFiniteElement<_GV,_R_> | ||
| 36 | ·······LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
| 37 | ········spline·basis·on·tensor-product·grids.·More... | ||
| 38 | |||
| 39 | class· ·Dune::Functions::BSplinePreBasis<_GV_> | ||
| 40 | ·······Pre-basis·for·B-spline·basis.·More... | ||
| 41 | 23 | ||
| 42 | class· ·Dune::Functions:: | 24 | class· ·Dune::Functions::NedelecNode<_GV,_Range,_kind,_order_> |
| 43 | 25 | ||
| 44 | Namespaces | 26 | Namespaces |
| 45 | namespace· ·Dune | 27 | namespace· ·Dune |
| 46 | 28 | ||
| 47 | namespace· ·Dune::Functions | 29 | namespace· ·Dune::Functions |
| 48 | 30 | ||
| 49 | namespace· ·Dune::Functions::BasisFactory | 31 | namespace· ·Dune::Functions::BasisFactory |
| 50 | 32 | ||
| 51 | Typedefs | 33 | Typedefs |
| 52 | template<typename·GV· | 34 | template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range·= |
| 35 | double> | ||
| 53 | using ·Dune::Functions:: | 36 | using ·Dune::Functions::NedelecBasis·=·DefaultGlobalBasis<·NedelecPreBasis<·GV, |
| 54 | ·······>·> | ||
| 55 | 37 | ·······Range,·kind,·order·>·> | |
| 38 | ······Basis·of·a·k-th-order·Nédélec·finite·element·space. | ||
| 56 | 39 | ||
| 57 | Functions | 40 | Functions |
| 58 | auto ·Dune::Functions::BasisFactory::bSpline·(const·std::vector<·double·> | ||
| 59 | 41 | template<std::size_t·kind,·std::size_t·order,·typename·Range·=·double> | |
| 42 | auto ·Dune::Functions::BasisFactory::nedelec·() | ||
| 60 | ·····Create·a·pre-basis·factory·that·can·create·a· | 43 | ·····Create·a·pre-basis·factory·that·can·create·a·Nédélec·pre-basis. |
| 61 | 44 | ||
| 62 | *****·Detailed·Description·***** | ||
| 63 | The·B-spline·global·function·space·basis. | ||
| 64 | =============================================================================== | 45 | =============================================================================== |
| 65 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·nedelecbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 1281 lines modified | Offset 74, 395 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">nedelecbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00116.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"> | 83 | <a·href="a00116.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 94 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
| 96 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 97 | <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> | ||
| 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/common/diagonalmatrix.hh></span></div> | ||
| 99 | <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> | ||
| 100 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> |
| 101 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/nedelec.hh></span></div> |
| 102 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00197.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> |
| 104 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Impl</div> | ||
| 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> |
| 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword"> | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·order></div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>Nedelec1stKindLocalFiniteElementMap</div> | ||
| 107 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··{</div> |
| 108 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">using·</span>D·=·<span·class="keyword">typename</span>·GV::ctype;</div> |
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·hasFixedElementType·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::v;</div> | ||
| 109 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>CubeFiniteElement····=·Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>;</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">using·</span>SimplexFiniteElement·=·Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>;</div> | ||
| 110 | <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> | ||
| 111 | <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> | ||
| 112 | <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="a01459.html">BSplineLocalFiniteElement</a>;</div> | ||
| 113 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 114 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">public</span>:</div> |
| 115 | <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="a01463.html">BSplinePreBasis</a>;</div> | ||
| 116 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim,·FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>;</div> | ||
| 117 | <div·class="line"><a·id="l0004 | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 118 | <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> | ||
| 119 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 120 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>··topologyId·=·Capabilities::hasSingleGeomet[·...·truncated·by·diffoscope;·len:·120,·SHA:·d10b1fd527159d3ce488e90f016496e46bb1894eba006ddd1f20fbddf73ad82c·...·]></div> |
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·GeometryType·type·=·GeometryType(topologyId,·GV::dimension);</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>FiniteElement·=·std::conditional_t<hasFixedElementType,</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>···········································std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>,</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>···········································LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">static</span>·std::size_t·numVariants(GeometryType·type)</div> | ||
| 121 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> |
| 122 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">if</span>·(order!=1)··<span·class="comment">//·I·am·not·sure·whether·the·formula·below·is·correct·for·all·orders.</span></div> |
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········DUNE_THROW(NotImplemented,·<span·class="stringliteral">"Only·Nedelec·elements·of·order·1·are·implemented!"</span>);</div> | ||
| 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::ctype·D;</div> | ||
| 125 | <div·class="line"><a·id="l0005 | 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">auto</span>·numEdges·=·referenceElement<D,dim>(type).size(dim-1);</div> |
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#gad1b5c7a712be185869dd34172f19dae1">power</a>(2,numEdges);</div> | ||
| 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span> | 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</div> |
| 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
| 128 | <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> | ||
| 129 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····Nedelec1stKindLocalFiniteElementMap(<span·class="keyword">const</span>·GV&·gv)</div> |
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······:·elementMapper_(gv,·mcmgElementLayout()),</div> | ||
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········orientation_(gv.size(0))</div> | ||
| 130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····{</div> |
| 131 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
| 132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01467.html#ab66fbd26ea34c67071da5c0fa9504191">···66</a></span>··<a·class="code·hl_function"·href="a01467.html#ab66fbd26ea34c67071da5c0fa9504191">BSplineLocalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01463.html">BSplinePreBasis<GV></a>&·preBasis,</div> | ||
| 133 | <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="a01459.html">BSplineLocalFiniteElement<GV,R></a>&·lFE)</div> | ||
| 134 | <div·class="line"><a·id="l0006 | 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·create·all·variants</span></div> |
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(hasFixedElementType)</div> | ||
| 135 | <div·class="line"><a·id="l0006 | 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{</div> |
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········variants_.resize(numVariants(type));</div> | ||
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(type);·i++)</div> | ||
| 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········variants_[i]·=·FiniteElement(i);</div> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······}</div> | ||
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">else</span></div> | ||
| 136 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·· | 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div> |
| 137 | </div> | 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="comment">//·for·mixed·grids·add·offset·for·cubes</span></div> |
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········variants_.resize(numVariants(GeometryTypes::simplex(dim))·+·numVariants(GeometryTypes::cube(dim)));</div> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::simplex(dim));·i++)</div> | ||
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··········variants_[i]·=·SimplexFiniteElement(i);</div> | ||
| 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::cube(dim));·i++)</div> | ||
| 158 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··········variants_[i·+·numVariants(GeometryTypes::simplex(dim))]·=·CubeFiniteElement(i);</div> | ||
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······}</div> | ||
| 138 | <div·class="line"><a·id="l0007 | 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
| 139 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 140 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01467.html#a6f6f0d5f6137fc30c687a913a9794ef9">···75</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01467.html#a6f6f0d5f6137fc30c687a913a9794ef9">evaluateFunction</a>·(<span·class="keyword">const</span>·FieldVector<D,dim>&·in,</div> | ||
| 141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·························std::vector<FieldVector<R,1>·>&·out)<span·class="keyword">·const</span></div> | ||
| 142 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">··</span>{</div> | ||
| 143 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> | ||
| 144 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····scaling_.umv(in,globalIn);</div> | ||
| 145 | <div·class="line"><a·id="l000 | 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 146 | <div·class="line"><a·id="l0008 | 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="comment">//·compute·orientation·for·all·elements</span></div> |
| 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·indexSet·=·gv.indexSet();</div> | ||
| Max diff block lines reached; 258682/286064 bytes (90.43%) of diff not shown. | |||
| Offset 1, 1473 lines modified | Offset 1, 478 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | nedelecbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 1 | 21 | 10#include·<array> |
| 22 | 15#include·<numeric> | ||
| 23 | 16 | ||
| 24 | 18#include·<dune/common/dynmatrix.hh> | ||
| 25 | 19 | ||
| 26 | 20#include·<dune/localfunctions/common/localbasis.hh> | ||
| 27 | 22 | 11#include·<dune/common/exceptions.hh> | |
| 28 | 23 | 12 | |
| 24 | 13#include·<dune/grid/common/capabilities.hh> | ||
| 25 | 14#include·<dune/grid/common/mcmgmapper.hh> | ||
| 26 | 15 | ||
| 29 | 27 | 16#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | |
| 30 | 24#include·<dune/geometry/type.hh> | ||
| 31 | 28 | 17#include·<dune/localfunctions/nedelec.hh> | |
| 29 | 18 | ||
| 32 | 30 | 19#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | |
| 31 | 20#include·<dune/functions/functionspacebases/ | ||
| 32 | globalvaluedlocalfiniteelement.hh> | ||
| 33 | 2 | 33 | 21#include·<dune/functions/functionspacebases/leafprebasismixin.hh> |
| 34 | 22#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 35 | 23 | ||
| 36 | 24namespace·Dune::Functions | ||
| 37 | 25{ | ||
| 38 | 26 | ||
| 39 | 27namespace·Impl | ||
| 34 | 28 | 40 | 28{ |
| 35 | 29namespace·Dune | ||
| 36 | 30{ | ||
| 37 | 31namespace·Functions·{ | ||
| 38 | 32 | ||
| 39 | 33//·A·maze·of·dependencies·between·the·different·parts·of·this.·We·need·a·few | ||
| 40 | forward·declarations | ||
| 41 | 34template<typename·GV,·typename·R> | ||
| 42 | 35class·BSplineLocalFiniteElement; | ||
| 43 | 36 | ||
| 44 | 37template<typename·GV> | ||
| 45 | 41 | 29·template<typename·GV,·int·dim,·typename·R,·std::size_t·order> | |
| 42 | 30·class·Nedelec1stKindLocalFiniteElementMap | ||
| 43 | 31·{ | ||
| 44 | 32·using·D·=·typename·GV::ctype; | ||
| 45 | 33·constexpr·static·bool·hasFixedElementType·=·Capabilities:: | ||
| 46 | hasSingleGeometryType<typename·GV::Grid>::v; | ||
| 47 | 34 | ||
| 48 | 35·using·CubeFiniteElement·= | ||
| 49 | Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>; | ||
| 50 | 36·using·SimplexFiniteElement·= | ||
| 51 | Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>; | ||
| 52 | 37 | ||
| 53 | 38·public: | ||
| 46 | 39 | 54 | 39 |
| 47 | 40 | ||
| 48 | 49template<class·GV,·class·R> | ||
| 49 | 50class·BSplineLocalBasis | ||
| 50 | 51{ | ||
| 51 | 55 | 40·using·T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim, | |
| 56 | FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>; | ||
| 57 | 41 | ||
| 58 | 42·constexpr·static·unsigned·int·topologyId·=·Capabilities:: | ||
| 59 | hasSingleGeometryType<typename·GV::Grid>::topologyId;·//·meaningless·if | ||
| 60 | hasFixedElementType·is·false | ||
| 61 | 43·constexpr·static·GeometryType·type·=·GeometryType(topologyId,·GV:: | ||
| 62 | dimension); | ||
| 63 | 44 | ||
| 64 | 45·using·FiniteElement·=·std::conditional_t<hasFixedElementType, | ||
| 65 | 46·std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>, | ||
| 66 | 47·LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>; | ||
| 67 | 48 | ||
| 68 | 49·static·std::size_t·numVariants(GeometryType·type) | ||
| 69 | 50·{ | ||
| 70 | 51·if·(order!=1)·//·I·am·not·sure·whether·the·formula·below·is·correct·for·all | ||
| 71 | orders. | ||
| 72 | 52·DUNE_THROW(NotImplemented,·"Only·Nedelec·elements·of·order·1·are | ||
| 73 | implemented!"); | ||
| 52 | 53 | 74 | 53 |
| 53 | 54·typedef·typename·GV::ctype·D; | ||
| 54 | 55·enum·{dim·=·GV::dimension}; | ||
| 55 | 5 | 75 | 54·auto·numEdges·=·referenceElement<D,dim>(type).size(dim-1); |
| 76 | 55·return·power(2,numEdges); | ||
| 77 | 56·} | ||
| 56 | 57 | 78 | 57 |
| 57 | 59·typedef·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>, | ||
| 58 | 60·FieldMatrix<R,1,dim>·>·Traits; | ||
| 59 | 61 | ||
| 60 | 66·BSplineLocalBasis(const·BSplinePreBasis<GV>&·preBasis, | ||
| 61 | 67·const·BSplineLocalFiniteElement<GV,R>&·lFE) | ||
| 62 | 68·:·preBasis_(preBasis), | ||
| 63 | 79 | 58·Nedelec1stKindLocalFiniteElementMap(const·GV&·gv) | |
| 80 | 59·:·elementMapper_(gv,·mcmgElementLayout()), | ||
| 81 | 60·orientation_(gv.size(0)) | ||
| 82 | 61·{ | ||
| 83 | 62·//·create·all·variants | ||
| 84 | 63·if·constexpr·(hasFixedElementType) | ||
| 85 | 64·{ | ||
| 86 | 65·variants_.resize(numVariants(type)); | ||
| 87 | 66·for·(size_t·i·=·0;·i·<·numVariants(type);·i++) | ||
| 88 | 67·variants_[i]·=·FiniteElement(i); | ||
| 89 | 68·} | ||
| 90 | 69·else | ||
| 64 | 70·{ | 91 | 70·{ |
| 65 | 71 | ||
| 66 | 75·void·evaluateFunction·(const·FieldVector<D,dim>&·in, | ||
| 67 | 7 | 92 | 71·//·for·mixed·grids·add·offset·for·cubes |
| 93 | 72·variants_.resize(numVariants(GeometryTypes::simplex(dim))·+·numVariants | ||
| 94 | (GeometryTypes::cube(dim))); | ||
| 95 | 73·for·(size_t·i·=·0;·i·<·numVariants(GeometryTypes::simplex(dim));·i++) | ||
| 96 | 74·variants_[i]·=·SimplexFiniteElement(i); | ||
| 97 | 75·for·(size_t·i·=·0;·i·<·numVariants(GeometryTypes::cube(dim));·i++) | ||
| Max diff block lines reached; 56388/62296 bytes (90.52%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-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 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 57 lines modified | Offset 73, 47 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">lfeprebasismixin.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<c | 83 | <div·class="textblock"><code>#include·<cassert></code><br·/> |
| 84 | <code>#include·<type_traits></code><br·/> | 84 | <code>#include·<type_traits></code><br·/> |
| 85 | <code>#include·<utility></code><br·/> | ||
| 86 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 87 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 88 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a001 | 86 | <code>#include·<<a·class="el"·href="a00143_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a0 | 87 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 88 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 92 | </div> | 89 | </div> |
| 93 | <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 94 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01715.html">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·></a></td></tr> |
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 95 | <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="a01715.html#details">More...</a><br·/></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01719.html">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node</a></td></tr> | ||
| 98 | <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="a01715.html"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.">LFEPreBasisMixin</a>·of·type·<code>LFE</code>.··<a·href="a01719.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 113 | Functions</h2></td></tr> | 109 | Functions</h2></td></tr> |
| 114 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"·id="r_a060058e4e3c070530978192cb7c99d39"><td·class="memTemplParams"·colspan="2">template<class·PreBasis·>·</td></tr> | ||
| 115 | <tr·class="memitem:a | 110 | <tr·class="memitem:af37105e3e3c8d996b2a3551286f01be9"·id="r_af37105e3e3c8d996b2a3551286f01be9"><td·class="memTemplParams"·colspan="2">template<class·GV·,·class·LFE·>·</td></tr> |
| 111 | <tr·class="memitem:af37105e3e3c8d996b2a3551286f01be9"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#af37105e3e3c8d996b2a3551286f01be9">Dune::Functions::LFEPreBasisMixin</a>·(const·GV·&,·const·LFE·&,·MCMGLayout)·->·<a·class="el"·href="a01715.html">LFEPreBasisMixin</a><·GV,·LFE·></td></tr> | ||
| 116 | <tr·class="separator:a | 112 | <tr·class="separator:af37105e3e3c8d996b2a3551286f01be9"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 117 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"·id="r_a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
| 118 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a57d2c8b66fd384768b94af95e4ce5d78">Dune::Functions::DefaultGlobalBasis</a>·(const·GridView·&gv,·PreBasisFactory·&&f)·->·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·std::decay_t<·decltype(f(gv))>·></td></tr> | ||
| 119 | <tr·class="separator:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"·id="r_a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
| 121 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00230.html#a1f0dc55c03c3a9862c76456d5574abe2">Dune::Functions::BasisFactory::makeBasis</a>·(const·GridView·&gridView,·PreBasisFactory·&&preBasisFactory)</td></tr> | ||
| 122 | <tr·class="separator:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 123 | </table> | 113 | </table> |
| 124 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 125 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
| 126 | <hr·class="footer"/><address·class="footer"><small> | 116 | <hr·class="footer"/><address·class="footer"><small> |
| 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 128 | </small></address> | 118 | </small></address> |
| 129 | </body> | 119 | </body> |
| Offset 2, 46 lines modified | Offset 2, 36 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | lfeprebasismixin.hh·File·Reference | |
| 10 | #include·<c | 10 | #include·<cassert> |
| 11 | #include·<type_traits> | 11 | #include·<type_traits> |
| 12 | #include·<utility> | ||
| 13 | #include·<dune/common/reservedvector.hh> | ||
| 14 | #include·<dune/common/typeutilities.hh> | ||
| 15 | #include·<dune/common/ | 12 | #include·<dune/common/exceptions.hh> |
| 16 | #include·<dune/functions/common/type_traits.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/ | 13 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> |
| 18 | #include·<dune/functions/functionspacebases/ | 14 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 15 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | 17 | Classes |
| 21 | class· ·Dune::Functions::DefaultGlobalBasis<_PB_> | ||
| 22 | 18 | class· ·Dune::Functions::LFEPreBasisMixin<_GV,_LFE_> | |
| 19 | ·······A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a | ||
| 20 | ········DOF·layout.·More... | ||
| 21 | |||
| 22 | class· ·Dune::Functions::LFEPreBasisMixin<_GV,_LFE_>::Node | ||
| 23 | ·······Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the | ||
| 24 | ········LFEPreBasisMixin·of·type·LFE.·More... | ||
| 23 | 25 | ||
| 24 | Namespaces | 26 | Namespaces |
| 25 | namespace· ·Dune | 27 | namespace· ·Dune |
| 26 | 28 | ||
| 27 | namespace· ·Dune::Functions | 29 | namespace· ·Dune::Functions |
| 28 | 30 | ||
| 29 | namespace· ·Dune::Functions::BasisFactory | ||
| 30 | |||
| 31 | namespace· ·Dune::Functions::BasisBuilder | ||
| 32 | |||
| 33 | Functions | 31 | Functions |
| 32 | template<class·GV·,·class·LFE·> | ||
| 33 | ·Dune::Functions::LFEPreBasisMixin·(const·GV·&,·const·LFE·&,·MCMGLayout)·- | ||
| 34 | ··>·LFEPreBasisMixin<·GV,·LFE·> | ||
| 34 | template<class·PreBasis·> | ||
| 35 | ···· ·Dune::Functions::DefaultGlobalBasis·(PreBasis·&&)·->·DefaultGlobalBasis< | ||
| 36 | ······std::decay_t<·PreBasis·>·> | ||
| 37 | |||
| 38 | template<class·GridView·,·class·PreBasisFactory·> | ||
| 39 | ···· ·Dune::Functions::DefaultGlobalBasis·(const·GridView·&gv,·PreBasisFactory | ||
| 40 | ······&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·> | ||
| 41 | |||
| 42 | template<class·GridView·,·class·PreBasisFactory·> | ||
| 43 | auto ·Dune::Functions::BasisFactory::makeBasis·(const·GridView·&gridView, | ||
| 44 | ······PreBasisFactory·&&preBasisFactory) | ||
| 45 | 35 | ||
| 46 | =============================================================================== | 36 | =============================================================================== |
| 47 | ·····Generated·by [doxygen]·1.9.8 | 37 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-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 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 234 lines modified | Offset 74, 161 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">lfeprebasismixin.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="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> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<c | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cassert></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00143.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·< | 100 | <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> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00185.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <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> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PB></div> | ||
| 112 | <div·class="foldopen"·id="foldopen000 | 105 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
| 113 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01715.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin</a>·:</div> |
| 107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01707.html">LeafPreBasisMapperMixin</a><·GV·></div> | ||
| 114 | <div·class="line"><a·id="l0005 | 108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> |
| 109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01707.html">Base</a>·=·<a·class="code·hl_class"·href="a01707.html">LeafPreBasisMapperMixin<·GV·></a>;</div> | ||
| 115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> | ||
| 117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB;</div> | ||
| 119 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01563.html#aa33c9a46f1e7548b2a956c36f6554e89">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath</a>·=·TypeTree::HybridTreePath<>;</div> | ||
| 121 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
| 122 | <div·class="line"><a·id="l0006 | 111 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> |
| 123 | <div·class="line"><a·id="l0006 | 112 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 124 | <div·class="line"><a·id="l0006 | 113 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01715.html#ae1eb6bf264da93bbcc70215df165f1b7">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01715.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>[·...·truncated·by·diffoscope;·len:·5,·SHA:·080f2e59c284e764c2969a955bb33a403376fcc3442252fe6df4474891925c86·...·];</div> |
| 125 | <div·class="line"><a·id="l0006 | 114 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
| 126 | <div·class="line"><a·id="l0006 | 115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01719.html">Node</a>;</div> |
| 127 | <div·class="line"><a·id="l0006 | 116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 128 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01563.html#a71e8362c3966f9bc4ced844fb8474be7">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a71e8362c3966f9bc4ced844fb8474be7">MultiIndex</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01567.html#acffe4cd37e8a7720e1a3eced31570c5a">LocalView::MultiIndex</a>;</div> | ||
| 129 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01563.html#a00a78eb6f90d02a8c5dd3d4718b14e99">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a00a78eb6f90d02a8c5dd3d4718b14e99">SizePrefix</a>·=·Dune::ReservedVector<std::size_t,·PreBasis::multiIndexBufferSize>;</div> | ||
| 131 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 132 | <div·class="line"><a·id="l000 | 117 | <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> |
| 118 | <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="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····disableCopyMove<<a·class="code·hl_class"·href="a01563.html">DefaultGlobalBasis</a>,·T...>·=·0,</div> | ||
| 134 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_typedef"·href="a00221.html#ga80c230cc3d1605429839d9a6076af5ee">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>,·T...>·=·0></div> | ||
| 135 | <div·class="foldopen"·id="foldopen000 | 119 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> |
| 120 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01715.html#a83b45bf78e049254f37ba8ff4867508e">···75</a></span>··<a·class="code·hl_function"·href="a01715.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01715.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>&·gv,·MCMGLayout·layout)</div> | ||
| 136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01563.html#ac8c43e23bffc9116702a479f1c1d01f4">···86</a></span>··<a·class="code·hl_function"·href="a01563.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>(T&&...·t)·:</div> | ||
| 137 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(std::forward<T>(t)...),</div> | ||
| 138 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····:·<a·class="code·hl_class"·href="a01707.html">Base</a>(gv,·layout)</div> |
| 122 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····,·lfe_{}</div> | ||
| 139 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{}</div> |
| 140 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 141 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
| 142 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
| 143 | </div> | ||
| 144 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
| 145 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>PreBasisFactory,</div> | ||
| 146 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····std::enable_if_t<Dune::IsCallable<PreBasisFactory(<a·class="code·hl_typedef"·href="a01563.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>),·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>::value,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 147 | <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01563.html#aca0a06166bf28fbc1f22dbcb7ca98812">··102</a></span>··<a·class="code·hl_function"·href="a01563.html#aca0a06166bf28fbc1f22dbcb7ca98812">DefaultGlobalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01563.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>&·<a·class="code·hl_function"·href="a01563.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>,·PreBasisFactory&&·factory)·:</div> | ||
| 149 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(factory(<a·class="code·hl_function"·href="a01563.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>)),</div> | ||
| 150 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<a·class="code·hl_variable"·href="a01563.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
| 151 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div> | ||
| 152 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 153 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
| 154 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··}</div> | ||
| 155 | </div> | ||
| 156 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</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="a01563.html#a34897e5d2dd92bf5f34d61e47a9eff66">··111</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01563.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>&·<a·class="code·hl_function"·href="a01563.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>()<span·class="keyword">·const</span></div> | ||
| 159 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">··</span>{</div> | ||
| 160 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.gridView();</div> | ||
| 161 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··}</div> | ||
| 162 | </div> | ||
| 163 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> | ||
| 164 | <div·class="foldopen"·id="foldopen00117"·data-start="{"·data-end="}"> | ||
| 165 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01563.html#ae9a040d36416bf5456a7d7cbca241f17">··117</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>&·<a·class="code·hl_function"·href="a01563.html#ae9a040d36416bf5456a7d7cbca241f17">preBasis</a>()<span·class="keyword">·const</span></div> | ||
| 166 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="keyword">··</span>{</div> | ||
| 167 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>;</div> | ||
| 168 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··}</div> | ||
| 169 | </div> | ||
| 170 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> | ||
| 171 | <div·class="foldopen"·id="foldopen00123"·data-start="{"·data-end="}"> | ||
| 172 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01563.html#a6683475941d1516b89a98d6ace4d5842">··123</a></span>··<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>&·<a·class="code·hl_function"·href="a01563.html#a6683475941d1516b89a98d6ace4d5842">preBasis</a>()</div> | ||
| 173 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··{</div> | ||
| Max diff block lines reached; 43445/66309 bytes (65.52%) of diff not shown. | |||
| Offset 1, 285 lines modified | Offset 1, 184 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | lfeprebasismixin.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LFEPREBASISMIXIN_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<c | 21 | 10#include·<cassert> |
| 22 | 11#include·<type_traits> | 22 | 11#include·<type_traits> |
| 23 | 12 | ||
| 23 | 12#include·<utility> | ||
| 24 | 13 | ||
| 25 | 14#include·<dune/common/reservedvector.hh> | ||
| 26 | 15#include·<dune/common/typeutilities.hh> | ||
| 27 | 1 | 24 | 13#include·<dune/common/exceptions.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 27 | 16#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 28 | 17 | 28 | 17 |
| 29 | 18#include·<dune/functions/common/type_traits.hh> | ||
| 30 | 19#include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
| 31 | 29 | 18#include·<dune/grid/common/mcmgmapper.hh> | |
| 30 | 19 | ||
| 31 | 20namespace·Dune::Functions·{ | ||
| 32 | 21 | 32 | 21 |
| 33 | 54template·<class·GV,·class·LFE> | ||
| 34 | 55class·LFEPreBasisMixin·: | ||
| 35 | 56·public·LeafPreBasisMapperMixin<·GV·> | ||
| 36 | 57{ | ||
| 37 | 58·using·Base·=·LeafPreBasisMapperMixin<_GV_>; | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24namespace·Dune·{ | ||
| 36 | 25namespace·Functions·{ | ||
| 37 | 26 | ||
| 38 | 27 | ||
| 39 | 28 | ||
| 40 | 48template<class·PB> | ||
| 41 | 49class·DefaultGlobalBasis | ||
| 42 | 50{ | ||
| 43 | 51 | ||
| 44 | 52public: | ||
| 45 | 53 | ||
| 46 | 55·using·PreBasis·=·PB; | ||
| 47 | 56 | ||
| 48 | 58·using·PrefixPath·=·TypeTree::HybridTreePath<>; | ||
| 49 | 59 | 38 | 59 |
| 50 | 61·using·GridView·=·typename·PreBasis::GridView; | ||
| 51 | 6 | 39 | 60public: |
| 40 | 61 | ||
| 41 | 63·using·GridView·=·GV; | ||
| 42 | 64 | ||
| 43 | 66·class·Node; | ||
| 44 | 67 | ||
| 45 | 73·template·<class·LFE_·=·LFE, | ||
| 46 | 74·std::enable_if_t<std::is_default_constructible_v<LFE_>,·int>·=·0> | ||
| 47 | 75·LFEPreBasisMixin·(const·GridView&·gv,·MCMGLayout·layout) | ||
| 48 | 76·:·Base(gv,·layout) | ||
| 49 | 77·,·lfe_{} | ||
| 50 | 78·{} | ||
| 51 | 79 | ||
| 52 | 85·template·<class·LFE_> | ||
| 53 | 86·LFEPreBasisMixin·(const·GridView&·gv,·LFE_&&·lfe,·MCMGLayout·layout) | ||
| 54 | 87·:·Base(gv,·layout) | ||
| 55 | 88·,·lfe_(std::forward<LFE_>(lfe)) | ||
| 56 | 89·{} | ||
| 57 | 90 | ||
| 58 | 92·Node·makeNode·()·const | ||
| 59 | 93·{ | ||
| 60 | 94·return·Node(lfe_); | ||
| 61 | 95·} | ||
| 62 | 96 | ||
| 63 | 97private: | ||
| 64 | 98·LFE·lfe_; | ||
| 65 | 99}; | ||
| 66 | 100 | ||
| 67 | 101//·deduction·guide | ||
| 68 | 102template·<class·GV,·class·LFE> | ||
| 69 | 103LFEPreBasisMixin(const·GV&,·const·LFE&,·MCMGLayout) | ||
| 70 | 104·->·LFEPreBasisMixin<GV,LFE>; | ||
| 71 | 105 | ||
| 72 | 106 | ||
| 73 | 107 | ||
| 74 | 117template·<class·GV,·class·LFE> | ||
| 75 | 118class·LFEPreBasisMixin<GV,LFE>::Node | ||
| 76 | 119·:·public·LeafBasisNode | ||
| 77 | 120{ | ||
| 78 | 121·static·constexpr·int·dim·=·GV::dimension; | ||
| 79 | 122 | ||
| 80 | 123public: | ||
| 52 | 81 | 124·using·size_type·=·std::size_t; | |
| 82 | 125·using·Element·=·typename·GV::template·Codim<0>::Entity; | ||
| 83 | 126·using·FiniteElement·=·LFE; | ||
| 53 | 65 | ||
| 54 | 67·using·LocalView·=·DefaultLocalView<DefaultGlobalBasis<PreBasis>>; | ||
| 55 | 68 | ||
| 56 | 70·using·MultiIndex·=·typename·LocalView::MultiIndex; | ||
| 57 | 71 | ||
| 58 | 73·using·SizePrefix·=·Dune::ReservedVector<std::size_t,·PreBasis:: | ||
| 59 | multiIndexBufferSize>; | ||
| 60 | 74 | ||
| 61 | 83·template<class...·T, | ||
| 62 | 84·disableCopyMove<DefaultGlobalBasis,·T...>·=·0, | ||
| 63 | 85·enableIfConstructible<PreBasis,·T...>·=·0> | ||
| 64 | 86·DefaultGlobalBasis(T&&...·t)·: | ||
| 65 | 87·preBasis_(std::forward<T>(t)...), | ||
| 66 | 88·prefixPath_() | ||
| 67 | 89·{ | ||
| 68 | 90·static_assert(models<Concept::PreBasis<GridView>,·PreBasis>(),·"Type·passed | ||
| 69 | to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."); | ||
| 70 | 91·preBasis_.initializeIndices(); | ||
| 71 | 92·} | ||
| 72 | 93 | ||
| 73 | 100·template<class·PreBasisFactory, | ||
| Max diff block lines reached; 9672/13937 bytes (69.40%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-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 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 51 lines modified | Offset 72, 61 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 79 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">refinedlagrangebasis.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 82 | </div><!--header--> |
| 82 | <div·class="contents"> | 83 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/math.hh></code><br·/> | ||
| 87 | <code>#include·<dune/localfunctions/refined.hh></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00143_source.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 84 | <code>#include·<dune/geometry/ | 91 | <code>#include·<dune/geometry/type.hh></code><br·/> |
| 85 | <code>#include·<dune/ | 92 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> |
| 86 | </div> | 93 | </div> |
| 87 | <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p> | 94 | <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 95 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 90 | Classes</h2></td></tr> | 97 | Classes</h2></td></tr> |
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01847.html">Dune::Functions::RefinedLagrangePreBasis<·GV,·k,·R·></a></td></tr> | ||
| 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·refined·Lagrange·bases.··<a·href="a01847.html#details">More...</a><br·/></td></tr> | ||
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a018 | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01843.html">Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·></a></td></tr> |
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·DOFs·associated·to·sub-entity.··<a·href="a01855.html#details">More...</a><br·/></td></tr> | ||
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | </table><table·class="memberdecls"> | 103 | </table><table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 96 | Namespaces</h2></td></tr> | 105 | Namespaces</h2></td></tr> |
| 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 106 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 108 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | </table><table·class="memberdecls"> | ||
| 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 114 | Typedefs</h2></td></tr> | ||
| 115 | <tr·class="memitem:gaff51e4023c0c1aefafb7cec40762dfb3"·id="r_gaff51e4023c0c1aefafb7cec40762dfb3"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k,·typename·R··=·double>·</td></tr> | ||
| 116 | <tr·class="memitem:gaff51e4023c0c1aefafb7cec40762dfb3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gaff51e4023c0c1aefafb7cec40762dfb3">Dune::Functions::RefinedLagrangeBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01847.html">RefinedLagrangePreBasis</a><·GV,·k,·R·>·></td></tr> | ||
| 117 | <tr·class="memdesc:gaff51e4023c0c1aefafb7cec40762dfb3"><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> | ||
| 118 | <tr·class="separator:gaff51e4023c0c1aefafb7cec40762dfb3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | </table><table·class="memberdecls"> | 119 | </table><table·class="memberdecls"> |
| 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 103 | Functions</h2></td></tr> | 121 | Functions</h2></td></tr> |
| 122 | <tr·class="memitem:gababd87862558eb10c1de9d1c14dc48a6"·id="r_gababd87862558eb10c1de9d1c14dc48a6"><td·class="memTemplParams"·colspan="2">template<int·k,·typename·R··=·double>·</td></tr> | ||
| 123 | <tr·class="memitem:gababd87862558eb10c1de9d1c14dc48a6"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gababd87862558eb10c1de9d1c14dc48a6">Dune::Functions::BasisFactory::refinedLagrange</a>·()</td></tr> | ||
| 124 | <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> | ||
| 104 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"·id="r_ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
| 105 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga0b9da94fff21e98877d0e3fe1c1554c7">Dune::Functions::subEntityDOFs</a>·(const·T·&)</td></tr> | ||
| 106 | <tr·class="memdesc:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 107 | <tr·class="separator:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"·id="r_ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> | ||
| 109 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga5803226b1ed4bf848a9532181c952244">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | ||
| 110 | <tr·class="memdesc:ga5803226b1ed4bf848a9532181c952244"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 111 | <tr·class="separator:ga5803226b1ed4bf848a9532181c952244"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 112 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"·id="r_ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplParams"·colspan="2">template<class·LocalView·,·class·Intersection·>·</td></tr> | ||
| 113 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga09ad7987f85909bfcf269a0de9c652d8">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·const·Intersection·&intersection)</td></tr> | ||
| 114 | <tr·class="memdesc:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:ga | 125 | <tr·class="separator:gababd87862558eb10c1de9d1c14dc48a6"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 116 | </table> | 126 | </table> |
| 117 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
| 118 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
| 119 | <hr·class="footer"/><address·class="footer"><small> | 129 | <hr·class="footer"/><address·class="footer"><small> |
| 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 121 | </small></address> | 131 | </small></address> |
| 122 | </body> | 132 | </body> |
| Offset 1, 39 lines modified | Offset 1, 46 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | subentitydofs.hh·File·Reference | ||
| 10 | 9 | refinedlagrangebasis.hh·File·Reference | |
| 10 | #include·<type_traits> | ||
| 11 | #include·<dune/common/exceptions.hh> | ||
| 12 | #include·<dune/common/math.hh> | ||
| 13 | #include·<dune/localfunctions/refined.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 11 | #include·<dune/geometry/ | 17 | #include·<dune/geometry/type.hh> |
| 12 | #include·<dune/ | 18 | #include·<dune/grid/common/mcmgmapper.hh> |
| 13 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 14 | Classes | 20 | Classes |
| 15 | class· ·Dune::Functions::SubEntityDOFs<_GridView_> | ||
| 16 | 21 | class· ·Dune::Functions::RefinedLagrangePreBasis<_GV,_k,_R_> | |
| 22 | ·······A·pre-basis·for·a·refined·Lagrange·bases.·More... | ||
| 23 | |||
| 24 | class· ·Dune::Functions::RefinedLagrangeNode<_GV,_k,_R_> | ||
| 17 | 25 | ||
| 18 | Namespaces | 26 | Namespaces |
| 19 | namespace· ·Dune | 27 | namespace· ·Dune |
| 20 | 28 | ||
| 21 | namespace· ·Dune::Functions | 29 | namespace· ·Dune::Functions |
| 22 | 30 | ||
| 31 | namespace· ·Dune::Functions::BasisFactory | ||
| 32 | |||
| 33 | Typedefs | ||
| 34 | template<typename·GV·,·int·k,·typename·R·=·double> | ||
| 35 | using ·Dune::Functions::RefinedLagrangeBasis·=·DefaultGlobalBasis< | ||
| 36 | ·······RefinedLagrangePreBasis<·GV,·k,·R·>·> | ||
| 37 | ······Nodal·basis·of·a·continuous·Lagrange·finite-element·space·on·a·uniformly | ||
| 38 | ·······refined·simplex·element. | ||
| 39 | |||
| 23 | Functions | 40 | Functions |
| 41 | template<int·k,·typename·R·=·double> | ||
| 42 | auto ·Dune::Functions::BasisFactory::refinedLagrange·() | ||
| 43 | ·····Create·a·pre-basis·factory·that·can·create·a·RefinedLagrange·pre-basis. | ||
| 24 | template<class·T·> | ||
| 25 | auto ·Dune::Functions::subEntityDOFs·(const·T·&) | ||
| 26 | ·····Create·SubEntityDOFs·object. | ||
| 27 | |||
| 28 | template<class·LocalView·> | ||
| 29 | auto ·Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·std::size_ | ||
| 30 | ······t·subEntityIndex,·std::size_t·subEntityCodim) | ||
| 31 | ·····Create·bound·SubEntityDOFs·object. | ||
| 32 | |||
| 33 | template<class·LocalView·,·class·Intersection·> | ||
| 34 | auto ·Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·const | ||
| 35 | ······Intersection·&intersection) | ||
| 36 | ·····Create·bound·SubEntityDOFs·object. | ||
| 37 | 44 | ||
| 38 | =============================================================================== | 45 | =============================================================================== |
| 39 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-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 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 174 lines modified | Offset 74, 222 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">refinedlagrangebasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/ | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/ | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/refined.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 101 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00143.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
| 103 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 104 | <div·class="line"><a·id="l000 | 105 | <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> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">class·</span>RefinedLagrangeNode;</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R·=·<span·class="keywordtype">double</span>></div> | ||
| 105 | <div·class="foldopen"·id="foldopen0004 | 115 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="};"> |
| 106 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01847.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01847.html">RefinedLagrangePreBasis</a>·:</div> |
| 117 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01707.html">LeafPreBasisMapperMixin</a><·GV·></div> | ||
| 107 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> | 118 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
| 108 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword"> | 119 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01707.html">Base</a>·=·<a·class="code·hl_class"·href="a01707.html">LeafPreBasisMapperMixin<·GV·></a>;</div> |
| 109 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 110 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">p | 121 | <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> |
| 111 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView></div> | ||
| 113 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> | ||
| 114 | <div·class="line"><a·id="l000 | 123 | <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> |
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 126 | <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> | ||
| 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">static</span>·MCMGLayout·dofLayout()</div> | ||
| 115 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div> |
| 116 | <div·class="line"><a·id="l000 | 129 | <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> |
| 130 | <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> | ||
| 131 | <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> | ||
| 132 | <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> | ||
| 133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div> | ||
| 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>(k·==·1)</div> | ||
| 135 | <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> | ||
| 136 | <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> | ||
| 137 | <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> | ||
| 138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div> | ||
| 139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keywordflow">else</span></div> | ||
| 140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······DUNE_THROW(Dune::NotImplemented,</div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> | ||
| 117 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>· | 143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 118 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span> | 144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div> |
| 119 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 120 | <div·class="line"><a·id="l0007 | 146 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01847.html#a996c52d44e30a38a024f3d5729da99f4">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01847.html#a996c52d44e30a38a024f3d5729da99f4">GridView</a>[·...·truncated·by·diffoscope;·len:·5,·SHA:·080f2e59c284e764c2969a955bb33a403376fcc3442252fe6df4474891925c86·...·];</div> |
| 121 | <div·class="line"><a·id="l0007 | 147 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01847.html#a6ad27542b8813713b8cf00b7eec2af44">···78</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01843.html">Node</a>·=·<a·class="code·hl_class"·href="a01843.html">RefinedLagrangeNode<GV,·k,·R></a>;</div> | ||
| 122 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](<span·class="keyword">auto</span>&&·node,·<span·class="keyword">auto</span>&&·<span·class="comment">/*treePath*/</span>)·{</div> | ||
| 123 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······const·auto&·localCoefficients·=·node.finiteElement().localCoefficients();</div> | ||
| 124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······std::size_t·localSize·=·localCoefficients.size();</div> | ||
| 125 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······for(std::size_t·i=0;·i<localSize;·++i)</div> | ||
| 126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······{</div> | ||
| 127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········auto·localKey·=·localCoefficients.localKey(i);</div> | ||
| 128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim()).contains(localKey.subEntity()))</div> | ||
| 129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········{</div> | ||
| 130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········containedDOFs_.push_back(node.localIndex(i));</div> | ||
| 131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········dofIsContained_[node.localIndex(i)]·=·true;</div> | ||
| 132 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········}</div> | ||
| 133 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 150 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 151 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01847.html#abbb9f8f518c22b66f6f15fc88689c03e">···86</a></span>··<a·class="code·hl_function"·href="a01847.html#abbb9f8f518c22b66f6f15fc88689c03e">RefinedLagrangePreBasis</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01847.html#a996c52d44e30a38a024f3d5729da99f4">GridView</a>&·gv)</div> | ||
| 152 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····:·<a·class="code·hl_class"·href="a01707.html">Base</a>(gv,·dofLayout())</div> | ||
| 134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·· | 153 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div> |
| 135 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordflow"> | 154 | <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> |
| 155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 156 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········DUNE_THROW(Dune::NotImplemented,</div> | ||
| 157 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········<span·class="stringliteral">"Refined·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 158 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> | ||
| 136 | <div·class="line"><a·id="l0009 | 159 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··}</div> |
| 137 | </div> | 160 | </div> |
| 138 | <div·class="line"><a·id="l0009 | 161 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
| 139 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView,·<span·class="keyword">class</span>·Intersection></div> | ||
| 140 | <div·class="foldopen"·id="foldopen00 | 162 | <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> |
| 141 | <div·class="line"><a·id="l00 | 163 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01847.html#a602555c6b645ede815ea85f88cad0b1f">···97</a></span>··<a·class="code·hl_class"·href="a01843.html">Node</a>·<a·class="code·hl_function"·href="a01847.html#a602555c6b645ede815ea85f88[·...·truncated·by·diffoscope;·len:·59,·SHA:·1fb1da3f0241e536e72ab588b739d6fe9a3dd232c8bd4a5a9c9611dd9cf9e8a4·...·]</div> |
| 164 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">··</span>{</div> | ||
| 165 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01843.html">Node</a>{};</div> | ||
| 142 | <div·class="line"><a·id="l0010 | 166 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··}</div> |
| 143 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">return</span>·bind(localView,·intersection.indexInInside(),·1);</div> | ||
| Max diff block lines reached; 26683/59183 bytes (45.09%) of diff not shown. | |||
| Offset 1, 180 lines modified | Offset 1, 254 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | refinedlagrangebasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_REFINEDLAGRANGEBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_REFINEDLAGRANGEBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·< | 21 | 10#include·<type_traits> |
| 22 | 11 | 22 | 11 |
| 23 | 12#include·<dune/geometry/referenceelements.hh> | ||
| 24 | 1 | 23 | 12#include·<dune/common/exceptions.hh> |
| 24 | 13#include·<dune/common/math.hh> | ||
| 25 | 14 | 25 | 14 |
| 26 | 15 | 26 | 15#include·<dune/localfunctions/refined.hh> |
| 27 | 16 | 27 | 16 |
| 28 | 17namespace·Dune·{ | ||
| 29 | 18namespace·Functions·{ | ||
| 30 | 1 | 28 | 17#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 29 | 18#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 30 | 19#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 31 | 20 | 31 | 20 |
| 32 | 21 | ||
| 33 | 44template<class·GridView> | ||
| 34 | 32 | 21#include·<dune/geometry/type.hh> | |
| 33 | 22 | ||
| 34 | 23#include·<dune/grid/common/mcmgmapper.hh> | ||
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 26namespace·Dune·{ | ||
| 38 | 27namespace·Functions·{ | ||
| 39 | 28 | ||
| 40 | 29template<typename·GV,·int·k,·typename·R> | ||
| 41 | 30class·RefinedLagrangeNode; | ||
| 42 | 31 | ||
| 43 | 43template·<typename·GV,·int·k,·typename·R·=·double> | ||
| 44 | 44class·RefinedLagrangePreBasis·: | ||
| 45 | 45·public·LeafPreBasisMapperMixin<·GV·> | ||
| 35 | 46{ | 46 | 46{ |
| 36 | 47· | 47 | 47·using·Base·=·LeafPreBasisMapperMixin<_GV_>; |
| 37 | 48 | 48 | 48 |
| 38 | 49 | 49 | 49·static·const·int·dim·=·GV::dimension; |
| 39 | 50 | 50 | 50 |
| 40 | 67·template<class·LocalView> | ||
| 41 | 68·SubEntityDOFs&·bind(const·LocalView&·localView,·std::size_t·subEntityIndex, | ||
| 42 | 51 | 51·//·refined·basis·only·implemented·for·P0·and·P1 | |
| 52 | 52·static_assert(k·==·0·||·k·==·1); | ||
| 53 | 53 | ||
| 54 | 54·//·the·layout·is·defined·in·terms·of·a·MCMGLayout·specialized·for·k·==·0·or | ||
| 55 | 1 | ||
| 56 | 55·static·MCMGLayout·dofLayout() | ||
| 43 | 57 | 56·{ | |
| 44 | 70·//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity | ||
| 45 | 71·containedDOFs_.clear(); | ||
| 46 | 58 | 57·if·constexpr(k·==·0) | |
| 59 | 58·//·a·refined·P0·basis·assigns·each·element·2^dim·DOFs | ||
| 60 | 59·return·[](GeometryType·gt,·int)·->·size_t·{ | ||
| 61 | 60·return·(gt.dim()·==·dim)·?·(1·<<·dim)·:·0; | ||
| 62 | 61·}; | ||
| 63 | 62·else·if·constexpr(k·==·1) | ||
| 64 | 63·//·a·refined·P1·basis·has·the·same·layout·as·a·P2·basis | ||
| 65 | 64·return·[](GeometryType·gt,·int)·->·size_t·{ | ||
| 66 | 65·return·Dune::binomial(int(k),int(gt.dim())); | ||
| 67 | 66·}; | ||
| 68 | 67·else | ||
| 69 | 68·DUNE_THROW(Dune::NotImplemented, | ||
| 70 | 69·"Refined·basis·not·implemented·for·higher-order·Lagrange·(k>=2)·elements."); | ||
| 71 | 70·} | ||
| 72 | 71 | ||
| 73 | 72public: | ||
| 47 | 73 | 74 | 73 |
| 75 | 75·using·GridView·=·GV; | ||
| 76 | 76 | ||
| 77 | 78·using·Node·=·RefinedLagrangeNode<GV,_k,_R>; | ||
| 78 | 79 | ||
| 79 | 86·RefinedLagrangePreBasis·(const·GridView&·gv) | ||
| 80 | 87·:·Base(gv,·dofLayout()) | ||
| 48 | 74·auto·re·=·Dune::referenceElement<double,dim>(localView.element().type()); | ||
| 49 | 75 | ||
| 50 | 76·Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](auto&&·node,·auto&&·/ | ||
| 51 | *treePath*/)·{ | ||
| 52 | 77·const·auto&·localCoefficients·=·node.finiteElement().localCoefficients(); | ||
| 53 | 78·std::size_t·localSize·=·localCoefficients.size(); | ||
| 54 | 79·for(std::size_t·i=0;·i<localSize;·++i) | ||
| 55 | 8 | 81 | 88·{ |
| 82 | 89·for·(auto·gt·:·gv.indexSet().types(0))·{ | ||
| 83 | 90·if·(!gt.isSimplex()) | ||
| 84 | 91·DUNE_THROW(Dune::NotImplemented, | ||
| 85 | 92·"Refined·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 56 | 81·auto·localKey·=·localCoefficients.localKey(i); | ||
| 57 | 82·if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim | ||
| 58 | ()).contains(localKey.subEntity())) | ||
| 59 | 83·{ | ||
| 60 | 84·containedDOFs_.push_back(node.localIndex(i)); | ||
| 61 | 85·dofIsContained_[node.localIndex(i)]·=·true; | ||
| 62 | 86·} | ||
| 63 | 87·} | ||
| 64 | 88·}); | ||
| 65 | 89·return·*this; | ||
| 66 | 9 | 86 | 93·} |
| 67 | 91 | ||
| 68 | 107·template<class·LocalView,·class·Intersection> | ||
| 69 | 108·SubEntityDOFs&·bind(const·LocalView&·localView,·const·Intersection& | ||
| 70 | 87 | 94·} | |
| 88 | 95 | ||
| 89 | 97·Node·makeNode·()·const | ||
| 90 | 98·{ | ||
| 91 | 99·return·Node{}; | ||
| 92 | 100·} | ||
| 93 | 101 | ||
| 94 | 109·static·constexpr·unsigned·int·order() | ||
| 71 | 1 | 95 | 110·{ |
| 72 | 11 | 96 | 111·return·k; |
| 73 | 11 | 97 | 112·} |
| 74 | 112 | ||
| Max diff block lines reached; 6706/12190 bytes (55.01%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·nede | 8 | <title>dune-functions:·containerdescriptors.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 59 lines modified | Offset 74, 94 lines modified | ||
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | 79 | <a·href="#typedef-members">Typedefs</a>·| |
| 80 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">nede | 81 | ··<div·class="headertitle"><div·class="title">containerdescriptors.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<array></code><br·/> | 84 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 85 | <code>#include·<cassert></code><br·/> | ||
| 86 | <code>#include·<functional></code><br·/> | ||
| 87 | <code>#include·<type_traits></code><br·/> | ||
| 88 | <code>#include·<vector></code><br·/> | ||
| 89 | <code>#include·<dune/common/filledarray.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/ | 90 | <code>#include·<dune/common/tuplevector.hh></code><br·/> |
| 86 | <code>#include·<dune/ | 91 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 88 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
| 89 | <code>#include·<dune/localfunctions/nedelec.hh></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00 | 92 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a001 | 93 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> |
| 94 | </div> | 94 | </div> |
| 95 | <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 96 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 98 | Classes</h2></td></tr> | 98 | Classes</h2></td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01543.html">Dune::Functions::ContainerDescriptors::Unknown</a></td></tr> |
| 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Fallback·container·descriptor·if·nothing·else·fits.··<a·href="a01543.html#details">More...</a><br·/></td></tr> | ||
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01547.html">Dune::Functions::ContainerDescriptors::Value</a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·node·in·the·descriptor·tree·representing·a·value·placeholder.··<a·href="a01547.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01551.html">Dune::Functions::ContainerDescriptors::UniformArray<·Child,·n·></a></td></tr> |
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·arrays·with·all·children·identical·and·the·number·of·children·a·static·size.··<a·href="a01551.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html">Dune::Functions::ContainerDescriptors::UniformVector<·Child·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Uniform·descriptor·with·dynamic·size.··<a·href="a01555.html#details">More...</a><br·/></td></tr> | ||
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 105 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
| 106 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 114 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 116 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:a0023 | 118 | <tr·class="memitem:a00233"·id="r_a00233"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00233.html">Dune::Functions::ContainerDescriptors</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | </table><table·class="memberdecls"> | 120 | </table><table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 114 | Typedefs</h2></td></tr> | 122 | Typedefs</h2></td></tr> |
| 115 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"·id="r_a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> | ||
| 116 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a744da0623cd512fc478d47bd2f7908eb">Dune::Functions::NedelecBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01731.html">NedelecPreBasis</a><·GV,·Range,·kind,·order·>·></td></tr> | ||
| 117 | <tr·class="mem | 123 | <tr·class="memitem:a1ed8246dfececd186115eeb0f7af27e6"·id="r_a1ed8246dfececd186115eeb0f7af27e6"><td·class="memTemplParams"·colspan="2">template<class...·Children>·</td></tr> |
| 124 | <tr·class="memitem:a1ed8246dfececd186115eeb0f7af27e6"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a1ed8246dfececd186115eeb0f7af27e6">Dune::Functions::ContainerDescriptors::Tuple</a>·=·Dune::TupleVector<·Children...·></td></tr> | ||
| 125 | <tr·class="memdesc:a1ed8246dfececd186115eeb0f7af27e6"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·with·all·children·of·possibly·different·type.··<br·/></td></tr> | ||
| 118 | <tr·class="separator:a | 126 | <tr·class="separator:a1ed8246dfececd186115eeb0f7af27e6"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 127 | <tr·class="memitem:a0d0ac15386d1828a57fce563b4aa4b53"·id="r_a0d0ac15386d1828a57fce563b4aa4b53"><td·class="memTemplParams"·colspan="2">template<class·Child·,·std::size_t·n>·</td></tr> | ||
| 128 | <tr·class="memitem:a0d0ac15386d1828a57fce563b4aa4b53"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a0d0ac15386d1828a57fce563b4aa4b53">Dune::Functions::ContainerDescriptors::Array</a>·=·std::array<·Child,·n·></td></tr> | ||
| 129 | <tr·class="memdesc:a0d0ac15386d1828a57fce563b4aa4b53"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·arrays·with·all·children·of·the·same·type·and·static·size.··<br·/></td></tr> | ||
| 130 | <tr·class="separator:a0d0ac15386d1828a57fce563b4aa4b53"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 131 | <tr·class="memitem:afa691799821f8c6c6de835ef2b074f8f"·id="r_afa691799821f8c6c6de835ef2b074f8f"><td·class="memTemplParams"·colspan="2">template<class·Child·>·</td></tr> | ||
| 132 | <tr·class="memitem:afa691799821f8c6c6de835ef2b074f8f"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#afa691799821f8c6c6de835ef2b074f8f">Dune::Functions::ContainerDescriptors::Vector</a>·=·std::vector<·Child·></td></tr> | ||
| 133 | <tr·class="memdesc:afa691799821f8c6c6de835ef2b074f8f"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·vectors·with·all·children·of·the·same·type·and·dynamic·size.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:afa691799821f8c6c6de835ef2b074f8f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 135 | <tr·class="memitem:a1c8fa32a898b1a06e13a9ff7f1329a43"·id="r_a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="memTemplParams"·colspan="2">template<std::size_t·n>·</td></tr> | ||
| 136 | <tr·class="memitem:a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a1c8fa32a898b1a06e13a9ff7f1329a43">Dune::Functions::ContainerDescriptors::FlatArray</a>·=·<a·class="el"·href="a01551.html">UniformArray</a><·<a·class="el"·href="a01547.html">Value</a>,·n·></td></tr> | ||
| 137 | <tr·class="memdesc:a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="mdescLeft"> </td><td·class="mdescRight">Alias·for·a·uniform·array·storing·value·placeholders.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 139 | <tr·class="memitem:af1aa15dfea314222ec036219d8f65896"·id="r_af1aa15dfea314222ec036219d8f65896"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00233.html#af1aa15dfea314222ec036219d8f65896">Dune::Functions::ContainerDescriptors::FlatVector</a>·=·<a·class="el"·href="a01555.html">UniformVector</a><·<a·class="el"·href="a01547.html">Value</a>·></td></tr> | ||
| 140 | <tr·class="memdesc:af1aa15dfea314222ec036219d8f65896"><td·class="mdescLeft"> </td><td·class="mdescRight">Alias·for·a·uniform·vector·storing·value·placeholders.··<br·/></td></tr> | ||
| 141 | <tr·class="separator:af1aa15dfea314222ec036219d8f65896"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 119 | </table><table·class="memberdecls"> | 142 | </table><table·class="memberdecls"> |
| 120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 143 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 121 | Functions</h2></td></tr> | 144 | Functions</h2></td></tr> |
| 122 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"·id="r_gafe0fe439067c288f197101b8686223e8"><td·class="memTemplParams"·colspan="2">template<std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> | ||
| 123 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gafe0fe439067c288f197101b8686223e8">Dune::Functions::BasisFactory::nedelec</a>·()</td></tr> | ||
| 124 | <tr·class="mem | 145 | <tr·class="memitem:a5aa100c5225a3709fbb096dc9c73d63f"·id="r_a5aa100c5225a3709fbb096dc9c73d63f"><td·class="memTemplParams"·colspan="2">template<class·PreBasis·>·</td></tr> |
| 146 | <tr·class="memitem:a5aa100c5225a3709fbb096dc9c73d63f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a5aa100c5225a3709fbb096dc9c73d63f">Dune::Functions::containerDescriptor</a>·(const·PreBasis·&preBasis)</td></tr> | ||
| 147 | <tr·class="memdesc:a5aa100c5225a3709fbb096dc9c73d63f"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·the·container·descriptor·of·the·pre-basis,·if·defined,·otherwise·ContainerDescriptor::Unknown.··<br·/></td></tr> | ||
| 148 | <tr·class="separator:a5aa100c5225a3709fbb096dc9c73d63f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 149 | <tr·class="memitem:a92f91149b73e70dbdf2f5270f967a539"·id="r_a92f91149b73e70dbdf2f5270f967a539"><td·class="memTemplParams"·colspan="2">template<class·Child0·,·class...·Children,·std::enable_if_t<(std::is_same_v<·Child0,·Children·>·&&...),·int·>··=·0>·</td></tr> | ||
| 150 | <tr·class="memitem:a92f91149b73e70dbdf2f5270f967a539"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a92f91149b73e70dbdf2f5270f967a539">Dune::Functions::ContainerDescriptors::makeDescriptor</a>·(Child0·child,·Children...·children)</td></tr> | ||
| 151 | <tr·class="memdesc:a92f91149b73e70dbdf2f5270f967a539"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·descriptor·in·case·the·children·are·all·of·the·same·type.··<br·/></td></tr> | ||
| 152 | <tr·class="separator:a92f91149b73e70dbdf2f5270f967a539"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 153 | <tr·class="memitem:a1cc8d924fe714e87c0318540d14ca61d"·id="r_a1cc8d924fe714e87c0318540d14ca61d"><td·class="memTemplParams"·colspan="2">template<class·Child·,·std::size_t·n>·</td></tr> | ||
| 154 | <tr·class="memitem:a1cc8d924fe714e87c0318540d14ca61d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a1cc8d924fe714e87c0318540d14ca61d">Dune::Functions::ContainerDescriptors::makeUniformDescriptor</a>·(std::integral_constant<·std::size_t,·n·>,·Child·child)</td></tr> | ||
| 155 | <tr·class="memdesc:a1cc8d924fe714e87c0318540d14ca61d"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·uniform·descriptor·in·case·the·size·is·a·static·constant.··<br·/></td></tr> | ||
| 125 | <tr·class="separator: | 156 | <tr·class="separator:a1cc8d924fe714e87c0318540d14ca61d"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 157 | <tr·class="memitem:af5f9aa0c6bf206da1efb563cc39f477f"·id="r_af5f9aa0c6bf206da1efb563cc39f477f"><td·class="memTemplParams"·colspan="2">template<class·Child·>·</td></tr> | ||
| 158 | <tr·class="memitem:af5f9aa0c6bf206da1efb563cc39f477f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#af5f9aa0c6bf206da1efb563cc39f477f">Dune::Functions::ContainerDescriptors::makeUniformDescriptor</a>·(std::size_t·n,·Child·child)</td></tr> | ||
| 159 | <tr·class="memdesc:af5f9aa0c6bf206da1efb563cc39f477f"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·uniform·descriptor·in·case·the·size·is·a·dynamic·value.··<br·/></td></tr> | ||
| 160 | <tr·class="separator:af5f9aa0c6bf206da1efb563cc39f477f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 126 | </table> | 161 | </table> |
| 127 | </div><!--·contents·--> | 162 | </div><!--·contents·--> |
| 128 | <!--·start·footer·part·--> | 163 | <!--·start·footer·part·--> |
| 129 | <hr·class="footer"/><address·class="footer"><small> | 164 | <hr·class="footer"/><address·class="footer"><small> |
| 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 165 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 131 | </small></address> | 166 | </small></address> |
| 132 | </body> | 167 | </body> |
| Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
| 1 | u | 1 | us-ascii |
| Offset 2, 45 lines modified | Offset 2, 90 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | nede | 9 | containerdescriptors.hh·File·Reference |
| 10 | #include·<array> | 10 | #include·<array> |
| 11 | #include·<cassert> | ||
| 12 | #include·<functional> | ||
| 13 | #include·<type_traits> | ||
| 14 | #include·<vector> | ||
| 15 | #include·<dune/common/filledarray.hh> | ||
| 11 | #include·<dune/common/ | 16 | #include·<dune/common/tuplevector.hh> |
| 12 | #include·<dune/ | 17 | #include·<dune/common/typeutilities.hh> |
| 18 | #include·<dune/functions/common/type_traits.hh> | ||
| 13 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 14 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 15 | #include·<dune/localfunctions/nedelec.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 18 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 19 | #include·<dune/functions/functionspacebases/ | 19 | #include·<dune/functions/functionspacebases/basistags.hh> |
| 20 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
| 21 | Classes | 21 | Classes |
| 22 | 22 | struct· ·Dune::Functions::ContainerDescriptors::Unknown | |
| 23 | ········Fallback·container·descriptor·if·nothing·else·fits.·More... | ||
| 23 | 24 | ||
| 24 | 25 | struct· ·Dune::Functions::ContainerDescriptors::Value | |
| 26 | ········The·node·in·the·descriptor·tree·representing·a·value·placeholder. | ||
| 27 | ·········More... | ||
| 28 | |||
| 29 | struct· ·Dune::Functions::ContainerDescriptors::UniformArray<_Child,_n_> | ||
| 30 | ········Descriptor·for·arrays·with·all·children·identical·and·the·number·of | ||
| 31 | ·········children·a·static·size.·More... | ||
| 32 | |||
| 33 | struct· ·Dune::Functions::ContainerDescriptors::UniformVector<_Child_> | ||
| 34 | ········Uniform·descriptor·with·dynamic·size.·More... | ||
| 25 | 35 | ||
| 26 | Namespaces | 36 | Namespaces |
| 27 | namespace· ·Dune | 37 | namespace· ·Dune |
| 28 | 38 | ||
| 29 | namespace· ·Dune::Functions | 39 | namespace· ·Dune::Functions |
| 30 | 40 | ||
| 31 | namespace· ·Dune::Functions:: | 41 | namespace· ·Dune::Functions::ContainerDescriptors |
| 32 | 42 | ||
| 33 | Typedefs | 43 | Typedefs |
| 34 | template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range·= | ||
| 35 | double> | ||
| 36 | using ·Dune::Functions::NedelecBasis·=·DefaultGlobalBasis<·NedelecPreBasis<·GV, | ||
| 37 | ·······Range,·kind,·order·>·> | ||
| 38 | 44 | template<class...·Children> | |
| 45 | using ·Dune::Functions::ContainerDescriptors::Tuple·=·Dune::TupleVector< | ||
| 46 | ·······Children...·> | ||
| 47 | ······Descriptor·with·all·children·of·possibly·different·type. | ||
| 48 | |||
| 49 | template<class·Child·,·std::size_t·n> | ||
| 50 | using ·Dune::Functions::ContainerDescriptors::Array·=·std::array<·Child,·n·> | ||
| 51 | ······Descriptor·for·arrays·with·all·children·of·the·same·type·and·static | ||
| 52 | ·······size. | ||
| 53 | |||
| 54 | template<class·Child·> | ||
| 55 | using ·Dune::Functions::ContainerDescriptors::Vector·=·std::vector<·Child·> | ||
| 56 | ······Descriptor·for·vectors·with·all·children·of·the·same·type·and·dynamic | ||
| 57 | ·······size. | ||
| 58 | |||
| 59 | template<std::size_t·n> | ||
| 60 | using ·Dune::Functions::ContainerDescriptors::FlatArray·=·UniformArray<·Value, | ||
| 61 | ·······n·> | ||
| 62 | ······Alias·for·a·uniform·array·storing·value·placeholders. | ||
| 63 | |||
| 64 | using ·Dune::Functions::ContainerDescriptors::FlatVector·=·UniformVector<·Value | ||
| 65 | ·······> | ||
| 66 | ······Alias·for·a·uniform·vector·storing·value·placeholders. | ||
| 39 | 67 | ||
| 40 | Functions | 68 | Functions |
| 41 | template<std::size_t·kind,·std::size_t·order,·typename·Range·=·double> | ||
| 42 | auto ·Dune::Functions::BasisFactory::nedelec·() | ||
| 43 | 69 | template<class·PreBasis·> | |
| 70 | auto ·Dune::Functions::containerDescriptor·(const·PreBasis·&preBasis) | ||
| 71 | ·····Return·the·container·descriptor·of·the·pre-basis,·if·defined,·otherwise | ||
| 72 | ······ContainerDescriptor::Unknown. | ||
| 73 | |||
| 74 | template<class·Child0·,·class...·Children,·std::enable_if_t<(std::is_same_v< | ||
| 75 | Child0,·Children·>·&&...),·int·>·=·0> | ||
| 76 | auto ·Dune::Functions::ContainerDescriptors::makeDescriptor·(Child0·child, | ||
| 77 | ······Children...·children) | ||
| 78 | ·····Generate·a·descriptor·in·case·the·children·are·all·of·the·same·type. | ||
| 79 | |||
| 80 | template<class·Child·,·std::size_t·n> | ||
| 81 | auto ·Dune::Functions::ContainerDescriptors::makeUniformDescriptor·(std:: | ||
| 82 | ······integral_constant<·std::size_t,·n·>,·Child·child) | ||
| 83 | ·····Generate·a·uniform·descriptor·in·case·the·size·is·a·static·constant. | ||
| 84 | |||
| 85 | template<class·Child·> | ||
| 86 | auto ·Dune::Functions::ContainerDescriptors::makeUniformDescriptor·(std::size_ | ||
| 87 | ······t·n,·Child·child) | ||
| 88 | ·····Generate·a·uniform·descriptor·in·case·the·size·is·a·dynamic·value. | ||
| 44 | 89 | ||
| 45 | =============================================================================== | 90 | =============================================================================== |
| 46 | ·····Generated·by [doxygen]·1.9.8 | 91 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·nede | 8 | <title>dune-functions:·containerdescriptors.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 398 lines modified | Offset 74, 299 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">nede | 80 | ··<div·class="headertitle"><div·class="title">containerdescriptors.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00125.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00125.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDE | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONTAINERDESCRIPTORS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDE | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONTAINERDESCRIPTORS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<cassert></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<functional></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·< | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·< | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<vector></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/ | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/filledarray.hh></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/ | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 100 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> |
| 104 | <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/nodes.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 106 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> |
| 106 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}"> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00233.html">···47</a></span><span·class="keyword">namespace·</span>ContainerDescriptors·{</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·order></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>Nedelec1stKindLocalFiniteElementMap</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··{</div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">using·</span>D·=·<span·class="keyword">typename</span>·GV::ctype;</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·hasFixedElementType·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::v;</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>CubeFiniteElement····=·Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>;</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">using·</span>SimplexFiniteElement·=·Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>;</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">public</span>:</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim,·FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>;</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>··topologyId·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::topologyId;··<span·class="comment">//·meaningless·if·hasFixedElementType·is·false</span></div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·GeometryType·type·=·GeometryType(topologyId,·GV::dimension);</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>FiniteElement·=·std::conditional_t<hasFixedElementType,</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>···········································std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>,</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>···········································LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 131 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01543.html">···50</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01543.html">Unknown</a>·{};</div> |
| 132 | <div·class="line"><a·id="l0005 | 110 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">if</span>·(order!=1)··<span·class="comment">//·I·am·not·sure·whether·the·formula·below·is·correct·for·all·orders.</span></div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span> | 111 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·end·namespace·ContainerDescriptors</span></div> |
| 112 | </div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 113 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">auto</span>·numEdges·=·referenceElement<D,dim>(type).size(dim-1);</div> | ||
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#gad1b5c7a712be185869dd34172f19dae1">power</a>(2,numEdges);</div> | ||
| 138 | <div·class="line"><a·id="l0005 | 114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 139 | <div·class="line"><a·id="l0005 | 115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····Nedelec1stKindLocalFiniteElementMap(<span·class="keyword">const</span>·GV&·gv)</div> | ||
| 141 | <div·class="line"><a·id="l0005 | 116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PreBasis></div> |
| 117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">auto</span>·containerDescriptorImpl(<span·class="keyword">const</span>·PreBasis&·preBasis,·Dune::PriorityTag<1>)</div> | ||
| 118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··->·<span·class="keyword">decltype</span>(preBasis.containerDescriptor())</div> | ||
| 142 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> |
| 120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordflow">return</span>·preBasis.containerDescriptor();</div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 121 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}</div> |
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·create·all·variants</span></div> | ||
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(hasFixedElementType)</div> | ||
| 146 | <div·class="line"><a·id="l0006 | 122 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
| 123 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PreBasis></div> | ||
| 124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">auto</span>·containerDescriptorImpl(<span·class="keyword">const</span>·PreBasis&·preBasis,·Dune::PriorityTag<0>)</div> | ||
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span> | 125 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>{</div> |
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·· | 126 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·ContainerDescriptors::Unknown{};</div> |
| 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}</div> |
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>· | 128 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span> | 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}·<span·class="comment">//·end·namespace·Impl</span></div> |
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>· | 130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="comment">//·for·mixed·grids·add·offset·for·cubes</span></div> | ||
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········variants_.resize(numVariants(GeometryTypes::simplex(dim))·+·numVariants(GeometryTypes::cube(dim)));</div> | ||
| 155 | <div·class="line"><a·id="l0007 | 131 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PreBasis></div> |
| 132 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
| 133 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00225.html#a5aa100c5225a3709fbb096dc9c73d63f">···73</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#a5aa100c5225a3709fbb096dc9c73d63f">containerDescriptor</a>(<span·class="keyword">const</span>·PreBasis&·preBasis)</div> | ||
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span> | 134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div> |
| 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::cube(dim));·i++)</div> | ||
| 158 | <div·class="line"><a·id="l0007 | 135 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordflow">return</span>·Impl::containerDescriptorImpl(preBasis,·Dune::PriorityTag<2>{});</div> |
| 136 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}</div> | ||
| 137 | </div> | ||
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>· | 138 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 139 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
| 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 140 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">namespace·</span>ContainerDescriptors·{</div> |
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="comment">//·compute·orientation·for·all·elements</span></div> | ||
| 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·indexSet·=·gv.indexSet();</div> | ||
| 164 | <div·class="line"><a·id="l0008 | 141 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
| 165 | <div·class=" | 142 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="};"> |
| 143 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01547.html">···82</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01547.html">Value</a></div> | ||
| 166 | <div·class="line"><a·id="l0008 | 144 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> |
| 145 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Index></div> | ||
| 146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01547.html#adf5f54fa359241a12f8c47b1ffcd971a">···86</a></span>··<a·class="code·hl_struct"·href="a01547.html">Value</a>·<a·class="code·hl_function"·href="a01547.html#adf5f54fa359241a12f8c47b1ffcd971a">operator[]·</a>(<span·class="keyword">const</span>·Index&)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·{};·}</div> | ||
| 167 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement·=·referenceElement(element);</div> | ||
| Max diff block lines reached; 81963/115632 bytes (70.88%) of diff not shown. | |||
| Offset 1, 481 lines modified | Offset 1, 335 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | nede | 8 | containerdescriptors.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDE | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONTAINERDESCRIPTORS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDE | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONTAINERDESCRIPTORS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<array> | 21 | 10#include·<array> |
| 22 | 11#include·<dune/common/exceptions.hh> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/grid/common/capabilities.hh> | ||
| 25 | 1 | 22 | 11#include·<cassert> |
| 23 | 12#include·<functional> | ||
| 24 | 13#include·<type_traits> | ||
| 25 | 14#include·<vector> | ||
| 26 | 15 | 26 | 15 |
| 27 | 16#include·<dune/common/filledarray.hh> | ||
| 28 | 17#include·<dune/common/tuplevector.hh> | ||
| 29 | 18#include·<dune/common/typeutilities.hh> | ||
| 30 | 19 | ||
| 31 | 20#include·<dune/functions/common/type_traits.hh> | ||
| 27 | 16#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 28 | 17#include·<dune/localfunctions/nedelec.hh> | ||
| 29 | 18 | ||
| 30 | 19#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 31 | 20#include·<dune/functions/functionspacebases/ | ||
| 32 | globalvaluedlocalfiniteelement.hh> | ||
| 33 | 21#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 34 | 2 | 32 | 21#include·<dune/functions/functionspacebases/basistags.hh> |
| 35 | 2 | 33 | 22 |
| 36 | 34 | 46namespace·Dune::Functions·{ | |
| 35 | 47namespace·ContainerDescriptors·{ | ||
| 37 | 25{ | ||
| 38 | 26 | ||
| 39 | 27namespace·Impl | ||
| 40 | 28{ | ||
| 41 | 29·template<typename·GV,·int·dim,·typename·R,·std::size_t·order> | ||
| 42 | 30·class·Nedelec1stKindLocalFiniteElementMap | ||
| 43 | 31·{ | ||
| 44 | 32·using·D·=·typename·GV::ctype; | ||
| 45 | 33·constexpr·static·bool·hasFixedElementType·=·Capabilities:: | ||
| 46 | hasSingleGeometryType<typename·GV::Grid>::v; | ||
| 47 | 34 | ||
| 48 | 35·using·CubeFiniteElement·= | ||
| 49 | Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>; | ||
| 50 | 36·using·SimplexFiniteElement·= | ||
| 51 | Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>; | ||
| 52 | 37 | ||
| 53 | 38·public: | ||
| 54 | 39 | ||
| 55 | 40·using·T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim, | ||
| 56 | FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>; | ||
| 57 | 41 | ||
| 58 | 42·constexpr·static·unsigned·int·topologyId·=·Capabilities:: | ||
| 59 | hasSingleGeometryType<typename·GV::Grid>::topologyId;·//·meaningless·if | ||
| 60 | hasFixedElementType·is·false | ||
| 61 | 43·constexpr·static·GeometryType·type·=·GeometryType(topologyId,·GV:: | ||
| 62 | dimension); | ||
| 63 | 44 | ||
| 64 | 45·using·FiniteElement·=·std::conditional_t<hasFixedElementType, | ||
| 65 | 46·std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>, | ||
| 66 | 47·LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>; | ||
| 67 | 48 | 36 | 48 |
| 37 | 50struct·Unknown·{}; | ||
| 38 | 51 | ||
| 39 | 52}·//·end·namespace·ContainerDescriptors | ||
| 68 | 49·static·std::size_t·numVariants(GeometryType·type) | ||
| 69 | 50·{ | ||
| 70 | 51·if·(order!=1)·//·I·am·not·sure·whether·the·formula·below·is·correct·for·all | ||
| 71 | orders. | ||
| 72 | 52·DUNE_THROW(NotImplemented,·"Only·Nedelec·elements·of·order·1·are | ||
| 73 | implemented!"); | ||
| 74 | 53 | 40 | 53 |
| 41 | 54namespace·Impl·{ | ||
| 42 | 55 | ||
| 43 | 56template<class·PreBasis> | ||
| 44 | 57auto·containerDescriptorImpl(const·PreBasis&·preBasis,·Dune::PriorityTag<1>) | ||
| 45 | 58·->·decltype(preBasis.containerDescriptor()) | ||
| 46 | 59{ | ||
| 47 | 60·return·preBasis.containerDescriptor(); | ||
| 48 | 61} | ||
| 49 | 62 | ||
| 50 | 63template<class·PreBasis> | ||
| 51 | 64auto·containerDescriptorImpl(const·PreBasis&·preBasis,·Dune::PriorityTag<0>) | ||
| 52 | 65{ | ||
| 53 | 66·return·ContainerDescriptors::Unknown{}; | ||
| 54 | 67} | ||
| 55 | 68 | ||
| 56 | 69}·//·end·namespace·Impl | ||
| 57 | 70 | ||
| 58 | 72template<class·PreBasis> | ||
| 59 | 73auto·containerDescriptor(const·PreBasis&·preBasis) | ||
| 60 | 74{ | ||
| 61 | 75·return·Impl::containerDescriptorImpl(preBasis,·Dune::PriorityTag<2>{}); | ||
| 62 | 76} | ||
| 63 | 77 | ||
| 75 | 54·auto·numEdges·=·referenceElement<D,dim>(type).size(dim-1); | ||
| 76 | 55·return·power(2,numEdges); | ||
| 77 | 56·} | ||
| 78 | 57 | ||
| 79 | 58·Nedelec1stKindLocalFiniteElementMap(const·GV&·gv) | ||
| 80 | 59·:·elementMapper_(gv,·mcmgElementLayout()), | ||
| 81 | 60·orientation_(gv.size(0)) | ||
| 82 | 61·{ | ||
| 83 | 62·//·create·all·variants | ||
| 84 | 63·if·constexpr·(hasFixedElementType) | ||
| 85 | 64·{ | ||
| 86 | 65·variants_.resize(numVariants(type)); | ||
| 87 | 66·for·(size_t·i·=·0;·i·<·numVariants(type);·i++) | ||
| 88 | 67·variants_[i]·=·FiniteElement(i); | ||
| 89 | 68·} | ||
| 90 | 69·else | ||
| 91 | 70·{ | ||
| 92 | 71·//·for·mixed·grids·add·offset·for·cubes | ||
| Max diff block lines reached; 20754/25413 bytes (81.67%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·n | 8 | <title>dune-functions:·hierarchicallagrangebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 61 lines modified | Offset 72, 58 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 79 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title">n | 81 | ··<div·class="headertitle"><div·class="title">hierarchicallagrangebasis.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 82 | </div><!--header--> |
| 82 | <div·class="contents"> | 83 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 84 | <code>#include·<memory></code><br·/> | ||
| 85 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 86 | <code>#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></code><br·/> | ||
| 86 | <code>#include·<dune/typetree/leafnode.hh></code><br·/> | ||
| 87 | <code>#include·<dune/typetree/powernode.hh></code><br·/> | ||
| 88 | <code>#include·<dune/typetree/dynamicpowernode.hh></code><br·/> | ||
| 89 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
| 90 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
| 91 | <code>#include·<dune/ | 90 | <code>#include·<dune/geometry/type.hh></code><br·/> |
| 92 | </div> | 91 | </div> |
| 93 | <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 94 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01635.html">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·></a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01751.html">Dune::Functions::LeafBasisNode</a></td></tr> | ||
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01639.html">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·></a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01759.html">Dune::Functions::DynamicPowerBasisNode<·T·></a></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01763.html">Dune::Functions::CompositeBasisNode<·T·></a></td></tr> | ||
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 109 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 110 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | </table><table·class="memberdecls"> | ||
| 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 111 | Typedefs</h2></td></tr> | ||
| 112 | <tr·class="memitem:gab0bae3d4d425eb9a32bd97c797af7350"·id="r_gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k,·typename·R··=·double>·</td></tr> | ||
| 113 | <tr·class="memitem:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gab0bae3d4d425eb9a32bd97c797af7350">Dune::Functions::HierarchicalLagrangeBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01631.html">HierarchicalLagrangePreBasis</a><·GV,·k,·R·>·></td></tr> | ||
| 114 | <tr·class="memdesc:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
| 115 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 116 | Functions</h2></td></tr> | 118 | Functions</h2></td></tr> |
| 119 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"·id="r_gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplParams"·colspan="2">template<int·k,·typename·R··=·double>·</td></tr> | ||
| 120 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gae1668779c06b647fd909294cbedf28cf">Dune::Functions::BasisFactory::hierarchicalLagrange</a>·()</td></tr> | ||
| 121 | <tr·class="memdesc:gae1668779c06b647fd909294cbedf28cf"><td·class="mdescLeft"> </td><td·class="mdescRight">A·factory·that·can·create·a·HierarchicalLagrange·pre-basis.··<br·/></td></tr> | ||
| 117 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"·id="r_a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
| 118 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a475e15e64943b3461f2f87a7805a3c8e">Dune::Functions::clearSize</a>·(Tree·&tree,·std::size_t·offset)</td></tr> | ||
| 119 | <tr·class="separator:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"·id="r_a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplParams"·colspan="2">template<typename·Tree·,·typename·Entity·>·</td></tr> | ||
| 121 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a4dc892a209e0f55bc65eadaf2c808454">Dune::Functions::bindTree</a>·(Tree·&tree,·const·Entity·&entity,·std::size_t·offset=0)</td></tr> | ||
| 122 | <tr·class="separator: | 122 | <tr·class="separator:gae1668779c06b647fd909294cbedf28cf"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 123 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"·id="r_a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
| 124 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a5e19b913a34ad68144f4fd873c51b977">Dune::Functions::initializeTree</a>·(Tree·&tree,·std::size_t·treeIndexOffset=0)</td></tr> | ||
| 125 | <tr·class="separator:a5e19b913a34ad68144f4fd873c51b977"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 126 | </table> | 123 | </table> |
| 127 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 128 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 129 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
| 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 131 | </small></address> | 128 | </small></address> |
| 132 | </body> | 129 | </body> |
| Offset 1, 49 lines modified | Offset 1, 42 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | hierarchicallagrangebasis.hh·File·Reference | ||
| 10 | #include·<type_traits> | ||
| 9 | nodes.hh·File·Reference | ||
| 10 | #include·<cassert> | ||
| 11 | #include·<memory> | ||
| 12 | #include·<dune/common/ | 11 | #include·<dune/common/exceptions.hh> |
| 12 | #include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/lfeprebasismixin.hh> | ||
| 16 | #include·<dune/geometry/type.hh> | ||
| 13 | #include·<dune/typetree/leafnode.hh> | ||
| 14 | #include·<dune/typetree/powernode.hh> | ||
| 15 | #include·<dune/typetree/dynamicpowernode.hh> | ||
| 16 | #include·<dune/typetree/compositenode.hh> | ||
| 17 | #include·<dune/typetree/traversal.hh> | ||
| 18 | #include·<dune/typetree/visitor.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | 18 | Classes |
| 21 | class· ·Dune::Functions::Basis | 19 | class· ·Dune::Functions::HierarchicalLagrangePreBasis<_GV,_1,_R_> |
| 22 | 20 | ||
| 21 | class· ·Dune::Functions::HierarchicalLagrangePreBasis<_GV,_2,_R_> | ||
| 23 | class· ·Dune::Functions::LeafBasisNode | ||
| 24 | |||
| 25 | class· ·Dune::Functions::PowerBasisNode<_T,_n_> | ||
| 26 | |||
| 27 | class· ·Dune::Functions::DynamicPowerBasisNode<_T_> | ||
| 28 | |||
| 29 | class· ·Dune::Functions::CompositeBasisNode<_T_> | ||
| 30 | 22 | ||
| 31 | Namespaces | 23 | Namespaces |
| 32 | namespace· ·Dune | 24 | namespace· ·Dune |
| 33 | 25 | ||
| 34 | namespace· ·Dune::Functions | 26 | namespace· ·Dune::Functions |
| 35 | 27 | ||
| 36 | Functions | ||
| 37 | template<typename·Tree·> | ||
| 38 | 28 | namespace· ·Dune::Functions::BasisFactory | |
| 29 | |||
| 30 | Typedefs | ||
| 31 | template<typename·GV·,·int·k,·typename·R·=·double> | ||
| 32 | using ·Dune::Functions::HierarchicalLagrangeBasis·=·DefaultGlobalBasis< | ||
| 33 | ·······HierarchicalLagrangePreBasis<·GV,·k,·R·>·> | ||
| 34 | ······Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space. | ||
| 39 | 35 | ||
| 36 | Functions | ||
| 37 | template<int·k,·typename·R·=·double> | ||
| 38 | auto ·Dune::Functions::BasisFactory::hierarchicalLagrange·() | ||
| 39 | ·····A·factory·that·can·create·a·HierarchicalLagrange·pre-basis. | ||
| 40 | template<typename·Tree·,·typename·Entity·> | ||
| 41 | void ·Dune::Functions::bindTree·(Tree·&tree,·const·Entity·&entity,·std::size_ | ||
| 42 | ······t·offset=0) | ||
| 43 | |||
| 44 | template<typename·Tree·> | ||
| 45 | void ·Dune::Functions::initializeTree·(Tree·&tree,·std::size_ | ||
| 46 | ······t·treeIndexOffset=0) | ||
| 47 | 40 | ||
| 48 | =============================================================================== | 41 | =============================================================================== |
| 49 | ·····Generated·by [doxygen]·1.9.8 | 42 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·n | 8 | <title>dune-functions:·hierarchicallagrangebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 400 lines modified | Offset 74, 128 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">n | 80 | ··<div·class="headertitle"><div·class="title">hierarchicallagrangebasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_N | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_N | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<memory></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 96 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/leafnode.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/typetree/powernode.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/dynamicpowernode.hh></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
| 101 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/ | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | 104 | <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="a00224.html">Dune</a>·{</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">namespace·</span>Functions·{</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">namespace·</span>Functions·{</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="comment">//·*****************************************************************************</span></div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="comment">//·Implementation·for·Hierarchical·Lagrange·Basis</span></div> | ||
| 108 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//</span></div> |
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="line"><a·id="l0002 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="comment">//·-·only·orders·k=1,2·are·implemented·up·to·now</span></div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
| 113 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·-·order·k=1·is·identical·to·the·standard·Lagrange·basis</span></div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="comment">//·-·implementation·is·restricted·to·simplex·grids</span></div> | ||
| 114 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//</span></div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·*****************************************************************************</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R·=·<span·class="keywordtype">double</span>></div> | ||
| 117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01631.html">···44</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01631.html">HierarchicalLagrangePreBasis</a>;</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath·treePath)</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········{</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··········leaf(node,treePath);</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··········node.setSize(0);</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········}</div> | ||
| 122 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 123 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></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="a01635.html">···47</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01631.html">HierarchicalLagrangePreBasis</a><GV,1,R></div> | ||
| 122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin</a><GV,·LagrangeSimplexLocalFiniteElement<typename·GV::ctype,R,GV::dimension,1>></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath·treePath)</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········{</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··········node.setOffset(offset_);</div> | ||
| 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········}</div> | ||
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········ClearSizeVisitor(std::size_t·offset)</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··········:·offset_(offset)</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>···· | 123 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> |
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 124 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01715.html">Base</a>·=·<a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin<GV,·LagrangeSimplexLocalFiniteElement<typename·GV::ctype,R,GV::dimension,1></a>>;</div> |
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>···· | 125 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">public</span>:</div> |
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
| 135 | <div·class=" | 126 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> |
| 127 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01635.html#a75186c538531513affbe4173b802684b">···52</a></span>······<a·class="code·hl_function"·href="a01635.html#a75186c538531513affbe4173b802684b">HierarchicalLagrangePreBasis</a>·(<span·class="keyword">const</span>·GV&·gridView)·:</div> | ||
| 128 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<a·class="code·hl_class"·href="a01715.html">Base</a>(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·gt.isVertex()·?·1·:·0;·})</div> | ||
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 129 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······{</div> |
| 130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>············DUNE_THROW(Dune::NotImplemented,</div> | ||
| 133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··············<span·class="stringliteral">"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 137 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········}</div> |
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·Entity></div> | ||
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keyword">struct·</span>BindVisitor</div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······ | 135 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······}</div> |
| 136 | </div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 137 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····};</div> |
| 138 | </div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath)</div> | ||
| 146 | <div·class="line"><a·id="l0006 | 139 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
| 147 | <div·class="line"><a·id="l0006 | 140 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></div> |
| 141 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};"> | ||
| 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01639.html">···64</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01631.html">HierarchicalLagrangePreBasis</a><GV,2,R></div> | ||
| 143 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin</a><GV,·HierarchicalP2LocalFiniteElement<typename·GV::ctype,R,GV::dimension>></div> | ||
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>···· | 144 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····{</div> |
| 145 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01715.html">Base</a>·=·<a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin<GV,·HierarchicalP2LocalFiniteElement<typename·GV::ctype,R,GV::dimension></a>>;</div> | ||
| 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
| 151 | <div·class="line"><a·id="l0006 | 146 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">public</span>:</div> |
| 147 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01639.html#a8c3ea0a10cbe0b443245d686bc3e823c">···69</a></span>······<a·class="code·hl_function"·href="a01639.html#a8c3ea0a10cbe0b443245d686bc3e823c">HierarchicalLagrangePreBasis</a>·(<span·class="keyword">const</span>·GV&·gridView)·:</div> | ||
| 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<a·class="code·hl_class"·href="a01715.html">Base</a>(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·(gt.isVertex()·||·gt.isLine())·?·1·:·0;·})</div> | ||
| 152 | <div·class="line"><a·id="l0007 | 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······{</div> |
| 153 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> |
| 152 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 154 | <div·class="line"><a·id="l0007 | 153 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>············DUNE_THROW(Dune::NotImplemented,</div> |
| Max diff block lines reached; 44718/75476 bytes (59.25%) of diff not shown. | |||
| Offset 1, 402 lines modified | Offset 1, 141 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | n | 8 | hierarchicallagrangebasis.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_N | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_N | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 11 | ||
| 21 | 10#include·<cassert> | ||
| 22 | 11#include·<memory> | ||
| 23 | 12 | ||
| 24 | 1 | 23 | 12#include·<dune/common/exceptions.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/typetree/leafnode.hh> | ||
| 27 | 16#include·<dune/typetree/powernode.hh> | ||
| 28 | 17#include·<dune/typetree/dynamicpowernode.hh> | ||
| 29 | 18#include·<dune/typetree/compositenode.hh> | ||
| 30 | 19#include·<dune/typetree/traversal.hh> | ||
| 31 | 24 | 13 | |
| 25 | 14#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
| 26 | 15 | ||
| 27 | 16#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 28 | 17#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 29 | 18#include·<dune/functions/functionspacebases/lfeprebasismixin.hh> | ||
| 30 | 19 | ||
| 31 | 20#include·<dune/geometry/type.hh> | ||
| 32 | 21 | 32 | 21 |
| 33 | 22namespace·Dune·{ | 33 | 22namespace·Dune·{ |
| 34 | 23·namespace·Functions·{ | 34 | 23·namespace·Functions·{ |
| 35 | 24 | 35 | 24 |
| 36 | 25 | ||
| 37 | 26·namespace·Impl·{ | ||
| 38 | 27 | ||
| 39 | 28 | ||
| 40 | 29·struct·ClearSizeVisitor | ||
| 41 | 30·:·public·TypeTree::TreeVisitor | ||
| 42 | 36 | 25·/ | |
| 37 | /·***************************************************************************** | ||
| 38 | 26·//·Implementation·for·Hierarchical·Lagrange·Basis | ||
| 39 | 27·// | ||
| 40 | 28·//·-·only·orders·k=1,2·are·implemented·up·to·now | ||
| 41 | 29·//·-·order·k=1·is·identical·to·the·standard·Lagrange·basis | ||
| 42 | 30·//·-·implementation·is·restricted·to·simplex·grids | ||
| 43 | 31·// | ||
| 43 | 32· | 44 | 32·/ |
| 45 | /·***************************************************************************** | ||
| 44 | 33 | 46 | 33 |
| 47 | 43·template<typename·GV,·int·k,·typename·R·=·double> | ||
| 48 | 44·class·HierarchicalLagrangePreBasis; | ||
| 49 | 45 | ||
| 45 | 50 | 46·template<typename·GV,·typename·R> | |
| 51 | 47·class·HierarchicalLagrangePreBasis<GV,1,R> | ||
| 52 | 48·:·public·LFEPreBasisMixin<GV,·LagrangeSimplexLocalFiniteElement<typename | ||
| 53 | GV::ctype,R,GV::dimension,1>> | ||
| 46 | 35·void·pre(Node&·node,·TreePath·treePath) | ||
| 47 | 36·{ | ||
| 48 | 37·leaf(node,treePath); | ||
| 49 | 38·node.setSize(0); | ||
| 50 | 39·} | ||
| 51 | 40 | ||
| 52 | 41·template<typename·Node,·typename·TreePath> | ||
| 53 | 42·void·leaf(Node&·node,·TreePath·treePath) | ||
| 54 | 43·{ | ||
| 55 | 44·node.setOffset(offset_); | ||
| 56 | 45·} | ||
| 57 | 46 | ||
| 58 | 47·ClearSizeVisitor(std::size_t·offset) | ||
| 59 | 48·:·offset_(offset) | ||
| 60 | 49·{ | 54 | 49·{ |
| 61 | 50 | ||
| 62 | 51·const·std::size_t·offset_; | ||
| 63 | 52 | ||
| 64 | 53·}; | ||
| 65 | 54 | ||
| 66 | 55 | ||
| 67 | 56·template<typename·Entity> | ||
| 68 | 57·struct·BindVisitor | ||
| 69 | 58·:·public·TypeTree::TreeVisitor | ||
| 70 | 5 | 55 | 50·using·Base·=·LFEPreBasisMixin<GV,_LagrangeSimplexLocalFiniteElement<typename |
| 56 | GV::ctype,R,GV::dimension,1>>; | ||
| 57 | 51·public: | ||
| 58 | 52·HierarchicalLagrangePreBasis·(const·GV&·gridView)·: | ||
| 59 | 53·Base(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·gt.isVertex | ||
| 60 | ()·?·1·:·0;·}) | ||
| 61 | 54·{ | ||
| 62 | 55·for·(auto·gt·:·gridView.indexSet().types(0))·{ | ||
| 63 | 56·if·(!gt.isSimplex()) | ||
| 64 | 57·DUNE_THROW(Dune::NotImplemented, | ||
| 65 | 58·"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 66 | 59·} | ||
| 71 | 60· | 67 | 60·} |
| 72 | 61 | 68 | 61·}; |
| 69 | 62 | ||
| 73 | 6 | 70 | 63·template<typename·GV,·typename·R> |
| 74 | 6 | 71 | 64·class·HierarchicalLagrangePreBasis<GV,2,R> |
| 72 | 65·:·public·LFEPreBasisMixin<GV,·HierarchicalP2LocalFiniteElement<typename·GV:: | ||
| 73 | ctype,R,GV::dimension>> | ||
| 75 | 6 | 74 | 66·{ |
| 76 | 65·node.setOffset(offset_); | ||
| 77 | 66·} | ||
| 78 | 67 | ||
| 79 | 68·template<typename·Node,·typename·TreePath> | ||
| 80 | 6 | 75 | 67·using·Base·=·LFEPreBasisMixin<GV,_HierarchicalP2LocalFiniteElement<typename |
| 76 | GV::ctype,R,GV::dimension>>; | ||
| 77 | 68·public: | ||
| 78 | 69·HierarchicalLagrangePreBasis·(const·GV&·gridView)·: | ||
| 79 | 70·Base(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·(gt.isVertex | ||
| 80 | ()·||·gt.isLine())·?·1·:·0;·}) | ||
| 81 | 7 | 81 | 71·{ |
| 82 | 7 | 82 | 72·for·(auto·gt·:·gridView.indexSet().types(0))·{ |
| 83 | 73·if·(!gt.isSimplex()) | ||
| 84 | 74·DUNE_THROW(Dune::NotImplemented, | ||
| 85 | 75·"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| Max diff block lines reached; 8165/13967 bytes (58.46%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicvectorwrapper.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 58 lines modified | Offset 73, 51 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">hierarchicvectorwrapper.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<dune/common/ | 83 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
| 84 | <code>#include·<dune/common/ | 84 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> |
| 85 | <code>#include·<dune/common/indices.hh></code><br·/> | 85 | <code>#include·<dune/common/indices.hh></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a000 | 87 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | 88 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/dynamicpowerbasis.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 89 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 92 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 94 | </div> | 90 | </div> |
| 95 | <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 96 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 98 | Classes</h2></td></tr> | 94 | Classes</h2></td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01663.html">Dune::Functions::HierarchicVectorWrapper<·V,·CO·></a></td></tr> |
| 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre | 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·providing·multiindex·access·to·vector·entries.··<a·href="a01663.html#details">More...</a><br·/></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
| 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 104 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
| 105 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table><table·class="memberdecls"> | 105 | </table><table·class="memberdecls"> |
| 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 115 | Functions</h2></td></tr> | 107 | Functions</h2></td></tr> |
| 108 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"·id="r_aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
| 109 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html">HierarchicVectorWrapper</a><·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#aa74497c764d8ce0b365abae3637dadc8">Dune::Functions::hierarchicVector</a>·(V·&v)</td></tr> | ||
| 116 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"·id="r_ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·,·class·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga0d8eb549af76bc2563ab189e63668ee5">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·const·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·&)</td></tr> | ||
| 118 | <tr·class="memdesc:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 119 | <tr·class="separator: | 110 | <tr·class="separator:aa74497c764d8ce0b365abae3637dadc8"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"·id="r_a5c705706be679d2a462e38b08274ad33"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·std::enable_if_t<·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·V,·MultiIndex·>(),·int·>··=·0>·</td></tr> | ||
| 112 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"><td·class="memTemplItemLeft"·align="right"·valign="top">V·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a5c705706be679d2a462e38b08274ad33">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
| 120 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"·id="r_gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·>·</td></tr> | ||
| 121 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gab84b622cf7be16d0373640b6f0478eb0">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory)</td></tr> | ||
| 122 | <tr·class="memdesc:gab84b622cf7be16d0373640b6f0478eb0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 123 | <tr·class="separator: | 113 | <tr·class="separator:a5c705706be679d2a462e38b08274ad33"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"·id="r_ae48bf799daaf0751086b47457350675e"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·std::enable_if_t<·not·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·V,·MultiIndex·>(),·int·>··=·0>·</td></tr> | ||
| 115 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html">HierarchicVectorWrapper</a><·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae48bf799daaf0751086b47457350675e">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
| 116 | <tr·class="separator:ae48bf799daaf0751086b47457350675e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 124 | </table> | 117 | </table> |
| 125 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| 126 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
| 127 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
| 128 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 129 | </small></address> | 122 | </small></address> |
| 130 | </body> | 123 | </body> |
| Offset 2, 47 lines modified | Offset 2, 41 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | hierarchicvectorwrapper.hh·File·Reference | |
| 10 | #include·<dune/common/ | 10 | #include·<dune/common/concept.hh> |
| 11 | #include·<dune/common/ | 11 | #include·<dune/common/hybridutilities.hh> |
| 12 | #include·<dune/common/indices.hh> | 12 | #include·<dune/common/indices.hh> |
| 13 | #include·<dune/functions/common/indexaccess.hh> | ||
| 13 | #include·<dune/functions/common/utility.hh> | 14 | #include·<dune/functions/common/utility.hh> |
| 14 | #include·<dune/functions/common/type_traits.hh> | 15 | #include·<dune/functions/common/type_traits.hh> |
| 15 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 18 | #include·<dune/functions/functionspacebases/concepts.hh> | 16 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 19 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 21 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 22 | Classes | 18 | Classes |
| 23 | class· ·Dune::Functions::PowerPreBasis<_IMS,_SPB,_C_> | ||
| 24 | 19 | class· ·Dune::Functions::HierarchicVectorWrapper<_V,_CO_> | |
| 20 | ·······A·wrapper·providing·multiindex·access·to·vector·entries.·More... | ||
| 25 | 21 | ||
| 26 | Namespaces | 22 | Namespaces |
| 27 | namespace· ·Dune | 23 | namespace· ·Dune |
| 28 | 24 | ||
| 29 | namespace· ·Dune::Functions | 25 | namespace· ·Dune::Functions |
| 30 | 26 | ||
| 31 | namespace· ·Dune::Functions::BasisFactory | ||
| 32 | |||
| 33 | namespace· ·Dune::Functions::BasisBuilder | ||
| 34 | |||
| 35 | Functions | 27 | Functions |
| 28 | template<class·V·> | ||
| 29 | HierarchicVectorWrapper<·V·> ·Dune::Functions::hierarchicVector·(V·&v) | ||
| 36 | template<std::size_t·k,·class·ChildPreBasisFactory·,·class | ||
| 37 | IndexMergingStrategy·> | ||
| 38 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 39 | ······&&childPreBasisFactory,·const·IndexMergingStrategy·&) | ||
| 40 | ·····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis. | ||
| 41 | 30 | ||
| 42 | template<std::size_t·k,·class·ChildPreBasisFactory·> | ||
| 43 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 44 | ······&&childPreBasisFactory) | ||
| 45 | 31 | template<class·MultiIndex·,·class·V·,·std::enable_if_t<·models<·Concept:: | |
| 32 | HasIndexAccess,·V,·MultiIndex·>(),·int·>·=·0> | ||
| 33 | ·························V·& ·Dune::Functions:: | ||
| 34 | ······························makeHierarchicVectorForMultiIndex·(V·&v) | ||
| 35 | |||
| 36 | template<class·MultiIndex·,·class·V·,·std::enable_if_t<·not·models<·Concept:: | ||
| 37 | HasIndexAccess,·V,·MultiIndex·>(),·int·>·=·0> | ||
| 38 | HierarchicVectorWrapper<·V·> ·Dune::Functions:: | ||
| 39 | ······························makeHierarchicVectorForMultiIndex·(V·&v) | ||
| 46 | 40 | ||
| 47 | =============================================================================== | 41 | =============================================================================== |
| 48 | ·····Generated·by [doxygen]·1.9.8 | 42 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicvectorwrapper.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 196 lines modified | Offset 74, 293 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">hierarchicvectorwrapper.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00131.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00131.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_HIERARCHICVECTORWRAPPER_TEST_NO_DEPRECATION</span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#warning·The·header·dune/functions/functionspacebases/hierarchicvectorwrapper.hh·is·deprecated·and·will·be·removed·after·release·2.10.</span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor"># | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#endif</span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00113.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 99 | <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/dynamicpowerbasis.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a0 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 108 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·This·is·the·reusable·part·of·the·power·bases.·It·contains</span></div> | ||
| 113 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Imp·{</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//···PowerPreBasis</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 120 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="comment">//·Construct·default·coefficient·type·from·vector·and·multiindex·type</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·vector·type·itself·is·returned.</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·MultiIndex></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">struct·</span>CoefficientType</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··{</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E,·std::<span·class="keywordtype">size_t</span>·size></div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">using·</span>E0·=·<span·class="keyword">decltype</span>(std::declval<E>()[Dune::Indices::_0]);</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<E0,·size-1>::type;</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····};</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 121 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E></div> |
| 122 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
| 123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01779.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01779.html">PowerPreBasis</a>·:</div> | ||
| 124 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper<E,·0></div> |
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····{</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">using·</span>type·=·E;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····};</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<V,·StaticSizeOrZero<MultiIndex>::value>::type;</div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div> | ||
| 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span> | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>· | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·This·tag·class·is·used·as·Coefficient·template·parameter</span></div> | ||
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·for·HierarchicVectorWrapper·if·the·coefficient·type·should</span></div> | ||
| 128 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="comment">//·be·deduced.</span></div> |
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">struct·</span>DeducedCoefficientTag·{};</div> | ||
| 129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01779.html#a419106855686e36864eea0100d8e618e">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01779.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>·=·SPB;</div> | ||
| 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
| 132 | <div·class="line"><a·id="l0006 | 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>}·<span·class="comment">//·namespace·Imp</span></div> |
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 133 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
| 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01779.html#a1f0855468818ec475153cb0755cb7ab8">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01779.html#a1f0855468818ec475153cb0755cb7ab8">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">Base::size_type</a>;</div> | ||
| 135 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·CO=Imp::DeducedCoefficientTag></div> | ||
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01779.html#a1c74f8319f302dc61ba704be6489cf37">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01779.html#a1c74f8319f302dc61ba704be6489cf37">IndexMergingStrategy</a>·=·IMS;</div> | ||
| 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01779.html#ae9064a255245dcd3fbd5d1f39aa9f149">···70</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="a01779.html#ae9064a255245dcd3fbd5d1f39aa9f149">children</a>·=·{};</div> | ||
| 139 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> | ||
| 141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····disableCopyMove<<a·class="code·hl_class"·href="a01779.html">PowerPreBasis</a>,·SFArgs...>·=·0,</div> | ||
| 142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_typedef"·href="a00221.html#ga80c230cc3d1605429839d9a6076af5ee">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01779.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
| 143 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
| 144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01779.html#ab0335222dc72364fe128e8459751377b">···80</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01779.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>(SFArgs&&...·sfArgs)·:</div> | ||
| 145 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_class"·href="a01579.html">Base</a>(std::size_t(C),·std::forward<SFArgs>(sfArgs)...)</div> | ||
| 146 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{}</div> | ||
| 147 | </div> | ||
| 148 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 149 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | 147 | <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="a01779.html#ad5fae28034251ff8e4429288f951f3af">···87</a></span>··<a·class="code·hl_class"·href="a01755.html">Node</a>·<a·class="code·hl_function"·href="a01779.html#ad5fae28034251ff8e4429288f951f3af">makeNode</a>()<span·class="keyword">·const</span></div> | ||
| 151 | <div·class="line"><a·id="l0008 | 148 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01663.html">···87</a></span><span·class="keyword">class</span></div> |
| 149 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>[[deprecated(<span·class="stringliteral">"HierarchicVectorWrapper·is·deprecated·and·will·be·removed·after·release·2.10."</span>)]]</div> | ||
| Max diff block lines reached; 32571/77163 bytes (42.21%) of diff not shown. | |||
| Offset 1, 243 lines modified | Offset 1, 320 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | hierarchicvectorwrapper.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/reservedvector.hh> | ||
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 23 | 1 | 21 | 10#ifndef·DUNE_FUNCTIONS_HIERARCHICVECTORWRAPPER_TEST_NO_DEPRECATION |
| 22 | 11#warning·The·header·dune/functions/functionspacebases/ | ||
| 23 | hierarchicvectorwrapper.hh·is·deprecated·and·will·be·removed·after·release | ||
| 24 | 2.10. | ||
| 25 | 12#endif | ||
| 24 | 13 | 26 | 13 |
| 27 | 14#include·<dune/common/concept.hh> | ||
| 28 | 15#include·<dune/common/hybridutilities.hh> | ||
| 29 | 16#include·<dune/common/indices.hh> | ||
| 30 | 17 | ||
| 31 | 18#include·<dune/functions/common/indexaccess.hh> | ||
| 25 | 1 | 32 | 19#include·<dune/functions/common/utility.hh> |
| 26 | 33 | 20#include·<dune/functions/common/type_traits.hh> | |
| 27 | 16#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 28 | 17#include·<dune/functions/functionspacebases/dynamicpowerbasis.hh> | ||
| 29 | 18#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 30 | 34 | 21#include·<dune/functions/functionspacebases/concepts.hh> | |
| 31 | 20#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 32 | 21#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 33 | 22 | 35 | 22 |
| 34 | 23 | 36 | 23 |
| 35 | 24 | ||
| 36 | 2 | 37 | 24namespace·Dune·{ |
| 37 | 2 | 38 | 25namespace·Functions·{ |
| 39 | 26 | ||
| 38 | 27 | 40 | 27 |
| 39 | 28 | 41 | 28 |
| 40 | 29/ | ||
| 41 | /·***************************************************************************** | ||
| 42 | 30//·This·is·the·reusable·part·of·the·power·bases.·It·contains | ||
| 43 | 31// | ||
| 44 | 32//·PowerPreBasis | ||
| 45 | 33// | ||
| 46 | 34//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 47 | shared | ||
| 48 | 35//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 49 | 36//·and·can·be·used·without·a·global·basis. | ||
| 50 | 37/ | ||
| 51 | /·***************************************************************************** | ||
| 52 | 38 | ||
| 53 | 49template<class·IMS,·class·SPB,·std::size_t·C> | ||
| 54 | 50class·PowerPreBasis·: | ||
| 55 | 42 | 29namespace·Imp·{ | |
| 43 | 30 | ||
| 44 | 31·//·Construct·default·coefficient·type·from·vector·and·multiindex·type | ||
| 45 | 32·//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the | ||
| 46 | 33·//·vector·type·itself·is·returned. | ||
| 47 | 34·template<class·V,·class·MultiIndex> | ||
| 48 | 35·struct·CoefficientType | ||
| 49 | 36·{ | ||
| 50 | 37·template<class·E,·std::size_t·size> | ||
| 51 | 38·struct·DefaultCoefficientTypeHelper | ||
| 52 | 39·{ | ||
| 53 | 40·using·E0·=·decltype(std::declval<E>()[Dune::Indices::_0]); | ||
| 54 | 41·using·type·=·typename·DefaultCoefficientTypeHelper<E0,·size-1>::type; | ||
| 55 | 42·}; | ||
| 56 | 43 | ||
| 57 | 44·template<class·E> | ||
| 58 | 45·struct·DefaultCoefficientTypeHelper<E,·0> | ||
| 59 | 46·{ | ||
| 60 | 47·using·type·=·E; | ||
| 61 | 48·}; | ||
| 62 | 49 | ||
| 63 | 50·using·type·=·typename·DefaultCoefficientTypeHelper<V, | ||
| 64 | StaticSizeOrZero<MultiIndex>::value>::type; | ||
| 65 | 51·}; | ||
| 56 | 52 | 66 | 52 |
| 57 | 53 | 67 | 53 |
| 58 | 54 | 68 | 54 |
| 59 | 55public: | ||
| 60 | 56 | ||
| 61 | 5 | 69 | 55·//·This·tag·class·is·used·as·Coefficient·template·parameter |
| 70 | 56·//·for·HierarchicVectorWrapper·if·the·coefficient·type·should | ||
| 71 | 57·//·be·deduced. | ||
| 72 | 58·struct·DeducedCoefficientTag·{}; | ||
| 62 | 59 | 73 | 59 |
| 63 | 6 | 74 | 60}·//·namespace·Imp |
| 75 | 61 | ||
| 64 | 62 | 76 | 62 |
| 77 | 63 | ||
| 78 | 86template<class·V,·class·CO=Imp::DeducedCoefficientTag> | ||
| 79 | 87class | ||
| 80 | 88[[deprecated("HierarchicVectorWrapper·is·deprecated·and·will·be·removed·after | ||
| 81 | release·2.10.")]] | ||
| 82 | 89HierarchicVectorWrapper | ||
| 83 | 90{ | ||
| 84 | 91·template<class·MultiIndex> | ||
| 85 | 92·using·Coefficient·=·std::conditional_t<·std::is_same_v<Imp:: | ||
| 86 | DeducedCoefficientTag,CO>·and·HasStaticSize_v<MultiIndex>, | ||
| 87 | 93·typename·Imp::CoefficientType<V,·MultiIndex>::type, | ||
| 88 | 94·CO | ||
| 89 | 95·>; | ||
| 90 | 96 | ||
| 91 | 97 | ||
| 92 | 98·using·size_type·=·std::size_t; | ||
| 93 | 99 | ||
| 94 | 100·template<class·C,·class·SizeProvider, | ||
| 95 | 101·std::enable_if_t<·not·models<Concept::HasResize,·C>(),·int>·=·0, | ||
| 96 | 102·std::enable_if_t<·not·models<Concept::HasSizeMethod,·C>(),·int>·=·0> | ||
| 97 | 103·static·void·resizeHelper(C&·c,·const·SizeProvider&·sizeProvider,·typename | ||
| 98 | SizeProvider::SizePrefix·prefix) | ||
| 65 | 64·using·size_type·=·typename·Base::size_type; | ||
| 66 | 65 | ||
| 67 | 67·using·IndexMergingStrategy·=·IMS; | ||
| 68 | 68 | ||
| Max diff block lines reached; 11914/17284 bytes (68.93%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·compositebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 36 lines modified | Offset 70, 53 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 78 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">compositebasis.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 80 | </div><!--header--> |
| 80 | <div·class="contents"> | 81 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
| 82 | <code>#include·< | 83 | <code>#include·<utility></code><br·/> |
| 84 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 83 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/tupleutility.hh></code><br·/> |
| 84 | <code>#include·<dune/common/ | 88 | <code>#include·<dune/common/tuplevector.hh></code><br·/> |
| 85 | <code>#include·<dune/common/math.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
| 87 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 88 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
| 89 | <code>#include·< | 89 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 94 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 95 | <code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 96 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 90 | </div> | 97 | </div> |
| 91 | <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p> | 98 | <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 99 | <table·class="memberdecls"> |
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 101 | Classes</h2></td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html">Dune::Functions::CompositePreBasis<·IMS,·SPB·></a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·composite·bases.··<a·href="a01487.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | </table><table·class="memberdecls"> | ||
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 94 | Namespaces</h2></td></tr> | 107 | Namespaces</h2></td></tr> |
| 95 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 108 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 110 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 99 | </table> | 116 | </table> |
| 100 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
| 101 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 102 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
| 103 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 104 | </small></address> | 121 | </small></address> |
| 105 | </body> | 122 | </body> |
| Offset 1, 26 lines modified | Offset 1, 40 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces | ||
| 9 | compositebasis.hh·File·Reference | ||
| 8 | Namespaces | ||
| 9 | globalvaluedlocalfiniteelement.hh·File·Reference | ||
| 10 | #include·<array> | ||
| 11 | #include·< | 10 | #include·<tuple> |
| 11 | #include·<utility> | ||
| 12 | #include·<dune/common/hybridutilities.hh> | ||
| 13 | #include·<dune/common/reservedvector.hh> | ||
| 14 | #include·<dune/common/typeutilities.hh> | ||
| 12 | #include·<dune/common/ | 15 | #include·<dune/common/tupleutility.hh> |
| 13 | #include·<dune/common/ | 16 | #include·<dune/common/tuplevector.hh> |
| 17 | #include·<dune/functions/common/staticforloop.hh> | ||
| 18 | #include·<dune/functions/common/type_traits.hh> | ||
| 14 | #include·<dune/common/math.hh> | ||
| 15 | #include·<dune/common/rangeutilities.hh> | ||
| 16 | #include·<dune/geometry/referenceelements.hh> | ||
| 17 | #include·<dune/ | 19 | #include·<dune/functions/common/utility.hh> |
| 18 | #include·<dune/ | 20 | #include·<dune/functions/functionspacebases/basistags.hh> |
| 21 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 22 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 23 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 24 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 25 | Go_to_the_source_code_of_this_file. |
| 26 | Classes | ||
| 27 | class· ·Dune::Functions::CompositePreBasis<_IMS,_SPB_> | ||
| 28 | ·······A·pre-basis·for·composite·bases.·More... | ||
| 29 | |||
| 20 | Namespaces | 30 | Namespaces |
| 21 | namespace· ·Dune | 31 | namespace· ·Dune |
| 22 | 32 | ||
| 23 | namespace· ·Dune::Functions | 33 | namespace· ·Dune::Functions |
| 24 | 34 | ||
| 35 | namespace· ·Dune::Functions::BasisFactory | ||
| 36 | |||
| 37 | namespace· ·Dune::Functions::BasisBuilder | ||
| 38 | |||
| 25 | =============================================================================== | 39 | =============================================================================== |
| 26 | ·····Generated·by [doxygen]·1.9.8 | 40 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·compositebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 327 lines modified | Offset 74, 482 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">compositebasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00134.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00134.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<tuple></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/ | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/ | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/ | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/tupleutility.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/ | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<d | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/staticforloop.hh</a>></span></div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<d | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00125.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l0002 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Dune::Functions::Impl</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 108 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{</div> | ||
| 110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Values,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
| 111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·apply(Values&·values,</div> | ||
| 112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······················<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> | ||
| 113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······················<span·class="keyword">const</span>·Geometry&·geometry)</div> | ||
| 114 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> | ||
| 115 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> | ||
| 116 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
| 117 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
| 118 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·*****************************************************************************</span></div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·This·is·the·reusable·part·of·the·composite·bases.·It·contains</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//</span></div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//···CompositePreBasis</span></div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//</span></div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 119 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
| 120 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keyword">auto</span>·tmp·=·value;</div> | ||
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········jacobianTransposed.mtv(tmp,·value);</div> | ||
| 122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········value·/=·integrationElement;</div> | ||
| 123 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 126 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">class·</span>IMS,·<span·class="keyword">class</span>...·SPB></div> | ||
| 127 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
| 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01487.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01487.html">CompositePreBasis</a></div> | ||
| 124 | <div·class="line"><a·id="l0005 | 129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> |
| 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·isBlocked·=·std::is_same_v<IMS,BasisFactory::BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>;</div> | ||
| 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> | ||
| 125 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 126 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01487.html#aa3fbd381a090703bb2f0ea3bde8a3031">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases[·...·truncated·by·diffoscope;·len:·31,·SHA:·6f90d53ebc7ac1e737adeeac2dbd0bff858a4abf9aa94d15b14697f794bc15aa·...·];</div> |
| 134 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
| 127 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> |
| 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01487.html#ab02c441bc5d90d3b584df84e606582a7">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#ab02c441bc5d90d3b584df84e606582a7">SubPreBasis</a>·=·std::tuple_element_t<i,·SubPreBases>;</div> | ||
| 128 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······························<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> | ||
| 129 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······························<span·class="keyword">const</span>·Geometry&·geometry)</div> | ||
| 130 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01487.html#aa04cac815e90325c4ec524e0dc7b22ee">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#aa04cac815e90325c4ec524e0dc7b22ee">GridView</a>·=·<span·class="keyword">typename</span>·std::tuple_element_t<0,·SubPreBases>::GridView;</div> | ||
| 131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> | ||
| 132 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
| 133 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>&·gradient·:·gradients)</div> | ||
| 134 | <div·class="line"><a·id="l0007 | 139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 140 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·=·std::size_t;</div> | ||
| 135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········<span·class="keyword">auto</span>·tmp·=·gradient;</div> | ||
| 136 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········gradient·=·0;</div> | ||
| 137 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·k=0;·k<gradient.M();·k++)</div> | ||
| 138 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·l=0;·l<tmp.N();·l++)</div> | ||
| 139 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="comment">//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse·DiagonalMatrix</span></div> | ||
| 140 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>············<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed[l]))</div> | ||
| 141 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··············gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k];</div> | ||
| 142 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········gradient·/=·integrationElement;</div> | ||
| 143 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
| 142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01487.html#a13b5ee8d5de52affa35662093b32de00">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#a13b5ee8d5de52affa35662093b32de00">IndexMergingStrategy</a>·=·IMS;</div> | ||
| 144 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 144 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">protected</span>:</div> | ||
| 145 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01487.html#aa0689626cbb089b66e5932b4a4ed6a6e">···78</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·<a·class="code·hl_variable"·href="a01487.html#aa0689626cbb089b66e5932b4a4ed6a6e">children</a>·=·<span·class="keyword">sizeof</span>...(SPB);</div> | ||
| 145 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 146 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01487.html#ac2d58cfa5b4b07bdfbec63a296c9a5d6">···80</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#ac2d58cfa5b4b07bdfbec63a296c9a5d6">ChildIndice[·...·truncated·by·diffoscope;·len:·48,·SHA:·7031fcb4fad4549351ff15694b071f58bf1543ffcaffe3a276a9a98ee9f7b5fe·...·];</div> |
| 148 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
| 147 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div> |
| 150 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01487.html#a38b6a4eb5dc345ee88c046d107c9b811">···85</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01763.html">Node</a>·=·<a·class="code·hl_class"·href="a01763.html">CompositeBasisNode</a><<span·class="keyword">typename</span>·SPB::Node...>;</div> | ||
| 152 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01487.html#affd187f58c7f8a750b11ab48abc3d94e">···87</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01487.html#affd187f58c7f8a750b11ab48abc3d94e">maxMultiIndexSize</a>·=·std::max({SPB::maxMultiIndexSize...})·+·isBlocked;</div> | ||
| 154 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01487.html#aee4f8b5f159f44d9a0fc61c60c615c19">···88</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01487.html#aee4f8b5f159f44d9a0fc61c60c615c19">minMultiIndexSize</a>·=·std::min({SPB::minMultiIndexSize...})·+·isBlocked;</div> | ||
| 155 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01487.html#ad57d4c09c40d5a87d3e899a2c2df0f35">···89</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01487.html#ad57d4c09c40d5a87d3e899a2c2df0f35">multiIndexBufferSize</a>·=·std::max({SPB::multiIndexBufferSize...})·+·isBlocked;</div> | ||
| 148 | <div·class="line"><a·id="l0009 | 156 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
| 149 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······<span·class="keyword">const</span>·Function&·f_;</div> | ||
| Max diff block lines reached; 101690/129276 bytes (78.66%) of diff not shown. | |||
| Offset 1, 341 lines modified | Offset 1, 566 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | compositebasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·< | 21 | 10#include·<tuple> |
| 22 | 11#include·< | 22 | 11#include·<utility> |
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/common/ | 24 | 13#include·<dune/common/hybridutilities.hh> |
| 25 | 14#include·<dune/common/ | 25 | 14#include·<dune/common/reservedvector.hh> |
| 26 | 15#include·<dune/common/ | 26 | 15#include·<dune/common/typeutilities.hh> |
| 27 | 16#include·<dune/common/ | 27 | 16#include·<dune/common/hybridutilities.hh> |
| 28 | 17 | ||
| 29 | 1 | 28 | 17#include·<dune/common/tupleutility.hh> |
| 29 | 18#include·<dune/common/tuplevector.hh> | ||
| 30 | 19 | 30 | 19 |
| 31 | 20#include·<dune/functions/common/staticforloop.hh> | ||
| 32 | 21#include·<dune/functions/common/type_traits.hh> | ||
| 31 | 2 | 33 | 22#include·<dune/functions/common/utility.hh> |
| 32 | 21#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
| 33 | 22 | ||
| 34 | 23namespace·Dune::Functions::Impl | ||
| 35 | 24{ | ||
| 36 | 25 | ||
| 37 | 39·struct·ContravariantPiolaTransformator | ||
| 38 | 40·{ | ||
| 39 | 45·template<typename·Values,·typename·LocalCoordinate,·typename·Geometry> | ||
| 40 | 46·static·auto·apply(Values&·values, | ||
| 41 | 47·const·LocalCoordinate&·xi, | ||
| 42 | 48·const·Geometry&·geometry) | ||
| 43 | 49·{ | ||
| 44 | 50·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
| 45 | 51·auto·integrationElement·=·geometry.integrationElement(xi); | ||
| 46 | 52 | ||
| 47 | 53·for·(auto&·value·:·values) | ||
| 48 | 54·{ | ||
| 49 | 55·auto·tmp·=·value; | ||
| 50 | 56·jacobianTransposed.mtv(tmp,·value); | ||
| 51 | 57·value·/=·integrationElement; | ||
| 52 | 58·} | ||
| 53 | 34 | 23#include·<dune/functions/functionspacebases/basistags.hh> | |
| 35 | 24#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 36 | 25#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 37 | 26#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 38 | 27#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 39 | 28 | ||
| 40 | 29 | ||
| 41 | 30namespace·Dune·{ | ||
| 42 | 31namespace·Functions·{ | ||
| 43 | 32 | ||
| 44 | 33/ | ||
| 45 | /·***************************************************************************** | ||
| 46 | 34//·This·is·the·reusable·part·of·the·composite·bases.·It·contains | ||
| 47 | 35// | ||
| 48 | 36//·CompositePreBasis | ||
| 49 | 37// | ||
| 50 | 38//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 51 | shared | ||
| 52 | 39//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 53 | 40//·and·can·be·used·without·a·global·basis. | ||
| 54 | 41/ | ||
| 55 | /·***************************************************************************** | ||
| 56 | 42 | ||
| 57 | 43 | ||
| 58 | 55template<class·IMS,·class...·SPB> | ||
| 59 | 56class·CompositePreBasis | ||
| 60 | 57{ | ||
| 61 | 58·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
| 62 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
| 63 | 59public: | ||
| 54 | 60 | 64 | 60 |
| 55 | 70·template<typename·Gradients,·typename·LocalCoordinate,·typename·Geometry> | ||
| 56 | 71·static·auto·applyJacobian(Gradients&·gradients, | ||
| 57 | 72·const·LocalCoordinate&·xi, | ||
| 58 | 73·const·Geometry&·geometry) | ||
| 59 | 74·{ | ||
| 60 | 75·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
| 61 | 76·auto·integrationElement·=·geometry.integrationElement(xi); | ||
| 62 | 77·for·(auto&·gradient·:·gradients) | ||
| 63 | 78·{ | ||
| 64 | 79·auto·tmp·=·gradient; | ||
| 65 | 80·gradient·=·0; | ||
| 66 | 81·for·(size_t·k=0;·k<gradient.M();·k++) | ||
| 67 | 82·for·(size_t·l=0;·l<tmp.N();·l++) | ||
| 68 | 83·//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse·DiagonalMatrix | ||
| 69 | 84·for(auto&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed[l])) | ||
| 70 | 85·gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k]; | ||
| 71 | 86·gradient·/=·integrationElement; | ||
| 72 | 87·} | ||
| 73 | 88·} | ||
| 74 | 89 | ||
| 75 | 97·template<class·Function,·class·LocalCoordinate,·class·Element> | ||
| 76 | 98·class·LocalValuedFunction | ||
| 77 | 99·{ | ||
| 78 | 100·const·Function&·f_; | ||
| 79 | 101·const·Element&·element_; | ||
| 80 | 102 | ||
| 81 | 103·using·LocalValue·=·LocalCoordinate; | ||
| 82 | 104 | ||
| 83 | 65 | 62·using·SubPreBases·=·std::tuple<SPB...>; | |
| 66 | 63 | ||
| 67 | 65·template<std::size_t·i> | ||
| 68 | 66·using·SubPreBasis·=·std::tuple_element_t<i,·SubPreBases>; | ||
| 69 | 67 | ||
| 70 | 69·using·GridView·=·typename·std::tuple_element_t<0,·SubPreBases>::GridView; | ||
| 71 | 70 | ||
| 72 | 72·using·size_type·=·std::size_t; | ||
| 73 | 73 | ||
| 74 | 75·using·IndexMergingStrategy·=·IMS; | ||
| 75 | 76 | ||
| 76 | 77protected: | ||
| 77 | 78·static·const·std::size_t·children·=·sizeof...(SPB); | ||
| Max diff block lines reached; 22956/28588 bytes (80.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·dynamicpowerbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 58 lines modified | Offset 72, 55 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">dynamicpowerbasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 81 | </div><!--header--> |
| 83 | <div·class="contents"> | 82 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<dune/common/reservedvector.hh></code><br·/> |
| 84 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/indices.hh></code><br·/> |
| 86 | <code>#include·< | 86 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
| 87 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a001 | 90 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 88 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a0 | 91 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 90 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 91 | </div> | 92 | </div> |
| 92 | <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 93 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 95 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01579.html">Dune::Functions::DynamicPowerPreBasis<·IMS,·SPB·></a></td></tr> |
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·dynamic·power·bases.··<a·href="a01579.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01639.html">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·></a></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | 107 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
| 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 111 | Typedefs</h2></td></tr> | ||
| 112 | <tr·class="memitem:gab0bae3d4d425eb9a32bd97c797af7350"·id="r_gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k,·typename·R··=·double>·</td></tr> | ||
| 113 | <tr·class="memitem:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gab0bae3d4d425eb9a32bd97c797af7350">Dune::Functions::HierarchicalLagrangeBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01631.html">HierarchicalLagrangePreBasis</a><·GV,·k,·R·>·></td></tr> | ||
| 114 | <tr·class="memdesc:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | </table><table·class="memberdecls"> | ||
| 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 118 | Functions</h2></td></tr> | 111 | Functions</h2></td></tr> |
| 119 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"·id="r_gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplParams"·colspan="2">template<int·k,·typename·R··=·double>·</td></tr> | ||
| 120 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gae1668779c06b647fd909294cbedf28cf">Dune::Functions::BasisFactory::hierarchicalLagrange</a>·()</td></tr> | ||
| 121 | <tr·class="mem | 112 | <tr·class="memitem:gad1b5c7a712be185869dd34172f19dae1"·id="r_gad1b5c7a712be185869dd34172f19dae1"><td·class="memTemplParams"·colspan="2">template<class·ChildPreBasisFactory·,·class·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·>·</td></tr> |
| 113 | <tr·class="memitem:gad1b5c7a712be185869dd34172f19dae1"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gad1b5c7a712be185869dd34172f19dae1">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·std::size_t·k,·const·<a·class="el"·href="a01399.html">IndexMergingStrategy</a>·&)</td></tr> | ||
| 114 | <tr·class="memdesc:gad1b5c7a712be185869dd34172f19dae1"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 122 | <tr·class="separator:ga | 115 | <tr·class="separator:gad1b5c7a712be185869dd34172f19dae1"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 116 | <tr·class="memitem:ga6d03224fd86e6f56642f98313a6adf7d"·id="r_ga6d03224fd86e6f56642f98313a6adf7d"><td·class="memTemplParams"·colspan="2">template<class·ChildPreBasisFactory·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga6d03224fd86e6f56642f98313a6adf7d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga6d03224fd86e6f56642f98313a6adf7d">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·std::size_t·k)</td></tr> | ||
| 118 | <tr·class="memdesc:ga6d03224fd86e6f56642f98313a6adf7d"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01779.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ga6d03224fd86e6f56642f98313a6adf7d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 123 | </table> | 120 | </table> |
| 124 | </div><!--·contents·--> | 121 | </div><!--·contents·--> |
| 125 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
| 126 | <hr·class="footer"/><address·class="footer"><small> | 123 | <hr·class="footer"/><address·class="footer"><small> |
| 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 124 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 128 | </small></address> | 125 | </small></address> |
| 129 | </body> | 126 | </body> |
| Offset 1, 42 lines modified | Offset 1, 43 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|· | 8 | Classes·|·Namespaces·|·Functions |
| 9 | hierarchicallagrangebasis.hh·File·Reference | ||
| 10 | 9 | dynamicpowerbasis.hh·File·Reference | |
| 10 | #include·<dune/common/reservedvector.hh> | ||
| 11 | #include·<dune/common/typeutilities.hh> | ||
| 11 | #include·<dune/common/ | 12 | #include·<dune/common/indices.hh> |
| 12 | #include·<dune/ | 13 | #include·<dune/functions/common/utility.hh> |
| 14 | #include·<dune/functions/common/type_traits.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/nodes.hh> | 17 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 14 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/ | 18 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 16 | #include·<dune/geometry/type.hh> | ||
| 17 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 18 | Classes | 20 | Classes |
| 21 | class· ·Dune::Functions::DynamicPowerPreBasis<_IMS,_SPB_> | ||
| 22 | ·······A·pre-basis·for·dynamic·power·bases.·More... | ||
| 19 | class· ·Dune::Functions::HierarchicalLagrangePreBasis<_GV,_1,_R_> | ||
| 20 | |||
| 21 | class· ·Dune::Functions::HierarchicalLagrangePreBasis<_GV,_2,_R_> | ||
| 22 | 23 | ||
| 23 | Namespaces | 24 | Namespaces |
| 24 | namespace· ·Dune | 25 | namespace· ·Dune |
| 25 | 26 | ||
| 26 | namespace· ·Dune::Functions | 27 | namespace· ·Dune::Functions |
| 27 | 28 | ||
| 28 | namespace· ·Dune::Functions::BasisFactory | 29 | namespace· ·Dune::Functions::BasisFactory |
| 29 | 30 | ||
| 30 | Typedefs | ||
| 31 | template<typename·GV·,·int·k,·typename·R·=·double> | ||
| 32 | using ·Dune::Functions::HierarchicalLagrangeBasis·=·DefaultGlobalBasis< | ||
| 33 | ·······HierarchicalLagrangePreBasis<·GV,·k,·R·>·> | ||
| 34 | ······Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space. | ||
| 35 | |||
| 36 | Functions | 31 | Functions |
| 37 | template<int·k,·typename·R·=·double> | ||
| 38 | auto ·Dune::Functions::BasisFactory::hierarchicalLagrange·() | ||
| 39 | 32 | template<class·ChildPreBasisFactory·,·class·IndexMergingStrategy·> | |
| 33 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 34 | ······&&childPreBasisFactory,·std::size_t·k,·const·IndexMergingStrategy·&) | ||
| 35 | ·····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis. | ||
| 36 | |||
| 37 | template<class·ChildPreBasisFactory·> | ||
| 38 | auto ·Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
| 39 | ······&&childPreBasisFactory,·std::size_t·k) | ||
| 40 | ·····Create·a·factory·builder·that·can·build·a·PowerPreBasis. | ||
| 40 | 41 | ||
| 41 | =============================================================================== | 42 | =============================================================================== |
| 42 | ·····Generated·by [doxygen]·1.9.8 | 43 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·dynamicpowerbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 128 lines modified | Offset 74, 513 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">dynamicpowerbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00137.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00137.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DYNAMICPOWERBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DYNAMICPOWERBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/ | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00125.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 104 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 105 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 106 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·*****************************************************************************</span></div> |
| 108 | <div·class="line"><a·id="l0002 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·This·is·the·reusable·part·of·the·dynamic·power·bases.·It·contains</span></div> |
| 109 | <div·class="line"><a·id="l0002 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//</span></div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="comment">//·-·only·orders·k=1,2·are·implemented·up·to·now</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·-·order·k=1·is·identical·to·the·standard·Lagrange·basis</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span> | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//···DynamicPowerPreBasis</span></div> |
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//</span></div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 114 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·*****************************************************************************</span></div> |
| 115 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R·=·<span·class="keywordtype">double</span>></div> | ||
| 117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01631.html">···44</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01631.html">HierarchicalLagrangePreBasis</a>;</div> | ||
| 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class</span>·IMS,·<span·class="keyword">class</span>·SPB></div> |
| 120 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> | 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="a01 | 121 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01579.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01579.html">DynamicPowerPreBasis</a></div> |
| 122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin</a><GV,·LagrangeSimplexLocalFiniteElement<typename·GV::ctype,R,GV::dimension,1>></div> | ||
| 123 | <div·class="line"><a·id="l0004 | 122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div> |
| 124 | <div·class="line"><a·id="l000 | 123 | <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">bool</span>·isBlocked·=·std::is_same_v<IMS,BasisFactory::BlockedLexicographic>·or·std::is_same_v[·...·truncated·by·diffoscope;·len:·40,·SHA:·cad696300ce831dd3ce922f3ab8cafdd43f878321b096dfcda4cc9cc5dc4f6a0·...·]>;</div> |
| 124 | <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> | 125 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> |
| 126 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
| 127 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01635.html#a75186c538531513affbe4173b802684b">···52</a></span>······<a·class="code·hl_function"·href="a01635.html#a75186c538531513affbe4173b802684b">HierarchicalLagrangePreBasis</a>·(<span·class="keyword">const</span>·GV&·gridView)·:</div> | ||
| 128 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<a·class="code·hl_class"·href="a01715.html">Base</a>(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·gt.isVertex()·?·1·:·0;·})</div> | ||
| 129 | <div·class="line"><a·id="l0005 | 126 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01579.html#a922c368c47035de35be42b4da3f963dd">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01579.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>·=·SPB;</div> | ||
| 130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··········<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>············DUNE_THROW(Dune::NotImplemented,</div> | ||
| 133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··············<span·class="stringliteral">"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 134 | <div·class="line"><a·id="l0005 | 128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01579.html#ae0f1e3e481bdf1ea0bd1ee45ed341252">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01579.html#ae0f1e3e481bdf1ea0bd1ee45ed341252">GridView</a>·=·<span·class="keyword">typename</span>·SPB::GridView;</div> | ||
| 135 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
| 136 | </div> | 131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b2[·...·truncated·by·diffoscope;·len:·46,·SHA:·b3411e6a93227298fa5aa4ee1473f57aab90757c961c537a7f766ca15d6d5973·...·]/div> |
| 137 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>· | 132 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 138 | </div> | 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01579.html#a0ce03c6cde3049e3faf1ee2debf5c40d">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01579.html#a0ce03c6cde3049e3f[·...·truncated·by·diffoscope;·len:·49,·SHA:·30b54aed51469848c3757806a7f4a853293bb9b342cc873075226aee3f7aa10b·...·]/div> |
| 139 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
| 135 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01579.html#adf801c05490b41152cc5ef63c2855a61">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01759.html">Node</a>·=·<a·class="code·hl_class"·href="a01759.html">DynamicPowerBasisNode<typename·SubPreBasis::Node></a>;</div> | ||
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01579.html#a4777f6061409c22e48bcd685c3c3d698">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01579.html#a4777f6061409c22e48bcd685c3c3d698">maxMultiIndexSize</a>·=·SubPreBasis::maxMultiIndexSize·+·isBlocked;</div> | ||
| 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01579.html#afc84d993bba25c9429877c76e8a722e5">···69</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01579.html#afc84d993bba25c9429877c76e8a722e5">minMultiIndexSize</a>·=·SubPreBasis::minMultiIndexSize·+·isBlocked;</div> | ||
| 139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01579.html#a8f87320978269fc52293ca6ef70239db">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01579.html#a0153c5e605e77a8b205e17f78820c84b">size_type</a>·<a·class="code·hl_variable"·href="a01579.html#a8f87320978269fc52293ca6ef70239db">multiIndexBufferSize</a>·=·SubPreBasis::multiIndexBufferSize·+·isBlocked;</div> | ||
| 140 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 140 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> |
| 142 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····disableCopyMove<<a·class="code·hl_class"·href="a01579.html">DynamicPowerPreBasis</a>,·SFArgs...>·=·0,</div> | ||
| 143 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_typedef"·href="a00221.html#ga80c230cc3d1605429839d9a6076af5ee">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01579.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
| 141 | <div·class="foldopen"·id="foldopen000 | 144 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> |
| 142 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01639.html">···64</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01631.html">HierarchicalLagrangePreBasis</a><GV,2,R></div> | ||
| 143 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01579.html#a0fe2f62daa16567953f11aca5727df00">···80</a></span>··<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01579.html#a0fe2f62daa16567953f11aca5727df00">Dynamic[·...·truncated·by·diffoscope;·len:·62,·SHA:·4b3e337ec036311e9e1608789aeec82406ea110669b95ec2a792ce47649120d6·...·]</div> |
| 146 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a01579.html#aee27ec153820ad6c61016bfa6476eae0">children_</a>(c),</div> | ||
| 147 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<a·class="code·hl_variable"·href="a01579.html#a6fd5610a86770689d4130d8df12ae007">subPreBasis_</a>(std::forward<SFArgs>(sfArgs)...)</div> | ||
| 148 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> | ||
| 149 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01579.html#a922c368c47035de35be42b4da3f963dd">SubPreBasis</a>>(),·<span·class="stringliteral">"Subprebasis·passed·to·DynamicPowerPreBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 150 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> | ||
| 151 | </div> | ||
| 144 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
| 145 | <div·class=" | 153 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> |
| 154 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01579.html#a355aeb8afc8ed94752e91b20d6e45e1d">···88</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01579.html#a355aeb8afc8ed94752e91b20d6e45e1d">initializeIndices</a>()</div> | ||
| 146 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div> |
| 156 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<a·class="code·hl_variable"·href="a01579.html#a6fd5610a86770689d4130d8df12ae007">subPreBasis_</a>.initializeIndices();</div> | ||
| 157 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> | ||
| 158 | </div> | ||
| 159 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
| 147 | <div·class="foldopen"·id="foldopen000 | 160 | <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="}"> |
| 161 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01579.html#afb8a8b35f83776e4d5b427d7cf42091d">···94</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01579.html#ae0f1e3e481bdf1ea0bd1ee45ed341252">GridView</a>&·<a·class="code·hl_function"·href="a01579.html#afb8a8b35f83776e4d5b427d7cf42091d">gridView</a>()<span·class="keyword">·const</span></div> | ||
| 148 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01639.html#a8c3ea0a10cbe0b443245d686bc3e823c">···69</a></span>······<a·class="code·hl_function"·href="a01639.html#a8c3ea0a10cbe0b443245d686bc3e823c">HierarchicalLagrangePreBasis</a>·(<span·class="keyword">const</span>·GV&·gridView)·:</div> | ||
| 149 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<a·class="code·hl_class"·href="a01715.html">Base</a>(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·(gt.isVertex()·||·gt.isLine())·?·1·:·0;·})</div> | ||
| 150 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······{</div> | ||
| 151 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·gt·:·gridView.indexSet().types(0))·{</div> | ||
| 152 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">··</span>{</div> |
| Max diff block lines reached; 18808/112553 bytes (16.71%) of diff not shown. | |||
| Offset 1, 141 lines modified | Offset 1, 605 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | dynamicpowerbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DYNAMICPOWERBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DYNAMICPOWERBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 1 | 21 | 10#include·<dune/common/reservedvector.hh> |
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 23 | 12#include·<dune/common/ | 23 | 12#include·<dune/common/indices.hh> |
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
| 26 | 1 | 25 | 14#include·<dune/functions/common/utility.hh> |
| 26 | 15#include·<dune/functions/common/type_traits.hh> | ||
| 27 | 16#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 28 | 17#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 27 | 1 | 29 | 18#include·<dune/functions/functionspacebases/nodes.hh> |
| 28 | 17#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 29 | 1 | 30 | 19#include·<dune/functions/functionspacebases/concepts.hh> |
| 31 | 20 | ||
| 30 | 19 | ||
| 31 | 20#include·<dune/geometry/type.hh> | ||
| 32 | 21 | 32 | 21 |
| 33 | 22 | ||
| 33 | 2 | 34 | 23namespace·Dune·{ |
| 34 | 2 | 35 | 24namespace·Functions·{ |
| 35 | 24 | ||
| 36 | 25 | 36 | 25 |
| 37 | 26 | ||
| 38 | 27/ | ||
| 37 | /·***************************************************************************** | 39 | /·***************************************************************************** |
| 40 | 28//·This·is·the·reusable·part·of·the·dynamic·power·bases.·It·contains | ||
| 41 | 29// | ||
| 42 | 30//·DynamicPowerPreBasis | ||
| 38 | 26·//·Implementation·for·Hierarchical·Lagrange·Basis | ||
| 39 | 27·// | ||
| 40 | 28·//·-·only·orders·k=1,2·are·implemented·up·to·now | ||
| 41 | 29·//·-·order·k=1·is·identical·to·the·standard·Lagrange·basis | ||
| 42 | 30·//·-·implementation·is·restricted·to·simplex·grids | ||
| 43 | 31 | 43 | 31// |
| 44 | 32· | 44 | 32//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible |
| 45 | shared | ||
| 46 | 33//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 47 | 34//·and·can·be·used·without·a·global·basis. | ||
| 48 | 35/ | ||
| 45 | /·***************************************************************************** | 49 | /·***************************************************************************** |
| 50 | 36 | ||
| 51 | 46template<class·IMS,·class·SPB> | ||
| 52 | 47class·DynamicPowerPreBasis | ||
| 53 | 48{ | ||
| 54 | 49·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
| 55 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
| 56 | 50 | ||
| 46 | 33 | ||
| 47 | 43·template<typename·GV,·int·k,·typename·R·=·double> | ||
| 48 | 44·class·HierarchicalLagrangePreBasis; | ||
| 49 | 45 | ||
| 50 | 46·template<typename·GV,·typename·R> | ||
| 51 | 47·class·HierarchicalLagrangePreBasis<GV,1,R> | ||
| 52 | 48·:·public·LFEPreBasisMixin<GV,·LagrangeSimplexLocalFiniteElement<typename | ||
| 53 | GV::ctype,R,GV::dimension,1>> | ||
| 54 | 49·{ | ||
| 55 | 50·using·Base·=·LFEPreBasisMixin<GV,_LagrangeSimplexLocalFiniteElement<typename | ||
| 56 | GV::ctype,R,GV::dimension,1>>; | ||
| 57 | 51 | 57 | 51public: |
| 58 | 52 | ||
| 59 | 54·using·SubPreBasis·=·SPB; | ||
| 60 | 55 | ||
| 61 | 57·using·GridView·=·typename·SPB::GridView; | ||
| 62 | 58 | ||
| 63 | 60·using·size_type·=·std::size_t; | ||
| 64 | 61 | ||
| 65 | 63·using·IndexMergingStrategy·=·IMS; | ||
| 66 | 64 | ||
| 67 | 66·using·Node·=·DynamicPowerBasisNode<typename_SubPreBasis::Node>; | ||
| 68 | 67 | ||
| 69 | 68·static·constexpr·size_type·maxMultiIndexSize·=·SubPreBasis:: | ||
| 70 | maxMultiIndexSize·+·isBlocked; | ||
| 71 | 69·static·constexpr·size_type·minMultiIndexSize·=·SubPreBasis:: | ||
| 72 | minMultiIndexSize·+·isBlocked; | ||
| 73 | 70·static·constexpr·size_type·multiIndexBufferSize·=·SubPreBasis:: | ||
| 74 | multiIndexBufferSize·+·isBlocked; | ||
| 75 | 71 | ||
| 76 | 77·template<class...·SFArgs, | ||
| 77 | 78·disableCopyMove<DynamicPowerPreBasis,·SFArgs...>·=·0, | ||
| 78 | 79·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
| 79 | 80·explicit·DynamicPowerPreBasis(std::size_t·c,·SFArgs&&...·sfArgs)·: | ||
| 80 | 81·children_(c), | ||
| 81 | 82·subPreBasis_(std::forward<SFArgs>(sfArgs)...) | ||
| 58 | 52·HierarchicalLagrangePreBasis·(const·GV&·gridView)·: | ||
| 59 | 53·Base(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·gt.isVertex | ||
| 60 | ()·?·1·:·0;·}) | ||
| 61 | 54·{ | ||
| 62 | 55·for·(auto·gt·:·gridView.indexSet().types(0))·{ | ||
| 63 | 56·if·(!gt.isSimplex()) | ||
| 64 | 57·DUNE_THROW(Dune::NotImplemented, | ||
| 65 | 58·"Hierarchical·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 66 | 59·} | ||
| 67 | 60·} | ||
| 68 | 61·}; | ||
| 69 | 62 | ||
| 70 | 63·template<typename·GV,·typename·R> | ||
| 71 | 64·class·HierarchicalLagrangePreBasis<GV,2,R> | ||
| 72 | 65·:·public·LFEPreBasisMixin<GV,·HierarchicalP2LocalFiniteElement<typename·GV:: | ||
| 73 | ctype,R,GV::dimension>> | ||
| 74 | 66·{ | ||
| 75 | 67·using·Base·=·LFEPreBasisMixin<GV,_HierarchicalP2LocalFiniteElement<typename | ||
| 76 | GV::ctype,R,GV::dimension>>; | ||
| 77 | 68·public: | ||
| 78 | 69·HierarchicalLagrangePreBasis·(const·GV&·gridView)·: | ||
| 79 | 70·Base(gridView,·[](GeometryType·gt,·int)·->·std::size_t·{·return·(gt.isVertex | ||
| 80 | ()·||·gt.isLine())·?·1·:·0;·}) | ||
| 81 | 71·{ | ||
| Max diff block lines reached; 8981/26178 bytes (34.31%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·raviartthomasbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 63 lines modified | Offset 74, 67 lines modified | ||
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | 79 | <a·href="#typedef-members">Typedefs</a>·| |
| 80 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">raviartthomasbasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<array></code><br·/> | 84 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 86 | <code>#include·<dune/g | 86 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> |
| 87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 87 | <code>#include·<dune/localfunctions/common/ | 88 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> |
| 88 | <code>#include·<dune/localfunctions/ | 89 | <code>#include·<dune/localfunctions/raviartthomas.hh></code><br·/> |
| 89 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></code><br·/> | ||
| 90 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></code><br·/> | ||
| 91 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></code><br·/> | ||
| 92 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></code><br·/> | ||
| 93 | <code>#include·<dune/localfunctions/ | 90 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></code><br·/> |
| 91 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></code><br·/> | ||
| 92 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></code><br·/> | ||
| 93 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></code><br·/> | ||
| 94 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></code><br·/> | ||
| 95 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></code><br·/> | ||
| 96 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></code><br·/> | ||
| 97 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></code><br·/> | ||
| 94 | <code>#include·<<a·class="el"·href="a001 | 98 | <code>#include·<<a·class="el"·href="a00197_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> |
| 95 | <code>#include·<<a·class="el"·href="a001 | 99 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 96 | <code>#include·<<a·class="el"·href="a001 | 100 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
| 97 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | 101 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> |
| 98 | </div> | 102 | </div> |
| 99 | <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 100 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 102 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
| 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01839.html">Dune::Functions::RaviartThomasPreBasis<·GV,·k·></a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01835.html">Dune::Functions::RaviartThomasNode<·GV,·k·></a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 109 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
| 110 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 114 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 116 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | 118 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> |
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 116 | </table><table·class="memberdecls"> | 120 | </table><table·class="memberdecls"> |
| 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 118 | Typedefs</h2></td></tr> | 122 | Typedefs</h2></td></tr> |
| 119 | <tr·class="memitem:a | 123 | <tr·class="memitem:a79a7c0c6e2a4ba12c82164fcbbae6c63"·id="r_a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> |
| 120 | <tr·class="memitem:a | 124 | <tr·class="memitem:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a79a7c0c6e2a4ba12c82164fcbbae6c63">Dune::Functions::RaviartThomasBasis</[·...·truncated·by·diffoscope;·len:·111,·SHA:·c298c293ce3bb7c0cee6fbf3229fd7a81566996d6bb2195ab181afd1081247eb·...·]PreBasis</a><·GV,·k·>·></td></tr> |
| 121 | <tr·class="memdesc:a | 125 | <tr·class="memdesc:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.··<br·/></td></tr> |
| 122 | <tr·class="separator:a | 126 | <tr·class="separator:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 123 | </table><table·class="memberdecls"> | 127 | </table><table·class="memberdecls"> |
| 124 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 128 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 125 | Functions</h2></td></tr> | 129 | Functions</h2></td></tr> |
| 126 | <tr·class="memitem:ga7 | 130 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"·id="r_gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> |
| 127 | <tr·class="memitem:ga7 | 131 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gac7c656af99728aa385381f5d78ae0b98">Dune::Functions::BasisFactory::raviar[·...·truncated·by·diffoscope;·len:·7,·SHA:·b74c7d4871ed698002238c53ba92bdf44dfe25698d20a27f98a2755e057e3874·...·]</a>·()</td></tr> |
| 128 | <tr·class="memdesc:ga7 | 132 | <tr·class="memdesc:gac7c656af99728aa385381f5d78ae0b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis.··<br·/></td></tr> |
| 129 | <tr·class="separator:ga7 | 133 | <tr·class="separator:gac7c656af99728aa385381f5d78ae0b98"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 130 | </table> | 134 | </table> |
| 131 | </div><!--·contents·--> | 135 | </div><!--·contents·--> |
| 132 | <!--·start·footer·part·--> | 136 | <!--·start·footer·part·--> |
| 133 | <hr·class="footer"/><address·class="footer"><small> | 137 | <hr·class="footer"/><address·class="footer"><small> |
| 134 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 135 | </small></address> | 139 | </small></address> |
| 136 | </body> | 140 | </body> |
| Offset 2, 55 lines modified | Offset 2, 52 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | 9 | raviartthomasbasis.hh·File·Reference | |
| 10 | #include·<array> | 10 | #include·<array> |
| 11 | #include·<dune/common/exceptions.hh> | 11 | #include·<dune/common/exceptions.hh> |
| 12 | #include·<dune/g | 12 | #include·<dune/grid/common/capabilities.hh> |
| 13 | #include·<dune/grid/common/mcmgmapper.hh> | ||
| 13 | #include·<dune/localfunctions/common/ | 14 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> |
| 15 | #include·<dune/localfunctions/raviartthomas.hh> | ||
| 16 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
| 17 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
| 18 | #include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
| 19 | #include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
| 20 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
| 21 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
| 22 | #include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
| 23 | #include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
| 14 | #include·<dune/localfunctions/common/virtualwrappers.hh> | ||
| 15 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 16 | brezzidouglasmarini1cube2d.hh> | ||
| 17 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 18 | brezzidouglasmarini1cube3d.hh> | ||
| 19 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 20 | brezzidouglasmarini1simplex2d.hh> | ||
| 21 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 22 | brezzidouglasmarini2cube2d.hh> | ||
| 23 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 24 | brezzidouglasmarini2simplex2d.hh> | ||
| 25 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | 24 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> |
| 26 | #include·<dune/functions/functionspacebases/nodes.hh> | 25 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 27 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 26 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 28 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | 27 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> |
| 29 | Go_to_the_source_code_of_this_file. | 28 | Go_to_the_source_code_of_this_file. |
| 30 | Classes | 29 | Classes |
| 31 | class· ·Dune::Functions:: | 30 | class· ·Dune::Functions::RaviartThomasPreBasis<_GV,_k_> |
| 32 | 31 | ||
| 33 | class· ·Dune::Functions:: | 32 | class· ·Dune::Functions::RaviartThomasNode<_GV,_k_> |
| 34 | 33 | ||
| 35 | Namespaces | 34 | Namespaces |
| 36 | namespace· ·Dune | 35 | namespace· ·Dune |
| 37 | 36 | ||
| 38 | namespace· ·Dune::Functions | 37 | namespace· ·Dune::Functions |
| 39 | 38 | ||
| 40 | namespace· ·Dune::Functions::BasisFactory | 39 | namespace· ·Dune::Functions::BasisFactory |
| 41 | 40 | ||
| 42 | Typedefs | 41 | Typedefs |
| 43 | template<typename·GV·,·int·k> | 42 | template<typename·GV·,·int·k> |
| 44 | using ·Dune::Functions:: | 43 | using ·Dune::Functions::RaviartThomasBasis·=·DefaultGlobalBasis< |
| 44 | ·······RaviartThomasPreBasis<·GV,·k·>·> | ||
| 45 | ······Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space. | ||
| 45 | ·······BrezziDouglasMariniPreBasis<·GV,·k·>·> | ||
| 46 | ······Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and | ||
| 47 | ·······cube·grids. | ||
| 48 | 46 | ||
| 49 | Functions | 47 | Functions |
| 50 | template<std::size_t·k> | 48 | template<std::size_t·k> |
| 51 | auto ·Dune::Functions::BasisFactory:: | 49 | auto ·Dune::Functions::BasisFactory::raviartThomas·() |
| 52 | ·····Create·a·pre-basis·factory·that·can·create·a· | 50 | ·····Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis. |
| 53 | ······basis. | ||
| 54 | 51 | ||
| 55 | =============================================================================== | 52 | =============================================================================== |
| 56 | ·····Generated·by [doxygen]·1.9.8 | 53 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·raviartthomasbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 406 lines modified | Offset 74, 462 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">raviartthomasbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00140.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00140.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
| 97 | <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> | ||
| 98 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/ | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/ | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/ | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></span></div> | ||
| 102 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></span></div> |
| 103 | <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> | ||
| 104 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 105 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00197.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l0002 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> |
| 107 | <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/defaultglobalbasis.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> |
| 109 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
| 110 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 111 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 112 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
| 113 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 114 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 115 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> |
| 116 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo</div> |
| 117 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
| 118 | <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> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <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> | ||
| 122 | <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> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>;</div> | ||
| 125 | <div·class="line"><a·id="l0004 | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> |
| 126 | <div·class="line"><a·id="l0004 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div> |
| 127 | <div·class="line"><a·id="l0004 | 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 128 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
| 129 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,0></div> |
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">using·</span>FiniteElement·=·RT02DLocalFiniteElement<D,R>;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·· | 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div> |
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>;</div> | ||
| 132 | <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> | ||
| 133 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,1></div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> |
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<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> | ||
| 136 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>FiniteElement·=·RT12DLocalFiniteElement<D,R>;</div> |
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div> | ||
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>· | 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> | ||
| 139 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<3,D,R,0></div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··{</div> |
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 142 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">using·</span>FiniteElement·=·RT03DLocalFiniteElement<D,R>;</div> |
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··};</div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>· | 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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> | ||
| 144 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo</div> |
| 145 | <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> | ||
| 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·· | 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> |
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
| 147 | <div·class="line"><a·id="l0006 | 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··};</div> |
| 148 | <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> | ||
| 149 | <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> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>· | 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 151 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,0></div> |
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> | ||
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·· | 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> |
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">using·</span>FiniteElement·=·RT0Cube2DLocalFiniteElement<D,R>;</div> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··};</div> | ||
| 154 | <div·class="line"><a·id="l0007 | 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
| 155 | <div·class="line"><a·id="l0007 | 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
| 156 | <div·class="line"><a·id="l0007 | 158 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,1></div> |
| 157 | <div·class="line"><a·id="l0007 | 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··{</div> |
| 158 | <div·class="line"><a·id="l0007 | 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">using·</span>FiniteElement·=·RT1Cube2DLocalFiniteElement<D,R>;</div> |
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·64;</div> | ||
| 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··};</div> | ||
| 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··};</div> |
| Max diff block lines reached; 119568/147249 bytes (81.20%) of diff not shown. | |||
| Offset 1, 487 lines modified | Offset 1, 545 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | raviartthomasbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<array> | 21 | 10#include·<array> |
| 22 | 11#include·<dune/common/exceptions.hh> | 22 | 11#include·<dune/common/exceptions.hh> |
| 23 | 12#include·<dune/geometry/referenceelements.hh> | ||
| 24 | 1 | 23 | 12 |
| 24 | 13#include·<dune/grid/common/capabilities.hh> | ||
| 25 | 14#include·<dune/grid/common/mcmgmapper.hh> | ||
| 26 | 15 | ||
| 25 | 1 | 27 | 16#include·<dune/localfunctions/common/localfiniteelementvariant.hh> |
| 28 | 17#include·<dune/localfunctions/raviartthomas.hh> | ||
| 29 | 18#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
| 30 | 19#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
| 31 | 20#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
| 32 | 21#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
| 33 | 22#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
| 34 | 23#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
| 35 | 24#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
| 36 | 25#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
| 37 | 26 | ||
| 26 | 15#include·<dune/localfunctions/common/virtualwrappers.hh> | ||
| 27 | 16 | ||
| 28 | 17#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 29 | brezzidouglasmarini1cube2d.hh> | ||
| 30 | 18#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 31 | brezzidouglasmarini1cube3d.hh> | ||
| 32 | 19#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 33 | brezzidouglasmarini1simplex2d.hh> | ||
| 34 | 20#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 35 | brezzidouglasmarini2cube2d.hh> | ||
| 36 | 21#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 37 | brezzidouglasmarini2simplex2d.hh> | ||
| 38 | 22 | ||
| 39 | 2 | 38 | 27#include·<dune/functions/functionspacebases/ |
| 40 | globalvaluedlocalfiniteelement.hh> | 39 | globalvaluedlocalfiniteelement.hh> |
| 41 | 2 | 40 | 28#include·<dune/functions/functionspacebases/nodes.hh> |
| 42 | 2 | 41 | 29#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 43 | 42 | 30#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | |
| 44 | 43 | 31 | |
| 45 | 44 | 32namespace·Dune·{ | |
| 46 | 45 | 33namespace·Functions·{ | |
| 47 | 3 | 46 | 34 |
| 48 | 3 | 47 | 35namespace·Impl·{ |
| 49 | 3 | 48 | 36 |
| 50 | 3 | 49 | 37·template<int·dim,·typename·D,·typename·R,·std::size_t·k> |
| 51 | 3 | 50 | 38·struct·RaviartThomasSimplexLocalInfo |
| 52 | 3 | 51 | 39·{ |
| 52 | 40·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
| 53 | 41·using·FiniteElement·=·void*; | ||
| 53 | 36·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 54 | not·implemented,·sorry!"); | ||
| 55 | 37·}; | ||
| 56 | 38 | ||
| 57 | 39·template<typename·D,·typename·R> | ||
| 58 | 40·struct·BDMSimplexLocalInfo<2,D,R,1> | ||
| 59 | 41·{ | ||
| 60 | 42·using·FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>; | ||
| 61 | 43·static·const·std::size_t·Variants·=·8; | ||
| 62 | 4 | 54 | 42·}; |
| 63 | 4 | 55 | 43 |
| 64 | 4 | 56 | 44·template<typename·D,·typename·R> |
| 65 | 4 | 57 | 45·struct·RaviartThomasSimplexLocalInfo<2,D,R,0> |
| 66 | 4 | 58 | 46·{ |
| 67 | 4 | 59 | 47·using·FiniteElement·=·RT02DLocalFiniteElement<D,R>; |
| 60 | 48·}; | ||
| 61 | 49 | ||
| 68 | 50·static·const·std::size_t·Variants·=·8; | ||
| 69 | 51·}; | ||
| 70 | 52 | ||
| 71 | 53·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 72 | 54·struct·BDMCubeLocalInfo | ||
| 73 | 55·{ | ||
| 74 | 56·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 75 | not·implemented,·sorry!"); | ||
| 76 | 57·}; | ||
| 77 | 58 | ||
| 78 | 5 | 62 | 50·template<typename·D,·typename·R> |
| 79 | 60·struct·BDMCubeLocalInfo<2,D,R,1> | ||
| 80 | 63 | 51·struct·RaviartThomasSimplexLocalInfo<2,D,R,1> | |
| 64 | 52·{ | ||
| 81 | 65 | 53·using·FiniteElement·=·RT12DLocalFiniteElement<D,R>; | |
| 82 | 63·static·const·std::size_t·Variants·=·16; | ||
| 83 | 66 | 54·}; | |
| 84 | 67 | 55 | |
| 85 | 68 | 56·template<typename·D,·typename·R> | |
| 86 | 69 | 57·struct·RaviartThomasSimplexLocalInfo<3,D,R,0> | |
| 87 | 70 | 58·{ | |
| 71 | 59·using·FiniteElement·=·RT03DLocalFiniteElement<D,R>; | ||
| 72 | 60·}; | ||
| 73 | 61 | ||
| 74 | 62·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 75 | 63·struct·RaviartThomasCubeLocalInfo | ||
| 76 | 64·{ | ||
| 77 | 65·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
| 78 | 66·using·FiniteElement·=·void*; | ||
| 79 | 67·}; | ||
| 80 | 68 | ||
| 81 | 69·template<typename·D,·typename·R> | ||
| 82 | 70·struct·RaviartThomasCubeLocalInfo<2,D,R,0> | ||
| 83 | 71·{ | ||
| 88 | 84 | 72·using·FiniteElement·=·RT0Cube2DLocalFiniteElement<D,R>; | |
| 89 | 70·static·const·std::size_t·Variants·=·16; | ||
| 90 | 7 | 85 | 73·}; |
| 91 | 7 | 86 | 74 |
| 92 | 7 | 87 | 75·template<typename·D,·typename·R> |
| 93 | 7 | 88 | 76·struct·RaviartThomasCubeLocalInfo<2,D,R,1> |
| 94 | 7 | 89 | 77·{ |
| 95 | 7 | 90 | 78·using·FiniteElement·=·RT1Cube2DLocalFiniteElement<D,R>; |
| 96 | 77·static·const·std::size_t·Variants·=·64; | ||
| Max diff block lines reached; 26501/32597 bytes (81.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·flatmultiindex.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 54 lines modified | Offset 70, 37 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 78 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="# | 78 | <a·href="#typedef-members">Typedefs</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">flatmultiindex.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 80 | </div><!--header--> |
| 82 | <div·class="contents"> | 81 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 84 | <code>#include·<type_traits></code><br·/> | ||
| 85 | <code>#include·<limits></code><br·/> | ||
| 86 | <code>#include·<set></code><br·/> | ||
| 87 | <code>#include·<vector></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a0 | 83 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/multiindex.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code><br·/> | ||
| 91 | </div> | 84 | </div> |
| 92 | <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 93 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 95 | Classes</h2></td></tr> | ||
| 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01767.html">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet</a></td></tr> | ||
| 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Container·storing·identified·indices·for·a·periodic·basis.··<a·href="a01767.html#details">More...</a><br·/></td></tr> | ||
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 99 | </table><table·class="memberdecls"> | ||
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 101 | Namespaces</h2></td></tr> | 88 | Namespaces</h2></td></tr> |
| 102 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:a00235"·id="r_a00235"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00235.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
| 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
| 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id=" | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 112 | Functions</h2></td></tr> | ||
| 113 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"·id="r_ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisIndicator·,·class·PIS·>·</td></tr> | ||
| 114 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga797d4c1dfcfe6b0a98de9284c4f6b5e3">Dune::Functions::BasisFactory::Experimental::periodic</a>·(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet)</td></tr> | ||
| 115 | 95 | Typedefs</h2></td></tr> | |
| 96 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"·id="r_ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplParams"·colspan="2">template<class·size_type·>·</td></tr> | ||
| 97 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga6b523ca86bfec2581ea9c173a722f8f3">Dune::Functions::FlatMultiIndex</a>·=·<a·class="el"·href="a01267.html">StaticMultiIndex</a><·size_type,·1·></td></tr> | ||
| 98 | <tr·class="memdesc:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="mdescLeft"> </td><td·class="mdescRight">A·multi-index·class·with·only·one·level.··<br·/></td></tr> | ||
| 116 | <tr·class="separator:ga | 99 | <tr·class="separator:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 117 | </table> | 100 | </table> |
| 118 | </div><!--·contents·--> | 101 | </div><!--·contents·--> |
| 119 | <!--·start·footer·part·--> | 102 | <!--·start·footer·part·--> |
| 120 | <hr·class="footer"/><address·class="footer"><small> | 103 | <hr·class="footer"/><address·class="footer"><small> |
| 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 122 | </small></address> | 105 | </small></address> |
| 123 | </body> | 106 | </body> |
| Offset 1, 39 lines modified | Offset 1, 24 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Namespaces·|·Typedefs | ||
| 9 | flatmultiindex.hh·File·Reference | ||
| 10 | #include·<array> | ||
| 11 | #include·<dune/functions/common/multiindex.hh> | ||
| 8 | Classes·|·Namespaces·|·Functions | ||
| 9 | periodicbasis.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | #include·<type_traits> | ||
| 12 | #include·<limits> | ||
| 13 | #include·<set> | ||
| 14 | #include·<vector> | ||
| 15 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/transformedindexbasis.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | ||
| 20 | class· ·Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet | ||
| 21 | ·······Container·storing·identified·indices·for·a·periodic·basis.·More... | ||
| 22 | |||
| 23 | Namespaces | 13 | Namespaces |
| 24 | namespace· ·Dune | 14 | namespace· ·Dune |
| 25 | 15 | ||
| 26 | namespace· ·Dune::Functions | 16 | namespace· ·Dune::Functions |
| 27 | 17 | ||
| 18 | Typedefs | ||
| 19 | template<class·size_type·> | ||
| 20 | using ·Dune::Functions::FlatMultiIndex·=·StaticMultiIndex<·size_type,·1·> | ||
| 21 | ······A·multi-index·class·with·only·one·level. | ||
| 28 | namespace· ·Dune::Functions::BasisFactory | ||
| 29 | |||
| 30 | namespace· ·Dune::Functions::BasisFactory::Experimental | ||
| 31 | |||
| 32 | Functions | ||
| 33 | template<class·RawPreBasisIndicator·,·class·PIS·> | ||
| 34 | auto ·Dune::Functions::BasisFactory::Experimental::periodic | ||
| 35 | ······(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet) | ||
| 36 | ·····Create·a·pre-basis·factory·that·can·create·a·periodic·pre-basis. | ||
| 37 | 22 | ||
| 38 | =============================================================================== | 23 | =============================================================================== |
| 39 | ·····Generated·by [doxygen]·1.9.8 | 24 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·flatmultiindex.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 227 lines modified | Offset 74, 48 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">flatmultiindex.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00146.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00146.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<limits></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<set></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<vector></span></div> | ||
| 97 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00077.html">dune/functions/common/multiindex.hh</a>></span></div> |
| 101 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l000 | 96 | <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="a00224.html">Dune</a>·{</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are</span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·not·completely·sure·yet·whether·we·like·it.··We·reserve·the·right·to</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·modify·it·without·advance·warning.··Use·at·your·own·risk!</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="foldopen"·id="foldopen00029"·data-start="{"·data-end="}"> | ||
| 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00235.html">···29</a></span><span·class="keyword">namespace·</span>Experimental·{</div> | ||
| 113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 114 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 115 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
| 116 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
| 102 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00220.html#ga6b523ca86bfec2581ea9c173a722f8f3">···35</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01271.html">FlatMultiIndex</a>·=·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,·1></a>;</div> | ||
| 103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>}·<span·class="comment">//·end·namespace·Functions</span></div> | ||
| 107 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | ||
| 117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 108 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH</span></div> | ||
| 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>;</div> | ||
| 119 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> | ||
| 120 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
| 121 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
| 122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01767.html#a97911b25f2c1cf61ab48a667ae448b7e">···52</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01767.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIndexPair</a>(std::size_t·a,·std::size_t·b)</div> | ||
| 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> | ||
| 124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">if</span>·(a>b)</div> | ||
| 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······std::swap(a,b);</div> | ||
| 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">if</span>·(a==b)</div> | ||
| 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keywordflow">return</span>;</div> | ||
| 128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····indexPairSet_.insert(std::make_pair(a,b));</div> | ||
| 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> | ||
| 130 | </div> | ||
| 131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 132 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
| 133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01767.html#ace4a53d881dc7e6add6b0fd05a394738">···61</a></span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·<a·class="code·hl_function"·href="a01767.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>()<span·class="keyword">·const</span></div> | ||
| 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">··</span>{</div> | ||
| 135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·indexPairSet_;</div> | ||
| 136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> | ||
| 137 | </div> | ||
| 138 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">private</span>:</div> | ||
| 140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··IndexPairSet·indexPairSet_;</div> | ||
| 141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>};</div> | ||
| 142 | </div> | ||
| 143 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 145 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 147 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//·An·index·transformation·for·a·TransformedIndexPreBasis</span></div> | ||
| 149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//·implementing·periodic·functions·by·merging·indices.</span></div> | ||
| 150 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//·Currently·only·flat·indices·are·supported.</span></div> | ||
| 151 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">class·</span>PeriodicIndexingTransformation</div> | ||
| 152 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div> | ||
| 153 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">public</span>:</div> | ||
| 154 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·minIndexSize·=·1;</div> | ||
| 156 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·maxIndexSize·=·1;</div> | ||
| 157 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 158 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RawPreBasis,·<span·class="keyword">class</span>·IndexPairSet></div> | ||
| 159 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··PeriodicIndexingTransformation(<span·class="keyword">const</span>·RawPreBasis&·rawPreBasis,·<span·class="keyword">const</span>·IndexPairSet&·indexPairSet)</div> | ||
| 160 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> | ||
| 161 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">static_assert</span>(RawPreBasis::maxMultiIndexSize==1,·<span·class="stringliteral">"PeriodicIndexingTransformation·is·only·implemented·for·flat·multi-indices"</span>);</div> | ||
| 162 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····std::size_t·invalid·=·{std::numeric_limits<std::size_t>::max()};</div> | ||
| 163 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····mappedIdx_.resize(rawPreBasis.size(),·invalid);</div> | ||
| 164 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····numIndices_·=·0;</div> | ||
| 165 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····std::size_t·i·=·0;</div> | ||
| 166 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·[a,·b]·:·indexPairSet)</div> | ||
| 167 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> | ||
| 168 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordflow">for</span>(;·i<=a;·++i)</div> | ||
| 169 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">if</span>·(mappedIdx_[i]·==·invalid)</div> | ||
| 170 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··········mappedIdx_[i]·=·numIndices_++;</div> | ||
| 171 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······mappedIdx_[b]·=·mappedIdx_[a];</div> | ||
| 172 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····}</div> | ||
| 173 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keywordflow">for</span>(;·i<rawPreBasis.size();·++i)</div> | ||
| 174 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······<span·class="keywordflow">if</span>·(mappedIdx_[i]·==·invalid)</div> | ||
| Max diff block lines reached; 271/37747 bytes (0.72%) of diff not shown. | |||
| Offset 1, 244 lines modified | Offset 1, 49 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | flatmultiindex.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<array> | ||
| 22 | 11 | ||
| 23 | 12#include·<dune/functions/common/multiindex.hh> | ||
| 24 | 13 | ||
| 25 | 14namespace·Dune·{ | ||
| 21 | 10#include·<utility> | ||
| 22 | 11#include·<type_traits> | ||
| 23 | 12#include·<limits> | ||
| 24 | 13#include·<set> | ||
| 25 | 14#include·<vector> | ||
| 26 | 15 | ||
| 27 | 16#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 28 | 17#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 29 | 18#include·<dune/functions/functionspacebases/transformedindexbasis.hh> | ||
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 26 | 15namespace·Functions·{ | |
| 33 | 22 | ||
| 34 | 23namespace·BasisFactory·{ | ||
| 35 | 24 | ||
| 36 | 25//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are | ||
| 37 | 26//·not·completely·sure·yet·whether·we·like·it.·We·reserve·the·right·to | ||
| 38 | 27//·modify·it·without·advance·warning.·Use·at·your·own·risk! | ||
| 39 | 28 | ||
| 40 | 29namespace·Experimental·{ | ||
| 41 | 30 | ||
| 42 | 31 | ||
| 43 | 40class·PeriodicIndexSet | ||
| 44 | 41{ | ||
| 45 | 42·using·IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>; | ||
| 46 | 43public: | ||
| 47 | 44 | ||
| 48 | 52·void·unifyIndexPair(std::size_t·a,·std::size_t·b) | ||
| 49 | 53·{ | ||
| 50 | 54·if·(a>b) | ||
| 51 | 55·std::swap(a,b); | ||
| 52 | 56·if·(a==b) | ||
| 53 | 57·return; | ||
| 54 | 58·indexPairSet_.insert(std::make_pair(a,b)); | ||
| 55 | 59·} | ||
| 56 | 60 | ||
| 57 | 61·const·auto&·indexPairSet()·const | ||
| 58 | 62·{ | ||
| 59 | 63·return·indexPairSet_; | ||
| 60 | 64·} | ||
| 61 | 65 | ||
| 62 | 66private: | ||
| 63 | 67·IndexPairSet·indexPairSet_; | ||
| 64 | 68}; | ||
| 65 | 69 | ||
| 66 | 70 | ||
| 67 | 71 | ||
| 68 | 72namespace·Impl·{ | ||
| 69 | 73 | ||
| 70 | 74//·An·index·transformation·for·a·TransformedIndexPreBasis | ||
| 71 | 75//·implementing·periodic·functions·by·merging·indices. | ||
| 72 | 76//·Currently·only·flat·indices·are·supported. | ||
| 73 | 77class·PeriodicIndexingTransformation | ||
| 74 | 78{ | ||
| 75 | 79public: | ||
| 76 | 80 | ||
| 77 | 81·static·constexpr·std::size_t·minIndexSize·=·1; | ||
| 78 | 82·static·constexpr·std::size_t·maxIndexSize·=·1; | ||
| 79 | 83 | ||
| 80 | 84·template<class·RawPreBasis,·class·IndexPairSet> | ||
| 81 | 85·PeriodicIndexingTransformation(const·RawPreBasis&·rawPreBasis,·const | ||
| 82 | IndexPairSet&·indexPairSet) | ||
| 83 | 86·{ | ||
| 84 | 87·static_assert(RawPreBasis::maxMultiIndexSize==1, | ||
| 85 | "PeriodicIndexingTransformation·is·only·implemented·for·flat·multi-indices"); | ||
| 86 | 88·std::size_t·invalid·=·{std::numeric_limits<std::size_t>::max()}; | ||
| 87 | 89·mappedIdx_.resize(rawPreBasis.size(),·invalid); | ||
| 88 | 90·numIndices_·=·0; | ||
| 89 | 91·std::size_t·i·=·0; | ||
| 90 | 92·for(const·auto&·[a,·b]·:·indexPairSet) | ||
| 91 | 93·{ | ||
| 92 | 94·for(;·i<=a;·++i) | ||
| 93 | 95·if·(mappedIdx_[i]·==·invalid) | ||
| 94 | 96·mappedIdx_[i]·=·numIndices_++; | ||
| 95 | 97·mappedIdx_[b]·=·mappedIdx_[a]; | ||
| 96 | 98·} | ||
| 97 | 99·for(;·i<rawPreBasis.size();·++i) | ||
| 98 | 100·if·(mappedIdx_[i]·==·invalid) | ||
| 99 | 101·mappedIdx_[i]·=·numIndices_++; | ||
| 100 | 102·} | ||
| 101 | 103 | ||
| 102 | 104·template<class·MultiIndex,·class·PreBasis> | ||
| 103 | 105·void·transformIndex(MultiIndex&·multiIndex,·const·PreBasis&·preBasis)·const | ||
| 104 | 106·{ | ||
| 105 | 107·multiIndex·=·{{·mappedIdx_[multiIndex[0]]·}}; | ||
| 106 | 108·} | ||
| 107 | 109 | ||
| 108 | 110·template<class·Prefix,·class·PreBasis> | ||
| 109 | 111·std::size_t·size(const·Prefix&·prefix,·const·PreBasis&·preBasis)·const | ||
| 110 | 112·{ | ||
| 111 | 113·if·(prefix.size()·==·1) | ||
| 112 | 114·return·0; | ||
| 113 | 115·return·numIndices_; | ||
| 114 | 116·} | ||
| 115 | 117 | ||
| 116 | 118·template<class·PreBasis> | ||
| 117 | 119·auto·dimension(const·PreBasis&·preBasis)·const | ||
| 118 | 120·{ | ||
| 119 | 121·return·numIndices_; | ||
| 120 | 122·} | ||
| 121 | 123 | ||
| 122 | 125·template<class·PreBasis> | ||
| Max diff block lines reached; 35/8409 bytes (0.42%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·b | 8 | <title>dune-functions:·basistags.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 37 lines modified | Offset 70, 80 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">b | 80 | ··<div·class="headertitle"><div·class="title">basistags.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·< | 84 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 84 | </div> | 85 | </div> |
| 85 | <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 86 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 89 | Classes</h2></td></tr> | ||
| 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html">Dune::Functions::Concept::IndexMergingStrategy</a></td></tr> | ||
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01399.html">Dune::Functions::BasisFactory::IndexMergingStrategy</a></td></tr> | ||
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·for·index·merging·strategies·to·simplify·detection.··<a·href="a01399.html#details">More...</a><br·/></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01403.html">Dune::Functions::BasisFactory::FlatLexicographic</a></td></tr> | ||
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·without·blocking.··<a·href="a01403.html#details">More...</a><br·/></td></tr> | ||
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01407.html">Dune::Functions::BasisFactory::FlatInterleaved</a></td></tr> | ||
| 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·without·blocking.··<a·href="a01407.html#details">More...</a><br·/></td></tr> | ||
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01411.html">Dune::Functions::BasisFactory::BlockedLexicographic</a></td></tr> | ||
| 102 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<a·href="a01411.html#details">More...</a><br·/></td></tr> | ||
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01415.html">Dune::Functions::BasisFactory::BlockedInterleaved</a></td></tr> | ||
| 105 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<a·href="a01415.html#details">More...</a><br·/></td></tr> | ||
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 107 | </table><table·class="memberdecls"> | ||
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 88 | Namespaces</h2></td></tr> | 109 | Namespaces</h2></td></tr> |
| 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 110 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 112 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:a00227"·id="r_a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::Concept</a></td></tr> | ||
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 93 | </table><table·class="memberdecls"> | 120 | </table><table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 95 | Functions</h2></td></tr> | 122 | Functions</h2></td></tr> |
| 96 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"·id="r_gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>()(0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename·Basis::GridView::Intersection·>()),·0)··=·0>·</td></tr> | ||
| 97 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
| 98 | <tr·class="mem | 123 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"·id="r_a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> |
| 124 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">Dune::Functions::Concept::isIndexMergingStrategy</a>·()</td></tr> | ||
| 125 | <tr·class="separator:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 126 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"·id="r_a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
| 127 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#a4c80c069c722824168167f5ac1bc3474">Dune::Functions::Concept::isIndexMergingStrategy</a>·(T·&&t)</td></tr> | ||
| 128 | <tr·class="separator:a4c80c069c722824168167f5ac1bc3474"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 129 | <tr·class="memitem:ad515867ac194016a6f9e4463d1c67a24"·id="r_ad515867ac194016a6f9e4463d1c67a24"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html#ad515867ac194016a6f9e4463d1c67a24">Dune::Functions::BasisFactory::registerIndexMergingStrategy</a>·(<a·class="el"·href="a01399.html">IndexMergingStrategy</a>)</td></tr> | ||
| 130 | <tr·class="separator:ad515867ac194016a6f9e4463d1c67a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 131 | <tr·class="memitem:ga611fb3c6cb312fb95e83dd1a62da13bc"·id="r_ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01403.html">FlatLexicographic</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga611fb3c6cb312fb95e83dd1a62da13bc">Dune::Functions::BasisFactory::flatLexicographic</a>·()</td></tr> | ||
| 132 | <tr·class="memdesc:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·without·blocking.··<br·/></td></tr> | ||
| 99 | <tr·class="separator:ga | 133 | <tr·class="separator:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 134 | <tr·class="memitem:ga67995074ba44e2e28647170584f54bec"·id="r_ga67995074ba44e2e28647170584f54bec"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01407.html">FlatInterleaved</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga67995074ba44e2e28647170584f54bec">Dune::Functions::BasisFactory::flatInterleaved</a>·()</td></tr> | ||
| 135 | <tr·class="memdesc:ga67995074ba44e2e28647170584f54bec"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·without·blocking.··<br·/></td></tr> | ||
| 136 | <tr·class="separator:ga67995074ba44e2e28647170584f54bec"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 137 | <tr·class="memitem:gadd59442e0e62464ee27af6f2741b4494"·id="r_gadd59442e0e62464ee27af6f2741b4494"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01411.html">BlockedLexicographic</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#gadd59442e0e62464ee27af6f2741b4494">Dune::Functions::BasisFactory::blockedLexicographic</a>·()</td></tr> | ||
| 138 | <tr·class="memdesc:gadd59442e0e62464ee27af6f2741b4494"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<br·/></td></tr> | ||
| 139 | <tr·class="separator:gadd59442e0e62464ee27af6f2741b4494"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 140 | <tr·class="memitem:ga649b67336300e9f05e38b5479ca21a24"·id="r_ga649b67336300e9f05e38b5479ca21a24"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a01415.html">BlockedInterleaved</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga649b67336300e9f05e38b5479ca21a24">Dune::Functions::BasisFactory::blockedInterleaved</a>·()</td></tr> | ||
| 141 | <tr·class="memdesc:ga649b67336300e9f05e38b5479ca21a24"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<br·/></td></tr> | ||
| 142 | <tr·class="separator:ga649b67336300e9f05e38b5479ca21a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | </table> | 143 | </table> |
| 101 | </div><!--·contents·--> | 144 | </div><!--·contents·--> |
| 102 | <!--·start·footer·part·--> | 145 | <!--·start·footer·part·--> |
| 103 | <hr·class="footer"/><address·class="footer"><small> | 146 | <hr·class="footer"/><address·class="footer"><small> |
| 104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 147 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 105 | </small></address> | 148 | </small></address> |
| 106 | </body> | 149 | </body> |
| Offset 1, 26 lines modified | Offset 1, 80 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | boundarydofs.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | 9 | basistags.hh·File·Reference | |
| 10 | #include·<type_traits> | ||
| 11 | #include·<dune/common/concept.hh> | ||
| 12 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
| 13 | Classes | ||
| 14 | struct· ·Dune::Functions::Concept::IndexMergingStrategy | ||
| 15 | |||
| 16 | struct· ·Dune::Functions::BasisFactory::IndexMergingStrategy | ||
| 17 | ········Base·class·for·index·merging·strategies·to·simplify·detection.·More... | ||
| 18 | |||
| 19 | struct· ·Dune::Functions::BasisFactory::FlatLexicographic | ||
| 20 | ········Lexicographic·merging·of·direct·children·without·blocking.·More... | ||
| 21 | |||
| 22 | struct· ·Dune::Functions::BasisFactory::FlatInterleaved | ||
| 23 | ········Interleaved·merging·of·direct·children·without·blocking.·More... | ||
| 24 | |||
| 25 | struct· ·Dune::Functions::BasisFactory::BlockedLexicographic | ||
| 26 | ········Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating | ||
| 27 | ·········one·block·per·direct·child).·More... | ||
| 28 | |||
| 29 | struct· ·Dune::Functions::BasisFactory::BlockedInterleaved | ||
| 30 | ········Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating | ||
| 31 | ·········blocks·at·the·leaves·containing·one·leaf·per·child·each).·More... | ||
| 32 | |||
| 13 | Namespaces | 33 | Namespaces |
| 14 | namespace· ·Dune | 34 | namespace· ·Dune |
| 15 | 35 | ||
| 16 | namespace· ·Dune::Functions | 36 | namespace· ·Dune::Functions |
| 17 | 37 | ||
| 38 | namespace· ·Dune::Functions::Concept | ||
| 39 | |||
| 40 | namespace· ·Dune::Functions::BasisFactory | ||
| 41 | |||
| 42 | namespace· ·Dune::Functions::BasisBuilder | ||
| 43 | |||
| 18 | Functions | 44 | Functions |
| 19 | template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>() | ||
| 20 | (0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename | ||
| 21 | Basis::GridView::Intersection·>()),·0)·=·0> | ||
| 22 | void ·Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
| 23 | 45 | template<typename·T·> | |
| 46 | ·········static·constexpr·bool ·Dune::Functions::Concept:: | ||
| 47 | ································isIndexMergingStrategy·() | ||
| 48 | |||
| 49 | template<typename·T·> | ||
| 50 | ·········static·constexpr·bool ·Dune::Functions::Concept:: | ||
| 51 | ································isIndexMergingStrategy·(T·&&t) | ||
| 52 | |||
| 53 | ··························void ·Dune::Functions::BasisFactory:: | ||
| 54 | ································registerIndexMergingStrategy | ||
| 55 | ································(IndexMergingStrategy) | ||
| 56 | |||
| 57 | ···constexpr·FlatLexicographic ·Dune::Functions::BasisFactory:: | ||
| 58 | ································flatLexicographic·() | ||
| 59 | ·······························Creates·a·lexicographic·merging·of·direct | ||
| 60 | ································children·without·blocking. | ||
| 61 | |||
| 62 | ·····constexpr·FlatInterleaved ·Dune::Functions::BasisFactory::flatInterleaved | ||
| 63 | ································() | ||
| 64 | ·······························Creates·an·interleaved·merging·of·direct | ||
| 65 | ································children·without·blocking. | ||
| 66 | |||
| 67 | constexpr·BlockedLexicographic ·Dune::Functions::BasisFactory:: | ||
| 68 | ································blockedLexicographic·() | ||
| 69 | ································Creates·a·lexicographic·merging·of·direct | ||
| 70 | ·······························children·with·blocking·(i.e.·creating·one·block | ||
| 71 | ································per·direct·child). | ||
| 72 | |||
| 73 | ··constexpr·BlockedInterleaved ·Dune::Functions::BasisFactory:: | ||
| 74 | ································blockedInterleaved·() | ||
| 75 | ································Creates·an·interleaved·merging·of·direct | ||
| 76 | ·······························children·with·blocking·(i.e.·creating·blocks·at | ||
| 77 | ································the·leaves·containing·one·leaf·per·child·each). | ||
| 24 | 78 | ||
| 25 | =============================================================================== | 79 | =============================================================================== |
| 26 | ·····Generated·by [doxygen]·1.9.8 | 80 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:·b | 8 | <title>dune-functions:·basistags.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 105 lines modified | Offset 74, 150 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title">b | 80 | ··<div·class="headertitle"><div·class="title">basistags.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00149.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00149.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_B | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_B | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00122.html">dune/functions/functionspacebases/subentitydofs.hh</a>></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
| 96 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 97 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 98 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">namespace·</span>Concept·{</div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="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> | ||
| 102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0></div> | ||
| 103 | <div·class="foldopen"·id="foldopen000 | 100 | <div·class="foldopen"·id="foldopen00018"·data-start="{"·data-end="};"> |
| 104 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a01395.html">···18</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01395.html">IndexMergingStrategy</a></div> |
| 105 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····{</div> |
| 106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
| 107 | <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="a00220.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
| 108 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> |
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01395.html#a8552823d8c75d18bca5f41f36cd7b2dd">···21</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01395.html#a8552823d8c75d18bca5f41f36cd7b2dd">require[·...·truncated·by·diffoscope;·len:·64,·SHA:·30c18df24c363d5d8d2f392d158655dea5c06d7ff3acc4a9802978b857a14644·...·]</div> |
| 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>········registerIndexMergingStrategy(t)</div> | ||
| 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······);</div> | ||
| 111 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····};</div> |
| 112 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······localView.bind(element);</div> | ||
| 113 | <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> | ||
| 114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> | ||
| 115 | <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> | ||
| 116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············f(localIndex,·localView,·intersection);</div> | ||
| 117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div> | ||
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>}</div> | ||
| 119 | </div> | 108 | </div> |
| 120 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 110 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
| 111 | <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="}"> | ||
| 112 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">···27</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>()</div> | ||
| 113 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····{</div> | ||
| 114 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······<span·class="keywordflow">return</span>·models<Concept::IndexMergingStrategy,T>();</div> | ||
| 115 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····}</div> | ||
| 116 | </div> | ||
| 117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
| 119 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}"> | ||
| 120 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00227.html#a4c80c069c722824168167f5ac1bc3474">···33</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00227.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>(T&&·t)</div> | ||
| 121 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····{</div> | ||
| 122 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">return</span>·models<Concept::IndexMergingStrategy,std::decay_t<T>>();</div> | ||
| 121 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····}</div> |
| 124 | </div> | ||
| 122 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 126 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··}·<span·class="comment">//·namespace·Concept</span></div> | ||
| 123 | <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> | ||
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00220.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
| 126 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 127 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
| 128 | <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="a00220.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
| 129 | <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> | ||
| 130 | <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> | ||
| 131 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 129 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> | ||
| 130 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a00230.html">···41</a></span><span·class="keyword">namespace·</span>BasisFactory·{</div> | ||
| 131 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01399.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a>·{};</div> | ||
| 133 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00230.html#ad515867ac194016a6f9e4463d1c67a24">···50</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00230.html#ad515867ac194016a6f9e4463d1c67a24">registerIndexMergingStrategy</a>(<a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a>);</div> | ||
| 135 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 136 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="};"> | ||
| 137 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01403.html">···82</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01403.html">FlatLexicographic</a></div> | ||
| 138 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a></div> | ||
| 132 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·· | 139 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··{};</div> |
| 140 | </div> | ||
| 133 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······localView.bind(element);</div> | ||
| 134 | <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> | ||
| 135 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········if·(intersection.boundary())</div> | ||
| 136 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········for(auto·localIndex:·seDOFs.bind(localView,intersection))</div> | ||
| 137 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>············f(localIndex,·localView);</div> | ||
| 138 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> | ||
| 139 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>}</div> | ||
| 140 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
| 142 | <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="};"> | ||
| 143 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a01407.html">··116</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01407.html">FlatInterleaved</a></div> | ||
| 144 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01399.html">IndexMergingStrategy</a></div> | ||
| 141 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
| 143 | <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> | ||
| 144 | <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> | ||
| 145 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00220.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
| 146 | <div·class="line"><a·id="l0011 | 145 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div> |
| 146 | </div> | ||
| 147 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
| 148 | <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="a00220.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
| 149 | <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> | ||
| Max diff block lines reached; 2997/35202 bytes (8.51%) of diff not shown. | |||
| Offset 1, 109 lines modified | Offset 1, 154 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | b | 8 | basistags.hh |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_B | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_B | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | ||
| 22 | 11#include·<dune/common/concept.hh> | ||
| 23 | 12 | ||
| 21 | 10#include·<utility> | ||
| 22 | 11 | ||
| 23 | 12#include·<dune/functions/functionspacebases/subentitydofs.hh> | ||
| 24 | 13 | ||
| 25 | 1 | 24 | 13namespace·Dune·{ |
| 26 | 1 | 25 | 14namespace·Functions·{ |
| 27 | 1 | 26 | 15 |
| 27 | 16·namespace·Concept·{ | ||
| 28 | 17 | 28 | 17 |
| 29 | 18·struct·IndexMergingStrategy | ||
| 30 | 19·{ | ||
| 31 | 20·template<typename·T> | ||
| 32 | 21·auto·require(T&&·t)·->·decltype( | ||
| 33 | 22·registerIndexMergingStrategy(t) | ||
| 34 | 23·); | ||
| 35 | 24·}; | ||
| 36 | 25 | ||
| 37 | 26·template<typename·T> | ||
| 38 | 27·static·constexpr·bool·isIndexMergingStrategy() | ||
| 39 | 28·{ | ||
| 40 | 29·return·models<Concept::IndexMergingStrategy,T>(); | ||
| 29 | 18 | ||
| 30 | 38template<class·Basis,·class·F, | ||
| 31 | 39·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
| 32 | LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0> | ||
| 33 | 40void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
| 34 | 41{ | ||
| 35 | 42·auto·localView·=·basis.localView(); | ||
| 36 | 43·auto·seDOFs·=·subEntityDOFs(basis); | ||
| 37 | 44·const·auto&·gridView·=·basis.gridView(); | ||
| 38 | 45·for(auto&&·element·:·elements(gridView)) | ||
| 39 | 46·if·(element.hasBoundaryIntersections()) | ||
| 40 | 47·{ | ||
| 41 | 48·localView.bind(element); | ||
| 42 | 49·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
| 43 | 50·if·(intersection.boundary()) | ||
| 44 | 51·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
| 45 | 52·f(localIndex,·localView,·intersection); | ||
| 46 | 41 | 30·} | |
| 47 | 54} | ||
| 48 | 55 | ||
| 49 | 56 | ||
| 50 | 57 | ||
| 51 | 75template<class·Basis,·class·F, | ||
| 52 | 76·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
| 53 | LocalView>()),0)·=·0> | ||
| 54 | 77void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
| 55 | 78{ | ||
| 56 | 79·auto·localView·=·basis.localView(); | ||
| 57 | 80·auto·seDOFs·=·subEntityDOFs(basis); | ||
| 58 | 81·const·auto&·gridView·=·basis.gridView(); | ||
| 59 | 82·for(auto&&·element·:·elements(gridView)) | ||
| 60 | 42 | 31 | |
| 43 | 32·template<typename·T> | ||
| 44 | 33·static·constexpr·bool·isIndexMergingStrategy(T&&·t) | ||
| 45 | 34·{ | ||
| 46 | 35·return·models<Concept::IndexMergingStrategy,std::decay_t<T>>(); | ||
| 47 | 36·} | ||
| 48 | 37 | ||
| 49 | 38·}·//·namespace·Concept | ||
| 50 | 39 | ||
| 51 | 40 | ||
| 52 | 41namespace·BasisFactory·{ | ||
| 53 | 42 | ||
| 54 | 48·struct·IndexMergingStrategy·{}; | ||
| 55 | 49 | ||
| 56 | 50·void·registerIndexMergingStrategy(IndexMergingStrategy); | ||
| 57 | 51 | ||
| 58 | 82·struct·FlatLexicographic | ||
| 59 | 83·:·public·IndexMergingStrategy | ||
| 61 | 84·{ | 60 | 84·{}; |
| 61 | 85 | ||
| 62 | 116·struct·FlatInterleaved | ||
| 63 | 117·:·public·IndexMergingStrategy | ||
| 64 | 118·{}; | ||
| 65 | 119 | ||
| 66 | 150·struct·BlockedLexicographic | ||
| 67 | 151·:·public·IndexMergingStrategy | ||
| 68 | 152·{}; | ||
| 69 | 153 | ||
| 70 | 184·struct·BlockedInterleaved·:·public·IndexMergingStrategy·{}; | ||
| 71 | 185 | ||
| 72 | 186 | ||
| 73 | 192·constexpr·FlatLexicographic·flatLexicographic() | ||
| 74 | 193·{ | ||
| 75 | 194·return·{}; | ||
| 76 | 195·} | ||
| 77 | 196 | ||
| 78 | 202·constexpr·FlatInterleaved·flatInterleaved() | ||
| 62 | 85·localView.bind(element); | ||
| 63 | 86·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
| 64 | 87·if·(intersection.boundary()) | ||
| 65 | 88·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
| 66 | 89·f(localIndex,·localView); | ||
| 67 | 90·} | ||
| 68 | 91} | ||
| 69 | 92 | ||
| 70 | 93 | ||
| 71 | 94 | ||
| 72 | 111template<class·Basis,·class·F, | ||
| 73 | 112·decltype(std::declval<std::decay_t<F>>()(std::declval<typename·Basis:: | ||
| 74 | MultiIndex>()),0)·=·0> | ||
| 75 | 113void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
| 76 | 114{ | ||
| Max diff block lines reached; 1376/7413 bytes (18.56%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·rannacherturekbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 37 lines modified | Offset 70, 62 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 77 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#typedef-members">Typedefs</a>· | 79 | <a·href="#typedef-members">Typedefs</a>·| |
| 80 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">rannacherturekbasis.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 82 | </div><!--header--> |
| 81 | <div·class="contents"> | 83 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
| 85 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> | ||
| 86 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
| 87 | <code>#include·<dune/localfunctions/rannacherturek.hh></code><br·/> | ||
| 88 | <code>#include·<dune/localfunctions/crouzeixraviart.hh></code><br·/> | ||
| 83 | <code>#include·<<a·class="el"·href="a00 | 89 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 84 | </div> | 92 | </div> |
| 85 | <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 86 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 96 | Classes</h2></td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01787.html">Dune::Functions::RannacherTurekPreBasis<·GV·></a></td></tr> | ||
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·a·Rannacher-Turek·basis.··<a·href="a01787.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01783.html">Dune::Functions::RannacherTurekNode<·GV·></a></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | </table><table·class="memberdecls"> | ||
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 88 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
| 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 105 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 107 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 93 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 95 | Typedefs</h2></td></tr> | 113 | Typedefs</h2></td></tr> |
| 96 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"·id="r_ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplParams"·colspan="2">template<class·size_type·>·</td></tr> | ||
| 97 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga6b523ca86bfec2581ea9c173a722f8f3">Dune::Functions::FlatMultiIndex</a>·=·<a·class="el"·href="a01267.html">StaticMultiIndex</a><·size_type,·1·></td></tr> | ||
| 98 | <tr·class="mem | 114 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"·id="r_ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> |
| 115 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga3ad2af46f38ffff87851eb5734df272d">Dune::Functions::RannacherTurekBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01787.html">RannacherTurekPreBasis</a><·GV·>·></td></tr> | ||
| 116 | <tr·class="memdesc:ga3ad2af46f38ffff87851eb5734df272d"><td·class="mdescLeft"> </td><td·class="mdescRight">Rannacher-Turek·basis.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | </table><table·class="memberdecls"> | ||
| 119 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 120 | Functions</h2></td></tr> | ||
| 121 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"·id="r_ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplParams"·colspan="2">template<class·Dummy··=·void>·</td></tr> | ||
| 122 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga366449c1a41fc29ff55fed0c1485f60b">Dune::Functions::BasisFactory::rannacherTurek</a>·()</td></tr> | ||
| 123 | <tr·class="memdesc:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Rannacher-Turek·pre-basis.··<br·/></td></tr> | ||
| 99 | <tr·class="separator:ga6 | 124 | <tr·class="separator:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | </table> | 125 | </table> |
| 101 | </div><!--·contents·--> | 126 | </div><!--·contents·--> |
| 102 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
| 103 | <hr·class="footer"/><address·class="footer"><small> | 128 | <hr·class="footer"/><address·class="footer"><small> |
| 104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 129 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 105 | </small></address> | 130 | </small></address> |
| 106 | </body> | 131 | </body> |
| Offset 1, 24 lines modified | Offset 1, 44 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Namespaces·|·Typedefs | ||
| 9 | flatmultiindex.hh·File·Reference | ||
| 10 | #include·<array> | ||
| 11 | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | |
| 9 | rannacherturekbasis.hh·File·Reference | ||
| 10 | #include·<dune/common/exceptions.hh> | ||
| 11 | #include·<dune/grid/common/capabilities.hh> | ||
| 12 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 13 | #include·<dune/localfunctions/rannacherturek.hh> | ||
| 14 | #include·<dune/localfunctions/crouzeixraviart.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 12 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | ||
| 20 | class· ·Dune::Functions::RannacherTurekPreBasis<_GV_> | ||
| 21 | ·······Pre-basis·for·a·Rannacher-Turek·basis.·More... | ||
| 22 | |||
| 23 | class· ·Dune::Functions::RannacherTurekNode<_GV_> | ||
| 24 | |||
| 13 | Namespaces | 25 | Namespaces |
| 14 | namespace· ·Dune | 26 | namespace· ·Dune |
| 15 | 27 | ||
| 16 | namespace· ·Dune::Functions | 28 | namespace· ·Dune::Functions |
| 17 | 29 | ||
| 30 | namespace· ·Dune::Functions::BasisFactory | ||
| 31 | |||
| 18 | Typedefs | 32 | Typedefs |
| 19 | template<class·size_type·> | ||
| 20 | using ·Dune::Functions::FlatMultiIndex·=·StaticMultiIndex<·size_type,·1·> | ||
| 21 | 33 | template<typename·GV·> | |
| 34 | using ·Dune::Functions::RannacherTurekBasis·=·DefaultGlobalBasis< | ||
| 35 | ·······RannacherTurekPreBasis<·GV·>·> | ||
| 36 | ······Rannacher-Turek·basis. | ||
| 37 | |||
| 38 | Functions | ||
| 39 | template<class·Dummy·=·void> | ||
| 40 | auto ·Dune::Functions::BasisFactory::rannacherTurek·() | ||
| 41 | ·····Create·a·pre-basis·factory·that·can·create·a·Rannacher-Turek·pre-basis. | ||
| 22 | 42 | ||
| 23 | =============================================================================== | 43 | =============================================================================== |
| 24 | ·····Generated·by [doxygen]·1.9.8 | 44 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·rannacherturekbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 48 lines modified | Offset 74, 268 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">rannacherturekbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00152.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00152.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class=" | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class=" | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/rannacherturek.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/crouzeixraviart.hh></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
| 102 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//···RannacherTurekPreBasis</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//···RannacherTurekNode</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 119 | <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> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span>RannacherTurekNode;</div> | ||
| 104 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>}·<span·class="comment">//·end·namespace·Functions</span></div> | ||
| 107 | <div·class="line"><a·id="l0004 | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">class·</span>RannacherTurekPreBasis;</div> |
| 108 | <div·class="line"><a·id="l0004 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
| 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 126 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
| 127 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01787.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01787.html">RannacherTurekPreBasis</a>·:</div> | ||
| 128 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01711.html">LeafPreBasisMixin</a><·RannacherTurekPreBasis<GV>·></div> | ||
| 129 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> | ||
| 130 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> | ||
| 133 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">GridView</a>·=·GV;</div> | ||
| 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01787.html#a3d9ace6e885c64bfc5776f0273f06e3d">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01787.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·=·std::size_t;</div> | ||
| 137 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01787.html#a8baece8242d5dd2a48373b3a881b4d1e">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01783.html">Node</a>·=·<a·class="code·hl_class"·href="a01783.html">RannacherTurekNode<GV></a>;</div> | ||
| 139 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 140 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
| 141 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01787.html#a84b73fe9692fdf3c6b10889d79c950eb">···73</a></span>··<a·class="code·hl_function"·href="a01787.html#a84b73fe9692fdf3c6b10889d79c950eb">RannacherTurekPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)·:</div> | ||
| 142 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_variable"·href="a01787.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>(gv)</div> | ||
| 143 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{</div> | ||
| 144 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·type·:·gv.indexSet().types(0))</div> | ||
| 145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="keywordflow">if</span>·(!type.isSimplex()·&&·!type.isCube())</div> | ||
| 146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Rannacher-Turek·or·Crouzeix-Raviart·elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."</span>);</div> | ||
| 147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}</div> | ||
| 148 | </div> | ||
| 149 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 150 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> | ||
| 151 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01787.html#a0ed55e98e0c70dc52075cc48f1371256">···82</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01787.html#a0ed55e98e0c70dc52075cc48f1371256">initializeIndices</a>()</div> | ||
| 152 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> | ||
| 153 | </div> | ||
| 154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
| 155 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 156 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01787.html#a960b8283558fb35d91bd74d52e4cedf5">···86</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·<a·class="code·hl_function"·href="a01787.html#a960b8283558fb35d91bd74d52e4cedf5">gridView</a>()<span·class="keyword">·const</span></div> | ||
| 157 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">··</span>{</div> | ||
| 158 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01787.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>;</div> | ||
| 159 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> | ||
| 160 | </div> | ||
| 161 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
| 162 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> | ||
| 163 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01787.html#a3f70bfaa27f3b798c6580cf54d4d5d3e">···92</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01787.html#a3f70bfaa27f3b798c6580cf54d4d5d3e">update</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)</div> | ||
| 164 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div> | ||
| 165 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<a·class="code·hl_variable"·href="a01787.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>·=·gv;</div> | ||
| 166 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··}</div> | ||
| 167 | </div> | ||
| 168 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
| 169 | <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="}"> | ||
| 170 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01787.html#a3e7a4c632321e1a5052bfbb39325c436">··100</a></span>··<a·class="code·hl_class"·href="a01783.html">Node</a>·<a·class="code·hl_function"·href="a01787.html#a3e7a4c632321e1a5052bfbb39325c436">makeNode</a>()<span·class="keyword">·const</span></div> | ||
| 171 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">··</span>{</div> | ||
| 172 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01783.html">Node</a>{};</div> | ||
| 173 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div> | ||
| 174 | </div> | ||
| 175 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
| 176 | <div·class="foldopen"·id="foldopen00106"·data-start="{"·data-end="}"> | ||
| 177 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01787.html#a7d1d523f4994837ef4d8630b5307d740">··106</a></span>··<a·class="code·hl_typedef"·href="a01787.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_function"·href="a01787.html#a7d1d523f4994837ef4d8630b5307d740">dimension</a>()<span·class="keyword">·const</span></div> | ||
| 178 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="keyword">··</span>{</div> | ||
| 179 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">return</span>·(<a·class="code·hl_typedef"·href="a01787.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>)(<a·class="code·hl_variable"·href="a01787.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>.size(1));</div> | ||
| 180 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··}</div> | ||
| Max diff block lines reached; 10367/50683 bytes (20.45%) of diff not shown. | |||
| Offset 1, 49 lines modified | Offset 1, 317 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | rannacherturekbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·< | 21 | 10#include·<dune/common/exceptions.hh> |
| 22 | 11 | 22 | 11 |
| 23 | 12#include·<dune/ | 23 | 12#include·<dune/grid/common/capabilities.hh> |
| 24 | 13 | 24 | 13 |
| 25 | 14namespace·Dune·{ | ||
| 26 | 15namespace·Functions·{ | ||
| 27 | 1 | 25 | 14#include·<dune/localfunctions/common/localfiniteelementvariant.hh> |
| 26 | 15#include·<dune/localfunctions/rannacherturek.hh> | ||
| 27 | 16#include·<dune/localfunctions/crouzeixraviart.hh> | ||
| 28 | 17 | 28 | 17 |
| 29 | 18 | ||
| 30 | 34template<class·size_type> | ||
| 31 | 29 | 18#include·<dune/functions/functionspacebases/nodes.hh> | |
| 30 | 19#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 31 | 20#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23namespace·Dune·{ | ||
| 35 | 24namespace·Functions·{ | ||
| 36 | 25 | ||
| 37 | 26/ | ||
| 38 | /·***************************************************************************** | ||
| 39 | 27//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 40 | 28// | ||
| 41 | 29//·RannacherTurekPreBasis | ||
| 42 | 30//·RannacherTurekNode | ||
| 43 | 31// | ||
| 44 | 32//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 45 | shared | ||
| 46 | 33//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 47 | 34//·and·can·be·used·without·a·global·basis. | ||
| 48 | 35/ | ||
| 49 | /·***************************************************************************** | ||
| 32 | 36 | 50 | 36 |
| 33 | 37 | ||
| 34 | 3 | 51 | 37template<typename·GV> |
| 52 | 38class·RannacherTurekNode; | ||
| 53 | 39 | ||
| 54 | 40template<typename·GV> | ||
| 55 | 41class·RannacherTurekPreBasis; | ||
| 56 | 42 | ||
| 57 | 55template<typename·GV> | ||
| 58 | 56class·RannacherTurekPreBasis·: | ||
| 59 | 57·public·LeafPreBasisMixin<·RannacherTurekPreBasis<GV>·> | ||
| 60 | 58{ | ||
| 61 | 59·static·const·int·dim·=·GV::dimension; | ||
| 62 | 60 | ||
| 63 | 61public: | ||
| 64 | 62 | ||
| 65 | 64·using·GridView·=·GV; | ||
| 66 | 65 | ||
| 67 | 67·using·size_type·=·std::size_t; | ||
| 68 | 68 | ||
| 69 | 70·using·Node·=·RannacherTurekNode<GV>; | ||
| 70 | 71 | ||
| 71 | 73·RannacherTurekPreBasis(const·GridView&·gv)·: | ||
| 72 | 74·gridView_(gv) | ||
| 73 | 75·{ | ||
| 74 | 76·for(auto·type·:·gv.indexSet().types(0)) | ||
| 75 | 77·if·(!type.isSimplex()·&&·!type.isCube()) | ||
| 76 | 78·DUNE_THROW(Dune::NotImplemented,·"Rannacher-Turek·or·Crouzeix-Raviart | ||
| 77 | elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."); | ||
| 78 | 79·} | ||
| 79 | 80 | ||
| 80 | 82·void·initializeIndices() | ||
| 81 | 83·{} | ||
| 82 | 84 | ||
| 83 | 86·const·GridView&·gridView()·const | ||
| 84 | 87·{ | ||
| 85 | 88·return·gridView_; | ||
| 86 | 89·} | ||
| 87 | 90 | ||
| 88 | 92·void·update·(const·GridView&·gv) | ||
| 89 | 93·{ | ||
| 90 | 94·gridView_·=·gv; | ||
| 91 | 95·} | ||
| 92 | 96 | ||
| 93 | 100·Node·makeNode()·const | ||
| 94 | 101·{ | ||
| 95 | 102·return·Node{}; | ||
| 96 | 103·} | ||
| 97 | 104 | ||
| 98 | 106·size_type·dimension()·const | ||
| 99 | 107·{ | ||
| 100 | 108·return·(size_type)(gridView_.size(1)); | ||
| 101 | 109·} | ||
| 102 | 110 | ||
| 103 | 112·size_type·maxNodeSize()·const | ||
| 104 | 113·{ | ||
| 105 | 114·return·2*GV::dimension; | ||
| 106 | 115·} | ||
| 107 | 116 | ||
| 108 | 117·template<typename·It> | ||
| 109 | 118·It·indices(const·Node&·node,·It·it)·const | ||
| 110 | 119·{ | ||
| 111 | 120·for·(size_type·i·=·0,·end·=·node.size()·;·i·<·end·;·++i,·++it) | ||
| 112 | 121·{ | ||
| 113 | 122·Dune::LocalKey·localKey·=·node.finiteElement().localCoefficients().localKey | ||
| 114 | (i); | ||
| 115 | 123·const·auto&·gridIndexSet·=·gridView().indexSet(); | ||
| 116 | 124·const·auto&·element·=·node.element(); | ||
| 117 | 125 | ||
| 118 | 126·*it·=·{{·(size_type)(gridIndexSet.subIndex(element,localKey.subEntity(),1)) | ||
| 119 | }}; | ||
| 120 | 127·} | ||
| 121 | 128·return·it; | ||
| 122 | 129·} | ||
| Max diff block lines reached; 4155/10573 bytes (39.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·sizeinfo.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 73, 73 lines modified | Offset 73, 39 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">sizeinfo.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 84 | <code>#include·<utility></code><br·/> | ||
| 85 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 87 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 88 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
| 89 | <code>#include·<dune/typetree/utility.hh></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 94 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 95 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 96 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 97 | </div> | 84 | </div> |
| 98 | <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 99 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 101 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a018 | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html">Dune::Functions::SizeInfo<·B·></a></td></tr> |
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·transforming·multi-indices.··<a·href="a01879.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01883.html">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·ContainerDescriptorImplementation,·minIS,·maxIS·></a></td></tr> | ||
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A· | 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·class·encapsulating·size·information.··<a·href="a01851.html#details">More...</a><br·/></td></tr> |
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
| 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
| 111 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 113 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 115 | <tr·class="memitem:a00237"·id="r_a00237"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00237.html">Dune::Functions::Experimental</a></td></tr> | ||
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 117 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 119 | <tr·class="memitem:a00235"·id="r_a00235"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00235.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
| 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 121 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
| 122 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 123 | Functions</h2></td></tr> | 101 | Functions</h2></td></tr> |
| 102 | <tr·class="memitem:abd7e25a89325dbe2232b17308dae45f2"·id="r_abd7e25a89325dbe2232b17308dae45f2"><td·class="memTemplParams"·colspan="2">template<class·Basis·>·</td></tr> | ||
| 103 | <tr·class="memitem:abd7e25a89325dbe2232b17308dae45f2"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01851.html">SizeInfo</a><·Basis·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#abd7e25a89325dbe2232b17308dae45f2">Dune::Functions::sizeInfo</a>·(const·Basis·&basis)</td></tr> | ||
| 124 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"·id="r_a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplParams"·colspan="2">template<class·RPB·,·class·T·>·</td></tr> | ||
| 125 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00237.html#a97702eea52e7ff7d9e66226034aee386">Dune::Functions::Experimental::TransformedIndexPreBasis</a>·(RPB·&&,·T·&&)·->·<a·class="el"·href="a01879.html">TransformedIndexPreBasis</a><·std::decay_t<·RPB·>,·std::decay_t<·T·>·></td></tr> | ||
| 126 | <tr·class="separator:a97702eea52e7ff7d9e66226034aee386"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 127 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"·id="r_a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisFactory·,·class·Transformation·>·</td></tr> | ||
| 128 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00235.html#a6b531a5d076e13881c59b75e505e808e">Dune::Functions::BasisFactory::Experimental::transformIndices</a>·(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation)</td></tr> | ||
| 129 | <tr·class="memdesc:a6b531a5d076e13881c59b75e505e808e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·TransformedIndexPreBasisFactory.··<br·/></td></tr> | ||
| 130 | <tr·class="separator:a | 104 | <tr·class="separator:abd7e25a89325dbe2232b17308dae45f2"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 131 | <tr·class="memitem:a0cc152e12a2496054e7b29a3df20600f"·id="r_a0cc152e12a2496054e7b29a3df20600f"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation·,·class·SizeImplementation·,·class·ContainerDescriptorImplementation·,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
| 132 | <tr·class="memitem:a0cc152e12a2496054e7b29a3df20600f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00235.html#a0cc152e12a2496054e7b29a3df20600f">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTransformation,·SizeImplementation·&&sizeImplementation,·ContainerDescriptorImplementation·&&containerDescriptorImplementation,·Dune::index_constant<·minIndexSize·>,·Dune::index_constant<·maxIndexSize·>)</td></tr> | ||
| 133 | <tr·class="memdesc:a0cc152e12a2496054e7b29a3df20600f"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:a0cc152e12a2496054e7b29a3df20600f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 135 | <tr·class="memitem:a0de794150e67b41eb607008f8a1e3f7e"·id="r_a0de794150e67b41eb607008f8a1e3f7e"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
| 136 | <tr·class="memitem:a0de794150e67b41eb607008f8a1e3f7e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00235.html#a0de794150e67b41eb607008f8a1e3f7e">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTrafo,·SizeImplementation·&&sizeImpl,·Dune::index_constant<·minIndexSize·>·minSize,·Dune::index_constant<·maxIndexSize·>·maxSize)</td></tr> | ||
| 137 | <tr·class="memdesc:a0de794150e67b41eb607008f8a1e3f7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Fallback·implementation·if·no·container·descriptor·argument·is·given.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:a0de794150e67b41eb607008f8a1e3f7e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 139 | </table> | 105 | </table> |
| 140 | </div><!--·contents·--> | 106 | </div><!--·contents·--> |
| 141 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
| 142 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
| 143 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 144 | </small></address> | 110 | </small></address> |
| 145 | </body> | 111 | </body> |
| Offset 2, 73 lines modified | Offset 2, 25 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
| 9 | sizeinfo.hh·File·Reference | ||
| 10 | #include·<array> | ||
| 9 | transformedindexbasis.hh·File·Reference | ||
| 10 | #include·<tuple> | ||
| 11 | #include·<utility> | ||
| 12 | #include·<dune/common/hybridutilities.hh> | ||
| 13 | #include·<dune/common/reservedvector.hh> | ||
| 14 | #include·<dune/common/typeutilities.hh> | ||
| 15 | #include·<dune/typetree/compositenode.hh> | ||
| 16 | #include·<dune/typetree/utility.hh> | ||
| 17 | #include·<dune/functions/common/staticforloop.hh> | ||
| 18 | #include·<dune/functions/common/type_traits.hh> | ||
| 19 | #include·<dune/functions/common/utility.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 22 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 23 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 24 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
| 25 | Classes | 12 | Classes |
| 13 | class· ·Dune::Functions::SizeInfo<_B_> | ||
| 14 | ·······A·class·encapsulating·size·information.·More... | ||
| 26 | class· ·Dune::Functions::Experimental::TransformedIndexPreBasis<_RPB,_T_> | ||
| 27 | ·······A·pre-basis·transforming·multi-indices.·More... | ||
| 28 | |||
| 29 | class· ·Dune::Functions::BasisFactory::Experimental:: | ||
| 30 | ········GenericIndexingTransformation<_IndexTransformation,_SizeImplementation, | ||
| 31 | ········ContainerDescriptorImplementation,_minIS,_maxIS_> | ||
| 32 | ·······A·generic·implementation·of·a·transformation.·More... | ||
| 33 | 15 | ||
| 34 | Namespaces | 16 | Namespaces |
| 35 | namespace· ·Dune | 17 | namespace· ·Dune |
| 36 | 18 | ||
| 37 | namespace· ·Dune::Functions | 19 | namespace· ·Dune::Functions |
| 38 | 20 | ||
| 39 | namespace· ·Dune::Functions::Experimental | ||
| 40 | |||
| 41 | namespace· ·Dune::Functions::BasisFactory | ||
| 42 | |||
| 43 | namespace· ·Dune::Functions::BasisFactory::Experimental | ||
| 44 | |||
| 45 | Functions | 21 | Functions |
| 46 | template<class· | 22 | template<class·Basis·> |
| 23 | SizeInfo<·Basis·> ·Dune::Functions::sizeInfo·(const·Basis·&basis) | ||
| 47 | ···· ·Dune::Functions::Experimental::TransformedIndexPreBasis·(RPB·&&,·T·&&)·- | ||
| 48 | ······>·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·> | ||
| 49 | |||
| 50 | template<class·RawPreBasisFactory·,·class·Transformation·> | ||
| 51 | auto ·Dune::Functions::BasisFactory::Experimental::transformIndices | ||
| 52 | ······(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation) | ||
| 53 | ·····Create·a·TransformedIndexPreBasisFactory. | ||
| 54 | |||
| 55 | template<class·IndexTransformation·,·class·SizeImplementation·,·class | ||
| 56 | ContainerDescriptorImplementation·,·std::size_t·minIndexSize,·std::size_ | ||
| 57 | t·maxIndexSize> | ||
| 58 | auto ·Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
| 59 | ······(IndexTransformation·&&indexTransformation,·SizeImplementation | ||
| 60 | ······&&sizeImplementation,·ContainerDescriptorImplementation | ||
| 61 | ······&&containerDescriptorImplementation,·Dune::index_constant<·minIndexSize | ||
| 62 | ······>,·Dune::index_constant<·maxIndexSize·>) | ||
| 63 | ·····A·generic·implementation·of·a·transformation. | ||
| 64 | |||
| 65 | template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_ | ||
| 66 | t·minIndexSize,·std::size_t·maxIndexSize> | ||
| 67 | auto ·Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
| 68 | ······(IndexTransformation·&&indexTrafo,·SizeImplementation·&&sizeImpl,·Dune:: | ||
| 69 | ······index_constant<·minIndexSize·>·minSize,·Dune::index_constant< | ||
| 70 | ······maxIndexSize·>·maxSize) | ||
| 71 | ·····Fallback·implementation·if·no·container·descriptor·argument·is·given. | ||
| 72 | 24 | ||
| 73 | =============================================================================== | 25 | =============================================================================== |
| 74 | ·····Generated·by [doxygen]·1.9.8 | 26 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·sizeinfo.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 360 lines modified | Offset 74, 104 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">sizeinfo.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00155.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00155.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#warning·The·header·dune/functions/functionspacebases/sizeinfo.hh·is·deprecated·and·will·be·removed·after·release·2.10.</span></div> | ||
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<tuple></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<array></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/typetree/utility.hh></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00077.html">dune/functions/common/staticforloop.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00113.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 110 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword"> | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> |
| 114 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | 102 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="};"> |
| 115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a0 | 103 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01851.html">···32</a></span><span·class="keyword">class</span></div> |
| 104 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>[[deprecated(<span·class="stringliteral">"SizeInfo·is·deprecated·and·will·be·removed·after·release·2.10."</span>)]]</div> | ||
| 105 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><a·class="code·hl_class"·href="a01851.html">SizeInfo</a></div> | ||
| 116 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> |
| 117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 118 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div> |
| 108 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">···37</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B;</div> | ||
| 109 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">···38</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·<span·class="keyword">typename</span>·Basis::size_type;</div> | ||
| 110 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01851.html#a36c68248ee3be872cf53a7c8915773f2">···39</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>·=·<span·class="keyword">typename</span>·Basis::SizePrefix;</div> | ||
| 119 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RPB,·<span·class="keyword">class</span>·T></div> | ||
| 121 | <div·class="foldopen"·id="foldopen000 | 112 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> |
| 122 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01851.html#ac3e18dc3b17c52eafe2e803562d72c5b">···44</a></span>····<a·class="code·hl_function"·href="a01851.html#ac3e18dc3b17c52eafe2e803562d72c5b">SizeInfo</a>(<span·class="keyword">const</s[·...·truncated·by·diffoscope;·len:·108,·SHA:·94f27c470efeca2474bc684f75119cac863756d2cbc8f3da7b2496705330f37a·...·]</div> |
| 114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········basis_(&basis)</div> | ||
| 115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····{}</div> | ||
| 116 | </div> | ||
| 117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
| 118 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="}"> | ||
| 119 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01851.html#a9c71fa33343b928c5b93e2c8dcb9595f">···51</a></span>····<a·class="code·hl_typedef"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·<a·class="code·hl_function"·href="a01851.html#a9c71fa33343b928c5b93e2c8dcb9595f">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01851.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
| 120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">····</span>{</div> | ||
| 121 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keywordflow">return</span>·basis_->size(prefix);</div> | ||
| 122 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> | ||
| 123 | </div> | ||
| 123 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span> | 124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 125 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> | ||
| 126 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01851.html#a4f2343f16899076f68aa9dbeef992d80">···62</a></span>····<a·class="code·hl_typedef"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·<a·class="code·hl_function"·href="a01851.html#a4f2343f16899076f68aa9dbeef992d80">size</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01851.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
| 124 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">····</span>{</div> |
| 128 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·basis_->size(prefix);</div> | ||
| 125 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> |
| 130 | </div> | ||
| 126 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01879.html">This</a>·=·<a·class="code·hl_class"·href="a01879.html">TransformedIndexPreBasis<RPB,·T></a>;</div> | ||
| 127 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> | ||
| 129 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01879.html#a64aa0bf3453d3f749622b7ea521715ae">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01879.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB;</div> | ||
| 131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01879.html#a218ba207b64f73e09b2018d951f2dd54">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01879.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·<span·class="keyword">typename</span>·RawPreBasis::GridView;</div> | ||
| 133 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 131 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 134 | <div·class=" | 132 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> |
| 133 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01851.html#a7a6245f9d3517156801ffdb27c2c879e">···67</a></span>····<span·class="keyword">operator</span>·<a·class="code·hl_typedef"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·()<span·class="keyword">·const</span></div> | ||
| 134 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div> | ||
| 135 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keywordflow">return</span>·basis_->dimension();</div> | ||
| 135 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div> |
| 136 | < | 137 | </div> |
| 137 | <div·class="line"><a·id="l0007 | 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 138 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01879.html#a474968659bf3b30d623d6baceaceafac">···73</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01879.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01879.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>·=·Transformation::maxIndexSize;</div> | ||
| 139 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01879.html#ae4b2655926fabb0a127584a701446958">···74</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01879.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01879.html#ae4b2655926fabb0a127584a701446958">minMultiIndexSize</a>·=·Transformation::minIndexSize;</div> | ||
| 140 | <div·class="line"><a·id="l0007 | 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">protected</span>:</div> |
| 140 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01851.html#add41e7177edce69126ff66367bfef2fc">···74</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>*·<a·class="code·hl_variable"·href="a01851.html#add41e7177edce69126ff66367bfef2fc">basis_</a>;</div> | ||
| 142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div> | ||
| 143 | </div> | ||
| 141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 144 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 142 | <div·class="line"><a·id="l0008 | 146 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Basis></div> |
| 143 | <div·class="foldopen"·id="foldopen0008 | 147 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> |
| 148 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00225.html#abd7e25a89325dbe2232b17308dae45f2">···82</a></span><a·class="code·hl_class"·href="a01851.html">SizeInfo<Basis></a>·<a·class="code·hl_function"·href="a00225.html#abd7e25a89325dbe2232b17308dae45f2">sizeInfo</a>(<span·class="keyword">const</span>·Basis&·basis)</div> | ||
| 144 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01879.html#a415716e3d0436f2e9c44992ee79f6133">···83</a></span>··<a·class="code·hl_function"·href="a01879.html#a415716e3d0436f2e9c44992ee79f6133">TransformedIndexPreBasis</a>(RPB_R&&·<a·class="code·hl_function"·href="a01879.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>,·T_R&&·transformation)·:</div> | ||
| 145 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_variable"·href="a01879.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>(std::forward<RPB_R>(<a·class="code·hl_function"·href="a01879.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>)),</div> | ||
| 146 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_variable"·href="a01879.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>(std::forward<T_R>(transformation))</div> | ||
| 147 | <div·class="line"><a·id="l0008 | 149 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> |
| 150 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01851.html">SizeInfo<Basis></a>(basis);</div> | ||
| 151 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div> | ||
| 148 | </div> | 152 | </div> |
| 153 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| Max diff block lines reached; 54799/77972 bytes (70.28%) of diff not shown. | |||
| Offset 1, 416 lines modified | Offset 1, 112 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | sizeinfo.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<tuple> | ||
| 22 | 11#include·<utility> | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/hybridutilities.hh> | ||
| 25 | 14#include·<dune/common/reservedvector.hh> | ||
| 26 | 15#include·<dune/common/typeutilities.hh> | ||
| 27 | 1 | 21 | 10#warning·The·header·dune/functions/functionspacebases/sizeinfo.hh·is |
| 22 | deprecated·and·will·be·removed·after·release·2.10. | ||
| 23 | 11 | ||
| 24 | 12#include·<array> | ||
| 25 | 13 | ||
| 26 | 14namespace·Dune·{ | ||
| 27 | 15namespace·Functions·{ | ||
| 28 | 16 | ||
| 28 | 17 | 29 | 17 |
| 30 | 18 | ||
| 31 | 31template<class·B> | ||
| 32 | 32class | ||
| 33 | 33[[deprecated("SizeInfo·is·deprecated·and·will·be·removed·after·release | ||
| 34 | 2.10.")]] | ||
| 35 | 34SizeInfo | ||
| 36 | 35{ | ||
| 29 | 18#include·<dune/typetree/compositenode.hh> | ||
| 30 | 19#include·<dune/typetree/utility.hh> | ||
| 31 | 20 | ||
| 32 | 21#include·<dune/functions/common/staticforloop.hh> | ||
| 33 | 22#include·<dune/functions/common/type_traits.hh> | ||
| 34 | 23#include·<dune/functions/common/utility.hh> | ||
| 35 | 24#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 36 | 25#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 37 | 26#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 38 | 27#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 39 | 28 | ||
| 40 | 29 | ||
| 41 | 30namespace·Dune·{ | ||
| 42 | 31namespace·Functions·{ | ||
| 43 | 32namespace·Experimental·{ | ||
| 44 | 33 | ||
| 45 | 34/ | ||
| 46 | /·***************************************************************************** | ||
| 47 | 35/ | ||
| 48 | /·***************************************************************************** | ||
| 49 | 36 | ||
| 50 | 53template<class·RPB,·class·T> | ||
| 51 | 54class·TransformedIndexPreBasis | ||
| 52 | 55{ | ||
| 53 | 56·using·Transformation·=·T; | ||
| 54 | 57 | ||
| 55 | 58·using·This·=·TransformedIndexPreBasis<RPB,_T>; | ||
| 56 | 59 | ||
| 57 | 37 | 36public: | |
| 58 | 61 | ||
| 59 | 62·using·RawPreBasis·=·RPB; | ||
| 60 | 63 | ||
| 61 | 38 | 37·using·Basis·=·B; | |
| 39 | 38·using·size_type·=·typename·Basis::size_type; | ||
| 40 | 39·using·SizePrefix·=·typename·Basis::SizePrefix; | ||
| 41 | 40 | ||
| 42 | 44·SizeInfo(const·Basis&·basis)·: | ||
| 43 | 45·basis_(&basis) | ||
| 44 | 46·{} | ||
| 45 | 47 | ||
| 46 | 51·size_type·operator()(const·SizePrefix&·prefix)·const | ||
| 47 | 52·{ | ||
| 48 | 53·return·basis_->size(prefix); | ||
| 49 | 54·} | ||
| 50 | 55 | ||
| 51 | 62·size_type·size(const·SizePrefix&·prefix)·const | ||
| 52 | 63·{ | ||
| 53 | 64·return·basis_->size(prefix); | ||
| 54 | 65·} | ||
| 62 | 66 | 55 | 66 |
| 63 | 68·using·size_type·=·std::size_t; | ||
| 64 | 69 | ||
| 65 | 71·using·Node·=·typename·RawPreBasis::Node; | ||
| 66 | 72 | ||
| 67 | 73·static·constexpr·size_type·maxMultiIndexSize·=·Transformation::maxIndexSize; | ||
| 68 | 74·static·constexpr·size_type·minMultiIndexSize·=·Transformation::minIndexSize; | ||
| 69 | 75·static·constexpr·size_type·multiIndexBufferSize·=·std::max(RawPreBasis:: | ||
| 70 | 56 | 67·operator·size_type·()·const | |
| 57 | 68·{ | ||
| 58 | 69·return·basis_->dimension(); | ||
| 59 | 70·} | ||
| 60 | 71 | ||
| 61 | 72protected: | ||
| 62 | 73 | ||
| 63 | 74·const·Basis*·basis_; | ||
| 64 | 75}; | ||
| 71 | 76 | 65 | 76 |
| 72 | 82·template<class·RPB_R,·class·T_R> | ||
| 73 | 83·TransformedIndexPreBasis(RPB_R&&·rawPreBasis,·T_R&&·transformation)·: | ||
| 74 | 84·rawPreBasis_(std::forward<RPB_R>(rawPreBasis)), | ||
| 75 | 85·transformation_(std::forward<T_R>(transformation)) | ||
| 76 | 66 | 77 | |
| 67 | 81template<class·Basis> | ||
| 68 | 82SizeInfo<Basis>·sizeInfo(const·Basis&·basis) | ||
| 69 | 83{ | ||
| 70 | 84·return·SizeInfo<Basis>(basis); | ||
| 71 | 85} | ||
| 72 | 86 | ||
| 77 | 87 | 73 | 87 |
| 78 | 89·void·initializeIndices() | ||
| 79 | 90·{ | ||
| 80 | 91·rawPreBasis_.initializeIndices(); | ||
| 81 | 92·} | ||
| 82 | 93 | ||
| 83 | 95·const·GridView&·gridView()·const | ||
| Max diff block lines reached; 7740/17175 bytes (45.07%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultglobalbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 37 lines modified | Offset 71, 59 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">defaultglobalbasis.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 81 | </div><!--header--> |
| 81 | <div·class="contents"> | 82 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<t | 83 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
| 84 | <code>#include·<type_traits></code><br·/> | ||
| 85 | <code>#include·<utility></code><br·/> | ||
| 86 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 87 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 83 | <code>#include·<dune/common/concept.hh></code><br·/> | 88 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 84 | <code>#include·< | 89 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 91 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 86 | </div> | 92 | </div> |
| 87 | <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 90 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html">Dune::Functions::DefaultGlobalBasis<·PB·></a></td></tr> |
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Global·basis·for·given·pre-basis.··<a·href="a01563.html#details">More...</a><br·/></td></tr> |
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 96 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
| 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | </table><table·class="memberdecls"> | ||
| 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 113 | Functions</h2></td></tr> | ||
| 114 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"·id="r_a060058e4e3c070530978192cb7c99d39"><td·class="memTemplParams"·colspan="2">template<class·PreBasis·>·</td></tr> | ||
| 115 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a060058e4e3c070530978192cb7c99d39">Dune::Functions::DefaultGlobalBasis</a>·(PreBasis·&&)·->·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·std::decay_t<·PreBasis·>·></td></tr> | ||
| 116 | <tr·class="separator:a060058e4e3c070530978192cb7c99d39"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 117 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"·id="r_a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
| 118 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a57d2c8b66fd384768b94af95e4ce5d78">Dune::Functions::DefaultGlobalBasis</a>·(const·GridView·&gv,·PreBasisFactory·&&f)·->·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·std::decay_t<·decltype(f(gv))>·></td></tr> | ||
| 119 | <tr·class="separator:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"·id="r_a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
| 121 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00230.html#a1f0dc55c03c3a9862c76456d5574abe2">Dune::Functions::BasisFactory::makeBasis</a>·(const·GridView·&gridView,·PreBasisFactory·&&preBasisFactory)</td></tr> | ||
| 122 | <tr·class="separator:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | </table> | 123 | </table> |
| 102 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 103 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 104 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
| 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 106 | </small></address> | 128 | </small></address> |
| 107 | </body> | 129 | </body> |
| Offset 1, 25 lines modified | Offset 1, 47 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | defaultglobalbasis.hh·File·Reference | |
| 10 | #include·<t | 10 | #include·<cstddef> |
| 11 | #include·<type_traits> | ||
| 12 | #include·<utility> | ||
| 13 | #include·<dune/common/reservedvector.hh> | ||
| 14 | #include·<dune/common/typeutilities.hh> | ||
| 11 | #include·<dune/common/concept.hh> | 15 | #include·<dune/common/concept.hh> |
| 12 | #include·<dune/ | 16 | #include·<dune/functions/common/type_traits.hh> |
| 17 | #include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/concepts.hh> | 18 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 14 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | 20 | Classes |
| 16 | class· ·Dune::Functions::SubspaceLocalView<_RLV,_PP_> | ||
| 17 | 21 | class· ·Dune::Functions::DefaultGlobalBasis<_PB_> | |
| 22 | ·······Global·basis·for·given·pre-basis.·More... | ||
| 18 | 23 | ||
| 19 | Namespaces | 24 | Namespaces |
| 20 | namespace· ·Dune | 25 | namespace· ·Dune |
| 21 | 26 | ||
| 22 | namespace· ·Dune::Functions | 27 | namespace· ·Dune::Functions |
| 23 | 28 | ||
| 29 | namespace· ·Dune::Functions::BasisFactory | ||
| 30 | |||
| 31 | namespace· ·Dune::Functions::BasisBuilder | ||
| 32 | |||
| 33 | Functions | ||
| 34 | template<class·PreBasis·> | ||
| 35 | ···· ·Dune::Functions::DefaultGlobalBasis·(PreBasis·&&)·->·DefaultGlobalBasis< | ||
| 36 | ······std::decay_t<·PreBasis·>·> | ||
| 37 | |||
| 38 | template<class·GridView·,·class·PreBasisFactory·> | ||
| 39 | ···· ·Dune::Functions::DefaultGlobalBasis·(const·GridView·&gv,·PreBasisFactory | ||
| 40 | ······&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·> | ||
| 41 | |||
| 42 | template<class·GridView·,·class·PreBasisFactory·> | ||
| 43 | auto ·Dune::Functions::BasisFactory::makeBasis·(const·GridView·&gridView, | ||
| 44 | ······PreBasisFactory·&&preBasisFactory) | ||
| 45 | |||
| 24 | =============================================================================== | 46 | =============================================================================== |
| 25 | ·····Generated·by [doxygen]·1.9.8 | 47 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultglobalbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 190 lines modified | Offset 74, 233 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">defaultglobalbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00158.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00158.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
| 95 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 96 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 97 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00179.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 106 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
| 107 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·PP></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a00225.html#a17589fdc18b015644525c7ad037e6441">SubspaceBasis</a>;</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 113 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PB></div> |
| 114 | <div·class="foldopen"·id="foldopen000 | 112 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> |
| 115 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01563.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01563.html">DefaultGlobalBasis</a></div> |
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">using·</span>PrefixPath·=·PP;</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa1f3b0a89f5d186299ed0a5329562815">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV;</div> | ||
| 122 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>{</div> |
| 123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01863.html#a3a627e895c213316cb666677fb9176de">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01859.html">GlobalBasis</a>·=·<a·class="code·hl_class"·href="a01859.html">SubspaceBasis<typename·RootLocalView::GlobalBasis,·PrefixPath></a>;</div> | ||
| 124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa050bf0c521425f496729c3947a61bae">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa050bf0c521425f496729c3947a61bae">GridView</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01859.html#a6e7dd708494382dad7cc288ce6cfe6b8">GlobalBasis::GridView</a>;</div> | ||
| 126 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa8331a332fffea09e3bddd41d3d0530b">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
| 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa53cfe0f5da6f163c89cfe7efd03977d">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·=·std::size_t;</div> | ||
| 130 | <div·class="line"><a·id="l0005 | 115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
| 131 | <div·class="line"><a·id="l0005 | 116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> |
| 132 | <div·class="line"><a·id="l0005 | 117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
| 133 | <div·class="line"><a·id="l0005 | 118 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>[·...·truncated·by·diffoscope;·len:·5,·SHA:·b67d48b634d4f083da9a416e1a437df2a29965b64e458cb746dd5b697ac86442·...·];</div> |
| 134 | <div·class="line"><a·id="l0005 | 119 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
| 135 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01563.html#aa33c9a46f1e7548b2a956c36f6554e89">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath<[·...·truncated·by·diffoscope;·len:·38,·SHA:·e5c3ac1b8d13407c057356badf755a4896e6ad07ea70deac038a11841592912d·...·];</div> |
| 121 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01563.html#a2b9cab135f3764650ad063d49c4c2fcb">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>·=·<span·class="keyword">typename</span>·PreBasis::GridView;</div> | ||
| 136 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
| 124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01563.html#a10db3413eda75531530d9b0bf82e8335">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a10db3413eda75531530d9b0bf82e8335">size_type</a>·=·std::size_t;</div> | ||
| 137 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | ||
| 138 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa0d1d0d89f2dd443da6da8d77f6a344f">···63</a></span>··<a·class="code·hl_function"·href="a01863.html#aa0d1d0d89f2dd443da6da8d77f6a344f">SubspaceLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01859.html">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01863.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>,·<span·class="keyword">const</span>·PrefixPath&·<span·class="comment">/*prefixPath*/</span>)·:</div> | ||
| 139 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_variable"·href="a01863.html#a2fb2643d53fb7511f2eb6ddff751043c">globalBasis_</a>(&<a·class="code·hl_function"·href="a01863.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>),</div> | ||
| 140 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_variable"·href="a01863.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>(<a·class="code·hl_function"·href="a01863.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>.rootBasis().localView())</div> | ||
| 141 | <div·class="line"><a·id="l0006 | 125 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 142 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class=" | 126 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01563.html#a6dd2621b698c77033f1b37443b7c7e65">···67</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01567.html">LocalView</a>·=·<a·class="code·hl_class"·href="a01567.html">DefaultLocalView<DefaultGlo[·...·truncated·by·diffoscope;·len:·33,·SHA:·7f284ff6082f9fc8e3fee024e1dbe8a42fc6080a0a69e87b63870bd95922f72b·...·]</div> |
| 143 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>· | 127 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
| 128 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01563.html#a71e8362c3966f9bc4ced844fb8474be7">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a71e8362c3966f9bc4ced844fb8474be7">MultiIndex</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01567.html#acffe4cd37e8a7720e1a3eced31570c5a">LocalView::MultiIndex</a>;</div> | ||
| 129 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01563.html#a00a78eb6f90d02a8c5dd3d4718b14e99">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01563.html#a00a78eb6f90d02a8c5dd3d4718b14e99">SizePrefix</a>·=·Dune::ReservedVector<std::size_t,·PreBasis::multiIndexBufferSize>;</div> | ||
| 131 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·T,</div> | ||
| 133 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····disableCopyMove<<a·class="code·hl_class"·href="a01563.html">DefaultGlobalBasis</a>,·T...>·=·0,</div> | ||
| 134 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_typedef"·href="a00221.html#ga80c230cc3d1605429839d9a6076af5ee">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>,·T...>·=·0></div> | ||
| 135 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 136 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01563.html#ac8c43e23bffc9116702a479f1c1d01f4">···86</a></span>··<a·class="code·hl_function"·href="a01563.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>(T&&...·t)·:</div> | ||
| 137 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(std::forward<T>(t)...),</div> | ||
| 138 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_variable"·href="a01563.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
| 139 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div> | ||
| 140 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
| 141 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
| 142 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
| 144 | </div> | 143 | </div> |
| 145 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
| 145 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>PreBasisFactory,</div> | ||
| 146 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····std::enable_if_t<Dune::IsCallable<PreBasisFactory(<a·class="code·hl_typedef"·href="a01563.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>),·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>::value,·<span·class="keywordtype">int</span>>·=·0></div> | ||
| 146 | <div·class="foldopen"·id="foldopen00 | 147 | <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}"> |
| 147 | <div·class="line"><a·id="l00 | 148 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01563.html#aca0a06166bf28fbc1f22dbcb7ca98812">··102</a></span>··<a·class="code·hl_function"·href="a01563.html#aca0a06166bf28fbc1f22dbcb7ca98812">DefaultGlobalBasis</a>(<span·class="keyword"[·...·truncated·by·diffoscope;·len:·243,·SHA:·ea2eaed9f42917e2f8ac1f9ebb2a7a35b8254a04c9cc85a429e9dad70d184fe0·...·]</div> |
| 149 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(factory(<a·class="code·hl_function"·href="a01563.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>)),</div> | ||
| 150 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<a·class="code·hl_variable"·href="a01563.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
| 148 | <div·class="line"><a·id="l00 | 151 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div> |
| 149 | <div·class="line"><a·id="l00 | 152 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·cl[·...·truncated·by·diffoscope;·len:·109,·SHA:·88911dbabc66ea08436cc8693ba63772643eaa30d431910dad0107fefe1bdd22·...·]);</div> |
| 153 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<a·class="code·hl_variable"·href="a01563.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
| 150 | <div·class="line"><a·id="l00 | 154 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··}</div> |
| 151 | </div> | 155 | </div> |
| 152 | <div·class="line"><a·id="l00 | 156 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> |
| Max diff block lines reached; 19992/74484 bytes (26.84%) of diff not shown. | |||
| Offset 1, 233 lines modified | Offset 1, 285 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | defaultglobalbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10 | 21 | 10#include·<cstddef> |
| 22 | 11#include·<t | 22 | 11#include·<type_traits> |
| 23 | 12 | 23 | 12#include·<utility> |
| 24 | 13 | ||
| 25 | 14#include·<dune/common/reservedvector.hh> | ||
| 26 | 15#include·<dune/common/typeutilities.hh> | ||
| 24 | 1 | 27 | 16#include·<dune/common/concept.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/typetree/childextraction.hh> | ||
| 27 | 1 | 28 | 17 |
| 29 | 18#include·<dune/functions/common/type_traits.hh> | ||
| 30 | 19#include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
| 28 | 31 | 20#include·<dune/functions/functionspacebases/concepts.hh> | |
| 32 | 21 | ||
| 33 | 22 | ||
| 29 | 18 | ||
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 21namespace·Dune·{ | ||
| 33 | 22namespace·Functions·{ | ||
| 34 | 23 | 34 | 23 |
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 26template<class·RB,·class·PP> | ||
| 38 | 2 | 35 | 24namespace·Dune·{ |
| 36 | 25namespace·Functions·{ | ||
| 37 | 26 | ||
| 38 | 27 | ||
| 39 | 28 | 39 | 28 |
| 40 | 48template<class·PB> | ||
| 41 | 49class·DefaultGlobalBasis | ||
| 42 | 50{ | ||
| 43 | 51 | ||
| 40 | 29 | ||
| 41 | 30 | ||
| 42 | 32template<class·RLV,·class·PP> | ||
| 43 | 33class·SubspaceLocalView | ||
| 44 | 34{ | ||
| 45 | 35·using·PrefixPath·=·PP; | ||
| 46 | 36 | ||
| 47 | 44 | 52public: | |
| 45 | 53 | ||
| 46 | 55·using·PreBasis·=·PB; | ||
| 47 | 56 | ||
| 48 | 58·using·PrefixPath·=·TypeTree::HybridTreePath<>; | ||
| 49 | 59 | ||
| 48 | 38 | ||
| 49 | 39·using·RootLocalView·=·RLV; | ||
| 50 | 40 | ||
| 51 | 42·using·GlobalBasis·=·SubspaceBasis<typename_RootLocalView::GlobalBasis, | ||
| 52 | PrefixPath>; | ||
| 53 | 43 | ||
| 54 | 50 | 61·using·GridView·=·typename·PreBasis::GridView; | |
| 51 | 62 | ||
| 55 | 46 | ||
| 56 | 48·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
| 57 | 49 | ||
| 58 | 52 | 64·using·size_type·=·std::size_t; | |
| 53 | 65 | ||
| 54 | 67·using·LocalView·=·DefaultLocalView<DefaultGlobalBasis<PreBasis>>; | ||
| 55 | 68 | ||
| 59 | 52 | ||
| 60 | 54·using·RootTree·=·typename·RootLocalView::Tree; | ||
| 61 | 55 | ||
| 62 | 57·using·Tree·=·typename·TypeTree::ChildForTreePath<RootTree,·PrefixPath>; | ||
| 63 | 58 | ||
| 64 | 56 | 70·using·MultiIndex·=·typename·LocalView::MultiIndex; | |
| 65 | 61 | ||
| 66 | 63·SubspaceLocalView(const·GlobalBasis&·globalBasis,·const·PrefixPath&·/ | ||
| 67 | *prefixPath*/)·: | ||
| 68 | 64·globalBasis_(&globalBasis), | ||
| 69 | 65·rootLocalView_(globalBasis.rootBasis().localView()) | ||
| 70 | 57 | 71 | |
| 58 | 73·using·SizePrefix·=·Dune::ReservedVector<std::size_t,·PreBasis:: | ||
| 59 | multiIndexBufferSize>; | ||
| 60 | 74 | ||
| 61 | 83·template<class...·T, | ||
| 62 | 84·disableCopyMove<DefaultGlobalBasis,·T...>·=·0, | ||
| 63 | 85·enableIfConstructible<PreBasis,·T...>·=·0> | ||
| 64 | 86·DefaultGlobalBasis(T&&...·t)·: | ||
| 65 | 87·preBasis_(std::forward<T>(t)...), | ||
| 66 | 88·prefixPath_() | ||
| 67 | 89·{ | ||
| 71 | 68 | 90·static_assert(models<Concept::PreBasis<GridView>,·PreBasis>(),·"Type·passed | |
| 69 | to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."); | ||
| 70 | 91·preBasis_.initializeIndices(); | ||
| 72 | passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept."); | ||
| 73 | 68·} | ||
| 74 | 69 | ||
| 75 | 75·void·bind(const·Element&·e) | ||
| 76 | 76·{ | ||
| 77 | 77·rootLocalView_.bind(e); | ||
| 78 | 78·} | ||
| 79 | 79 | ||
| 80 | 84·const·Element&·element()·const | ||
| 81 | 85·{ | ||
| 82 | 86·return·rootLocalView_.element(); | ||
| 83 | 87·} | ||
| 84 | 88 | ||
| 85 | 93·void·unbind() | ||
| 86 | 94·{ | ||
| 87 | 95·rootLocalView_.unbind(); | ||
| 88 | 9 | 71 | 92·} |
| 89 | 97 | ||
| 90 | 72 | 93 | |
| 73 | 100·template<class·PreBasisFactory, | ||
| 74 | 101·std::enable_if_t<Dune::IsCallable<PreBasisFactory(GridView),·PreBasis>:: | ||
| Max diff block lines reached; 8102/15204 bytes (53.29%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·taylorhoodbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 48 lines modified | Offset 72, 61 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 79 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">taylorhoodbasis.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 82 | </div><!--header--> |
| 82 | <div·class="contents"> | 83 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·<dune/common/ | 84 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
| 85 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
| 87 | <code>#include·<dune/typetree/powernode.hh></code><br·/> | ||
| 88 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
| 84 | <code>#include·<<a·class="el"·href="a0 | 89 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 85 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
| 86 | <code>#include·< | 90 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 87 | </div> | 92 | </div> |
| 88 | <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 89 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 91 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01875.html">Dune::Functions::TaylorHoodPreBasis<·GV,·HI·></a></td></tr> |
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·lowest·order·Taylor-Hood·basis.··<a·href="a01875.html#details">More...</a><br·/></td></tr> |
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01867.html">Dune::Functions::TaylorHoodVelocityTree<·GV·></a></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01871.html">Dune::Functions::TaylorHoodBasisTree<·GV·></a></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 99 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
| 100 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 107 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 109 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table><table·class="memberdecls"> | ||
| 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 115 | Typedefs</h2></td></tr> | ||
| 116 | <tr·class="memitem:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"·id="r_ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga2ddcf1f3f5bddd7f49ab4d81472aa69a">Dune::Functions::TaylorHoodBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01875.html">TaylorHoodPreBasis</a><·GV·>·></td></tr> | ||
| 118 | <tr·class="memdesc:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element·space.··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 104 | </table><table·class="memberdecls"> | 120 | </table><table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 106 | Functions</h2></td></tr> | 122 | Functions</h2></td></tr> |
| 107 | <tr·class="memitem:a37dfd0fc94784b1ffe3050d87b37ad76"·id="r_a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplParams"·colspan="2">template<class·Tree·>·</td></tr> | ||
| 108 | <tr·class="memitem: | 123 | <tr·class="memitem:ga2384fc6a8ee2005fb29adb7221609ce3"·id="r_ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga2384fc6a8ee2005fb29adb7221609ce3">Dun[·...·truncated·by·diffoscope;·len:·44,·SHA:·29fa8821ba446d81ee13d416083689f3274f8e6dc2d39b5fef0b2dec58b2645e·...·])</td></tr> |
| 124 | <tr·class="memdesc:ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Taylor-Hood·pre-basis.··<br·/></td></tr> | ||
| 109 | <tr·class="separator:a3 | 125 | <tr·class="separator:ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"·id="r_ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·TreePath·>·</td></tr> | ||
| 111 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ad5971c4cc40d4d8a400ef5fe9e596350">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Basis·&basis,·TreePath·&&treePath)·->·decltype(makeDefaultNodeToRangeMap(TypeTree::child(basis.localView().tree(),·treePath)))</td></tr> | ||
| 112 | <tr·class="separator:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table> | 126 | </table> |
| 114 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
| 115 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
| 116 | <hr·class="footer"/><address·class="footer"><small> | 129 | <hr·class="footer"/><address·class="footer"><small> |
| 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 118 | </small></address> | 131 | </small></address> |
| 119 | </body> | 132 | </body> |
| Offset 1, 38 lines modified | Offset 1, 46 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | 9 | taylorhoodbasis.hh·File·Reference | |
| 10 | #include·<dune/common/exceptions.hh> | ||
| 11 | #include·<dune/common/reservedvector.hh> | ||
| 10 | #include·<dune/common/ | 12 | #include·<dune/common/indices.hh> |
| 13 | #include·<dune/typetree/powernode.hh> | ||
| 14 | #include·<dune/typetree/compositenode.hh> | ||
| 11 | #include·<dune/functions/functionspacebases/ | 15 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 12 | #include·<dune/typetree/traversal.hh> | ||
| 13 | #include·<dune/t | 16 | #include·<dune/functions/functionspacebases/lagrangebasis.hh> |
| 17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 14 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 15 | Classes | 19 | Classes |
| 16 | struct· ·Dune::Functions::DefaultNodeToRangeMap<_Tree_> | ||
| 17 | 20 | class· ·Dune::Functions::TaylorHoodPreBasis<_GV,_HI_> | |
| 21 | ·······Pre-basis·for·lowest·order·Taylor-Hood·basis.·More... | ||
| 18 | 22 | ||
| 19 | 23 | class· ·Dune::Functions::TaylorHoodVelocityTree<_GV_> | |
| 24 | |||
| 25 | class· ·Dune::Functions::TaylorHoodBasisTree<_GV_> | ||
| 20 | 26 | ||
| 21 | Namespaces | 27 | Namespaces |
| 22 | namespace· ·Dune | 28 | namespace· ·Dune |
| 23 | 29 | ||
| 24 | namespace· ·Dune::Functions | 30 | namespace· ·Dune::Functions |
| 25 | 31 | ||
| 32 | namespace· ·Dune::Functions::BasisFactory | ||
| 33 | |||
| 34 | Typedefs | ||
| 35 | template<typename·GV·> | ||
| 36 | using ·Dune::Functions::TaylorHoodBasis·=·DefaultGlobalBasis< | ||
| 37 | ·······TaylorHoodPreBasis<·GV·>·> | ||
| 38 | ······Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element | ||
| 39 | ·······space. | ||
| 40 | |||
| 26 | Functions | 41 | Functions |
| 42 | auto ·Dune::Functions::BasisFactory::taylorHood·() | ||
| 43 | ·····Create·a·pre-basis·factory·that·can·create·a·Taylor-Hood·pre-basis. | ||
| 27 | template<class·Tree·> | ||
| 28 | DefaultNodeToRangeMap<·Tree·> ·Dune::Functions::makeDefaultNodeToRangeMap | ||
| 29 | ·······························(const·Tree·&tree) | ||
| 30 | |||
| 31 | template<class·Basis·,·class·TreePath·> | ||
| 32 | ·························auto ·Dune::Functions::makeDefaultNodeToRangeMap | ||
| 33 | ·······························(const·Basis·&basis,·TreePath·&&treePath)·- | ||
| 34 | ·······························>·decltype(makeDefaultNodeToRangeMap(TypeTree:: | ||
| 35 | ·······························child(basis.localView().tree(),·treePath))) | ||
| 36 | 44 | ||
| 37 | =============================================================================== | 45 | =============================================================================== |
| 38 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·taylorhoodbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 152 lines modified | Offset 74, 412 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">taylorhoodbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00161.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00161.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TAYLORHOODBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TAYLORHOODBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#warning·The·header·dune/functions/common/defaultnodetorangemap.hh·is·deprecated·and·will·be·removed·after·release·2.10.</span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/ | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/typetree/powernode.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> |
| 97 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 102 | <div·class="line"><a·id="l0002 | 104 | <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="a00224.html">Dune</a>·{</div> |
| 103 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//···TaylorHoodPreBasis</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//···TaylorHoodBasisTree</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//···TaylorHoodVelocityTree</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">class·</span>TaylorHoodVelocityTree;</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
| 107 | <div·class="line"><a·id="l0004 | 123 | <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></div> |
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>TaylorHoodBasisTree;</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">bool</span>·HI=false></div> | ||
| 108 | <div·class="foldopen"·id="foldopen000 | 127 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};"> |
| 109 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01571.html">···45</a></span><span·class="keyword">struct</span></div> | ||
| 110 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>[[deprecated(<span·class="stringliteral">"DefaultNodeToRangeMap·is·deprecated·and·will·be·removed·after·release·2.10."</span>)]]</div> | ||
| 111 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><a·class="code·hl_struct"·href="a01571.html">DefaultNodeToRangeMap</a></div> | ||
| 112 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div> | ||
| 113 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//·A·simple·visitor·for·computing·lexicographic</span></div> | ||
| 115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·subtree·indices.·To·identify·a·leaf·node</span></div> | ||
| 116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·we·use·its·treeIndex()·which·is·unique</span></div> | ||
| 117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">//·wrt·the·whole·tree·and·store·the·computed</span></div> | ||
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="comment">//·index·in·a·vector·indexed·by·the·tree·indices.</span></div> | ||
| 119 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> | ||
| 120 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01875.html">···64</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01875.html">TaylorHoodPreBasis</a></div> |
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
| 122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
| 123 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>{</div> |
| 130 | <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">bool</span>·useHybridIndices·=·HI;</div> | ||
| 124 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
| 125 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01575.html#a31bda2d0d2a6e6caaad0c4b54833baaa">···59</a></span>····<a·class="code·hl_function"·href="a01575.html#a31bda2d0d2a6e6caaad0c4b54833baaa">Visitor</a>(std::vector<std::size_t>&·indices)·:</div> | ||
| 126 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······indices_(indices),</div> | ||
| 127 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······counter_(0)</div> | ||
| 128 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····{}</div> | ||
| 129 | </div> | ||
| 130 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
| 132 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
| 132 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | ||
| 133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01575.html#a6fa6002b8649337f257a1ba63f487638">···65</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01575.html#a6fa6002b8649337f257a1ba63f487638">leaf</a>(Node&·node,·TreePath·treePath)</div> | ||
| 134 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 135 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keywordflow">if</span>·(indices_.size()·<·node.treeIndex()+1)</div> | ||
| 136 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········indices_.resize(node.treeIndex()+1);</div> | ||
| 137 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······indices_[node.treeIndex()]·=·counter_;</div> | ||
| 138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>· | 134 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">public</span>:</div> |
| 139 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>· | 135 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
| 140 | </div> | 136 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01875.html#a4fbd3d92587a03f38[·...·truncated·by·diffoscope;·len:·36,·SHA:·5fa091731685f0f1bf855499b20dcac9c88bcf7068aaec0c344cad0b4be91b3a·...·]/div> |
| 141 | <div·class="line"><a·id="l0007 | 137 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
| 138 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t;</div> | ||
| 142 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01575.html#ad27dd745d2d84fd89675da8e7a706963">···73</a></span>····std::vector<std::size_t>&·<a·class="code·hl_variable"·href="a01575.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>;</div> | ||
| 143 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01575.html#a776d43a445def9066a5ad7b7d524d640">···74</a></span>····std::size_t·<a·class="code·hl_variable"·href="a01575.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
| 144 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div> | ||
| 145 | </div> | ||
| 146 | <div·class="line"><a·id="l0007 | 139 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
| 140 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01875.html#a8082f8fdbed2c5236bd5a318dd05fe6a">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01871.html">Node</a>·=·<a·class="code·hl_class"·href="a01871.html">TaylorHoodBasisTree<GV></a>;</div> | ||
| 147 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | ||
| 148 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01571.html#a1f05cfc19a0fd6aeddd0fd441f0e0718">···87</a></span>··<a·class="code·hl_function"·href="a01571.html#a1f05cfc19a0fd6aeddd0fd441f0e0718">DefaultNodeToRangeMap</a>(<span·class="keyword">const</span>·Tree&·tree)</div> | ||
| 149 | <div·class="line"><a·id="l0008 | 141 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
| 150 | <div·class="line"><a·id="l0008 | 142 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01875.html#aa392e5ef9f61616b5761fe47dec36471">···81</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01875.html#aeed442[·...·truncated·by·diffoscope;·len:·171,·SHA:·047c2d199ecdb3b7da0a8b9fc4a46b446fea78361bab2d86b39201f24d903e38·...·];</div> |
| 143 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01875.html#a2ab779870149b404f47be6e5550257ea">···82</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01875.html#a2ab779870149b404f47be6e5550257ea">minMultiIndexSize</a>·=·2;</div> | ||
| 144 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01875.html#ac232b435a11882f871f15bb1dc9b70aa">···83</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01875.html#ac232b435a11882f871f15bb1dc9b70aa">multiIndexBufferSize</a>·=·<a·class="code·hl_variable"·href="a01875.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>;</div> | ||
| 145 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> | ||
| 147 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| Max diff block lines reached; 69037/91235 bytes (75.67%) of diff not shown. | |||
| Offset 1, 156 lines modified | Offset 1, 463 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | taylorhoodbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TAYLORHOODBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TAYLORHOODBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/exceptions.hh> | ||
| 22 | 11#include·<dune/common/reservedvector.hh> | ||
| 21 | 10#warning·The·header·dune/functions/common/defaultnodetorangemap.hh·is | ||
| 22 | deprecated·and·will·be·removed·after·release·2.10. | ||
| 23 | 11 | ||
| 24 | 12#include·<dune/common/ | 23 | 12#include·<dune/common/indices.hh> |
| 25 | 13 | 24 | 13 |
| 25 | 14#include·<dune/typetree/powernode.hh> | ||
| 26 | 15#include·<dune/typetree/compositenode.hh> | ||
| 27 | 16 | ||
| 26 | 1 | 28 | 17#include·<dune/functions/functionspacebases/nodes.hh> |
| 27 | 15 | ||
| 28 | 16#include·<dune/typetree/traversal.hh> | ||
| 29 | 17#include·<dune/typetree/visitor.hh> | ||
| 30 | 18 | 29 | 18 |
| 31 | 19 | 30 | 19#include·<dune/functions/functionspacebases/lagrangebasis.hh> |
| 31 | 20#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 32 | 21 | ||
| 32 | 2 | 33 | 22namespace·Dune·{ |
| 33 | 2 | 34 | 23namespace·Functions·{ |
| 34 | 22 | ||
| 35 | 23 | ||
| 36 | 24 | 35 | 24 |
| 37 | 44template<class·Tree> | ||
| 38 | 45struct | ||
| 39 | 46[[deprecated("DefaultNodeToRangeMap·is·deprecated·and·will·be·removed·after | ||
| 40 | release·2.10.")]] | ||
| 41 | 47DefaultNodeToRangeMap | ||
| 42 | 48{ | ||
| 43 | 49 | ||
| 44 | 50·//·A·simple·visitor·for·computing·lexicographic | ||
| 45 | 51·//·subtree·indices.·To·identify·a·leaf·node | ||
| 46 | 52·//·we·use·its·treeIndex()·which·is·unique | ||
| 47 | 53·//·wrt·the·whole·tree·and·store·the·computed | ||
| 48 | 54·//·index·in·a·vector·indexed·by·the·tree·indices. | ||
| 49 | 55·struct·Visitor | ||
| 50 | 56·:·public·TypeTree::TreeVisitor | ||
| 51 | 57·,·public·TypeTree::DynamicTraversal | ||
| 52 | 58·{ | ||
| 53 | 59·Visitor(std::vector<std::size_t>&·indices)·: | ||
| 54 | 60·indices_(indices), | ||
| 55 | 61·counter_(0) | ||
| 56 | 62·{} | ||
| 57 | 63 | ||
| 58 | 64·template<typename·Node,·typename·TreePath> | ||
| 59 | 65·void·leaf(Node&·node,·TreePath·treePath) | ||
| 60 | 66·{ | ||
| 61 | 67·if·(indices_.size()·<·node.treeIndex()+1) | ||
| 62 | 68·indices_.resize(node.treeIndex()+1); | ||
| 63 | 69·indices_[node.treeIndex()]·=·counter_; | ||
| 64 | 70·++counter_; | ||
| 65 | 71·} | ||
| 66 | 72 | ||
| 67 | 73·std::vector<std::size_t>&·indices_; | ||
| 68 | 74·std::size_t·counter_; | ||
| 69 | 75·}; | ||
| 70 | 76 | ||
| 71 | 87·DefaultNodeToRangeMap(const·Tree&·tree) | ||
| 72 | 88·{ | ||
| 73 | 89·TypeTree::applyToTree(tree,·Visitor(indices_)); | ||
| 74 | 36 | 25 | |
| 37 | 26/ | ||
| 38 | /·***************************************************************************** | ||
| 39 | 27//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 40 | 28// | ||
| 41 | 29//·TaylorHoodPreBasis | ||
| 42 | 30//·TaylorHoodBasisTree | ||
| 43 | 31//·TaylorHoodVelocityTree | ||
| 44 | 32// | ||
| 45 | 33//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 46 | shared | ||
| 47 | 34//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 48 | 35//·and·can·be·used·without·a·global·basis. | ||
| 49 | 36/ | ||
| 50 | /·***************************************************************************** | ||
| 51 | 37 | ||
| 52 | 38template<typename·GV> | ||
| 53 | 39class·TaylorHoodVelocityTree; | ||
| 54 | 40 | ||
| 55 | 41template<typename·GV> | ||
| 56 | 42class·TaylorHoodBasisTree; | ||
| 57 | 43 | ||
| 58 | 63template<typename·GV,·bool·HI=false> | ||
| 59 | 64class·TaylorHoodPreBasis | ||
| 60 | 65{ | ||
| 61 | 66·static·const·bool·useHybridIndices·=·HI; | ||
| 62 | 67 | ||
| 63 | 68·static·const·int·dim·=·GV::dimension; | ||
| 64 | 69 | ||
| 65 | 70public: | ||
| 66 | 71 | ||
| 67 | 73·using·GridView·=·GV; | ||
| 68 | 74 | ||
| 69 | 76·using·size_type·=·std::size_t; | ||
| 70 | 77 | ||
| 71 | 79·using·Node·=·TaylorHoodBasisTree<GV>; | ||
| 72 | 80 | ||
| 73 | 81·static·constexpr·size_type·maxMultiIndexSize·=·useHybridIndices·?·3·:·2; | ||
| 74 | 82·static·constexpr·size_type·minMultiIndexSize·=·2; | ||
| 75 | 83·static·constexpr·size_type·multiIndexBufferSize·=·maxMultiIndexSize; | ||
| 76 | 84 | ||
| 77 | 85private: | ||
| 78 | 86 | ||
| 79 | 87·using·PQ1PreBasis·=·LagrangePreBasis<GV,1>; | ||
| 80 | 88·using·PQ2PreBasis·=·LagrangePreBasis<GV,2>; | ||
| 81 | 89 | ||
| 82 | 90public: | ||
| Max diff block lines reached; 14351/18313 bytes (78.37%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·brezzidouglasmarinibasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 38 lines modified | Offset 71, 66 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">brezzidouglasmarinibasis.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 82 | </div><!--header--> |
| 81 | <div·class="contents"> | 83 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 83 | <code>#include·<type_traits></code><br·/> | ||
| 84 | <code>#include·<dune/common/ | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 86 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 87 | <code>#include·<dune/localfunctions/common/virtualinterface.hh></code><br·/> | ||
| 88 | <code>#include·<dune/localfunctions/common/virtualwrappers.hh></code><br·/> | ||
| 89 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></code><br·/> | ||
| 90 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></code><br·/> | ||
| 91 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></code><br·/> | ||
| 92 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></code><br·/> | ||
| 93 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></code><br·/> | ||
| 94 | <code>#include·<<a·class="el"·href="a00197_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
| 85 | <code>#include·<<a·class="el"·href="a0 | 95 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a00 | 96 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
| 97 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 87 | </div> | 98 | </div> |
| 88 | <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p> | 99 | <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 89 | <table·class="memberdecls"> | 100 | <table·class="memberdecls"> |
| 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 91 | Classes</h2></td></tr> | 102 | Classes</h2></td></tr> |
| 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01455.html">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·></a></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01451.html">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·></a></td></tr> |
| 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·the·nested·tree·indices.··<a·href="a01643.html#details">More...</a><br·/></td></tr> | ||
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
| 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 97 | Namespaces</h2></td></tr> | 109 | Namespaces</h2></td></tr> |
| 98 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 110 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 112 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | </table><table·class="memberdecls"> | ||
| 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 118 | Typedefs</h2></td></tr> | ||
| 119 | <tr·class="memitem:a05987d1b6480619710c578ad80a243e5"·id="r_a05987d1b6480619710c578ad80a243e5"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
| 120 | <tr·class="memitem:a05987d1b6480619710c578ad80a243e5"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a05987d1b6480619710c578ad80a243e5">Dune::Functions::BrezziDouglasMariniBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01455.html">BrezziDouglasMariniPreBasis</a><·GV,·k·>·></td></tr> | ||
| 121 | <tr·class="memdesc:a05987d1b6480619710c578ad80a243e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and·cube·grids.··<br·/></td></tr> | ||
| 122 | <tr·class="separator:a05987d1b6480619710c578ad80a243e5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 123 | </table><table·class="memberdecls"> | ||
| 124 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 125 | Functions</h2></td></tr> | ||
| 126 | <tr·class="memitem:ga72847f418332ba3d5444a7f153776610"·id="r_ga72847f418332ba3d5444a7f153776610"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
| 127 | <tr·class="memitem:ga72847f418332ba3d5444a7f153776610"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga72847f418332ba3d5444a7f153776610">Dune::Functions::BasisFactory::brezziDouglasMarini</a>·()</td></tr> | ||
| 128 | <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> | ||
| 129 | <tr·class="separator:ga72847f418332ba3d5444a7f153776610"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | </table> | 130 | </table> |
| 103 | </div><!--·contents·--> | 131 | </div><!--·contents·--> |
| 104 | <!--·start·footer·part·--> | 132 | <!--·start·footer·part·--> |
| 105 | <hr·class="footer"/><address·class="footer"><small> | 133 | <hr·class="footer"/><address·class="footer"><small> |
| 106 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 134 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 107 | </small></address> | 135 | </small></address> |
| 108 | </body> | 136 | </body> |
| Offset 1, 26 lines modified | Offset 1, 56 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
| 9 | brezzidouglasmarinibasis.hh·File·Reference | ||
| 10 | #include·<array> | ||
| 8 | Classes·|·Namespaces | ||
| 9 | hierarchicnodetorangemap.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | #include·<type_traits> | ||
| 12 | #include·<dune/common/ | 11 | #include·<dune/common/exceptions.hh> |
| 12 | #include·<dune/geometry/referenceelements.hh> | ||
| 13 | #include·<dune/localfunctions/common/virtualinterface.hh> | ||
| 14 | #include·<dune/localfunctions/common/virtualwrappers.hh> | ||
| 15 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 16 | brezzidouglasmarini1cube2d.hh> | ||
| 17 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 18 | brezzidouglasmarini1cube3d.hh> | ||
| 19 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 20 | brezzidouglasmarini1simplex2d.hh> | ||
| 21 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 22 | brezzidouglasmarini2cube2d.hh> | ||
| 23 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 24 | brezzidouglasmarini2simplex2d.hh> | ||
| 25 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 13 | #include·<dune/functions/functionspacebases/ | 26 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 14 | #include·<dune/functions/co | 27 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 28 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 15 | Go_to_the_source_code_of_this_file. | 29 | Go_to_the_source_code_of_this_file. |
| 16 | Classes | 30 | Classes |
| 17 | struct· ·Dune::Functions::HierarchicNodeToRangeMap | ||
| 18 | 31 | class· ·Dune::Functions::BrezziDouglasMariniPreBasis<_GV,_k_> | |
| 32 | |||
| 33 | class· ·Dune::Functions::BrezziDouglasMariniNode<_GV,_k_> | ||
| 19 | 34 | ||
| 20 | Namespaces | 35 | Namespaces |
| 21 | namespace· ·Dune | 36 | namespace· ·Dune |
| 22 | 37 | ||
| 23 | namespace· ·Dune::Functions | 38 | namespace· ·Dune::Functions |
| 24 | 39 | ||
| 40 | namespace· ·Dune::Functions::BasisFactory | ||
| 41 | |||
| 42 | Typedefs | ||
| 43 | template<typename·GV·,·int·k> | ||
| 44 | using ·Dune::Functions::BrezziDouglasMariniBasis·=·DefaultGlobalBasis< | ||
| 45 | ·······BrezziDouglasMariniPreBasis<·GV,·k·>·> | ||
| 46 | ······Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and | ||
| 47 | ·······cube·grids. | ||
| 48 | |||
| 49 | Functions | ||
| 50 | template<std::size_t·k> | ||
| 51 | auto ·Dune::Functions::BasisFactory::brezziDouglasMarini·() | ||
| 52 | ·····Create·a·pre-basis·factory·that·can·create·a·Brezzi-Douglas-Marini·pre- | ||
| 53 | ······basis. | ||
| 54 | |||
| 25 | =============================================================================== | 55 | =============================================================================== |
| 26 | ·····Generated·by [doxygen]·1.9.8 | 56 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·brezzidouglasmarinibasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 77 lines modified | Offset 74, 406 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">brezzidouglasmarinibasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00164.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00164.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
| 93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<ty | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/ | 96 | <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> |
| 97 | <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> | ||
| 97 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></span></div> | ||
| 100 | <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> | ||
| 101 | <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> | ||
| 102 | <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> | ||
| 103 | <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> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00197.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 106 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> | ||
| 107 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01643.html">···33</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01643.html">HierarchicNodeToRangeMap</a></div> | ||
| 108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
| 109 | <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> | ||
| 110 | <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> | ||
| 111 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}"> | ||
| 112 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01643.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">···37</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01643.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> | ||
| 113 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 114 | <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="a00221.html#ga4cc6af2842348271c242c048e0411637">resolveStaticMultiIndex</a>(y,·treePath);</div> | ||
| 115 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
| 116 | </div> | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <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> | ||
| 122 | <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> | ||
| 117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> |
| 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
| 119 | <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> | ||
| 120 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> | ||
| 121 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01643.html#a7122457e9d3aad7c63a2184012f26566">···44</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01643.html#a7122457e9d3aad7c63a2184012f26566">operator()</a>(<span·class="keyword">const</span>·Node&,·<span·class="keyword">const</span>·TreePath&,·Range&&·y)<span·class="keyword">·const</span></div> | ||
| 122 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">··</span>{</div> | ||
| 123 | <div·class="line"><a·id="l0004 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>;</div> |
| 125 | <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> | ||
| 124 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div> |
| 125 | </div> | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 129 | <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> | ||
| 126 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span> | 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> |
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>;</div> | ||
| 132 | <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> | ||
| 127 | </div> | ||
| 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div> |
| 131 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
| 132 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
| 133 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<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> | ||
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo</div> | ||
| 134 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··{</div> |
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> | ||
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 142 | <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> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>;</div> | ||
| 145 | <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> | ||
| 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··};</div> | ||
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
| 148 | <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> | ||
| 149 | <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> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div> | ||
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Cube2DLocalFiniteElement<D,R>;</div> | ||
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> | ||
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div> | ||
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo<3,D,R,1></div> | ||
| 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{</div> | ||
| 158 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube3DLocalFiniteElement<D,R>;</div> | ||
| Max diff block lines reached; 12820/80866 bytes (15.85%) of diff not shown. | |||
| Offset 1, 82 lines modified | Offset 1, 487 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | brezzidouglasmarinibasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<utility> | ||
| 23 | 1 | 21 | 10#include·<array> |
| 22 | 11#include·<dune/common/exceptions.hh> | ||
| 23 | 12#include·<dune/geometry/referenceelements.hh> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/common/concept.hh> | ||
| 26 | 15 | ||
| 27 | 16#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 28 | 1 | 25 | 14#include·<dune/localfunctions/common/virtualinterface.hh> |
| 29 | 18 | ||
| 30 | 19namespace·Dune·{ | ||
| 31 | 20namespace·Functions·{ | ||
| 32 | 26 | 15#include·<dune/localfunctions/common/virtualwrappers.hh> | |
| 27 | 16 | ||
| 28 | 17#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 29 | brezzidouglasmarini1cube2d.hh> | ||
| 30 | 18#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 31 | brezzidouglasmarini1cube3d.hh> | ||
| 32 | 19#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 33 | brezzidouglasmarini1simplex2d.hh> | ||
| 34 | 20#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 35 | brezzidouglasmarini2cube2d.hh> | ||
| 36 | 21#include·<dune/localfunctions/brezzidouglasmarini/ | ||
| 37 | brezzidouglasmarini2simplex2d.hh> | ||
| 33 | 22 | 38 | 22 |
| 34 | 23 | ||
| 35 | 33struct·HierarchicNodeToRangeMap | ||
| 36 | 34{ | ||
| 37 | 35·template<class·Node,·class·TreePath,·class·Range, | ||
| 38 | 36·std::enable_if_t<·models<Concept::HasIndexAccess,·Range,·Dune::index_ | ||
| 39 | constant<0>>(),·int>·=·0> | ||
| 40 | 37·decltype(auto)·operator()(const·Node&,·const·TreePath&·treePath,·Range&&·y) | ||
| 41 | const | 39 | 23#include·<dune/functions/functionspacebases/ |
| 40 | globalvaluedlocalfiniteelement.hh> | ||
| 41 | 24#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 42 | 25#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 43 | 26#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 44 | 27 | ||
| 45 | 28namespace·Dune·{ | ||
| 46 | 29namespace·Functions·{ | ||
| 47 | 30 | ||
| 48 | 31namespace·Impl·{ | ||
| 49 | 32 | ||
| 50 | 33·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 51 | 34·struct·BDMSimplexLocalInfo | ||
| 42 | 3 | 52 | 35·{ |
| 53 | 36·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 54 | not·implemented,·sorry!"); | ||
| 55 | 37·}; | ||
| 56 | 38 | ||
| 57 | 39·template<typename·D,·typename·R> | ||
| 58 | 40·struct·BDMSimplexLocalInfo<2,D,R,1> | ||
| 43 | 39·return·resolveStaticMultiIndex(y,·treePath); | ||
| 44 | 40·} | ||
| 45 | 41 | ||
| 46 | 42·template<class·Node,·class·TreePath,·class·Range, | ||
| 47 | 43·std::enable_if_t<not·models<Concept::HasIndexAccess,·Range,·Dune::index_ | ||
| 48 | constant<0>>(),·int>·=·0> | ||
| 49 | 44·decltype(auto)·operator()(const·Node&,·const·TreePath&,·Range&&·y)·const | ||
| 50 | 4 | 59 | 41·{ |
| 51 | 46·return·std::forward<Range>(y); | ||
| 52 | 47·} | ||
| 53 | 48}; | ||
| 54 | 49 | ||
| 55 | 60 | 42·using·FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>; | |
| 61 | 43·static·const·std::size_t·Variants·=·8; | ||
| 62 | 44·}; | ||
| 63 | 45 | ||
| 64 | 46·template<typename·D,·typename·R> | ||
| 65 | 47·struct·BDMSimplexLocalInfo<2,D,R,2> | ||
| 66 | 48·{ | ||
| 67 | 49·using·FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>; | ||
| 68 | 50·static·const·std::size_t·Variants·=·8; | ||
| 69 | 51·}; | ||
| 70 | 52 | ||
| 71 | 53·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 72 | 54·struct·BDMCubeLocalInfo | ||
| 73 | 55·{ | ||
| 74 | 56·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
| 75 | not·implemented,·sorry!"); | ||
| 76 | 57·}; | ||
| 77 | 58 | ||
| 78 | 59·template<typename·D,·typename·R> | ||
| 79 | 60·struct·BDMCubeLocalInfo<2,D,R,1> | ||
| 80 | 61·{ | ||
| 81 | 62·using·FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>; | ||
| 82 | 63·static·const·std::size_t·Variants·=·16; | ||
| 83 | 64·}; | ||
| 84 | 65 | ||
| 85 | 66·template<typename·D,·typename·R> | ||
| 86 | 67·struct·BDMCubeLocalInfo<2,D,R,2> | ||
| 87 | 68·{ | ||
| 88 | 69·using·FiniteElement·=·BDM2Cube2DLocalFiniteElement<D,R>; | ||
| 89 | 70·static·const·std::size_t·Variants·=·16; | ||
| 90 | 71·}; | ||
| 91 | 72 | ||
| 92 | 73·template<typename·D,·typename·R> | ||
| 93 | 74·struct·BDMCubeLocalInfo<3,D,R,1> | ||
| 94 | 75·{ | ||
| 95 | 76·using·FiniteElement·=·BDM1Cube3DLocalFiniteElement<D,R>; | ||
| 96 | 77·static·const·std::size_t·Variants·=·64; | ||
| 97 | 78·}; | ||
| 98 | 79 | ||
| 99 | 80·template<typename·GV,·int·dim,·typename·R,·std::size_t·k> | ||
| 100 | 81·class·BDMLocalFiniteElementMap | ||
| Max diff block lines reached; 5240/18188 bytes (28.81%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·boundarydofs.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 53 lines modified | Offset 70, 37 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 78 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">boundarydofs.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<t | 82 | <div·class="textblock"><code>#include·<utility></code><br·/> |
| 83 | <code>#include·<utility></code><br·/> | ||
| 84 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 87 | <code>#include·<dune/common/tupleutility.hh></code><br·/> | ||
| 88 | <code>#include·<dune/common/tuplevector.hh></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a001 | 83 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/subentitydofs.hh</a>></code><br·/> |
| 93 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 94 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 95 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> | ||
| 96 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 97 | </div> | 84 | </div> |
| 98 | <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 99 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 101 | Classes</h2></td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html">Dune::Functions::CompositePreBasis<·IMS,·SPB·></a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·composite·bases.··<a·href="a01487.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | </table><table·class="memberdecls"> | ||
| 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 107 | Namespaces</h2></td></tr> | 88 | Namespaces</h2></td></tr> |
| 108 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | < | 93 | </table><table·class="memberdecls"> |
| 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 95 | Functions</h2></td></tr> | ||
| 96 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"·id="r_gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>()(0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename·Basis::GridView::Intersection·>()),·0)··=·0>·</td></tr> | ||
| 97 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
| 98 | <tr·class="memdesc:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Loop·over·all·DOFs·on·the·boundary.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:a00231"·id="r_a00231"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00231.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | </table> | 100 | </table> |
| 117 | </div><!--·contents·--> | 101 | </div><!--·contents·--> |
| 118 | <!--·start·footer·part·--> | 102 | <!--·start·footer·part·--> |
| 119 | <hr·class="footer"/><address·class="footer"><small> | 103 | <hr·class="footer"/><address·class="footer"><small> |
| 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 121 | </small></address> | 105 | </small></address> |
| 122 | </body> | 106 | </body> |
| Offset 1, 40 lines modified | Offset 1, 26 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Namespaces·|·Functions | ||
| 9 | boundarydofs.hh·File·Reference | ||
| 8 | Classes·|·Namespaces | ||
| 9 | compositebasis.hh·File·Reference | ||
| 10 | #include·<tuple> | ||
| 11 | #include·<utility> | 10 | #include·<utility> |
| 12 | #include·<dune/common/hybridutilities.hh> | ||
| 13 | #include·<dune/common/reservedvector.hh> | ||
| 14 | #include·<dune/common/typeutilities.hh> | ||
| 15 | #include·<dune/common/tupleutility.hh> | ||
| 16 | #include·<dune/common/tuplevector.hh> | ||
| 17 | #include·<dune/functions/common/staticforloop.hh> | ||
| 18 | #include·<dune/functions/common/type_traits.hh> | ||
| 19 | #include·<dune/functions/common/utility.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 21 | #include·<dune/functions/functionspacebases/n | 11 | #include·<dune/functions/functionspacebases/subentitydofs.hh> |
| 22 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 23 | #include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 24 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 25 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
| 26 | Classes | ||
| 27 | class· ·Dune::Functions::CompositePreBasis<_IMS,_SPB_> | ||
| 28 | ·······A·pre-basis·for·composite·bases.·More... | ||
| 29 | |||
| 30 | Namespaces | 13 | Namespaces |
| 31 | namespace· ·Dune | 14 | namespace· ·Dune |
| 32 | 15 | ||
| 33 | namespace· ·Dune::Functions | 16 | namespace· ·Dune::Functions |
| 34 | 17 | ||
| 35 | namespace· ·Dune::Functions::BasisFactory | ||
| 36 | |||
| 37 | 18 | Functions | |
| 19 | template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>() | ||
| 20 | (0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename | ||
| 21 | Basis::GridView::Intersection·>()),·0)·=·0> | ||
| 22 | void ·Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
| 23 | ·····Loop·over·all·DOFs·on·the·boundary. | ||
| 38 | 24 | ||
| 39 | =============================================================================== | 25 | =============================================================================== |
| 40 | ·····Generated·by [doxygen]·1.9.8 | 26 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·boundarydofs.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 482 lines modified | Offset 74, 105 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">boundarydofs.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00167.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00167.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<tuple></span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/functionspacebases/subentitydofs.hh</a>></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/tupleutility.hh></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> | ||
| 101 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00077.html">dune/functions/common/staticforloop.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00113.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l000 | 96 | <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="a00224.html">Dune</a>·{</div> |
| 113 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·This·is·the·reusable·part·of·the·composite·bases.·It·contains</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//</span></div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//···CompositePreBasis</span></div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//</span></div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">class·</span>IMS,·<span·class="keyword">class</span>...·SPB></div> | ||
| 127 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
| 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01487.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01487.html">CompositePreBasis</a></div> | ||
| 129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
| 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·isBlocked·=·std::is_same_v<IMS,BasisFactory::BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>;</div> | ||
| 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> | ||
| 132 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 133 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01487.html#aa3fbd381a090703bb2f0ea3bde8a3031">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases</a>·=·std::tuple<SPB...>;</div> | ||
| 134 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> | ||
| 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01487.html#ab02c441bc5d90d3b584df84e606582a7">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#ab02c441bc5d90d3b584df84e606582a7">SubPreBasis</a>·=·std::tuple_element_t<i,·SubPreBases>;</div> | ||
| 137 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 138 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01487.html#aa04cac815e90325c4ec524e0dc7b22ee">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#aa04cac815e90325c4ec524e0dc7b22ee">GridView</a>·=·<span·class="keyword">typename</span>·std::tuple_element_t<0,·SubPreBases>::GridView;</div> | ||
| 139 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·=·std::size_t;</div> | ||
| 141 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01487.html#a13b5ee8d5de52affa35662093b32de00">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#a13b5ee8d5de52affa35662093b32de00">IndexMergingStrategy</a>·=·IMS;</div> | ||
| 143 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">protected</span>:</div> | ||
| 145 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01487.html#aa0689626cbb089b66e5932b4a4ed6a6e">···78</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·<a·class="code·hl_variable"·href="a01487.html#aa0689626cbb089b66e5932b4a4ed6a6e">children</a>·=·<span·class="keyword">sizeof</span>...(SPB);</div> | ||
| 146 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
| 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01487.html#ac2d58cfa5b4b07bdfbec63a296c9a5d6">···80</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01487.html#ac2d58cfa5b4b07bdfbec63a296c9a5d6">ChildIndices</a>·=·std::make_index_sequence<children>;</div> | ||
| 148 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <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> | ||
| 102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0></div> | ||
| 149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">public</span>:</div> | ||
| 150 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01487.html#a38b6a4eb5dc345ee88c046d107c9b811">···85</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01763.html">Node</a>·=·<a·class="code·hl_class"·href="a01763.html">CompositeBasisNode</a><<span·class="keyword">typename</span>·SPB::Node...>;</div> | ||
| 152 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| 153 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01487.html#affd187f58c7f8a750b11ab48abc3d94e">···87</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01487.html#affd187f58c7f8a750b11ab48abc3d94e">maxMultiIndexSize</a>·=·std::max({SPB::maxMultiIndexSize...})·+·isBlocked;</div> | ||
| 154 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01487.html#aee4f8b5f159f44d9a0fc61c60c615c19">···88</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01487.html#aee4f8b5f159f44d9a0fc61c60c615c19">minMultiIndexSize</a>·=·std::min({SPB::minMultiIndexSize...})·+·isBlocked;</div> | ||
| 155 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01487.html#ad57d4c09c40d5a87d3e899a2c2df0f35">···89</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01487.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01487.html#ad57d4c09c40d5a87d3e899a2c2df0f35">multiIndexBufferSize</a>·=·std::max({SPB::multiIndexBufferSize...})·+·isBlocked;</div> | ||
| 156 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
| 157 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> | ||
| 158 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····disableCopyMove<<a·class="code·hl_class"·href="a01487.html">CompositePreBasis</a>,·SFArgs...>·=·0,</div> | ||
| 159 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<a·class="code·hl_typedef"·href="a00221.html#ga80c230cc3d1605429839d9a6076af5ee">enableIfConstructible</a><std::tuple<SPB...>,·SFArgs...>·=·0></div> | ||
| 160 | <div·class="foldopen"·id="foldopen000 | 103 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}"> |
| 104 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00220.html#gaa60b94e3da01aa62a555f6955a7f09e5">···40</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00220.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
| 161 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01487.html#a4530439b525f32c80febe548adb3f628">···99</a></span>··<a·class="code·hl_function"·href="a01487.html#a4530439b525f32c80febe548adb3f628">CompositePreBasis</a>(SFArgs&&...·sfArgs)·:</div> | ||
| 162 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····subPreBases_(std::forward<SFArgs>(sfArgs)...)</div> | ||
| 163 | <div·class="line"><a·id="l00 | 105 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> |
| 164 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····Hybrid::forEach(subPreBases_,·[&](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·<a·class="code·hl_function"·href="a01487.html#a2b525fdcdc6faa0551084c2c147dc92a">subPreBasis</a>){</div> | ||
| 165 | <div·class="line"><a·id="l00 | 106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> |
| 107 | <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="a00220.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
| 108 | <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> | ||
| 109 | <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> | ||
| 110 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
| 166 | <div·class="line"><a·id="l00 | 111 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{</div> |
| 112 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······localView.bind(element);</div> | ||
| 113 | <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> | ||
| 114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> | ||
| 115 | <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> | ||
| 116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············f(localIndex,·localView,·intersection);</div> | ||
| 167 | <div·class="line"><a·id="l00 | 117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div> |
| 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>}</div> | ||
| 168 | </div> | 119 | </div> |
| 120 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| Max diff block lines reached; 12641/97287 bytes (12.99%) of diff not shown. | |||
| Offset 1, 566 lines modified | Offset 1, 109 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | boundarydofs.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<tuple> | ||
| 22 | 1 | 21 | 10#include·<utility> |
| 22 | 11 | ||
| 23 | 12 | ||
| 24 | 13#include·<dune/common/hybridutilities.hh> | ||
| 25 | 14#include·<dune/common/reservedvector.hh> | ||
| 26 | 15#include·<dune/common/typeutilities.hh> | ||
| 27 | 16#include·<dune/common/hybridutilities.hh> | ||
| 28 | 17#include·<dune/common/tupleutility.hh> | ||
| 29 | 18#include·<dune/common/tuplevector.hh> | ||
| 30 | 19 | ||
| 31 | 20#include·<dune/functions/common/staticforloop.hh> | ||
| 32 | 21#include·<dune/functions/common/type_traits.hh> | ||
| 33 | 22#include·<dune/functions/common/utility.hh> | ||
| 34 | 23#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 35 | 23 | 12#include·<dune/functions/functionspacebases/subentitydofs.hh> | |
| 24 | 13 | ||
| 36 | 25#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 37 | 26#include·<dune/functions/functionspacebases/containerdescriptors.hh> | ||
| 38 | 27#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 39 | 28 | ||
| 40 | 29 | ||
| 41 | 25 | 14namespace·Dune·{ | |
| 42 | 26 | 15namespace·Functions·{ | |
| 43 | 32 | ||
| 44 | 33/ | ||
| 45 | /·***************************************************************************** | ||
| 46 | 34//·This·is·the·reusable·part·of·the·composite·bases.·It·contains | ||
| 47 | 35// | ||
| 48 | 36//·CompositePreBasis | ||
| 49 | 37// | ||
| 50 | 38//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 51 | shared | ||
| 52 | 39//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 53 | 40//·and·can·be·used·without·a·global·basis. | ||
| 54 | 41/ | ||
| 55 | /·***************************************************************************** | ||
| 56 | 42 | ||
| 57 | 43 | ||
| 58 | 55template<class·IMS,·class...·SPB> | ||
| 59 | 56class·CompositePreBasis | ||
| 60 | 57{ | ||
| 61 | 58·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
| 62 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
| 63 | 59public: | ||
| 64 | 60 | ||
| 65 | 62·using·SubPreBases·=·std::tuple<SPB...>; | ||
| 66 | 63 | ||
| 67 | 65·template<std::size_t·i> | ||
| 68 | 66·using·SubPreBasis·=·std::tuple_element_t<i,·SubPreBases>; | ||
| 69 | 67 | ||
| 70 | 69·using·GridView·=·typename·std::tuple_element_t<0,·SubPreBases>::GridView; | ||
| 71 | 70 | ||
| 72 | 72·using·size_type·=·std::size_t; | ||
| 73 | 73 | ||
| 74 | 75·using·IndexMergingStrategy·=·IMS; | ||
| 75 | 76 | ||
| 76 | 77protected: | ||
| 77 | 78·static·const·std::size_t·children·=·sizeof...(SPB); | ||
| 78 | 79 | ||
| 79 | 80·using·ChildIndices·=·std::make_index_sequence<children>; | ||
| 80 | 81 | ||
| 81 | 82public: | ||
| 82 | 83 | ||
| 83 | 85·using·Node·=·CompositeBasisNode<typename·SPB::Node...>; | ||
| 84 | 86 | ||
| 85 | 87·static·constexpr·size_type·maxMultiIndexSize·=·std::max({SPB:: | ||
| 86 | maxMultiIndexSize...})·+·isBlocked; | ||
| 87 | 88·static·constexpr·size_type·minMultiIndexSize·=·std::min({SPB:: | ||
| 88 | minMultiIndexSize...})·+·isBlocked; | ||
| 89 | 89·static·constexpr·size_type·multiIndexBufferSize·=·std::max({SPB:: | ||
| 90 | multiIndexBufferSize...})·+·isBlocked; | ||
| 91 | 90 | ||
| 92 | 96·template<class...·SFArgs, | ||
| 93 | 97·disableCopyMove<CompositePreBasis,·SFArgs...>·=·0, | ||
| 94 | 98·enableIfConstructible<std::tuple<SPB...>,·SFArgs...>·=·0> | ||
| 95 | 99·CompositePreBasis(SFArgs&&...·sfArgs)·: | ||
| 96 | 100·subPreBases_(std::forward<SFArgs>(sfArgs)...) | ||
| 97 | 101·{ | ||
| 98 | 102·Hybrid::forEach(subPreBases_,·[&](const·auto&·subPreBasis){ | ||
| 99 | 103·static_assert(models<Concept::PreBasis<GridView>,·std::decay_t<decltype | ||
| 100 | (subPreBasis)>>(),·"Subprebases·passed·to·CompositePreBasis·does·not·model·the | ||
| 101 | PreBasis·concept."); | ||
| 102 | 104·}); | ||
| 103 | 105·} | ||
| 104 | 1 | 27 | 16 |
| 105 | 113·template<class·GV, | ||
| 106 | 114·std::enable_if_t<std::conjunction_v< | ||
| 107 | 115·std::bool_constant<(children·>·1)>,·//·Avoid·ambiguous·constructor·if | ||
| 108 | there's·only·one·child | ||
| 109 | 116·std::is_same<GV,·GridView>, | ||
| 110 | 117·std::is_constructible<SPB,·GridView>... | ||
| 111 | 118·>,·int>·=·0> | ||
| 112 | 119·CompositePreBasis(const·GV&·gv)·: | ||
| 113 | 120·subPreBases_(SPB(gv)...) | ||
| 114 | 121·{ | ||
| 115 | 122·Hybrid::forEach(subPreBases_,·[&](const·auto&·subPreBasis){ | ||
| 116 | 123·static_assert(models<Concept::PreBasis<GridView>,·std::decay_t<decltype | ||
| 117 | (subPreBasis)>>(),·"Subprebases·passed·to·CompositePreBasis·does·not·model·the | ||
| 118 | PreBasis·concept."); | ||
| 119 | 124·}); | ||
| 120 | 125·} | ||
| 121 | 126 | ||
| 122 | 128·void·initializeIndices() | ||
| 123 | 129·{ | ||
| 124 | 130·Hybrid::forEach(ChildIndices(),·[&](auto·i)·{ | ||
| 125 | 131·this->subPreBasis(i).initializeIndices(); | ||
| Max diff block lines reached; 5214/21492 bytes (24.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 60 lines modified | Offset 72, 54 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">subspacebasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 81 | </div><!--header--> |
| 83 | <div·class="contents"> | 82 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<dune/common/e | 83 | <div·class="textblock"><code>#include·<dune/common/reservedvector.hh></code><br·/> |
| 85 | <code>#include·<dune/ | 84 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 86 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
| 87 | <code>#include·<dune/localfunctions/rannacherturek.hh></code><br·/> | ||
| 88 | <code>#include·<dune/ | 85 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 86 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00185_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a0 | 88 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 92 | </div> | 89 | </div> |
| 93 | <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 94 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01787.html">Dune::Functions::RannacherTurekPreBasis<·GV·></a></td></tr> | ||
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·a·Rannacher-Turek·basis.··<a·href="a01787.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html">Dune::Functions::SubspaceBasis<·RB,·TP·></a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
| 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 104 | Namespaces</h2></td></tr> | 98 | Namespaces</h2></td></tr> |
| 105 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 99 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 101 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | </table><table·class="memberdecls"> | ||
| 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 113 | Typedefs</h2></td></tr> | ||
| 114 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"·id="r_ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
| 115 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga3ad2af46f38ffff87851eb5734df272d">Dune::Functions::RannacherTurekBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01787.html">RannacherTurekPreBasis</a><·GV·>·></td></tr> | ||
| 116 | <tr·class="memdesc:ga3ad2af46f38ffff87851eb5734df272d"><td·class="mdescLeft"> </td><td·class="mdescRight">Rannacher-Turek·basis.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 118 | </table><table·class="memberdecls"> | 103 | </table><table·class="memberdecls"> |
| 119 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 120 | Functions</h2></td></tr> | 105 | Functions</h2></td></tr> |
| 121 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"·id="r_ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplParams"·colspan="2">template<class·Dummy··=·void>·</td></tr> | ||
| 122 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga366449c1a41fc29ff55fed0c1485f60b">Dune::Functions::BasisFactory::rannacherTurek</a>·()</td></tr> | ||
| 123 | <tr·class="mem | 106 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"·id="r_a17589fdc18b015644525c7ad037e6441"><td·class="memTemplParams"·colspan="2">template<class·RB·,·class·TP·>·</td></tr> |
| 107 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a17589fdc18b015644525c7ad037e6441">Dune::Functions::SubspaceBasis</a>·(const·RB·&,·const·TP)·->·<a·class="el"·href="a01859.html">SubspaceBasis</a><·RB,·TP·></td></tr> | ||
| 108 | <tr·class="separator:a17589fdc18b015644525c7ad037e6441"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"·id="r_ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplParams"·colspan="2">template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·>·</td></tr> | ||
| 110 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae3d703ee72289b3936eb24255fc52694">Dune::Functions::SubspaceBasis</a>·(const·<a·class="el"·href="a01859.html">SubspaceBasis</a><·RootRootBasis,·InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·<a·class="el"·href="a01859.html">SubspaceBasis</a><·std::decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP,·OuterTP·>·></td></tr> | ||
| 124 | <tr·class="separator: | 111 | <tr·class="separator:ae3d703ee72289b3936eb24255fc52694"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"·id="r_a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
| 113 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a9effbb98da0e9104a60979fa734c1220">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath)</td></tr> | ||
| 114 | <tr·class="memdesc:a9effbb98da0e9104a60979fa734c1220"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01859.html">SubspaceBasis</a>·from·a·root·basis·and·a·prefixPath.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:a9effbb98da0e9104a60979fa734c1220"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 116 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"·id="r_abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
| 117 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#abb8781cf3fb98ca29446be66bcf65ac4">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·PrefixTreeIndices·&...·prefixTreeIndices)</td></tr> | ||
| 118 | <tr·class="separator:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 125 | </table> | 119 | </table> |
| 126 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
| 127 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
| 128 | <hr·class="footer"/><address·class="footer"><small> | 122 | <hr·class="footer"/><address·class="footer"><small> |
| 129 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 123 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 130 | </small></address> | 124 | </small></address> |
| 131 | </body> | 125 | </body> |
| Offset 1, 44 lines modified | Offset 1, 46 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|· | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | subspacebasis.hh·File·Reference | |
| 10 | #include·<dune/common/reservedvector.hh> | ||
| 11 | #include·<dune/common/typeutilities.hh> | ||
| 10 | #include·<dune/common/ | 12 | #include·<dune/common/concept.hh> |
| 11 | #include·<dune/grid/common/capabilities.hh> | ||
| 12 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 13 | #include·<dune/localfunctions/rannacherturek.hh> | ||
| 14 | #include·<dune/ | 13 | #include·<dune/functions/common/type_traits.hh> |
| 14 | #include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/ | 15 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 17 | Classes |
| 18 | class· ·Dune::Functions::SubspaceBasis<_RB,_TP_> | ||
| 20 | class· ·Dune::Functions::RannacherTurekPreBasis<_GV_> | ||
| 21 | ·······Pre-basis·for·a·Rannacher-Turek·basis.·More... | ||
| 22 | |||
| 23 | class· ·Dune::Functions::RannacherTurekNode<_GV_> | ||
| 24 | 19 | ||
| 25 | Namespaces | 20 | Namespaces |
| 26 | namespace· ·Dune | 21 | namespace· ·Dune |
| 27 | 22 | ||
| 28 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 29 | 24 | ||
| 30 | namespace· ·Dune::Functions::BasisFactory | ||
| 31 | |||
| 32 | Typedefs | ||
| 33 | template<typename·GV·> | ||
| 34 | using ·Dune::Functions::RannacherTurekBasis·=·DefaultGlobalBasis< | ||
| 35 | ·······RannacherTurekPreBasis<·GV·>·> | ||
| 36 | ······Rannacher-Turek·basis. | ||
| 37 | |||
| 38 | Functions | 25 | Functions |
| 39 | template<class·Dummy·=·void> | ||
| 40 | auto ·Dune::Functions::BasisFactory::rannacherTurek·() | ||
| 41 | 26 | template<class·RB·,·class·TP·> | |
| 27 | ···· ·Dune::Functions::SubspaceBasis·(const·RB·&,·const·TP)·->·SubspaceBasis< | ||
| 28 | ······RB,·TP·> | ||
| 29 | |||
| 30 | template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·> | ||
| 31 | ···· ·Dune::Functions::SubspaceBasis·(const·SubspaceBasis<·RootRootBasis, | ||
| 32 | ······InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std:: | ||
| 33 | ······decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP, | ||
| 34 | ······OuterTP·>·> | ||
| 35 | |||
| 36 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
| 37 | auto ·Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
| 38 | ······TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath) | ||
| 39 | ·····Create·SubspaceBasis·from·a·root·basis·and·a·prefixPath. | ||
| 40 | |||
| 41 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
| 42 | auto ·Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
| 43 | ······PrefixTreeIndices·&...·prefixTreeIndices) | ||
| 42 | 44 | ||
| 43 | =============================================================================== | 45 | =============================================================================== |
| 44 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 268 lines modified | Offset 74, 211 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">subspacebasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00170.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00170.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
| 92 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<d | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/rannacherturek.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00185.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 101 | <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/defaultglobalbasis.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 107 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
| 110 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Impl·{</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·Inner,·<span·class="keyword">class</span>...·Outer></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">auto</span>·joinTreePaths(<span·class="keyword">const</span>·TypeTree::HybridTreePath<Inner...>&·inner,·<span·class="keyword">const</span>·TypeTree::HybridTreePath<Outer...>·outer)</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div> |
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class=" | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat(inner._data,·outer._data));</div> |
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> |
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 117 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">using·</span>JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std::declval<InnerTP>(),·std::declval<OuterTP>()))>;</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>}</div> |
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword"> | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·TP></div> |
| 123 | <div·class=" | 123 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> |
| 124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01859.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01859.html">SubspaceBasis</a></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span> | 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
| 125 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> |
| 126 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
| 127 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01787.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01787.html">RannacherTurekPreBasis</a>·:</div> | ||
| 128 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
| 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB;</div> | ||
| 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
| 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01859.html#a00d424aa40e6c051f610a308317cc57e">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·<span·class="keyword">typename</span>·RootBasis::LocalView;</div> | ||
| 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01859.html#a5dcb19c46539c51ce32a6fdc55738387">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>·=·TP;</div> | ||
| 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01859.html#a6e7dd708494382dad7cc288ce6cfe6b8">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>·=·<span·class="keyword">typename</span>·RootBasis::GridView;</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01859.html#acb8fddcafde83205b67e57926c84ace5">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#acb8fddcafde83205b67e57926c84ace5">MultiIndex</a>·=·<span·class="keyword">typename</span>·RootBasis::MultiIndex;</div> | ||
| 137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01859.html#ad328a135f42bb2a6b9bf60983f61f254">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·=·std::size_t;</div> | ||
| 129 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span> | 139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
| 130 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01859.html#a616eaadc3d1d8706041ab1b0d03510bc">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01863.html">LocalView</a>·=·<a·class="code·hl_class"·href="[·...·truncated·by·diffoscope;·len:·67,·SHA:·17636c30f941e44d0356d842c1d5b58a879a551aaa7815dfe3ecf2eac7595905·...·];</div> |
| 131 | <div·class="line"><a·id="l0006 | 141 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 132 | <div·class="line"><a·id="l0006 | 142 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01859.html#a330b42b7087eca7afb92ec40eba36440">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a330b42b7087eca7afb92ec40eba36440">SizePrefix</[·...·truncated·by·diffoscope;·len:·65,·SHA:·ef1f3df13abe99cc99e8bc14be63bfc84c0c1a88c3c3eb7b848cb70d55fe8ea8·...·]</div> |
| 133 | <div·class="line"><a·id="l0006 | 143 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">GridView</a>·=·GV;</div> | ||
| 135 | <div·class="line"><a·id="l0006 | 144 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
| 136 | <div·class=" | 145 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> |
| 146 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01859.html#aee8689dac160442b891bc738c55c1087">···66</a></span>··<a·class="code·hl_function"·href="a01859.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>&·<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01859.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>&·<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
| 147 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<a·class="code·hl_variable"·href="a01859.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>(&<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>),</div> | ||
| 148 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<a·class="code·hl_variable"·href="a01859.html#ab3509a847b8dfb33032f14ca666c13bb">prefixPath_</a>(<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)</div> | ||
| 137 | <div·class="line"><a·id="l0006 | 149 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{}</div> |
| 138 | < | 150 | </div> |
| 139 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 152 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RootRootBasis,·<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> | ||
| 140 | <div·class="foldopen"·id="foldopen0007 | 153 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> |
| 154 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01859.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">···77</a></span>··<a·class="code·hl_function"·href="a01859.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01859.html">SubspaceBasis<RootRootBasis,·InnerTP></a>&·<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·OuterTP&·<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
| 155 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<a·class="code·hl_class"·href="a01859.html">SubspaceBasis</a>(<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>(),·Impl::joinTreePaths(<a·class="code·hl_function"·href="a01859.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>(),·<a·class="code·hl_function"·href="a01859.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>))</div> | ||
| 141 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01787.html#a84b73fe9692fdf3c6b10889d79c950eb">···73</a></span>··<a·class="code·hl_function"·href="a01787.html#a84b73fe9692fdf3c6b10889d79c950eb">RannacherTurekPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01787.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)·:</div> | ||
| 142 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_variable"·href="a01787.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>(gv)</div> | ||
| 143 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{</div> | ||
| 144 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·type·:·gv.indexSet().types(0))</div> | ||
| 145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="keywordflow">if</span>·(!type.isSimplex()·&&·!type.isCube())</div> | ||
| 146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Rannacher-Turek·or·Crouzeix-Raviart·elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."</span>);</div> | ||
| 147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}</div> | 156 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··{}</div> |
| 148 | </div> | 157 | </div> |
| 149 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 158 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
| 159 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
| 150 | <div·class="foldopen"·id="foldopen0008 | 160 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> |
| 161 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01859.html#a8ce8499d3a9117e5138f1ba231a80fcf">···84</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01859.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>&·<a·class="code·hl_function"·href="a01859.html#a8ce8499d3a9117e5138f1ba231a80fcf">gridView</a>()<span·class="keyword">·const</span></div> | ||
| Max diff block lines reached; 54396/81540 bytes (66.71%) of diff not shown. | |||
| Offset 1, 317 lines modified | Offset 1, 249 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | subspacebasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/reservedvector.hh> | ||
| 22 | 11#include·<dune/common/typeutilities.hh> | ||
| 21 | 1 | 23 | 12#include·<dune/common/concept.hh> |
| 22 | 11 | ||
| 23 | 12#include·<dune/grid/common/capabilities.hh> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
| 26 | 15#include·<dune/localfunctions/rannacherturek.hh> | ||
| 27 | 1 | 25 | 14#include·<dune/functions/common/type_traits.hh> |
| 26 | 15#include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
| 27 | 16#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 28 | 17 | 28 | 17 |
| 29 | 18#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 30 | 19#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 31 | 20#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 32 | 29 | 18 | |
| 30 | 19 | ||
| 31 | 20namespace·Dune·{ | ||
| 32 | 21namespace·Functions·{ | ||
| 33 | 22 | 33 | 22 |
| 34 | 23namespace·Dune·{ | ||
| 35 | 24namespace·Functions·{ | ||
| 36 | 2 | 34 | 23 |
| 35 | 24 | ||
| 36 | 25namespace·Impl·{ | ||
| 37 | 26 | 37 | 26 |
| 38 | /·***************************************************************************** | ||
| 39 | 27//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 40 | 28// | ||
| 41 | 29//·RannacherTurekPreBasis | ||
| 42 | 30//·RannacherTurekNode | ||
| 43 | 31// | ||
| 44 | 32//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 45 | shared | ||
| 46 | 33//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 47 | 38 | 27·template<class...·Inner,·class...·Outer> | |
| 39 | 28·auto·joinTreePaths(const·TypeTree::HybridTreePath<Inner...>&·inner,·const | ||
| 40 | TypeTree::HybridTreePath<Outer...>·outer) | ||
| 41 | 29·{ | ||
| 42 | 30·return·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat(inner._ | ||
| 43 | data,·outer._data)); | ||
| 44 | 31·} | ||
| 45 | 32 | ||
| 46 | 33·template<class·InnerTP,·class·OuterTP> | ||
| 47 | 34·using·JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std:: | ||
| 48 | declval<InnerTP>(),·std::declval<OuterTP>()))>; | ||
| 48 | 35 | 49 | 35 |
| 49 | /·***************************************************************************** | ||
| 50 | 36 | 50 | 36} |
| 51 | 37template<typename·GV> | ||
| 52 | 3 | 51 | 37 |
| 52 | 38 | ||
| 53 | 39 | 53 | 39 |
| 54 | 40template<typename·GV> | ||
| 55 | 4 | 54 | 40template<class·RB,·class·TP> |
| 55 | 41class·SubspaceBasis | ||
| 56 | 42 | 56 | 42{ |
| 57 | 55template<typename·GV> | ||
| 58 | 56class·RannacherTurekPreBasis·: | ||
| 59 | 57·public·LeafPreBasisMixin<·RannacherTurekPreBasis<GV>·> | ||
| 60 | 58{ | ||
| 61 | 59·static·const·int·dim·=·GV::dimension; | ||
| 62 | 60 | ||
| 63 | 57 | 43public: | |
| 64 | 62 | ||
| 65 | 64·using·GridView·=·GV; | ||
| 66 | 58 | 44 | |
| 59 | 45·using·RootBasis·=·RB; | ||
| 60 | 46 | ||
| 61 | 47·using·RootLocalView·=·typename·RootBasis::LocalView; | ||
| 62 | 48 | ||
| 63 | 49·using·PrefixPath·=·TP; | ||
| 64 | 50 | ||
| 65 | 52·using·GridView·=·typename·RootBasis::GridView; | ||
| 66 | 53 | ||
| 67 | 55·using·MultiIndex·=·typename·RootBasis::MultiIndex; | ||
| 68 | 56 | ||
| 67 | 69 | 57·using·size_type·=·std::size_t; | |
| 68 | 68 | ||
| 69 | 70·using·Node·=·RannacherTurekNode<GV>; | ||
| 70 | 71 | ||
| 71 | 73·RannacherTurekPreBasis(const·GridView&·gv)·: | ||
| 72 | 74·gridView_(gv) | ||
| 73 | 75·{ | ||
| 74 | 76·for(auto·type·:·gv.indexSet().types(0)) | ||
| 75 | 77·if·(!type.isSimplex()·&&·!type.isCube()) | ||
| 76 | 78·DUNE_THROW(Dune::NotImplemented,·"Rannacher-Turek·or·Crouzeix-Raviart | ||
| 77 | 70 | 58 | |
| 71 | 60·using·LocalView·=·SubspaceLocalView<RootLocalView,_PrefixPath>; | ||
| 72 | 61 | ||
| 73 | 62·using·SizePrefix·=·typename·RootBasis::SizePrefix; | ||
| 74 | 63 | ||
| 75 | 64 | ||
| 76 | 66·SubspaceBasis(const·RootBasis&·rootBasis,·const·PrefixPath&·prefixPath)·: | ||
| 77 | 67·rootBasis_(&rootBasis), | ||
| 78 | 68·prefixPath_(prefixPath) | ||
| 79 | 69·{} | ||
| 80 | 70 | ||
| 81 | 76·template<class·RootRootBasis,·class·InnerTP,·class·OuterTP> | ||
| 82 | 77·SubspaceBasis(const·SubspaceBasis<RootRootBasis,_InnerTP>&·rootBasis,·const | ||
| 83 | OuterTP&·prefixPath)·: | ||
| 84 | 78·SubspaceBasis(rootBasis.rootBasis(),·Impl::joinTreePaths | ||
| 85 | (rootBasis.prefixPath(),·prefixPath)) | ||
| 78 | 79·} | 86 | 79·{} |
| 79 | 80 | 87 | 80 |
| 88 | 81 | ||
| 80 | 82·void·initializeIndices() | ||
| Max diff block lines reached; 12059/16640 bytes (72.47%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·subentitydofs.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 96 lines modified | Offset 72, 51 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">subentitydofs.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 81 | </div><!--header--> |
| 83 | <div·class="contents"> | 82 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<vector></code><br·/> |
| 84 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 85 | <code>#include·<cassert></code><br·/> | ||
| 86 | <code>#include·<functional></code><br·/> | ||
| 87 | <code>#include·<type | 85 | <code>#include·<dune/typetree/traversal.hh></code><br·/> |
| 88 | <code>#include·<vector></code><br·/> | ||
| 89 | <code>#include·<dune/common/filledarray.hh></code><br·/> | ||
| 90 | <code>#include·<dune/common/tuplevector.hh></code><br·/> | ||
| 91 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 94 | </div> | 86 | </div> |
| 95 | <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 96 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 98 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01543.html">Dune::Functions::ContainerDescriptors::Unknown</a></td></tr> | ||
| 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Fallback·container·descriptor·if·nothing·else·fits.··<a·href="a01543.html#details">More...</a><br·/></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01547.html">Dune::Functions::ContainerDescriptors::Value</a></td></tr> | ||
| 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·node·in·the·descriptor·tree·representing·a·value·placeholder.··<a·href="a01547.html#details">More...</a><br·/></td></tr> | ||
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01855.html">Dune::Functions::SubEntityDOFs<·GridView·></a></td></tr> |
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·arrays·with·all·children·identical·and·the·number·of·children·a·static·size.··<a·href="a01551.html#details">More...</a><br·/></td></tr> | ||
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html">Dune::Functions::ContainerDescriptors::UniformVector<·Child·></a></td></tr> | ||
| 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·DOFs·associated·to·sub-entity.··<a·href="a01855.html#details">More...</a><br·/></td></tr> |
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
| 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 113 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
| 114 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 116 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 118 | <tr·class="memitem:a00233"·id="r_a00233"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00233.html">Dune::Functions::ContainerDescriptors</a></td></tr> | ||
| 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | </table><table·class="memberdecls"> | ||
| 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 122 | Typedefs</h2></td></tr> | ||
| 123 | <tr·class="memitem:a1ed8246dfececd186115eeb0f7af27e6"·id="r_a1ed8246dfececd186115eeb0f7af27e6"><td·class="memTemplParams"·colspan="2">template<class...·Children>·</td></tr> | ||
| 124 | <tr·class="memitem:a1ed8246dfececd186115eeb0f7af27e6"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a1ed8246dfececd186115eeb0f7af27e6">Dune::Functions::ContainerDescriptors::Tuple</a>·=·Dune::TupleVector<·Children...·></td></tr> | ||
| 125 | <tr·class="memdesc:a1ed8246dfececd186115eeb0f7af27e6"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·with·all·children·of·possibly·different·type.··<br·/></td></tr> | ||
| 126 | <tr·class="separator:a1ed8246dfececd186115eeb0f7af27e6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 127 | <tr·class="memitem:a0d0ac15386d1828a57fce563b4aa4b53"·id="r_a0d0ac15386d1828a57fce563b4aa4b53"><td·class="memTemplParams"·colspan="2">template<class·Child·,·std::size_t·n>·</td></tr> | ||
| 128 | <tr·class="memitem:a0d0ac15386d1828a57fce563b4aa4b53"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a0d0ac15386d1828a57fce563b4aa4b53">Dune::Functions::ContainerDescriptors::Array</a>·=·std::array<·Child,·n·></td></tr> | ||
| 129 | <tr·class="memdesc:a0d0ac15386d1828a57fce563b4aa4b53"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·arrays·with·all·children·of·the·same·type·and·static·size.··<br·/></td></tr> | ||
| 130 | <tr·class="separator:a0d0ac15386d1828a57fce563b4aa4b53"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 131 | <tr·class="memitem:afa691799821f8c6c6de835ef2b074f8f"·id="r_afa691799821f8c6c6de835ef2b074f8f"><td·class="memTemplParams"·colspan="2">template<class·Child·>·</td></tr> | ||
| 132 | <tr·class="memitem:afa691799821f8c6c6de835ef2b074f8f"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#afa691799821f8c6c6de835ef2b074f8f">Dune::Functions::ContainerDescriptors::Vector</a>·=·std::vector<·Child·></td></tr> | ||
| 133 | <tr·class="memdesc:afa691799821f8c6c6de835ef2b074f8f"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·vectors·with·all·children·of·the·same·type·and·dynamic·size.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:afa691799821f8c6c6de835ef2b074f8f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 135 | <tr·class="memitem:a1c8fa32a898b1a06e13a9ff7f1329a43"·id="r_a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="memTemplParams"·colspan="2">template<std::size_t·n>·</td></tr> | ||
| 136 | <tr·class="memitem:a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a1c8fa32a898b1a06e13a9ff7f1329a43">Dune::Functions::ContainerDescriptors::FlatArray</a>·=·<a·class="el"·href="a01551.html">UniformArray</a><·<a·class="el"·href="a01547.html">Value</a>,·n·></td></tr> | ||
| 137 | <tr·class="memdesc:a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="mdescLeft"> </td><td·class="mdescRight">Alias·for·a·uniform·array·storing·value·placeholders.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:a1c8fa32a898b1a06e13a9ff7f1329a43"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 139 | <tr·class="memitem:af1aa15dfea314222ec036219d8f65896"·id="r_af1aa15dfea314222ec036219d8f65896"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00233.html#af1aa15dfea314222ec036219d8f65896">Dune::Functions::ContainerDescriptors::FlatVector</a>·=·<a·class="el"·href="a01555.html">UniformVector</a><·<a·class="el"·href="a01547.html">Value</a>·></td></tr> | ||
| 140 | <tr·class="memdesc:af1aa15dfea314222ec036219d8f65896"><td·class="mdescLeft"> </td><td·class="mdescRight">Alias·for·a·uniform·vector·storing·value·placeholders.··<br·/></td></tr> | ||
| 141 | <tr·class="separator:af1aa15dfea314222ec036219d8f65896"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 142 | </table><table·class="memberdecls"> | 101 | </table><table·class="memberdecls"> |
| 143 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 144 | Functions</h2></td></tr> | 103 | Functions</h2></td></tr> |
| 104 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"·id="r_ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
| 105 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga0b9da94fff21e98877d0e3fe1c1554c7">Dune::Functions::subEntityDOFs</a>·(const·T·&)</td></tr> | ||
| 106 | <tr·class="memdesc:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 145 | <tr·class="memitem:a5aa100c5225a3709fbb096dc9c73d63f"·id="r_a5aa100c5225a3709fbb096dc9c73d63f"><td·class="memTemplParams"·colspan="2">template<class·PreBasis·>·</td></tr> | ||
| 146 | <tr·class="memitem:a5aa100c5225a3709fbb096dc9c73d63f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a5aa100c5225a3709fbb096dc9c73d63f">Dune::Functions::containerDescriptor</a>·(const·PreBasis·&preBasis)</td></tr> | ||
| 147 | <tr·class="memdesc:a5aa100c5225a3709fbb096dc9c73d63f"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·the·container·descriptor·of·the·pre-basis,·if·defined,·otherwise·ContainerDescriptor::Unknown.··<br·/></td></tr> | ||
| 148 | <tr·class="separator:a5aa100c5225a3709fbb096dc9c73d63f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 149 | <tr·class="memitem:a92f91149b73e70dbdf2f5270f967a539"·id="r_a92f91149b73e70dbdf2f5270f967a539"><td·class="memTemplParams"·colspan="2">template<class·Child0·,·class...·Children,·std::enable_if_t<(std::is_same_v<·Child0,·Children·>·&&...),·int·>··=·0>·</td></tr> | ||
| 150 | <tr·class="memitem:a92f91149b73e70dbdf2f5270f967a539"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a92f91149b73e70dbdf2f5270f967a539">Dune::Functions::ContainerDescriptors::makeDescriptor</a>·(Child0·child,·Children...·children)</td></tr> | ||
| 151 | <tr·class="memdesc:a92f91149b73e70dbdf2f5270f967a539"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·descriptor·in·case·the·children·are·all·of·the·same·type.··<br·/></td></tr> | ||
| 152 | <tr·class="separator: | 107 | <tr·class="separator:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"·id="r_ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> | ||
| 109 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga5803226b1ed4bf848a9532181c952244">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | ||
| 110 | <tr·class="memdesc:ga5803226b1ed4bf848a9532181c952244"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 153 | <tr·class="memitem:a1cc8d924fe714e87c0318540d14ca61d"·id="r_a1cc8d924fe714e87c0318540d14ca61d"><td·class="memTemplParams"·colspan="2">template<class·Child·,·std::size_t·n>·</td></tr> | ||
| 154 | <tr·class="memitem:a1cc8d924fe714e87c0318540d14ca61d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a1cc8d924fe714e87c0318540d14ca61d">Dune::Functions::ContainerDescriptors::makeUniformDescriptor</a>·(std::integral_constant<·std::size_t,·n·>,·Child·child)</td></tr> | ||
| 155 | <tr·class="memdesc:a1cc8d924fe714e87c0318540d14ca61d"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·uniform·descriptor·in·case·the·size·is·a·static·constant.··<br·/></td></tr> | ||
| 156 | <tr·class="separator:a1cc8d924fe714e87c0318540d14ca61d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 157 | <tr·class="memitem:af5f9aa0c6bf206da1efb563cc39f477f"·id="r_af5f9aa0c6bf206da1efb563cc39f477f"><td·class="memTemplParams"·colspan="2">template<class·Child·>·</td></tr> | ||
| 158 | <tr·class="memitem:af5f9aa0c6bf206da1efb563cc39f477f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00233.html#af5f9aa0c6bf206da1efb563cc39f477f">Dune::Functions::ContainerDescriptors::makeUniformDescriptor</a>·(std::size_t·n,·Child·child)</td></tr> | ||
| 159 | <tr·class="memdesc:af5f9aa0c6bf206da1efb563cc39f477f"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·uniform·descriptor·in·case·the·size·is·a·dynamic·value.··<br·/></td></tr> | ||
| 160 | <tr·class="separator: | 111 | <tr·class="separator:ga5803226b1ed4bf848a9532181c952244"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"·id="r_ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplParams"·colspan="2">template<class·LocalView·,·class·Intersection·>·</td></tr> | ||
| 113 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#ga09ad7987f85909bfcf269a0de9c652d8">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·const·Intersection·&intersection)</td></tr> | ||
| 114 | <tr·class="memdesc:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<br·/></td></tr> | ||
| 115 | <tr·class="separator:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 161 | </table> | 116 | </table> |
| 162 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
| 163 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
| 164 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
| 165 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 166 | </small></address> | 121 | </small></address> |
| 167 | </body> | 122 | </body> |
| Offset 1, 91 lines modified | Offset 1, 39 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|· | 8 | Classes·|·Namespaces·|·Functions |
| 9 | subentitydofs.hh·File·Reference | ||
| 9 | containerdescriptors.hh·File·Reference | ||
| 10 | #include·<array> | ||
| 11 | #include·<cassert> | ||
| 12 | #include·<functional> | ||
| 13 | #include·<type_traits> | ||
| 14 | #include·<vector> | 10 | #include·<vector> |
| 11 | #include·<dune/geometry/referenceelements.hh> | ||
| 12 | #include·<dune/typetree/traversal.hh> | ||
| 15 | #include·<dune/common/filledarray.hh> | ||
| 16 | #include·<dune/common/tuplevector.hh> | ||
| 17 | #include·<dune/common/typeutilities.hh> | ||
| 18 | #include·<dune/functions/common/type_traits.hh> | ||
| 19 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 20 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
| 21 | Classes | 14 | Classes |
| 15 | class· ·Dune::Functions::SubEntityDOFs<_GridView_> | ||
| 16 | ·······Range·of·DOFs·associated·to·sub-entity.·More... | ||
| 22 | struct· ·Dune::Functions::ContainerDescriptors::Unknown | ||
| 23 | ········Fallback·container·descriptor·if·nothing·else·fits.·More... | ||
| 24 | |||
| 25 | struct· ·Dune::Functions::ContainerDescriptors::Value | ||
| 26 | ········The·node·in·the·descriptor·tree·representing·a·value·placeholder. | ||
| 27 | ·········More... | ||
| 28 | |||
| 29 | struct· ·Dune::Functions::ContainerDescriptors::UniformArray<_Child,_n_> | ||
| 30 | ········Descriptor·for·arrays·with·all·children·identical·and·the·number·of | ||
| 31 | ·········children·a·static·size.·More... | ||
| 32 | |||
| 33 | struct· ·Dune::Functions::ContainerDescriptors::UniformVector<_Child_> | ||
| 34 | ········Uniform·descriptor·with·dynamic·size.·More... | ||
| 35 | 17 | ||
| 36 | Namespaces | 18 | Namespaces |
| 37 | namespace· ·Dune | 19 | namespace· ·Dune |
| 38 | 20 | ||
| 39 | namespace· ·Dune::Functions | 21 | namespace· ·Dune::Functions |
| 40 | 22 | ||
| 41 | namespace· ·Dune::Functions::ContainerDescriptors | ||
| 42 | |||
| 43 | Typedefs | ||
| 44 | template<class...·Children> | ||
| 45 | using ·Dune::Functions::ContainerDescriptors::Tuple·=·Dune::TupleVector< | ||
| 46 | ·······Children...·> | ||
| 47 | ······Descriptor·with·all·children·of·possibly·different·type. | ||
| 48 | |||
| 49 | template<class·Child·,·std::size_t·n> | ||
| 50 | using ·Dune::Functions::ContainerDescriptors::Array·=·std::array<·Child,·n·> | ||
| 51 | ······Descriptor·for·arrays·with·all·children·of·the·same·type·and·static | ||
| 52 | ·······size. | ||
| 53 | |||
| 54 | template<class·Child·> | ||
| 55 | using ·Dune::Functions::ContainerDescriptors::Vector·=·std::vector<·Child·> | ||
| 56 | ······Descriptor·for·vectors·with·all·children·of·the·same·type·and·dynamic | ||
| 57 | ·······size. | ||
| 58 | |||
| 59 | template<std::size_t·n> | ||
| 60 | using ·Dune::Functions::ContainerDescriptors::FlatArray·=·UniformArray<·Value, | ||
| 61 | ·······n·> | ||
| 62 | ······Alias·for·a·uniform·array·storing·value·placeholders. | ||
| 63 | |||
| 64 | using ·Dune::Functions::ContainerDescriptors::FlatVector·=·UniformVector<·Value | ||
| 65 | ·······> | ||
| 66 | ······Alias·for·a·uniform·vector·storing·value·placeholders. | ||
| 67 | |||
| 68 | Functions | 23 | Functions |
| 69 | template<class· | 24 | template<class·T·> |
| 25 | auto ·Dune::Functions::subEntityDOFs·(const·T·&) | ||
| 26 | ·····Create·SubEntityDOFs·object. | ||
| 70 | auto ·Dune::Functions::containerDescriptor·(const·PreBasis·&preBasis) | ||
| 71 | ·····Return·the·container·descriptor·of·the·pre-basis,·if·defined,·otherwise | ||
| 72 | ······ContainerDescriptor::Unknown. | ||
| 73 | 27 | ||
| 28 | template<class·LocalView·> | ||
| 29 | auto ·Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·std::size_ | ||
| 30 | ······t·subEntityIndex,·std::size_t·subEntityCodim) | ||
| 31 | ·····Create·bound·SubEntityDOFs·object. | ||
| 74 | template<class·Child0·,·class...·Children,·std::enable_if_t<(std::is_same_v< | ||
| 75 | Child0,·Children·>·&&...),·int·>·=·0> | ||
| 76 | auto ·Dune::Functions::ContainerDescriptors::makeDescriptor·(Child0·child, | ||
| 77 | ······Children...·children) | ||
| 78 | ·····Generate·a·descriptor·in·case·the·children·are·all·of·the·same·type. | ||
| 79 | 32 | ||
| 33 | template<class·LocalView·,·class·Intersection·> | ||
| 34 | auto ·Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·const | ||
| 35 | ······Intersection·&intersection) | ||
| 36 | ·····Create·bound·SubEntityDOFs·object. | ||
| 80 | template<class·Child·,·std::size_t·n> | ||
| 81 | auto ·Dune::Functions::ContainerDescriptors::makeUniformDescriptor·(std:: | ||
| 82 | ······integral_constant<·std::size_t,·n·>,·Child·child) | ||
| 83 | ·····Generate·a·uniform·descriptor·in·case·the·size·is·a·static·constant. | ||
| 84 | |||
| 85 | template<class·Child·> | ||
| 86 | auto ·Dune::Functions::ContainerDescriptors::makeUniformDescriptor·(std::size_ | ||
| 87 | ······t·n,·Child·child) | ||
| 88 | ·····Generate·a·uniform·descriptor·in·case·the·size·is·a·dynamic·value. | ||
| 89 | 37 | ||
| 90 | =============================================================================== | 38 | =============================================================================== |
| 91 | ·····Generated·by [doxygen]·1.9.8 | 39 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·subentitydofs.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 299 lines modified | Offset 74, 174 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">subentitydofs.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> | ||
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<cassert></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<functional></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<vector></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/filledarray.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> | ||
| 100 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00113.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 105 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View></div> | ||
| 106 | <div·class="foldopen"·id="foldopen0004 | 105 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
| 107 | <div·class="line"><a·id="l0004 | 106 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01855.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01855.html">SubEntityDOFs</a></div> |
| 107 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> | ||
| 108 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GridView::dimension;</div> | ||
| 108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 109 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
| 109 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> |
| 110 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
| 111 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·end·namespace·ContainerDescriptors</span></div> | ||
| 112 | </div> | ||
| 113 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 116 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView></div> |
| 117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">auto</span>·containerDescriptorImpl(<span·class="keyword">const</span>·PreBasis&·preBasis,·Dune::PriorityTag<1>)</div> | ||
| 118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··->·<span·class="keyword">decltype</span>(preBasis.containerDescriptor())</div> | ||
| 119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> | ||
| 120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordflow">return</span>·preBasis.containerDescriptor();</div> | ||
| 121 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}</div> | ||
| 122 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
| 123 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PreBasis></div> | ||
| 124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">auto</span>·containerDescriptorImpl(<span·class="keyword">const</span>·PreBasis&·preBasis,·Dune::PriorityTag<0>)</div> | ||
| 125 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>{</div> | ||
| 126 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·ContainerDescriptors::Unknown{};</div> | ||
| 127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}</div> | ||
| 128 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}·<span·class="comment">//·end·namespace·Impl</span></div> | ||
| 130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 131 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PreBasis></div> | ||
| 132 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
| 133 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00225.html#a5aa100c5225a3709fbb096dc9c73d63f">···73</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00225.html#a5aa100c5225a3709fbb096dc9c73d63f">containerDescriptor</a>(<span·class="keyword">const</span>·PreBasis&·preBasis)</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="keywordflow">return</span>·Impl::containerDescriptorImpl(preBasis,·Dune::PriorityTag<2>{});</div> | ||
| 136 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}</div> | ||
| 137 | </div> | ||
| 138 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">namespace·</span>ContainerDescriptors·{</div> | ||
| 141 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 142 | <div·class="foldopen"·id="foldopen000 | 113 | <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}"> |
| 143 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01855.html#acac48052c1a9079f779b64e68ce52e82">···68</a></span>··<a·class="code·hl_class"·href="a01855.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a01855.html#acac48052c1a9[·...·truncated·by·diffoscope;·len:·147,·SHA:·9598bda4b20f6006d675b509d45232597665c568118f5de171da233386ea5d7b·...·]</div> |
| 115 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{</div> | ||
| 116 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity</span></div> | ||
| 117 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····containedDOFs_.clear();</div> | ||
| 118 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····dofIsContained_.assign(localView.size(),·<span·class="keyword">false</span>);</div> | ||
| 119 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 120 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">auto</span>·re·=·Dune::referenceElement<double,dim>(localView.element().type());</div> | ||
| 121 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
| 122 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](<span·class="keyword">auto</span>&&·node,·<span·class="keyword">auto</span>&&·<span·class="comment">/*treePath*/</span>)·{</div> | ||
| 123 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······const·auto&·localCoefficients·=·node.finiteElement().localCoefficients();</div> | ||
| 124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······std::size_t·localSize·=·localCoefficients.size();</div> | ||
| 125 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······for(std::size_t·i=0;·i<localSize;·++i)</div> | ||
| 126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······{</div> | ||
| 127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········auto·localKey·=·localCoefficients.localKey(i);</div> | ||
| 128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim()).contains(localKey.subEntity()))</div> | ||
| 144 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> | 129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········{</div> |
| 145 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Index></div> | ||
| 146 | <div·class="line"><a·id="l0008 | 130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········containedDOFs_.push_back(node.localIndex(i));</div> |
| 131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··········dofIsContained_[node.localIndex(i)]·=·true;</div> | ||
| 132 | <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>·</div> | 133 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······}</div> |
| 148 | <div·class="line"><a·id="l0008 | 134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····});</div> |
| 135 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
| 149 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span> | 136 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··}</div> |
| 150 | </div> | 137 | </div> |
| 151 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | 138 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
| 139 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView,·<span·class="keyword">class</span>·Intersection></div> | ||
| 140 | <div·class="foldopen"·id="foldopen00108"·data-start="{"·data-end="}"> | ||
| 141 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01855.html#a263bb19c72865bbad450b3c21ba6ad23">··108</a></span>··<a·class="code·hl_class"·href="a01855.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a01855.html#a263bb19c72865bbad450b3c21ba6ad23">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·<span·class="keyword">const</span>·Intersection&·intersection)</div> | ||
| 152 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">template</span><<span·class="keyword">class</span>...·Children></div> | ||
| 153 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00233.html#a1ed8246dfececd186115eeb0f7af27e6">···94</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00233.html#a1ed8246dfececd186115eeb0f7af27e6">Tuple</a>·=·Dune::TupleVector<Children...>;</div> | ||
| 154 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
| Max diff block lines reached; 42607/72357 bytes (58.88%) of diff not shown. | |||
| Offset 1, 335 lines modified | Offset 1, 180 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | subentitydofs.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<array> | ||
| 22 | 11#include·<cassert> | ||
| 23 | 12#include·<functional> | ||
| 24 | 13#include·<type_traits> | ||
| 25 | 1 | 21 | 10#include·<vector> |
| 22 | 11 | ||
| 23 | 12#include·<dune/geometry/referenceelements.hh> | ||
| 24 | 13#include·<dune/typetree/traversal.hh> | ||
| 25 | 14 | ||
| 26 | 15 | 26 | 15 |
| 27 | 16#include·<dune/common/filledarray.hh> | ||
| 28 | 17#include·<dune/common/tuplevector.hh> | ||
| 29 | 1 | 27 | 16 |
| 28 | 17namespace·Dune·{ | ||
| 29 | 18namespace·Functions·{ | ||
| 30 | 19 | 30 | 19 |
| 31 | 20#include·<dune/functions/common/type_traits.hh> | ||
| 32 | 21#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 33 | 22 | ||
| 34 | 46namespace·Dune::Functions·{ | ||
| 35 | 31 | 20 | |
| 32 | 21 | ||
| 33 | 44template<class·GridView> | ||
| 34 | 45class·SubEntityDOFs | ||
| 35 | 46{ | ||
| 36 | 47·static·const·int·dim·=·GridView::dimension; | ||
| 36 | 48 | 37 | 48 |
| 38 | 49public: | ||
| 39 | 50 | ||
| 40 | 67·template<class·LocalView> | ||
| 41 | 68·SubEntityDOFs&·bind(const·LocalView&·localView,·std::size_t·subEntityIndex, | ||
| 42 | std::size_t·subEntityCodim) | ||
| 43 | 69·{ | ||
| 44 | 70·//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity | ||
| 45 | 71·containedDOFs_.clear(); | ||
| 46 | 72·dofIsContained_.assign(localView.size(),·false); | ||
| 47 | 73 | ||
| 48 | 74·auto·re·=·Dune::referenceElement<double,dim>(localView.element().type()); | ||
| 49 | 75 | ||
| 50 | 76·Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](auto&&·node,·auto&&·/ | ||
| 51 | *treePath*/)·{ | ||
| 52 | 77·const·auto&·localCoefficients·=·node.finiteElement().localCoefficients(); | ||
| 53 | 78·std::size_t·localSize·=·localCoefficients.size(); | ||
| 54 | 79·for(std::size_t·i=0;·i<localSize;·++i) | ||
| 55 | 80·{ | ||
| 56 | 81·auto·localKey·=·localCoefficients.localKey(i); | ||
| 57 | 82·if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim | ||
| 58 | ()).contains(localKey.subEntity())) | ||
| 37 | 50struct·Unknown·{}; | ||
| 38 | 51 | ||
| 39 | 52}·//·end·namespace·ContainerDescriptors | ||
| 40 | 53 | ||
| 41 | 54namespace·Impl·{ | ||
| 42 | 55 | ||
| 43 | 56template<class·PreBasis> | ||
| 44 | 57auto·containerDescriptorImpl(const·PreBasis&·preBasis,·Dune::PriorityTag<1>) | ||
| 45 | 58·->·decltype(preBasis.containerDescriptor()) | ||
| 46 | 59{ | ||
| 47 | 60·return·preBasis.containerDescriptor(); | ||
| 48 | 61} | ||
| 49 | 62 | ||
| 50 | 63template<class·PreBasis> | ||
| 51 | 64auto·containerDescriptorImpl(const·PreBasis&·preBasis,·Dune::PriorityTag<0>) | ||
| 52 | 65{ | ||
| 53 | 66·return·ContainerDescriptors::Unknown{}; | ||
| 54 | 67} | ||
| 55 | 68 | ||
| 56 | 69}·//·end·namespace·Impl | ||
| 57 | 70 | ||
| 58 | 72template<class·PreBasis> | ||
| 59 | 73auto·containerDescriptor(const·PreBasis&·preBasis) | ||
| 60 | 74{ | ||
| 61 | 75·return·Impl::containerDescriptorImpl(preBasis,·Dune::PriorityTag<2>{}); | ||
| 62 | 76} | ||
| 63 | 77 | ||
| 64 | 78 | ||
| 65 | 79namespace·ContainerDescriptors·{ | ||
| 66 | 80 | ||
| 67 | 82struct·Value | ||
| 68 | 83{ | 59 | 83·{ |
| 69 | 85·template<class·Index> | ||
| 70 | 86·Value·operator[]_(const·Index&)·const·{·return·{};·} | ||
| 71 | 87 | ||
| 72 | 8 | 60 | 84·containedDOFs_.push_back(node.localIndex(i)); |
| 61 | 85·dofIsContained_[node.localIndex(i)]·=·true; | ||
| 62 | 86·} | ||
| 63 | 87·} | ||
| 64 | 88·}); | ||
| 65 | 89·return·*this; | ||
| 73 | 90 | 66 | 90·} |
| 74 | 91 | 67 | 91 |
| 68 | 107·template<class·LocalView,·class·Intersection> | ||
| 69 | 108·SubEntityDOFs&·bind(const·LocalView&·localView,·const·Intersection& | ||
| 70 | intersection) | ||
| 71 | 109·{ | ||
| 72 | 110·return·bind(localView,·intersection.indexInInside(),·1); | ||
| 75 | 93template<class...·Children> | ||
| 76 | 94using·Tuple·=·Dune::TupleVector<Children...>; | ||
| 77 | 95 | ||
| 78 | 98template<class·Child0,·class...·Children, | ||
| 79 | 99·std::enable_if_t<(sizeof...(Children)·>·0),·int>·=·0, | ||
| 80 | 100·std::enable_if_t<(...||·(not·std::is_same_v<Child0,·Children>)),·int>·=·0> | ||
| 81 | 101auto·makeDescriptor·(Child0·child0,·Children...·children) | ||
| 82 | 102{ | ||
| 83 | 103·using·Descriptor·=·Tuple<Child0,Children...>; | ||
| 84 | 104·return·Descriptor{std::move(child0),std::move(children)...}; | ||
| 85 | 105} | ||
| Max diff block lines reached; 10210/15296 bytes (66.75%) of diff not shown. | |||
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·lagrangebasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 59 lines modified | Offset 74, 62 lines modified | ||
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | 79 | <a·href="#typedef-members">Typedefs</a>·| |
| 80 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">lagrangebasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 84 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 86 | <code>#include·<dune/common/math.hh></code><br·/> | ||
| 87 | <code>#include·<dune/localfunctions/ | 86 | <code>#include·<dune/localfunctions/lagrange.hh></code><br·/> |
| 87 | <code>#include·<dune/localfunctions/lagrange/equidistantpoints.hh></code><br·/> | ||
| 88 | <code>#include·<dune/localfunctions/lagrange/lagrangelfecache.hh></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a001 | 90 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
| 89 | <code>#include·<<a·class="el"·href="a001 | 91 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 91 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
| 92 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
| 93 | </div> | 92 | </div> |
| 94 | <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 95 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 97 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
| 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01695.html">Dune::Functions::LagrangePreBasis<·GV,·k,·R·></a></td></tr> |
| 99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a· | 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.··<a·href="a01695.html#details">More...</a><br·/></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html">Dune::Functions::LagrangeNode<·GV,·k,·R·></a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | </table><table·class="memberdecls"> | 102 | </table><table·class="memberdecls"> |
| 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 105 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
| 106 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 105 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 107 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | 109 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
| 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
| 114 | Typedefs</h2></td></tr> | 113 | Typedefs</h2></td></tr> |
| 115 | <tr·class="memitem:ga | 114 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"·id="r_ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k·=·-1,·typename·R··=·double>·</td></tr> |
| 116 | <tr·class="memitem:ga | 115 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga566d155fed1f25513c4d927769722fcc">Dune::Functions::LagrangeBasis</a>·=[·...·truncated·by·diffoscope;·len:·94,·SHA:·26bab395bb90c8c9f1fd77644992e72936058742785a1fb98e24ec85bf4564dc·...·]LagrangePreBasis</a><·GV,·k,·R·>·></td></tr> |
| 117 | <tr·class="memdesc:ga | 116 | <tr·class="memdesc:ga566d155fed1f25513c4d927769722fcc"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space.··<br·/></td></tr> |
| 118 | <tr·class="separator:ga | 117 | <tr·class="separator:ga566d155fed1f25513c4d927769722fcc"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 119 | </table><table·class="memberdecls"> | 118 | </table><table·class="memberdecls"> |
| 120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 119 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 121 | Functions</h2></td></tr> | 120 | Functions</h2></td></tr> |
| 122 | <tr·class="memitem:ga | 121 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"·id="r_ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·typename·R··=·double>·</td></tr> |
| 123 | <tr·class="memitem:ga | 122 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga5106c08bf6dd8eaca7d06075d581d760">Dune::Functions::BasisFactory::lagrange</a>·()</td></tr> |
| 124 | <tr·class="memdesc:ga | 123 | <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> |
| 125 | <tr·class="separator:ga | 124 | <tr·class="separator:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 125 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"·id="r_ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplParams"·colspan="2">template<typename·R··=·double>·</td></tr> | ||
| 126 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">Dune::Functions::BasisFactory::lagrange</a>·(int·order)</td></tr> | ||
| 127 | <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> | ||
| 128 | <tr·class="separator:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 126 | </table> | 129 | </table> |
| 127 | </div><!--·contents·--> | 130 | </div><!--·contents·--> |
| 128 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
| 129 | <hr·class="footer"/><address·class="footer"><small> | 132 | <hr·class="footer"/><address·class="footer"><small> |
| 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 133 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 131 | </small></address> | 134 | </small></address> |
| 132 | </body> | 135 | </body> |
| Offset 2, 45 lines modified | Offset 2, 48 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | 8 | Classes·|·Namespaces·|·Typedefs·|·Functions |
| 9 | 9 | lagrangebasis.hh·File·Reference | |
| 10 | #include·<type_traits> | 10 | #include·<type_traits> |
| 11 | #include·<dune/common/exceptions.hh> | 11 | #include·<dune/common/exceptions.hh> |
| 12 | #include·<dune/common/math.hh> | ||
| 13 | #include·<dune/localfunctions/ | 12 | #include·<dune/localfunctions/lagrange.hh> |
| 14 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 15 | #include·<dune/ | 13 | #include·<dune/localfunctions/lagrange/equidistantpoints.hh> |
| 14 | #include·<dune/localfunctions/lagrange/lagrangelfecache.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/nodes.hh> | 15 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 17 | #include·<dune/geometry/type.hh> | ||
| 18 | #include·<dune/ | 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 17 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 19 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 20 | Classes | 19 | Classes |
| 21 | class· ·Dune::Functions:: | 20 | class· ·Dune::Functions::LagrangePreBasis<_GV,_k,_R_> |
| 22 | ·······A·pre-basis·for·a· | 21 | ·······A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·More... |
| 23 | 22 | ||
| 24 | class· ·Dune::Functions:: | 23 | class· ·Dune::Functions::LagrangeNode<_GV,_k,_R_> |
| 25 | 24 | ||
| 26 | Namespaces | 25 | Namespaces |
| 27 | namespace· ·Dune | 26 | namespace· ·Dune |
| 28 | 27 | ||
| 29 | namespace· ·Dune::Functions | 28 | namespace· ·Dune::Functions |
| 30 | 29 | ||
| 31 | namespace· ·Dune::Functions::BasisFactory | 30 | namespace· ·Dune::Functions::BasisFactory |
| 32 | 31 | ||
| 33 | Typedefs | 32 | Typedefs |
| 34 | template<typename·GV·,·int·k,·typename·R·=·double> | 33 | template<typename·GV·,·int·k·=·-1,·typename·R·=·double> |
| 35 | using ·Dune::Functions:: | 34 | using ·Dune::Functions::LagrangeBasis·=·DefaultGlobalBasis<·LagrangePreBasis< |
| 35 | ·······GV,·k,·R·>·> | ||
| 36 | ······Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space. | ||
| 36 | ·······RefinedLagrangePreBasis<·GV,·k,·R·>·> | ||
| 37 | ······Nodal·basis·of·a·continuous·Lagrange·finite-element·space·on·a·uniformly | ||
| 38 | ·······refined·simplex·element. | ||
| 39 | 37 | ||
| 40 | Functions | 38 | Functions |
| 41 | template<i | 39 | template<std::size_t·k,·typename·R·=·double> |
| 42 | auto ·Dune::Functions::BasisFactory:: | 40 | auto ·Dune::Functions::BasisFactory::lagrange·() |
| 43 | ·····Create·a·pre-basis·factory·that·can·create·a· | 41 | ·····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis. |
| 42 | |||
| 43 | template<typename·R·=·double> | ||
| 44 | auto ·Dune::Functions::BasisFactory::lagrange·(int·order) | ||
| 45 | ·····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a | ||
| 46 | ······run-time·order. | ||
| 44 | 47 | ||
| 45 | =============================================================================== | 48 | =============================================================================== |
| 46 | ·····Generated·by [doxygen]·1.9.8 | 49 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·lagrangebasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 222 lines modified | Offset 74, 590 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">lagrangebasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00176.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00176.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
| 94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 97 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/equidistantpoints.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/lagrangelfecache.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 99 | <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/nodes.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
| 104 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 105 | <div·class="line"><a·id="l0002 | 104 | <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="a00224.html">Dune</a>·{</div> |
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//···LagrangePreBasis</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//···LagrangeNode</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 107 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
| 108 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span[·...·truncated·by·diffoscope;·len:·5,·SHA:·8384010f8d3c746e6588f038cbb542dcbfcb7736971e925a6999d76cee305b6a·...·]</div> |
| 109 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">class·</span>LagrangeNode;</div> |
| 110 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
| 111 | <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">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span[·...·truncated·by·diffoscope;·len:·1,·SHA:·62b67e1f685b7fef51102005dddd27774be3fee38c42965c53aab035d0b6b221·...·]></div> |
| 112 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>LagrangePreBasis;</div> |
| 113 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 114 | <div·class="line"><a·id="l0004 | 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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> | ||
| 115 | <div·class="foldopen"·id="foldopen000 | 127 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="};"> |
| 116 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01695.html">···59</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01695.html">LagrangePreBasis</a>·:</div> |
| 117 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01711.html">LeafPreBasisMixin</a><·LagrangePreBasis<GV,k,R>·></div> |
| 118 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> |
| 119 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> |
| 132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·useDynamicOrder·=·(k<0);</div> | ||
| 120 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
| 121 | <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> | ||
| 122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
| 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·refined·basis·only·implemented·for·P0·and·P1</span></div> | ||
| 124 | <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> | ||
| 125 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 126 | <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> | ||
| 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">static</span>·MCMGLayout·dofLayout()</div> | ||
| 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div> | ||
| 129 | <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> | ||
| 130 | <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> | ||
| 131 | <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> | ||
| 132 | <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> | ||
| 133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div> | ||
| 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>(k·==·1)</div> | ||
| 135 | <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> | ||
| 136 | <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> | ||
| 137 | <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> | ||
| 138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div> | ||
| 139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keywordflow">else</span></div> | ||
| 140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······DUNE_THROW(Dune::NotImplemented,</div> | ||
| 141 | <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> | ||
| 142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> | ||
| 143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 144 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">public</span>:</div> |
| 145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01847.html#a996c52d44e30a38a024f3d5729da99f4">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01847.html#a996c52d44e30a38a024f3d5729da99f4">GridView</a>·=·GV;</div> | ||
| 147 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 136 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01695.html#aaa2add570edd22047fd5cfba570dd982">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01695.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>·=·GV;</div> | ||
| 137 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01695.html#a62ff21d04ec74a6f369d6ba2cab1155a">···71</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01695.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·=·std::size_t;</div> | ||
| 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
| 148 | <div·class="line"><a·id="l0007 | 140 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01695.html#a2762f1eade252d79b05070788f18012d">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01691.html">Node</a>·=·<a·class="code·hl_class"·href="a01691[·...·truncated·by·diffoscope;·len:·7,·SHA:·c6e84ae0d50688d075da29e0c5822a29b2408a57f8fb9b053f546d4d7d9af49c·...·]LagrangeNode<GV,·k,·R></a>;</div> |
| 141 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
| 142 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> | ||
| 143 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01695.html#a982937b8e5348046761303330fc35d18">···77</a></span>··<a·class="code·hl_function"·href="a01695.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01695.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv)</div> | ||
| 144 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··:·<a·class="code·hl_class"·href="a01695.html">LagrangePreBasis</a>(gv,·std::numeric_limits<unsigned·int>::max())</div> | ||
| 149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 145 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··{}</div> |
| 150 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 151 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01847.html#abbb9f8f518c22b66f6f15fc88689c03e">···86</a></span>··<a·class="code·hl_function"·href="a01847.html#abbb9f8f518c22b66f6f15fc88689c03e">RefinedLagrangePreBasis</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01847.html#a996c52d44e30a38a024f3d5729da99f4">GridView</a>&·gv)</div> | ||
| 152 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····:·<a·class="code·hl_class"·href="a01707.html">Base</a>(gv,·dofLayout())</div> | ||
| 153 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div> | ||
| 154 | <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> | ||
| 155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="keywordflow">if</span>·(!gt.isSimplex())</div> | ||
| 156 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········DUNE_THROW(Dune::NotImplemented,</div> | ||
| 157 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········<span·class="stringliteral">"Refined·Lagrange·basis·only·implemented·for·simplex·grids."</span>);</div> | ||
| 158 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> | ||
| 159 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··}</div> | ||
| Max diff block lines reached; 115508/149048 bytes (77.50%) of diff not shown. | |||
| Offset 1, 254 lines modified | Offset 1, 715 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | lagrangebasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<type_traits> | 21 | 10#include·<type_traits> |
| 22 | 11 | ||
| 23 | 1 | 22 | 11#include·<dune/common/exceptions.hh> |
| 23 | 12 | ||
| 24 | 13#include·<dune/common/math.hh> | ||
| 25 | 14 | ||
| 26 | 1 | 24 | 13#include·<dune/localfunctions/lagrange.hh> |
| 25 | 14#include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
| 26 | 15#include·<dune/localfunctions/lagrange/lagrangelfecache.hh> | ||
| 27 | 16 | 27 | 16 |
| 28 | 17#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 28 | 1 | 29 | 18#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 29 | 1 | 30 | 19#include·<dune/functions/functionspacebases/leafprebasismixin.hh> |
| 30 | 19#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 31 | 20 | 31 | 20 |
| 32 | 21#include·<dune/geometry/type.hh> | ||
| 33 | 22 | ||
| 34 | 2 | 32 | 21 |
| 33 | 22namespace·Dune·{ | ||
| 34 | 23namespace·Functions·{ | ||
| 35 | 24 | 35 | 24 |
| 36 | 25 | 36 | 25/ |
| 37 | 26namespace·Dune·{ | ||
| 38 | 27namespace·Functions·{ | ||
| 39 | 37 | /·***************************************************************************** | |
| 38 | 26//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains | ||
| 39 | 27// | ||
| 40 | 28//·LagrangePreBasis | ||
| 41 | 29//·LagrangeNode | ||
| 42 | 30// | ||
| 43 | 31//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 44 | shared | ||
| 45 | 32//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 46 | 33//·and·can·be·used·without·a·global·basis. | ||
| 47 | 34/ | ||
| 48 | /·***************************************************************************** | ||
| 49 | 35 | ||
| 50 | 36template<typename·GV,·int·k,·typename·R=double> | ||
| 51 | 37class·LagrangeNode; | ||
| 52 | 38 | ||
| 53 | 39template<typename·GV,·int·k,·typename·R=double> | ||
| 54 | 40class·LagrangePreBasis; | ||
| 55 | 41 | ||
| 56 | 42 | ||
| 57 | 43 | ||
| 40 | 58 | 58template<typename·GV,·int·k,·typename·R> | |
| 41 | 30class·RefinedLagrangeNode; | ||
| 42 | 31 | ||
| 43 | 43template·<typename·GV,·int·k,·typename·R·=·double> | ||
| 44 | 59 | 59class·LagrangePreBasis·: | |
| 60 | 60·public·LeafPreBasisMixin<·LagrangePreBasis<GV,k,R>·> | ||
| 61 | 61{ | ||
| 45 | 45·public·LeafPreBasisMapperMixin<·GV·> | ||
| 46 | 46{ | ||
| 47 | 47·using·Base·=·LeafPreBasisMapperMixin<_GV_>; | ||
| 48 | 48 | ||
| 49 | 62 | 62·static·const·int·dim·=·GV::dimension; | |
| 63 | 63·static·const·bool·useDynamicOrder·=·(k<0); | ||
| 64 | 64 | ||
| 50 | 50 | ||
| 51 | 51·//·refined·basis·only·implemented·for·P0·and·P1 | ||
| 52 | 52·static_assert(k·==·0·||·k·==·1); | ||
| 53 | 53 | ||
| 54 | 54·//·the·layout·is·defined·in·terms·of·a·MCMGLayout·specialized·for·k·==·0·or | ||
| 55 | 1 | ||
| 56 | 55·static·MCMGLayout·dofLayout() | ||
| 57 | 56·{ | ||
| 58 | 57·if·constexpr(k·==·0) | ||
| 59 | 58·//·a·refined·P0·basis·assigns·each·element·2^dim·DOFs | ||
| 60 | 59·return·[](GeometryType·gt,·int)·->·size_t·{ | ||
| 61 | 60·return·(gt.dim()·==·dim)·?·(1·<<·dim)·:·0; | ||
| 62 | 61·}; | ||
| 63 | 62·else·if·constexpr(k·==·1) | ||
| 64 | 63·//·a·refined·P1·basis·has·the·same·layout·as·a·P2·basis | ||
| 65 | 64·return·[](GeometryType·gt,·int)·->·size_t·{ | ||
| 66 | 65·return·Dune::binomial(int(k),int(gt.dim())); | ||
| 67 | 66·}; | ||
| 68 | 67·else | ||
| 69 | 68·DUNE_THROW(Dune::NotImplemented, | ||
| 70 | 69·"Refined·basis·not·implemented·for·higher-order·Lagrange·(k>=2)·elements."); | ||
| 71 | 70·} | ||
| 72 | 71 | ||
| 73 | 65 | 65public: | |
| 74 | 66 | 66 | |
| 75 | 67 | 68·using·GridView·=·GV; | |
| 76 | 68 | 69 | |
| 69 | 71·using·size_type·=·std::size_t; | ||
| 70 | 72 | ||
| 77 | 7 | 71 | 74·using·Node·=·LagrangeNode<GV,_k,_R>; |
| 78 | 7 | 72 | 75 |
| 79 | 73 | 77·LagrangePreBasis(const·GridView&·gv) | |
| 80 | 74 | 78·:·LagrangePreBasis(gv,·std::numeric_limits<unsigned·int>::max()) | |
| 75 | 79·{} | ||
| 76 | 80 | ||
| 77 | 82·LagrangePreBasis(const·GridView&·gv,·unsigned·int·order)·: | ||
| 78 | 83·gridView_(gv),·order_(order) | ||
| 81 | 8 | 79 | 84·{ |
| 80 | 85·if·(!useDynamicOrder·&&·order!=std::numeric_limits<unsigned·int>::max()) | ||
| 81 | 86·DUNE_THROW(RangeError,·"Template·argument·k·has·to·be·-1·when·supplying·a | ||
| 82 | run-time·order!"); | ||
| 83 | 87 | ||
| 84 | 88·for·(int·i=0;·i<=dim;·i++) | ||
| 82 | 89·for·(auto·gt·:·gv.indexSet().types(0))·{ | ||
| 83 | 90·if·(!gt.isSimplex()) | ||
| 84 | 91·DUNE_THROW(Dune::NotImplemented, | ||
| 85 | 92·"Refined·Lagrange·basis·only·implemented·for·simplex·grids."); | ||
| 86 | 93·} | ||
| Max diff block lines reached; 23705/29370 bytes (80.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultlocalview.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 41 lines modified | Offset 71, 41 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#func-members">Functions</a>··</div> | ||
| 80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">defaultlocalview.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 80 | </div><!--header--> |
| 82 | <div·class="contents"> | 81 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
| 83 | <code>#include·<optional></code><br·/> | ||
| 84 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/functions/common/overflowarray.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/multiindex.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 84 | </div> | 90 | </div> |
| 85 | <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 86 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 88 | Classes</h2></td></tr> | 94 | Classes</h2></td></tr> |
| 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html">Dune::Functions::DefaultLocalView<·GB·></a></td></tr> |
| 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a01567.html#details">More...</a><br·/></td></tr> |
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 94 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
| 95 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 97 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | </table><table·class="memberdecls"> | ||
| 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 101 | Functions</h2></td></tr> | ||
| 102 | <tr·class="memitem:abd7e25a89325dbe2232b17308dae45f2"·id="r_abd7e25a89325dbe2232b17308dae45f2"><td·class="memTemplParams"·colspan="2">template<class·Basis·>·</td></tr> | ||
| 103 | <tr·class="memitem:abd7e25a89325dbe2232b17308dae45f2"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01851.html">SizeInfo</a><·Basis·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#abd7e25a89325dbe2232b17308dae45f2">Dune::Functions::sizeInfo</a>·(const·Basis·&basis)</td></tr> | ||
| 104 | <tr·class="separator:abd7e25a89325dbe2232b17308dae45f2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 105 | </table> | 105 | </table> |
| 106 | </div><!--·contents·--> | 106 | </div><!--·contents·--> |
| 107 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
| 108 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
| 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 110 | </small></address> | 110 | </small></address> |
| 111 | </body> | 111 | </body> |
| Offset 1, 26 lines modified | Offset 1, 29 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | sizeinfo.hh·File·Reference | ||
| 10 | 9 | defaultlocalview.hh·File·Reference | |
| 10 | #include·<tuple> | ||
| 11 | #include·<optional> | ||
| 12 | #include·<dune/common/concept.hh> | ||
| 13 | #include·<dune/common/hybridutilities.hh> | ||
| 14 | #include·<dune/common/reservedvector.hh> | ||
| 15 | #include·<dune/functions/common/overflowarray.hh> | ||
| 16 | #include·<dune/functions/common/multiindex.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 11 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
| 12 | Classes | 19 | Classes |
| 13 | class· ·Dune::Functions:: | 20 | class· ·Dune::Functions::DefaultLocalView<_GB_> |
| 14 | ······· | 21 | ·······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... |
| 15 | 22 | ||
| 16 | Namespaces | 23 | Namespaces |
| 17 | namespace· ·Dune | 24 | namespace· ·Dune |
| 18 | 25 | ||
| 19 | namespace· ·Dune::Functions | 26 | namespace· ·Dune::Functions |
| 20 | 27 | ||
| 21 | Functions | ||
| 22 | template<class·Basis·> | ||
| 23 | SizeInfo<·Basis·> ·Dune::Functions::sizeInfo·(const·Basis·&basis) | ||
| 24 | |||
| 25 | =============================================================================== | 28 | =============================================================================== |
| 26 | ·····Generated·by [doxygen]·1.9.8 | 29 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultlocalview.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 104 lines modified | Offset 74, 212 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">defaultlocalview.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00179.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00179.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#warning·The·header·dune/functions/functionspacebases/sizeinfo.hh·is·deprecated·and·will·be·removed·after·release·2.10.</span></div> | ||
| 93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> | ||
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<optional></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 97 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 98 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00068.html">dune/functions/common/overflowarray.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00077.html">dune/functions/common/multiindex.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
| 101 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GB></div> |
| 102 | <div·class="foldopen"·id="foldopen0003 | 112 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};"> |
| 103 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01567.html">···31</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01567.html">DefaultLocalView</a></div> |
| 104 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>[[deprecated(<span·class="stringliteral">"SizeInfo·is·deprecated·and·will·be·removed·after·release·2.10."</span>)]]</div> | ||
| 105 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><a·class="code·hl_class"·href="a01851.html">SizeInfo</a></div> | ||
| 106 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> |
| 107 | <div·class="line"><a·id="l0003 | 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div> |
| 108 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">···37</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B;</div> | ||
| 109 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">···38</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·<span·class="keyword">typename</span>·Basis::size_type;</div> | ||
| 110 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
| 117 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01567.html#a9523d45b214ee146d2135416d01aceda">···36</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>·=·GB;</div> | ||
| 118 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01567.html#a29917f5ca32a2b2df56b1ae72c2a25ca">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#a29917f5ca32a2b2df56b1ae72c2a25ca">GridView</a>·=·<span·class="keyword">typename</span>·GlobalBasis::GridView;</div> | ||
| 111 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 120 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 121 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01567.html#a5ff210d62e5d3e52189808a8881f1911">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#a5ff210d62e5d3e52189808a8881f1911">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
| 112 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> | ||
| 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01851.html#ac3e18dc3b17c52eafe2e803562d72c5b">···44</a></span>····<a·class="code·hl_function"·href="a01851.html#ac3e18dc3b17c52eafe2e803562d72c5b">SizeInfo</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>&·basis)·:</div> | ||
| 114 | <div·class="line"><a·id="l0004 | 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 123 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01567.html#ab1f301991c77e4923149d845044001bf">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#ab1f301991c77e4923149d845044001bf">size_type</a>·=·std::size_t;</div> | ||
| 115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>· | 124 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01567.html#adeb4377aeb75298c38c5516719ab5e09">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#adeb4377aeb75298c38c5516719ab5e09">Tree</a>·=·<span·class="keyword">typename</span>·GlobalBasis::PreBasis::Node;</div> | ||
| 126 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 127 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">protected</span>:</div> | ||
| 128 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
| 129 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01567.html#a0fcc00c7b8afe993e08c9fbf9bb9efff">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#a0fcc00c7b8afe993e08c9fbf9bb9efff">PreBasis</a>·=·<span·class="keyword">typename</span>·GlobalBasis::PreBasis;</div> | ||
| 130 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 131 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="comment">//·Type·used·to·store·the·multi·indices·of·the·basis·vectors.</span></div> | ||
| 132 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·In·contrast·to·MultiIndex·this·always·has·dynamic·size.</span></div> | ||
| 133 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex</span></div> | ||
| 134 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01567.html#acc3dcfbb6962f1023cc1113b07b76102">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#acc3dcfbb6962f1023cc1113b07b76102">MultiIndexStorage</a>·=</div> | ||
| 135 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
| 136 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_class"·href="a01279.html">OverflowArray</a><<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,·PreBasis::multiIndexBufferSize>,</div> | ||
| 137 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>;</div> | ||
| 138 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 139 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">public</span>:</div> | ||
| 140 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
| 141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01567.html#acffe4cd37e8a7720e1a3eced31570c5a">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#acffe4cd37e8a7720e1a3eced31570c5a">MultiIndex</a>·=</div> | ||
| 142 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
| 143 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,</div> | ||
| 144 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>;</div> | ||
| 145 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 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="a01567.html#ae47ddda96d907628497ded87d44f38d0">···72</a></span>··<a·class="code·hl_function"·href="a01567.html#ae47ddda96d907628497ded87d44f38d0">DefaultLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01567.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01567.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>)·:</div> | ||
| 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<a·class="code·hl_variable"·href="a01567.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>(&<a·class="code·hl_function"·href="a01567.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>),</div> | ||
| 150 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_variable"·href="a01567.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>(<a·class="code·hl_variable"·href="a01567.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>->preBasis().makeNode())</div> | ||
| 151 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{</div> | ||
| 152 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">static_assert</span>(models<Concept::BasisTree<GridView>,·<a·class="code·hl_typedef"·href="a01567.html#adeb4377aeb75298c38c5516719ab5e09">Tree</a>>(),·<span·class="stringliteral">"Tree·type·passed·to·DefaultLocalView·does·not·model·the·BasisNode·concept."</span>);</div> | ||
| 153 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<a·class="code·hl_function"·href="a00225.html#a5e19b913a34ad68144f4fd873c51b977">initializeTree</a>(<a·class="code·hl_variable"·href="a01567.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>);</div> | ||
| 154 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | ||
| 116 | </div> | 155 | </div> |
| 117 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 118 | <div·class="foldopen"·id="foldopen000 | 157 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> |
| 119 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01567.html#a89ec09c03236189c4bd9d41cae713cae">···85</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01567.html#a89ec09c03236189c4bd9d41cae713cae">bind</a[·...·truncated·by·diffoscope;·len:·136,·SHA:·3d3d00e813c16c45d4bf6ba4b4d3381505861f6f1ebbde161301885dd8963f25·...·]</div> |
| 120 | <div·class="line"><a·id="l000 | 159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> |
| 121 | <div·class="line"><a·id="l000 | 160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_variable"·href="a01567.html#a47292fa1338b995ad8ab511f4fc66fe5">element_</a>·=·e;</div> |
| 161 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_function"·href="a00225.html#a4dc892a209e0f55bc65eadaf2c808454">bindTree</a>(<a·class="code·hl_variable"·href="a01567.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>,·*<a·class="code·hl_variable"·href="a01567.html#a47292fa1338b995ad8ab511f4fc66fe5">element_</a>);</div> | ||
| 162 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<a·class="code·hl_variable"·href="a01567.html#ad3e344f7adb2d81622de39ae3c80468e">indices_</a>.resize(<a·class="code·hl_function"·href="a01567.html#a943c5bd1c1b92e5a9ff93286ec0ed341">size</a>());</div> | ||
| 163 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<a·class="code·hl_variable"·href="a01567.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>->preBasis().indices(<a·class="code·hl_variable"·href="a01567.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>,·<a·class="code·hl_variable"·href="a01567.html#ad3e344f7adb2d81622de39ae3c80468e">indices_</a>.begin());</div> | ||
| 122 | <div·class="line"><a·id="l000 | 164 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> |
| 123 | </div> | 165 | </div> |
| 124 | <div·class="line"><a·id="l000 | 166 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
| 125 | <div·class="foldopen"·id="foldopen000 | 167 | <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="}"> |
| 126 | <div·class="line"><a·id="l000 | 168 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01567.html#a198ccca836349c34a08f75351a1a29b0">···95</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01567.html#a198ccca836349c34a08f75351a1a29b0">bound</[·...·truncated·by·diffoscope;·len:·3,·SHA:·de03239ebf9c260cc9218d69394acd64f2e379cd28f874e0bbc48c9a8a521830·...·])<span·class="keyword">·const</span></div> |
| 127 | <div·class="line"><a·id="l000 | 169 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">··</span>{</div> |
| 128 | <div·class="line"><a·id="l000 | 170 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast<</span><span·class="keywordtype">bool</span><span·class="keyword">></span>(<a·class="code·hl_variable"·href="a01567.h[·...·truncated·by·diffoscope;·len:·51,·SHA:·d05b748d15fa830311917db1053d19646639f324f512cedfb56426d5d6a36750·...·]);</div> |
| 129 | <div·class="line"><a·id="l000 | 171 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··}</div> |
| 130 | </div> | 172 | </div> |
| 131 | <div·class="line"><a·id="l000 | 173 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> |
| 132 | <div·class="foldopen"·id="foldopen00 | 174 | <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> |
| 133 | <div·class="line"><a·id="l00 | 175 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01567.html#a8bf835186bb00012f86be12becf03a04">··104</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01567.html#a5ff210d62e5d3e52189808a8881f1911">Element</a[·...·truncated·by·diffoscope;·len:·99,·SHA:·a5a9446e9d38d8dfbc2c5dd837870ebc07499f8526d359a5bcb23744eeb021de·...·]()<span·class="keyword">·const</span></div> |
| Max diff block lines reached; 14158/53001 bytes (26.71%) of diff not shown. | |||
| Offset 1, 112 lines modified | Offset 1, 267 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | defaultlocalview.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10 | ||
| 22 | 11#include·<tuple> | ||
| 23 | 12#include·<optional> | ||
| 21 | 10#warning·The·header·dune/functions/functionspacebases/sizeinfo.hh·is | ||
| 22 | deprecated·and·will·be·removed·after·release·2.10. | ||
| 23 | 11 | ||
| 24 | 12#include·<array> | ||
| 25 | 13 | 24 | 13 |
| 26 | 14namespace·Dune·{ | ||
| 27 | 15namespace·Functions·{ | ||
| 28 | 1 | 25 | 14#include·<dune/common/concept.hh> |
| 26 | 15#include·<dune/common/hybridutilities.hh> | ||
| 27 | 16#include·<dune/common/reservedvector.hh> | ||
| 29 | 17 | 28 | 17 |
| 30 | 18 | 29 | 18#include·<dune/functions/common/overflowarray.hh> |
| 30 | 19#include·<dune/functions/common/multiindex.hh> | ||
| 31 | 20#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 32 | 21 | ||
| 33 | 22 | ||
| 34 | 23 | ||
| 35 | 24namespace·Dune·{ | ||
| 36 | 25namespace·Functions·{ | ||
| 37 | 26 | ||
| 38 | 27 | ||
| 39 | 28 | ||
| 31 | 3 | 40 | 30template<class·GB> |
| 41 | 31class·DefaultLocalView | ||
| 42 | 32{ | ||
| 32 | 32class | ||
| 33 | 33[[deprecated("SizeInfo·is·deprecated·and·will·be·removed·after·release | ||
| 34 | 2.10.")]] | ||
| 35 | 34SizeInfo | ||
| 36 | 35{ | ||
| 37 | 3 | 43 | 33public: |
| 44 | 34 | ||
| 38 | 3 | 45 | 36·using·GlobalBasis·=·GB; |
| 39 | 38·using·size_type·=·typename·Basis::size_type; | ||
| 40 | 3 | 46 | 37 |
| 47 | 39·using·GridView·=·typename·GlobalBasis::GridView; | ||
| 41 | 40 | 48 | 40 |
| 49 | 42·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
| 50 | 43 | ||
| 51 | 45·using·size_type·=·std::size_t; | ||
| 52 | 46 | ||
| 53 | 48·using·Tree·=·typename·GlobalBasis::PreBasis::Node; | ||
| 54 | 49 | ||
| 42 | 44·SizeInfo(const·Basis&·basis)·: | ||
| 43 | 45·basis_(&basis) | ||
| 44 | 46·{} | ||
| 45 | 47 | ||
| 46 | 51·size_type·operator()(const·SizePrefix&·prefix)·const | ||
| 47 | 52·{ | ||
| 48 | 53·return·basis_->size(prefix); | ||
| 49 | 54·} | ||
| 50 | 55 | ||
| 51 | 62·size_type·size(const·SizePrefix&·prefix)·const | ||
| 52 | 63·{ | ||
| 53 | 64·return·basis_->size(prefix); | ||
| 54 | 65·} | ||
| 55 | 66 | ||
| 56 | 67·operator·size_type·()·const | ||
| 57 | 68·{ | ||
| 58 | 69·return·basis_->dimension(); | ||
| 59 | 70·} | ||
| 60 | 71 | ||
| 61 | 55 | 50protected: | |
| 62 | 73 | ||
| 63 | 74·const·Basis*·basis_; | ||
| 64 | 75}; | ||
| 65 | 76 | ||
| 66 | 77 | ||
| 67 | 81template<class·Basis> | ||
| 68 | 82SizeInfo<Basis>·sizeInfo(const·Basis&·basis) | ||
| 69 | 83{ | ||
| 70 | 84·return·SizeInfo<Basis>(basis); | ||
| 71 | 85} | ||
| 72 | 86 | ||
| 73 | 87 | ||
| 74 | 56 | 51 | |
| 57 | 52·using·PreBasis·=·typename·GlobalBasis::PreBasis; | ||
| 58 | 53 | ||
| 59 | 54·//·Type·used·to·store·the·multi·indices·of·the·basis·vectors. | ||
| 60 | 55·//·In·contrast·to·MultiIndex·this·always·has·dynamic·size. | ||
| 61 | 56·//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex | ||
| 62 | 57·using·MultiIndexStorage·= | ||
| 63 | 58·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
| 64 | maxMultiIndexSize), | ||
| 65 | 59·OverflowArray<StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
| 66 | PreBasis::multiIndexBufferSize>, | ||
| 67 | 60·Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>; | ||
| 68 | 61 | ||
| 69 | 62public: | ||
| 70 | 63 | ||
| 71 | 65·using·MultiIndex·= | ||
| 72 | 66·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
| 73 | maxMultiIndexSize), | ||
| 74 | 67·StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
| 75 | 68·Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>; | ||
| 76 | 69 | ||
| 77 | 70 | ||
| 78 | 72·DefaultLocalView(const·GlobalBasis&·globalBasis)·: | ||
| 79 | 73·globalBasis_(&globalBasis), | ||
| 80 | 74·tree_(globalBasis_->preBasis().makeNode()) | ||
| 81 | 75·{ | ||
| 82 | 76·static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type | ||
| 83 | passed·to·DefaultLocalView·does·not·model·the·BasisNode·concept."); | ||
| 84 | 77·initializeTree(tree_); | ||
| Max diff block lines reached; 5661/10705 bytes (52.88%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·transformedindexbasis.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 64 lines modified | Offset 72, 74 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>·| | 78 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">transformedindexbasis.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 81 | </div><!--header--> |
| 83 | <div·class="contents"> | 82 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<t | 83 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
| 84 | <code>#include·<utility></code><br·/> | ||
| 85 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 88 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
| 86 | <code>#include·<dune/ | 89 | <code>#include·<dune/typetree/utility.hh></code><br·/> |
| 87 | <code>#include·<dune/localfunctions/lagrange/equidistantpoints.hh></code><br·/> | ||
| 88 | <code>#include·< | 90 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
| 92 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
| 93 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a001 | 94 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 95 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
| 90 | <code>#include·<<a·class="el"·href="a001 | 96 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 92 | </div> | 97 | </div> |
| 93 | <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p> | 98 | <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 94 | <table·class="memberdecls"> | 99 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> | 101 | Classes</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·></a></td></tr> |
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis· | 103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·transforming·multi-indices.··<a·href="a01879.html#details">More...</a><br·/></td></tr> |
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01883.html">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·ContainerDescriptorImplementation,·minIS,·maxIS·></a></td></tr> |
| 106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<a·href="a01883.html#details">More...</a><br·/></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
| 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 104 | Namespaces</h2></td></tr> | 110 | Namespaces</h2></td></tr> |
| 105 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 111 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 113 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 115 | <tr·class="memitem:a00237"·id="r_a00237"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00237.html">Dune::Functions::Experimental</a></td></tr> | ||
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | 117 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> |
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 119 | <tr·class="memitem:a00235"·id="r_a00235"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00235.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
| 111 | </table><table·class="memberdecls"> | ||
| 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 113 | Typedefs</h2></td></tr> | ||
| 114 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"·id="r_ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k·=·-1,·typename·R··=·double>·</td></tr> | ||
| 115 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga566d155fed1f25513c4d927769722fcc">Dune::Functions::LagrangeBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01695.html">LagrangePreBasis</a><·GV,·k,·R·>·></td></tr> | ||
| 116 | <tr·class="memdesc:ga566d155fed1f25513c4d927769722fcc"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space.··<br·/></td></tr> | ||
| 117 | <tr·class="separator: | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 118 | </table><table·class="memberdecls"> | 121 | </table><table·class="memberdecls"> |
| 119 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 122 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 120 | Functions</h2></td></tr> | 123 | Functions</h2></td></tr> |
| 124 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"·id="r_a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplParams"·colspan="2">template<class·RPB·,·class·T·>·</td></tr> | ||
| 125 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00237.html#a97702eea52e7ff7d9e66226034aee386">Dune::Functions::Experimental::TransformedIndexPreBasis</a>·(RPB·&&,·T·&&)·->·<a·class="el"·href="a01879.html">TransformedIndexPreBasis</a><·std::decay_t<·RPB·>,·std::decay_t<·T·>·></td></tr> | ||
| 121 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"·id="r_ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·typename·R··=·double>·</td></tr> | ||
| 122 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga5106c08bf6dd8eaca7d06075d581d760">Dune::Functions::BasisFactory::lagrange</a>·()</td></tr> | ||
| 123 | <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> | ||
| 124 | <tr·class="separator:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 125 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"·id="r_ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplParams"·colspan="2">template<typename·R··=·double>·</td></tr> | ||
| 126 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">Dune::Functions::BasisFactory::lagrange</a>·(int·order)</td></tr> | ||
| 127 | <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> | ||
| 128 | <tr·class="separator: | 126 | <tr·class="separator:a97702eea52e7ff7d9e66226034aee386"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 127 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"·id="r_a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisFactory·,·class·Transformation·>·</td></tr> | ||
| 128 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00235.html#a6b531a5d076e13881c59b75e505e808e">Dune::Functions::BasisFactory::Experimental::transformIndices</a>·(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation)</td></tr> | ||
| 129 | <tr·class="memdesc:a6b531a5d076e13881c59b75e505e808e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·TransformedIndexPreBasisFactory.··<br·/></td></tr> | ||
| 130 | <tr·class="separator:a6b531a5d076e13881c59b75e505e808e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 131 | <tr·class="memitem:a0cc152e12a2496054e7b29a3df20600f"·id="r_a0cc152e12a2496054e7b29a3df20600f"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation·,·class·SizeImplementation·,·class·ContainerDescriptorImplementation·,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
| 132 | <tr·class="memitem:a0cc152e12a2496054e7b29a3df20600f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00235.html#a0cc152e12a2496054e7b29a3df20600f">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTransformation,·SizeImplementation·&&sizeImplementation,·ContainerDescriptorImplementation·&&containerDescriptorImplementation,·Dune::index_constant<·minIndexSize·>,·Dune::index_constant<·maxIndexSize·>)</td></tr> | ||
| 133 | <tr·class="memdesc:a0cc152e12a2496054e7b29a3df20600f"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<br·/></td></tr> | ||
| 134 | <tr·class="separator:a0cc152e12a2496054e7b29a3df20600f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 135 | <tr·class="memitem:a0de794150e67b41eb607008f8a1e3f7e"·id="r_a0de794150e67b41eb607008f8a1e3f7e"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
| 136 | <tr·class="memitem:a0de794150e67b41eb607008f8a1e3f7e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00235.html#a0de794150e67b41eb607008f8a1e3f7e">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTrafo,·SizeImplementation·&&sizeImpl,·Dune::index_constant<·minIndexSize·>·minSize,·Dune::index_constant<·maxIndexSize·>·maxSize)</td></tr> | ||
| 137 | <tr·class="memdesc:a0de794150e67b41eb607008f8a1e3f7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Fallback·implementation·if·no·container·descriptor·argument·is·given.··<br·/></td></tr> | ||
| 138 | <tr·class="separator:a0de794150e67b41eb607008f8a1e3f7e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 129 | </table> | 139 | </table> |
| 130 | </div><!--·contents·--> | 140 | </div><!--·contents·--> |
| 131 | <!--·start·footer·part·--> | 141 | <!--·start·footer·part·--> |
| 132 | <hr·class="footer"/><address·class="footer"><small> | 142 | <hr·class="footer"/><address·class="footer"><small> |
| 133 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 143 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 134 | </small></address> | 144 | </small></address> |
| 135 | </body> | 145 | </body> |
| Offset 1, 49 lines modified | Offset 1, 74 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|· | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | transformedindexbasis.hh·File·Reference | |
| 10 | #include·<t | 10 | #include·<tuple> |
| 11 | #include·<utility> | ||
| 12 | #include·<dune/common/hybridutilities.hh> | ||
| 13 | #include·<dune/common/reservedvector.hh> | ||
| 11 | #include·<dune/common/ | 14 | #include·<dune/common/typeutilities.hh> |
| 12 | #include·<dune/localfunctions/lagrange.hh> | ||
| 13 | #include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
| 14 | #include·<dune/ | 15 | #include·<dune/typetree/compositenode.hh> |
| 16 | #include·<dune/typetree/utility.hh> | ||
| 17 | #include·<dune/functions/common/staticforloop.hh> | ||
| 18 | #include·<dune/functions/common/type_traits.hh> | ||
| 19 | #include·<dune/functions/common/utility.hh> | ||
| 20 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/nodes.hh> | 21 | #include·<dune/functions/functionspacebases/nodes.hh> |
| 22 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 23 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
| 17 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 24 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 25 | Classes |
| 20 | class· ·Dune::Functions::LagrangePreBasis<_GV,_k,_R_> | ||
| 21 | 26 | class· ·Dune::Functions::Experimental::TransformedIndexPreBasis<_RPB,_T_> | |
| 27 | ·······A·pre-basis·transforming·multi-indices.·More... | ||
| 22 | 28 | ||
| 23 | class· ·Dune::Functions:: | 29 | class· ·Dune::Functions::BasisFactory::Experimental:: |
| 30 | ········GenericIndexingTransformation<_IndexTransformation,_SizeImplementation, | ||
| 31 | ········ContainerDescriptorImplementation,_minIS,_maxIS_> | ||
| 32 | ·······A·generic·implementation·of·a·transformation.·More... | ||
| 24 | 33 | ||
| 25 | Namespaces | 34 | Namespaces |
| 26 | namespace· ·Dune | 35 | namespace· ·Dune |
| 27 | 36 | ||
| 28 | namespace· ·Dune::Functions | 37 | namespace· ·Dune::Functions |
| 29 | 38 | ||
| 39 | namespace· ·Dune::Functions::Experimental | ||
| 40 | |||
| 30 | namespace· ·Dune::Functions::BasisFactory | 41 | namespace· ·Dune::Functions::BasisFactory |
| 31 | 42 | ||
| 43 | namespace· ·Dune::Functions::BasisFactory::Experimental | ||
| 32 | Typedefs | ||
| 33 | template<typename·GV·,·int·k·=·-1,·typename·R·=·double> | ||
| 34 | using ·Dune::Functions::LagrangeBasis·=·DefaultGlobalBasis<·LagrangePreBasis< | ||
| 35 | ·······GV,·k,·R·>·> | ||
| 36 | ······Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space. | ||
| 37 | 44 | ||
| 38 | Functions | 45 | Functions |
| 39 | template<std::size_t·k,·typename·R·=·double> | ||
| 40 | auto ·Dune::Functions::BasisFactory::lagrange·() | ||
| 41 | 46 | template<class·RPB·,·class·T·> | |
| 47 | ···· ·Dune::Functions::Experimental::TransformedIndexPreBasis·(RPB·&&,·T·&&)·- | ||
| 48 | ······>·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·> | ||
| 42 | 49 | ||
| 43 | template<typename·R·=·double> | ||
| 44 | auto ·Dune::Functions::BasisFactory::lagrange·(int·order) | ||
| 45 | ·····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a | ||
| 46 | ··· | 50 | template<class·RawPreBasisFactory·,·class·Transformation·> |
| 51 | auto ·Dune::Functions::BasisFactory::Experimental::transformIndices | ||
| 52 | ······(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation) | ||
| 53 | ·····Create·a·TransformedIndexPreBasisFactory. | ||
| 54 | |||
| 55 | template<class·IndexTransformation·,·class·SizeImplementation·,·class | ||
| 56 | ContainerDescriptorImplementation·,·std::size_t·minIndexSize,·std::size_ | ||
| 57 | t·maxIndexSize> | ||
| 58 | auto ·Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
| 59 | ······(IndexTransformation·&&indexTransformation,·SizeImplementation | ||
| 60 | ······&&sizeImplementation,·ContainerDescriptorImplementation | ||
| 61 | ······&&containerDescriptorImplementation,·Dune::index_constant<·minIndexSize | ||
| 62 | ······>,·Dune::index_constant<·maxIndexSize·>) | ||
| 63 | ·····A·generic·implementation·of·a·transformation. | ||
| 64 | |||
| 65 | template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_ | ||
| 66 | t·minIndexSize,·std::size_t·maxIndexSize> | ||
| 67 | auto ·Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
| 68 | ······(IndexTransformation·&&indexTrafo,·SizeImplementation·&&sizeImpl,·Dune:: | ||
| 69 | ······index_constant<·minIndexSize·>·minSize,·Dune::index_constant< | ||
| 70 | ······maxIndexSize·>·maxSize) | ||
| 71 | ·····Fallback·implementation·if·no·container·descriptor·argument·is·given. | ||
| 47 | 72 | ||
| 48 | =============================================================================== | 73 | =============================================================================== |
| 49 | ·····Generated·by [doxygen]·1.9.8 | 74 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·transformedindexbasis.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 590 lines modified | Offset 74, 360 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">transformedindexbasis.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<t | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<tuple></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/ | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/ | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 99 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·< | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/typetree/utility.hh></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/staticforloop.hh</a>></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l0002 | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 104 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 105 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 114 | <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="}"> | ||
| 115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00237.html">···32</a></span><span·class="keyword">namespace·</span>Experimental·{</div> | ||
| 106 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//···LagrangePreBasis</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//···LagrangeNode</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·*****************************************************************************</span></div> | 117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·*****************************************************************************</span></div> |
| 118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 117 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><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> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">class·</span>LagrangeNode;</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><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> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">class·</span>LagrangePreBasis;</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RPB,·<span·class="keyword">class</span>·T></div> |
| 127 | <div·class="foldopen"·id="foldopen0005 | 121 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="};"> |
| 128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01695.html">···59</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01695.html">LagrangePreBasis</a>·:</div> | ||
| 129 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01879.html">···54</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01879.html">TransformedIndexPreBasis</a></div> |
| 123 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div> | ||
| 124 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">using·</span>Transformation·=·T;</div> | ||
| 125 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01879.html">This</a>·=·<a·class="code·hl_class"·href="a01879.html">TransformedIndexPreBasis<RPB,·T></a>;</div> | ||
| 127 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
| 128 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> | ||
| 130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 129 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01879.html#a64aa0bf3453d3f749622b7ea521715ae">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01879.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB;</div> | ||
| 131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·useDynamicOrder·=·(k<0);</div> | ||
| 133 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
| 134 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">p | 132 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01879.html#a218ba207b64f73e09b2018d951f2dd54">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01879.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·<span·class="keyword">typename</span>·R[·...·truncated·by·diffoscope;·len:·21,·SHA:·cc087f0e4fd9bef201320ec0bd7ba462fbb8dfd868e3fc1c014d7d7d29175b0d·...·]</div> |
| 135 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 133 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
| 136 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01 | 134 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01879.html#a9468d7e0817593e6b0e52b9b33f2a7ce">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01879.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·=·std::size_t;</div> |
| 137 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 135 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01 | 136 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01879.html#a3eec8056dfb98fa13397be1f6c3c5f61">···71</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01879.html#a3eec8056dfb98fa13397be1f6c3c5f61">Node</a>·=·<span·class="keyword">typename</span>·RawPreBasis::Node;</div> |
| 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | 137 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
| 140 | <div·class="line"><a·id="l0007 | 138 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01879.html#a474968659bf3b30d623d6baceaceafac">···73</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01879.html#a9468d7[·...·truncated·by·diffoscope;·len:·175,·SHA:·64c6542bfc9a3f95de482d8be5d2aea20b107f3a6012a142c2d5469f9368a31b·...·];</div> |
| 139 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01879.html#ae4b2655926fabb0a127584a701446958">···74</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01879.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01879.html#ae4b2655926fabb0a127584a701446958">minMultiIndexSize</a>·=·Transformation::minIndexSize;</div> | ||
| 140 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01879.html#aa46fd3cb45543bee69dfd60429254ba4">···75</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01879.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01879.html#aa46fd3cb45543bee69dfd60429254ba4">multiIndexBufferSize</a>·=·std::max(RawPreBasis::multiIndexBufferSize,·<a·class="code·hl_variable"·href="a01879.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>);</div> | ||
| 141 | <div·class="line"><a·id="l0007 | 141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
| 142 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RPB_R,·<span·class="keyword">class</span>·T_R></div> | ||
| 142 | <div·class="foldopen"·id="foldopen000 | 143 | <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}"> |
| 143 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01695.html#a982937b8e5348046761303330fc35d18">···77</a></span>··<a·class="code·hl_function"·href="a01695.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01695.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv)</div> | ||
| 144 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01879.html#a415716e3d0436f2e9c44992ee79f6133">···83</a></span>··<a·class="code·hl_function"·href="a01879.html#a415716e3d0436f2e9c44992ee79f6133">TransformedIndexPreBasis</a>(RPB_R&&·[·...·truncated·by·diffoscope;·len:·129,·SHA:·1fb10f49fff358ad8907ef3aa250d9156d214204ec4b6d867b9eadb13e9f9427·...·]</div> |
| 145 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_variable"·href="a01879.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>(std::forward<RPB_R>(<a·class="code·hl_function"·href="a01879.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>)),</div> | ||
| 146 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_variable"·href="a01879.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>(std::forward<T_R>(transformation))</div> | ||
| 145 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{}</div> |
| 146 | </div> | 148 | </div> |
| 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 148 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> | ||
| 149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01695.html#a791cbc108e89b7effc1c668b800667bb">···82</a></span>··<a·class="code·hl_function"·href="a01695.html#a791cbc108e89b7effc1c668b800667bb">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01695.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01695.html#abbd87ea8be342b39e287babfec846db4">order</a>)·:</div> | ||
| 150 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<a·class="code·hl_variable"·href="a01695.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>(gv),·<a·class="code·hl_variable"·href="a01695.html#a11e81295a666f35d4194270867721960">order_</a>(<a·class="code·hl_function"·href="a01695.html#abbd87ea8be342b39e287babfec846db4">order</a>)</div> | ||
| 151 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··{</div> | ||
| 152 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordflow">if</span>·(!useDynamicOrder·&&·<a·class="code·hl_function"·href="a01695.html#abbd87ea8be342b39e287babfec846db4">order</a>!=std::numeric_limits<unsigned·int>::max())</div> | ||
| 153 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······DUNE_THROW(RangeError,·<span·class="stringliteral">"Template·argument·k·has·to·be·-1·when·supplying·a·run-time·order!"</span>);</div> | ||
| 154 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | 149 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
| 155 | <div·class=" | 150 | <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}"> |
| 151 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01879.html#a1392b84bf237ce8c8be2b2ec7b9869f2">···89</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01879.html#a1392b84bf237ce8c8be2b2ec7b9869f2">initializeIndices</a>()</div> | ||
| 156 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div> |
| 153 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01879.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.initializeIndices();</div> | ||
| 157 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<a·class="code·hl_variable"·href="a01695.html#abfa5632c391ed7160d081c63ab154377">dofsPerCube_</a>[i]·=·<a·class="code·hl_function"·href="a01695.html#a015986cee132f7ebd91ad8f3845a84be">computeDofsPerCube</a>(i);</div> | ||
| Max diff block lines reached; 140121/176548 bytes (79.37%) of diff not shown. | |||
| Offset 1, 715 lines modified | Offset 1, 416 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | transformedindexbasis.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<t | 21 | 10#include·<tuple> |
| 22 | 11#include·< | 22 | 11#include·<utility> |
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/localfunctions/lagrange.hh> | ||
| 25 | 14#include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
| 26 | 15#include·<dune/localfunctions/lagrange/lagrangelfecache.hh> | ||
| 27 | 16 | ||
| 28 | 17#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 29 | 18#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 30 | 1 | 24 | 13#include·<dune/common/hybridutilities.hh> |
| 25 | 14#include·<dune/common/reservedvector.hh> | ||
| 26 | 15#include·<dune/common/typeutilities.hh> | ||
| 27 | 16#include·<dune/common/hybridutilities.hh> | ||
| 28 | 17 | ||
| 29 | 18#include·<dune/typetree/compositenode.hh> | ||
| 30 | 19#include·<dune/typetree/utility.hh> | ||
| 31 | 20 | 31 | 20 |
| 32 | 21 | 32 | 21#include·<dune/functions/common/staticforloop.hh> |
| 33 | 22#include·<dune/functions/common/type_traits.hh> | ||
| 34 | 23#include·<dune/functions/common/utility.hh> | ||
| 35 | 24#include·<dune/functions/functionspacebases/basistags.hh> | ||
| 36 | 25#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 37 | 26#include·<dune/functions/functionspacebases/concepts.hh> | ||
| 38 | 27#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 39 | 28 | ||
| 40 | 29 | ||
| 33 | 41 | 30namespace·Dune·{ | |
| 34 | 42 | 31namespace·Functions·{ | |
| 43 | 32namespace·Experimental·{ | ||
| 44 | 33 | ||
| 35 | 24 | ||
| 36 | 25/ | ||
| 37 | /·***************************************************************************** | ||
| 38 | 26//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains | ||
| 39 | 27// | ||
| 40 | 28//·LagrangePreBasis | ||
| 41 | 29//·LagrangeNode | ||
| 42 | 30// | ||
| 43 | 31//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 44 | shared | ||
| 45 | 32//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 46 | 33//·and·can·be·used·without·a·global·basis. | ||
| 47 | 34/ | 45 | 34/ |
| 48 | /·***************************************************************************** | 46 | /·***************************************************************************** |
| 49 | 35 | 47 | 35/ |
| 48 | /·***************************************************************************** | ||
| 49 | 36 | ||
| 50 | 53template<class·RPB,·class·T> | ||
| 51 | 54class·TransformedIndexPreBasis | ||
| 52 | 55{ | ||
| 53 | 56·using·Transformation·=·T; | ||
| 54 | 57 | ||
| 55 | 58·using·This·=·TransformedIndexPreBasis<RPB,_T>; | ||
| 56 | 59 | ||
| 50 | 36template<typename·GV,·int·k,·typename·R=double> | ||
| 51 | 37class·LagrangeNode; | ||
| 52 | 38 | ||
| 53 | 39template<typename·GV,·int·k,·typename·R=double> | ||
| 54 | 40class·LagrangePreBasis; | ||
| 55 | 41 | ||
| 56 | 42 | ||
| 57 | 43 | ||
| 58 | 58template<typename·GV,·int·k,·typename·R> | ||
| 59 | 59class·LagrangePreBasis·: | ||
| 60 | 60·public·LeafPreBasisMixin<·LagrangePreBasis<GV,k,R>·> | ||
| 61 | 61{ | ||
| 62 | 62·static·const·int·dim·=·GV::dimension; | ||
| 63 | 63·static·const·bool·useDynamicOrder·=·(k<0); | ||
| 64 | 64 | ||
| 65 | 6 | 57 | 60public: |
| 58 | 61 | ||
| 59 | 62·using·RawPreBasis·=·RPB; | ||
| 60 | 63 | ||
| 61 | 65·using·GridView·=·typename·RawPreBasis::GridView; | ||
| 66 | 66 | 62 | 66 |
| 67 | 68·using· | 63 | 68·using·size_type·=·std::size_t; |
| 68 | 69 | 64 | 69 |
| 69 | 71·using· | 65 | 71·using·Node·=·typename·RawPreBasis::Node; |
| 70 | 72 | 66 | 72 |
| 67 | 73·static·constexpr·size_type·maxMultiIndexSize·=·Transformation::maxIndexSize; | ||
| 68 | 74·static·constexpr·size_type·minMultiIndexSize·=·Transformation::minIndexSize; | ||
| 69 | 75·static·constexpr·size_type·multiIndexBufferSize·=·std::max(RawPreBasis:: | ||
| 70 | multiIndexBufferSize,·maxMultiIndexSize); | ||
| 71 | 76 | ||
| 72 | 82·template<class·RPB_R,·class·T_R> | ||
| 73 | 83·TransformedIndexPreBasis(RPB_R&&·rawPreBasis,·T_R&&·transformation)·: | ||
| 74 | 84·rawPreBasis_(std::forward<RPB_R>(rawPreBasis)), | ||
| 75 | 85·transformation_(std::forward<T_R>(transformation)) | ||
| 76 | 86·{} | ||
| 71 | 74·using·Node·=·LagrangeNode<GV,_k,_R>; | ||
| 72 | 75 | ||
| 73 | 77·LagrangePreBasis(const·GridView&·gv) | ||
| 74 | 78·:·LagrangePreBasis(gv,·std::numeric_limits<unsigned·int>::max()) | ||
| 75 | 79·{} | ||
| 76 | 80 | ||
| 77 | 82·LagrangePreBasis(const·GridView&·gv,·unsigned·int·order)·: | ||
| 78 | 83·gridView_(gv),·order_(order) | ||
| 79 | 84·{ | ||
| 80 | 85·if·(!useDynamicOrder·&&·order!=std::numeric_limits<unsigned·int>::max()) | ||
| 81 | 86·DUNE_THROW(RangeError,·"Template·argument·k·has·to·be·-1·when·supplying·a | ||
| 82 | run-time·order!"); | ||
| 83 | 87 | 77 | 87 |
| 84 | 8 | 78 | 89·void·initializeIndices() |
| 85 | 79 | 90·{ | |
| 80 | 91·rawPreBasis_.initializeIndices(); | ||
| 86 | 90·dofsPerCube_[i]·=·computeDofsPerCube(i); | ||
| 87 | 91·dofsPerSimplex_[i]·=·computeDofsPerSimplex(i); | ||
| Max diff block lines reached; 31762/36413 bytes (87.23%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacelocalview.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 72, 32 lines modified | Offset 72, 28 lines modified | ||
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">subspacelocalview.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<tuple></code><br·/> | 82 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
| 83 | <code>#include·<optional></code><br·/> | ||
| 84 | <code>#include·<dune/common/concept.hh></code><br·/> | 83 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 84 | <code>#include·<dune/typetree/childextraction.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/overflowarray.hh</a>></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/multiindex.hh</a>></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 85 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 90 | </div> | 86 | </div> |
| 91 | <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 92 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 94 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html">Dune::Functions::SubspaceLocalView<·RLV,·PP·></a></td></tr> |
| 96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a01 | 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a01863.html#details">More...</a><br·/></td></tr> |
| 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 98 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
| 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 100 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
| 101 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| Offset 2, 26 lines modified | Offset 2, 22 lines modified | ||
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
| 9 | 9 | subspacelocalview.hh·File·Reference | |
| 10 | #include·<tuple> | 10 | #include·<tuple> |
| 11 | #include·<optional> | ||
| 12 | #include·<dune/common/concept.hh> | 11 | #include·<dune/common/concept.hh> |
| 12 | #include·<dune/typetree/childextraction.hh> | ||
| 13 | #include·<dune/common/hybridutilities.hh> | ||
| 14 | #include·<dune/common/reservedvector.hh> | ||
| 15 | #include·<dune/functions/common/overflowarray.hh> | ||
| 16 | #include·<dune/functions/common/multiindex.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/concepts.hh> | 13 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 18 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 15 | Classes |
| 20 | class· ·Dune::Functions:: | 16 | class· ·Dune::Functions::SubspaceLocalView<_RLV,_PP_> |
| 21 | ·······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... | 17 | ·······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... |
| 22 | 18 | ||
| 23 | Namespaces | 19 | Namespaces |
| 24 | namespace· ·Dune | 20 | namespace· ·Dune |
| 25 | 21 | ||
| 26 | namespace· ·Dune::Functions | 22 | namespace· ·Dune::Functions |
| 27 | 23 | ||
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacelocalview.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 211 lines modified | Offset 74, 190 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">subspacelocalview.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00185.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00185.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<tuple></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<optional></span></div> | ||
| 95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 96 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/overflowarray.hh</a>></span></div> | ||
| 101 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/childextraction.hh></span></div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 103 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 104 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 108 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
| 109 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·PP></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a00225.html#a17589fdc18b015644525c7ad037e6441">SubspaceBasis</a>;</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
| 111 | <div·class="line"><a·id="l0003 | 113 | <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> |
| 112 | <div·class="foldopen"·id="foldopen0003 | 114 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> |
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01863.html">···33</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01863.html">SubspaceLocalView</a></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01567.html">···31</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01567.html">DefaultLocalView</a></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span> | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> |
| 117 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">using·</span>PrefixPath·=·PP;</div> |
| 118 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
| 119 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> |
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa1f3b0a89f5d186299ed0a5329562815">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV;</div> | ||
| 120 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
| 121 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01 | 123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01863.html#a3a627e895c213316cb666677fb9176de">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01859.html">GlobalBasis</a>·=·<a·class="code·hl_class"·href="a01859.html">SubspaceBasis<typename·RootLocalView::GlobalBasis,[·...·truncated·by·diffoscope;·len:·19,·SHA:·7231f470bb70481f8f19b39e1ad37b8533133c02ec8089a245987315023e8868·...·];</div> |
| 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
| 123 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01 | 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa050bf0c521425f496729c3947a61bae">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa050bf0c521425f496729c3947a61bae">GridView</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"[·...·truncated·by·diffoscope;·len:·79,·SHA:·45beae3d3dde9d07de466b84cd2981fbdf46934b8a448d7c062f41da46324739·...·];</div> |
| 124 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 126 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
| 125 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01 | 127 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa8331a332fffea09e3bddd41d3d0530b">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<[·...·truncated·by·diffoscope;·len:·14,·SHA:·609572fc71fe17725cb712718ab95335468cdeced2970576f67609a92304b020·...·];</div> |
| 126 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 128 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
| 127 | <div·class="line"><a·id="l0005 | 129 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa53cfe0f5da6f163c89cfe7efd03977d">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a[·...·truncated·by·diffoscope;·len:·16,·SHA:·159ad609af5d2a5e880b28e56d791a712aabbab60d7161efc0f326cb73f8797a·...·]</div> |
| 128 | <div·class="line"><a·id="l0005 | 130 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 129 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01863.html#ae4f87d4a8978c25f211132aa6001290c">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#ae4f87d4a8978c25f211132aa6001290c">RootTree</a>[·...·truncated·by·diffoscope;·len:·60,·SHA:·9a84cb33a92344a4ae54d01e79a7743b36e74d50d62419dab87b7972cbc21519·...·];</div> |
| 130 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
| 133 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01863.html#a04b95239bc90b94a1332233663446cd2">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#a04b95239bc90b94a1332233663446cd2">Tree</a>·=·<span·class="keyword">typename</span>·TypeTree::ChildForTreePath<RootTree,·PrefixPath>;</div> | ||
| 134 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
| 135 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01863.html#a332b6754582b1108ef353b1b78ae01a3">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01863.html#a332b6754582b1108ef353b1b78ae01a3">MultiIndex</a>·=·<span·class="keyword">typename</span>·RootLocalView::MultiIndex;</div> | ||
| 131 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="comment">//·Type·used·to·store·the·multi·indices·of·the·basis·vectors.</span></div> | ||
| 132 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·In·contrast·to·MultiIndex·this·always·has·dynamic·size.</span></div> | ||
| 133 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex</span></div> | ||
| 134 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01567.html#acc3dcfbb6962f1023cc1113b07b76102">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#acc3dcfbb6962f1023cc1113b07b76102">MultiIndexStorage</a>·=</div> | ||
| 135 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
| 136 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_class"·href="a01279.html">OverflowArray</a><<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,·PreBasis::multiIndexBufferSize>,</div> | ||
| 137 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>;</div> | ||
| 138 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 136 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
| 139 | <div·class=" | 137 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
| 138 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa0d1d0d89f2dd443da6da8d77f6a344f">···63</a></span>··<a·class="code·hl_function"·href="a01863.html#aa0d1d0d89f2dd443da6da8d77f6a344f">SubspaceLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01859.html">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01863.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>,·<span·class="keyword">const</span>·PrefixPath&·<span·class="comment">/*prefixPath*/</span>)·:</div> | ||
| 139 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_variable"·href="a01863.html#a2fb2643d53fb7511f2eb6ddff751043c">globalBasis_</a>(&<a·class="code·hl_function"·href="a01863.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>),</div> | ||
| 140 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_variable"·href="a01863.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>(<a·class="code·hl_function"·href="a01863.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>.rootBasis().localView())</div> | ||
| 140 | <div·class="line"><a·id="l0006 | 141 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> |
| 142 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//····static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type·passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept.");</span></div> | ||
| 143 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
| 144 | </div> | ||
| 141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01567.html#acffe4cd37e8a7720e1a3eced31570c5a">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01567.html#acffe4cd37e8a7720e1a3eced31570c5a">MultiIndex</a>·=</div> | ||
| 142 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
| 143 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,</div> | ||
| 144 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>;</div> | ||
| 145 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 145 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
| 146 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
| 147 | <div·class="foldopen"·id="foldopen0007 | 146 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> |
| 147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01863.html#a8d67dd96c63054ab2caccf7c50975838">···75</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01863.html#a8d67dd96c63054ab2caccf7c50975838">bind</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01863.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>&·e)</div> | ||
| 148 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01567.html#ae47ddda96d907628497ded87d44f38d0">···72</a></span>··<a·class="code·hl_function"·href="a01567.html#ae47ddda96d907628497ded87d44f38d0">DefaultLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01567.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01567.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>)·:</div> | ||
| 149 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<a·class="code·hl_variable"·href="a01567.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>(&<a·class="code·hl_function"·href="a01567.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>),</div> | ||
| 150 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_variable"·href="a01567.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>(<a·class="code·hl_variable"·href="a01567.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>->preBasis().makeNode())</div> | ||
| 151 | <div·class="line"><a·id="l0007 | 148 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> |
| 149 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<a·class="code·hl_variable"·href="a01863.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.bind(e);</div> | ||
| 152 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">static_assert</span>(models<Concept::BasisTree<GridView>,·<a·class="code·hl_typedef"·href="a01567.html#adeb4377aeb75298c38c5516719ab5e09">Tree</a>>(),·<span·class="stringliteral">"Tree·type·passed·to·DefaultLocalView·does·not·model·the·BasisNode·concept."</span>);</div> | ||
| 153 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<a·class="code·hl_function"·href="a00225.html#a5e19b913a34ad68144f4fd873c51b977">initializeTree</a>(<a·class="code·hl_variable"·href="a01567.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>);</div> | ||
| 154 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | 150 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> |
| 155 | </div> | 151 | </div> |
| 156 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
| 157 | <div·class="foldopen"·id="foldopen0008 | 153 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> |
| 158 | <div·class="line"><a·id="l0008 | 154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01863.html#a2d7c1e74433fb663cbed0c2ab6fc7198">···84</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01863.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>&[·...·truncated·by·diffoscope;·len:·134,·SHA:·ac3ecb7a7d5a5a32b4900c613337db1f7fca8bc9961244c72ad4137b7cbabfa5·...·]</div> |
| 155 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">··</span>{</div> | ||
| 156 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01863.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.element();</div> | ||
| Max diff block lines reached; 31722/69892 bytes (45.39%) of diff not shown. | |||
| Offset 1, 267 lines modified | Offset 1, 233 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | subspacelocalview.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10 | 21 | 10 |
| 22 | 11#include·<tuple> | 22 | 11#include·<tuple> |
| 23 | 12 | ||
| 23 | 12#include·<optional> | ||
| 24 | 13 | ||
| 25 | 1 | 24 | 13#include·<dune/common/concept.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/typetree/childextraction.hh> | ||
| 27 | 16 | ||
| 26 | 15#include·<dune/common/hybridutilities.hh> | ||
| 27 | 16#include·<dune/common/reservedvector.hh> | ||
| 28 | 17 | ||
| 29 | 18#include·<dune/functions/common/overflowarray.hh> | ||
| 30 | 19#include·<dune/functions/common/multiindex.hh> | ||
| 31 | 28 | 17#include·<dune/functions/functionspacebases/concepts.hh> | |
| 32 | 21 | ||
| 33 | 29 | 18 | |
| 30 | 19 | ||
| 31 | 20 | ||
| 32 | 21namespace·Dune·{ | ||
| 33 | 22namespace·Functions·{ | ||
| 34 | 23 | 34 | 23 |
| 35 | 24namespace·Dune·{ | ||
| 36 | 25namespace·Functions·{ | ||
| 37 | 26 | ||
| 38 | 2 | 35 | 24 |
| 36 | 25 | ||
| 37 | 26template<class·RB,·class·PP> | ||
| 38 | 27class·SubspaceBasis; | ||
| 39 | 28 | 39 | 28 |
| 40 | 30template<class·GB> | ||
| 41 | 31class·DefaultLocalView | ||
| 42 | 40 | 29 | |
| 41 | 30 | ||
| 42 | 32template<class·RLV,·class·PP> | ||
| 43 | 33class·SubspaceLocalView | ||
| 44 | 34{ | ||
| 45 | 35·using·PrefixPath·=·PP; | ||
| 46 | 36 | ||
| 43 | 3 | 47 | 37public: |
| 48 | 38 | ||
| 49 | 39·using·RootLocalView·=·RLV; | ||
| 44 | 34 | ||
| 45 | 36·using·GlobalBasis·=·GB; | ||
| 46 | 37 | ||
| 47 | 39·using·GridView·=·typename·GlobalBasis::GridView; | ||
| 48 | 40 | 50 | 40 |
| 49 | 42·using· | 51 | 42·using·GlobalBasis·=·SubspaceBasis<typename_RootLocalView::GlobalBasis, |
| 52 | PrefixPath>; | ||
| 50 | 43 | 53 | 43 |
| 51 | 45·using· | 54 | 45·using·GridView·=·typename·GlobalBasis::GridView; |
| 52 | 46 | 55 | 46 |
| 53 | 48·using· | 56 | 48·using·Element·=·typename·GridView::template·Codim<0>::Entity; |
| 54 | 49 | 57 | 49 |
| 58 | 51·using·size_type·=·std::size_t; | ||
| 59 | 52 | ||
| 60 | 54·using·RootTree·=·typename·RootLocalView::Tree; | ||
| 61 | 55 | ||
| 62 | 57·using·Tree·=·typename·TypeTree::ChildForTreePath<RootTree,·PrefixPath>; | ||
| 63 | 58 | ||
| 64 | 60·using·MultiIndex·=·typename·RootLocalView::MultiIndex; | ||
| 55 | 50protected: | ||
| 56 | 51 | ||
| 57 | 52·using·PreBasis·=·typename·GlobalBasis::PreBasis; | ||
| 58 | 53 | ||
| 59 | 54·//·Type·used·to·store·the·multi·indices·of·the·basis·vectors. | ||
| 60 | 55·//·In·contrast·to·MultiIndex·this·always·has·dynamic·size. | ||
| 61 | 56·//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex | ||
| 62 | 57·using·MultiIndexStorage·= | ||
| 63 | 58·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
| 64 | maxMultiIndexSize), | ||
| 65 | 59·OverflowArray<StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
| 66 | PreBasis::multiIndexBufferSize>, | ||
| 67 | 60·Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>; | ||
| 68 | 61 | 65 | 61 |
| 69 | 62public: | ||
| 70 | 63 | ||
| 71 | 65·using·MultiIndex·= | ||
| 72 | 66·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
| 73 | maxMultiIndexSize), | ||
| 74 | 67·StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
| 75 | 6 | 66 | 63·SubspaceLocalView(const·GlobalBasis&·globalBasis,·const·PrefixPath&·/ |
| 67 | *prefixPath*/)·: | ||
| 68 | 64·globalBasis_(&globalBasis), | ||
| 69 | 65·rootLocalView_(globalBasis.rootBasis().localView()) | ||
| 70 | 66·{ | ||
| 71 | 67//·static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type | ||
| 72 | passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept."); | ||
| 73 | 68·} | ||
| 76 | 69 | 74 | 69 |
| 75 | 75·void·bind(const·Element&·e) | ||
| 77 | 70 | ||
| 78 | 72·DefaultLocalView(const·GlobalBasis&·globalBasis)·: | ||
| 79 | 73·globalBasis_(&globalBasis), | ||
| 80 | 74·tree_(globalBasis_->preBasis().makeNode()) | ||
| 81 | 7 | 76 | 76·{ |
| 77 | 77·rootLocalView_.bind(e); | ||
| 82 | 76·static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type | ||
| 83 | passed·to·DefaultLocalView·does·not·model·the·BasisNode·concept."); | ||
| 84 | 77·initializeTree(tree_); | ||
| 85 | 78·} | 78 | 78·} |
| 86 | 79 | 79 | 79 |
| 87 | 85·void·bind(const·Element&·e) | ||
| 88 | 86·{ | ||
| 89 | 87·element_·=·e; | ||
| 90 | 88·bindTree(tree_,·*element_); | ||
| 91 | 89·indices_.resize(size()); | ||
| Max diff block lines reached; 8974/14169 bytes (63.34%) of diff not shown. | |||
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">leafprebasismixin.hh·File·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">leafprebasismixin.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<cassert></code><br·/> | 82 | <div·class="textblock"><code>#include·<cassert></code><br·/> |
| 83 | <code>#include·<cstddef></code><br·/> | 83 | <code>#include·<cstddef></code><br·/> |
| 84 | <code>#include·<type_traits></code><br·/> | 84 | <code>#include·<type_traits></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a001 | 85 | <code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code><br·/> |
| 86 | </div> | 86 | </div> |
| 87 | <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 90 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01711.html">Dune::Functions::LeafPreBasisMixin<·Derived·></a></td></tr> | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01711.html">Dune::Functions::LeafPreBasisMixin<·Derived·></a></td></tr> |
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·MixIn·class·for·PreBasis.··<a·href="a01711.html#details">More...</a><br·/></td></tr> | 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·MixIn·class·for·PreBasis.··<a·href="a01711.html#details">More...</a><br·/></td></tr> |
| Offset 90, 15 lines modified | Offset 90, 15 lines modified | ||
| 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> | 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> |
| 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> | 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> |
| 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cassert></span></div> | 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<cassert></span></div> |
| 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<cstddef></span></div> | 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<cstddef></span></div> |
| 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> | 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00125.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></span></div> |
| 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 99 | <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="a00225.html">Dune::Functions</a>·{</div> | 99 | <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="a00225.html">Dune::Functions</a>·{</div> |
| 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Derived></div> | 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Derived></div> |
| 102 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> | 102 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> |
| 103 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01711.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01711.html">LeafPreBasisMixin</a></div> | 103 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01711.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01711.html">LeafPreBasisMixin</a></div> |
| 104 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | 104 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> |
| Offset 144, 15 lines modified | Offset 144, 15 lines modified | ||
| 144 | </div> | 144 | </div> |
| 145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
| 146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
| 147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}·<span·class="comment">//·end·namespace·Dune::Functions</span></div> | 147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}·<span·class="comment">//·end·namespace·Dune::Functions</span></div> |
| 148 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 148 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
| 149 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | 149 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
| 150 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> | 150 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LEAFPREBASISMIXIN_HH</span></div> |
| 151 | <div·class="ttc"·id="aa001 | 151 | <div·class="ttc"·id="aa00125_html"><div·class="ttname"><a·href="a00125.html">containerdescriptors.hh</a></div></div> |
| 152 | <div·class="ttc"·id="aa00225_html"><div·class="ttname"><a·href="a00225.html">Dune::Functions</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:18</div></div> | 152 | <div·class="ttc"·id="aa00225_html"><div·class="ttname"><a·href="a00225.html">Dune::Functions</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:18</div></div> |
| 153 | <div·class="ttc"·id="aa01555_html"><div·class="ttname"><a·href="a01555.html">Dune::Functions::ContainerDescriptors::UniformVector</a></div><div·class="ttdoc">Uniform·descriptor·with·dynamic·size.</div><div·class="ttdef"><b>Definition</b>·containerdescriptors.hh:168</div></div> | 153 | <div·class="ttc"·id="aa01555_html"><div·class="ttname"><a·href="a01555.html">Dune::Functions::ContainerDescriptors::UniformVector</a></div><div·class="ttdoc">Uniform·descriptor·with·dynamic·size.</div><div·class="ttdef"><b>Definition</b>·containerdescriptors.hh:168</div></div> |
| 154 | <div·class="ttc"·id="aa01711_html"><div·class="ttname"><a·href="a01711.html">Dune::Functions::LeafPreBasisMixin</a></div><div·class="ttdoc">A·generic·MixIn·class·for·PreBasis.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:36</div></div> | 154 | <div·class="ttc"·id="aa01711_html"><div·class="ttname"><a·href="a01711.html">Dune::Functions::LeafPreBasisMixin</a></div><div·class="ttdoc">A·generic·MixIn·class·for·PreBasis.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:36</div></div> |
| 155 | <div·class="ttc"·id="aa01711_html_a21e6be637859f7e8358fe642c509a11f"><div·class="ttname"><a·href="a01711.html#a21e6be637859f7e8358fe642c509a11f">Dune::Functions::LeafPreBasisMixin::size</a></div><div·class="ttdeci">size_type·size(const·SizePrefix·&prefix)·const</div><div·class="ttdoc">Return·number·of·possible·values·for·next·position·in·multi·index.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:53</div></div> | 155 | <div·class="ttc"·id="aa01711_html_a21e6be637859f7e8358fe642c509a11f"><div·class="ttname"><a·href="a01711.html#a21e6be637859f7e8358fe642c509a11f">Dune::Functions::LeafPreBasisMixin::size</a></div><div·class="ttdeci">size_type·size(const·SizePrefix·&prefix)·const</div><div·class="ttdoc">Return·number·of·possible·values·for·next·position·in·multi·index.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:53</div></div> |
| 156 | <div·class="ttc"·id="aa01711_html_a44f7f71d7e8622fca48c1a60faec1153"><div·class="ttname"><a·href="a01711.html#a44f7f71d7e8622fca48c1a60faec1153">Dune::Functions::LeafPreBasisMixin::minMultiIndexSize</a></div><div·class="ttdeci">static·constexpr·size_type·minMultiIndexSize</div><div·class="ttdoc">Minimal·length·of·global·multi-indices.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:45</div></div> | 156 | <div·class="ttc"·id="aa01711_html_a44f7f71d7e8622fca48c1a60faec1153"><div·class="ttname"><a·href="a01711.html#a44f7f71d7e8622fca48c1a60faec1153">Dune::Functions::LeafPreBasisMixin::minMultiIndexSize</a></div><div·class="ttdeci">static·constexpr·size_type·minMultiIndexSize</div><div·class="ttdoc">Minimal·length·of·global·multi-indices.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:45</div></div> |
| 157 | <div·class="ttc"·id="aa01711_html_a95b721b57e2f594e9bd986b845aa7ed8"><div·class="ttname"><a·href="a01711.html#a95b721b57e2f594e9bd986b845aa7ed8">Dune::Functions::LeafPreBasisMixin::containerDescriptor</a></div><div·class="ttdeci">auto·containerDescriptor()·const</div><div·class="ttdoc">Return·a·flat·container-descriptor.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:66</div></div> | 157 | <div·class="ttc"·id="aa01711_html_a95b721b57e2f594e9bd986b845aa7ed8"><div·class="ttname"><a·href="a01711.html#a95b721b57e2f594e9bd986b845aa7ed8">Dune::Functions::LeafPreBasisMixin::containerDescriptor</a></div><div·class="ttdeci">auto·containerDescriptor()·const</div><div·class="ttdoc">Return·a·flat·container-descriptor.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:66</div></div> |
| 158 | <div·class="ttc"·id="aa01711_html_aa4430db0700ff07f3739fb351ab35ced"><div·class="ttname"><a·href="a01711.html#aa4430db0700ff07f3739fb351ab35ced">Dune::Functions::LeafPreBasisMixin::maxMultiIndexSize</a></div><div·class="ttdeci">static·constexpr·size_type·maxMultiIndexSize</div><div·class="ttdoc">Maximal·length·of·global·multi-indices.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:42</div></div> | 158 | <div·class="ttc"·id="aa01711_html_aa4430db0700ff07f3739fb351ab35ced"><div·class="ttname"><a·href="a01711.html#aa4430db0700ff07f3739fb351ab35ced">Dune::Functions::LeafPreBasisMixin::maxMultiIndexSize</a></div><div·class="ttdeci">static·constexpr·size_type·maxMultiIndexSize</div><div·class="ttdoc">Maximal·length·of·global·multi-indices.</div><div·class="ttdef"><b>Definition</b>·leafprebasismixin.hh:42</div></div> |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·interpolate.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 50 lines modified | Offset 70, 55 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 78 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 79 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">interpolate.hh·File·Reference</div></div> |
| 81 | </div><!--header--> | 80 | </div><!--header--> |
| 82 | <div·class="contents"> | 81 | <div·class="contents"> |
| 83 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<memory></code><br·/> |
| 84 | <code>#include·< | 83 | <code>#include·<vector></code><br·/> |
| 85 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 84 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
| 85 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
| 86 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
| 87 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
| 88 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code><br·/> | ||
| 86 | <code>#include·<<a·class="el"·href="a00 | 89 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a02936_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> | ||
| 91 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
| 87 | <code>#include·<<a·class="el"·href="a001 | 92 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> |
| 88 | <code>#include·<dune/ | 93 | <code>#include·<<a·class="el"·href="a00194_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> |
| 89 | </div> | 94 | </div> |
| 90 | <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 91 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 93 | Classes</h2></td></tr> | ||
| 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01715.html">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·></a></td></tr> | ||
| 95 | <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="a01715.html#details">More...</a><br·/></td></tr> | ||
| 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01719.html">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node</a></td></tr> | ||
| 98 | <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="a01715.html"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.">LFEPreBasisMixin</a>·of·type·<code>LFE</code>.··<a·href="a01719.html#details">More...</a><br·/></td></tr> | ||
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | </table><table·class="memberdecls"> | ||
| 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 102 | Namespaces</h2></td></tr> | 98 | Namespaces</h2></td></tr> |
| 103 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 99 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 101 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | </table><table·class="memberdecls"> | 103 | </table><table·class="memberdecls"> |
| 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
| 109 | Functions</h2></td></tr> | 105 | Functions</h2></td></tr> |
| 110 | <tr·class="memitem:af37105e3e3c8d996b2a3551286f01be9"·id="r_af37105e3e3c8d996b2a3551286f01be9"><td·class="memTemplParams"·colspan="2">template<class·GV·,·class·LFE·>·</td></tr> | ||
| 111 | <tr·class="memitem:a | 106 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"·id="r_a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·>·</td></tr> |
| 107 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a13b0c6bf02d744e7b2078d1a535b5211">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bv,·const·NTRE·&nodeToRangeEntry)</td></tr> | ||
| 108 | <tr·class="memdesc:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<br·/></td></tr> | ||
| 112 | <tr·class="separator:a | 109 | <tr·class="separator:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"·id="r_ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·>·</td></tr> | ||
| 111 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae167dc7b5ace0ff9617a3205b05744b5">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bitVector)</td></tr> | ||
| 112 | <tr·class="memdesc:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 114 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"·id="r_a2e34859322800ae26a292903910ef9f7"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·>·</td></tr> | ||
| 115 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a2e34859322800ae26a292903910ef9f7">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f)</td></tr> | ||
| 116 | <tr·class="memdesc:a2e34859322800ae26a292903910ef9f7"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<br·/></td></tr> | ||
| 117 | <tr·class="separator:a2e34859322800ae26a292903910ef9f7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table> | 118 | </table> |
| 114 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
| 115 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
| 116 | <hr·class="footer"/><address·class="footer"><small> | 121 | <hr·class="footer"/><address·class="footer"><small> |
| 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 118 | </small></address> | 123 | </small></address> |
| 119 | </body> | 124 | </body> |
| Offset 1, 37 lines modified | Offset 1, 44 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | Namespaces·|·Functions | |
| 9 | lfeprebasismixin.hh·File·Reference | ||
| 10 | #include·<cassert> | ||
| 11 | 9 | interpolate.hh·File·Reference | |
| 10 | #include·<memory> | ||
| 11 | #include·<vector> | ||
| 12 | #include·<dune/common/exceptions.hh> | 12 | #include·<dune/common/exceptions.hh> |
| 13 | #include·<dune/ | 13 | #include·<dune/common/bitsetvector.hh> |
| 14 | #include·<dune/common/referencehelper.hh> | ||
| 15 | #include·<dune/typetree/traversal.hh> | ||
| 16 | #include·<dune/functions/gridfunctions/gridviewfunction.hh> | ||
| 17 | #include·<dune/functions/common/functionconcepts.hh> | ||
| 18 | #include·<dune/functions/backends/concepts.hh> | ||
| 19 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
| 14 | #include·<dune/functions/functionspacebases/ | 20 | #include·<dune/functions/functionspacebases/flatvectorview.hh> |
| 15 | #include·<dune/ | 21 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> |
| 16 | Go_to_the_source_code_of_this_file. | 22 | Go_to_the_source_code_of_this_file. |
| 17 | Classes | ||
| 18 | class· ·Dune::Functions::LFEPreBasisMixin<_GV,_LFE_> | ||
| 19 | ·······A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a | ||
| 20 | ········DOF·layout.·More... | ||
| 21 | |||
| 22 | class· ·Dune::Functions::LFEPreBasisMixin<_GV,_LFE_>::Node | ||
| 23 | ·······Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the | ||
| 24 | ········LFEPreBasisMixin·of·type·LFE.·More... | ||
| 25 | |||
| 26 | Namespaces | 23 | Namespaces |
| 27 | namespace· ·Dune | 24 | namespace· ·Dune |
| 28 | 25 | ||
| 29 | namespace· ·Dune::Functions | 26 | namespace· ·Dune::Functions |
| 30 | 27 | ||
| 31 | Functions | 28 | Functions |
| 29 | template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·> | ||
| 30 | void ·Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
| 31 | ······const·BV·&bv,·const·NTRE·&nodeToRangeEntry) | ||
| 32 | ·····Interpolate·given·function·in·discrete·function·space. | ||
| 33 | |||
| 34 | template<class·B·,·class·C·,·class·F·,·class·BV·> | ||
| 35 | void ·Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
| 36 | ······const·BV·&bitVector) | ||
| 37 | ·····Interpolate·given·function·in·discrete·function·space. | ||
| 38 | |||
| 32 | template<class· | 39 | template<class·B·,·class·C·,·class·F·> |
| 33 | ·Dune::Functions::LFEPreBasisMixin·(const·GV·&,·const·LFE·&,·MCMGLayout)·- | ||
| 34 | · | 40 | void ·Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f) |
| 41 | ·····Interpolate·given·function·in·discrete·function·space. | ||
| 35 | 42 | ||
| 36 | =============================================================================== | 43 | =============================================================================== |
| 37 | ·····Generated·by [doxygen]·1.9.8 | 44 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·interpolate.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 161 lines modified | Offset 74, 294 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">interpolate.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<memory></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<vector></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
| 96 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00143.html">dune/functions/functionspacebases/leafprebasismappermixin.hh</a>></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> |
| 99 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
| 100 | <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> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00225.html">Dune::Functions</a>·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a02936.html">dune/functions/backends/concepts.hh</a>></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00194.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>AllTrueBitSetVector</div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">struct·</span>AllTrueBitSet</div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordtype">bool</span>·test(<span·class="keywordtype">int</span>)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;·}</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··}·allTrue_;</div> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">operator</span>·bool()<span·class="keyword">·const</span></div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">··</span>{</div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 104 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·I></div> |
| 105 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> | ||
| 106 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01715.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01715.html">LFEPreBasisMixin</a>·:</div> | ||
| 107 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">const</span>·AllTrueBitSetVector&·operator[](<span·class="keyword">const</span>·I&)<span·class="keyword">·const</span></div> |
| 128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">··</span>{</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··}</div> | ||
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·SP></div> | ||
| 133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">void</span>·resize(<span·class="keyword">const</span>·SP&)<span·class="keyword">·const</span></div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">··</span>{}</div> | ||
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>};</div> | ||
| 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
| 108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span> | 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
| 109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span> | 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·This·helper·function·implements·the·restriction·of·some·given·function·of·type·F.</span></div> |
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·The·restriction·is·a·simple·callback·that·is·applied·to·the·values·of·the</span></div> | ||
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·function·and·the·values·of·its·derivative.</span></div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·Restriction></div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">class·</span>ComponentFunction</div> | ||
| 110 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{</div> |
| 111 | <div·class="line"><a·id="l0006 | 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div> |
| 112 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
| 113 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··ComponentFunction(F·f,·Restriction·restriction)·:</div> |
| 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····f_(std::move(f)),</div> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····restriction_(std::move(restriction))</div> | ||
| 114 | <div·class="line"><a·id="l0006 | 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{}</div> |
| 115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01719.html">Node</a>;</div> | ||
| 116 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
| 117 | <div·class="line"><a·id="l0007 | 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Domain></div> |
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">auto</span>·operator()(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">··</span>{</div> | ||
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·restriction_(f_(x));</div> | ||
| 118 | <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> | ||
| 119 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
| 120 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01715.html#a83b45bf78e049254f37ba8ff4867508e">···75</a></span>··<a·class="code·hl_function"·href="a01715.html#a83b45bf78e049254f37ba8ff4867508e">LFEPreBasisMixin</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01715.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>&·gv,·MCMGLayout·layout)</div> | ||
| 121 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····:·<a·class="code·hl_class"·href="a01707.html">Base</a>(gv,·layout)</div> | ||
| 122 | <div·class="line"><a·id="l0007 | 157 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div> |
| 158 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
| 159 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">friend</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·ComponentFunction&·cf)</div> | ||
| 123 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{ | 160 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··{</div> |
| 124 | </div> | 161 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="comment">//·This·provides·support·for·capturing·the·derivative·of·the·function·by·reference</span></div> |
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//·using·forwardCapture·for·perfect·forwarding·capture.·If·the·function·caches·its</span></div> | ||
| 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·derivative,·this·saves·a·potentially·costly·copy.</span></div> | ||
| 164 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">auto</span>&&·df·=·<a·class="code·hl_function"·href="a00215.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(Dune::resolveRef(cf.f_));</div> | ||
| 165 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·[&,·df=<a·class="code·hl_function"·href="a00225.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">forwardCapture</a>(std::forward<<span·class="keyword">decltype</span>(df)>(df))](<span·class="keyword">auto</span>&&·x)·{</div> | ||
| 166 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·cf.restriction_(df.forward()(x));</div> | ||
| 167 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····};</div> | ||
| 168 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··}</div> | ||
| 125 | <div·class="line"><a·id="l000 | 169 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
| 126 | <div·class="line"><a·id="l0008 | 170 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">private</span>:</div> |
| 127 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> | ||
| 128 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01715.html#a1d9fae26f52f3d7be5c1f6c4777c809b">···86</a></span>··<a·class="code·hl_function"·href="a01715.html#a1d9fae26f52f3d7be5c1f6c4777c809b">LFEPreBasisMixin</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01715.html#ae1eb6bf264da93bbcc70215df165f1b7">GridView</a>&·gv,·LFE_&&·lfe,·MCMGLayout·layout)</div> | ||
| Max diff block lines reached; 28627/69300 bytes (41.31%) of diff not shown. | |||
| Offset 1, 184 lines modified | Offset 1, 323 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | interpolate.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·< | 21 | 10#include·<memory> |
| 22 | 11#include·< | 22 | 11#include·<vector> |
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/common/exceptions.hh> | 24 | 13#include·<dune/common/exceptions.hh> |
| 25 | 14 | ||
| 26 | 15#include·<dune/functions/functionspacebases/leafprebasismappermixin.hh> | ||
| 27 | 16#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 28 | 17 | ||
| 29 | 18#include·<dune/grid/common/mcmgmapper.hh> | ||
| 30 | 19 | ||
| 31 | 25 | 14#include·<dune/common/bitsetvector.hh> | |
| 26 | 15#include·<dune/common/referencehelper.hh> | ||
| 27 | 16 | ||
| 28 | 17#include·<dune/typetree/traversal.hh> | ||
| 29 | 18 | ||
| 30 | 19#include·<dune/functions/gridfunctions/gridviewfunction.hh> | ||
| 31 | 20#include·<dune/functions/common/functionconcepts.hh> | ||
| 32 | 21 | 32 | 21 |
| 33 | 54template·<class·GV,·class·LFE> | ||
| 34 | 55class·LFEPreBasisMixin·: | ||
| 35 | 33 | 22#include·<dune/functions/backends/concepts.hh> | |
| 34 | 23#include·<dune/functions/backends/istlvectorbackend.hh> | ||
| 35 | 24#include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
| 36 | 25#include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
| 37 | 26 | ||
| 38 | 27namespace·Dune·{ | ||
| 39 | 28namespace·Functions·{ | ||
| 40 | 29 | ||
| 41 | 30namespace·Imp·{ | ||
| 42 | 31 | ||
| 43 | 32struct·AllTrueBitSetVector | ||
| 44 | 33{ | ||
| 45 | 34·struct·AllTrueBitSet | ||
| 46 | 35·{ | ||
| 47 | 36·bool·test(int)·const·{·return·true;·} | ||
| 48 | 37·}·allTrue_; | ||
| 49 | 38 | ||
| 50 | 39·operator·bool()·const | ||
| 51 | 40·{ | ||
| 52 | 41·return·true; | ||
| 53 | 42·} | ||
| 54 | 43 | ||
| 55 | 44·template<class·I> | ||
| 56 | 45·const·AllTrueBitSetVector&·operator[](const·I&)·const | ||
| 57 | 46·{ | ||
| 58 | 47·return·*this; | ||
| 59 | 48·} | ||
| 60 | 49 | ||
| 61 | 50·template<class·SP> | ||
| 62 | 51·void·resize(const·SP&)·const | ||
| 63 | 52·{} | ||
| 64 | 53 | ||
| 65 | 54}; | ||
| 66 | 55 | ||
| 67 | 56 | ||
| 36 | 57 | 68 | 57 |
| 37 | 58·using·Base·=·LeafPreBasisMapperMixin<_GV_>; | ||
| 38 | 5 | 69 | 58//·This·helper·function·implements·the·restriction·of·some·given·function·of |
| 70 | type·F. | ||
| 71 | 59//·The·restriction·is·a·simple·callback·that·is·applied·to·the·values·of·the | ||
| 72 | 60//·function·and·the·values·of·its·derivative. | ||
| 73 | 61template<class·F,·class·Restriction> | ||
| 74 | 62class·ComponentFunction | ||
| 75 | 63{ | ||
| 39 | 6 | 76 | 64public: |
| 40 | 61 | ||
| 41 | 63·using·GridView·=·GV; | ||
| 42 | 64 | ||
| 43 | 66·class·Node; | ||
| 44 | 67 | ||
| 45 | 73·template·<class·LFE_·=·LFE, | ||
| 46 | 74·std::enable_if_t<std::is_default_constructible_v<LFE_>,·int>·=·0> | ||
| 47 | 75·LFEPreBasisMixin·(const·GridView&·gv,·MCMGLayout·layout) | ||
| 48 | 76·:·Base(gv,·layout) | ||
| 49 | 77 | 65 | |
| 78 | 66·ComponentFunction(F·f,·Restriction·restriction)·: | ||
| 79 | 67·f_(std::move(f)), | ||
| 80 | 68·restriction_(std::move(restriction)) | ||
| 81 | 69·{} | ||
| 82 | 70 | ||
| 83 | 71·template<class·Domain> | ||
| 84 | 72·auto·operator()(const·Domain&·x)·const | ||
| 85 | 73·{ | ||
| 86 | 74·return·restriction_(f_(x)); | ||
| 87 | 75·} | ||
| 88 | 76 | ||
| 89 | 77·friend·auto·derivative(const·ComponentFunction&·cf) | ||
| 50 | 78·{ | 90 | 78·{ |
| 91 | 79·//·This·provides·support·for·capturing·the·derivative·of·the·function·by | ||
| 92 | reference | ||
| 93 | 80·//·using·forwardCapture·for·perfect·forwarding·capture.·If·the·function | ||
| 94 | caches·its | ||
| 95 | 81·//·derivative,·this·saves·a·potentially·costly·copy. | ||
| 96 | 82·auto&&·df·=·derivative(Dune::resolveRef(cf.f_)); | ||
| 97 | 83·return·[&,·df=forwardCapture(std::forward<decltype(df)>(df))](auto&&·x)·{ | ||
| 98 | 84·return·cf.restriction_(df.forward()(x)); | ||
| 99 | 85·}; | ||
| 100 | 86·} | ||
| 101 | 87 | ||
| 51 | 79 | ||
| 52 | 85·template·<class·LFE_> | ||
| 53 | 86·LFEPreBasisMixin·(const·GridView&·gv,·LFE_&&·lfe,·MCMGLayout·layout) | ||
| 54 | 87·:·Base(gv,·layout) | ||
| 55 | 88·,·lfe_(std::forward<LFE_>(lfe)) | ||
| 56 | 89·{} | ||
| 57 | 90 | ||
| 58 | 92·Node·makeNode·()·const | ||
| Max diff block lines reached; 7772/14923 bytes (52.08%) 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicnodetorangemap.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 71, 62 lines modified | Offset 71, 38 lines modified | ||
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | ||
| 81 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">hierarchicnodetorangemap.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 80 | </div><!--header--> |
| 83 | <div·class="contents"> | 81 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<utility></code><br·/> |
| 85 | <code>#include·< | 83 | <code>#include·<type_traits></code><br·/> |
| 86 | <code>#include·<dune/common/ | 84 | <code>#include·<dune/common/concept.hh></code><br·/> |
| 87 | <code>#include·<dune/typetree/powernode.hh></code><br·/> | ||
| 88 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
| 89 | <code>#include·<<a·class="el"·href="a0 | 85 | <code>#include·<<a·class="el"·href="a02939_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
| 90 | <code>#include·<<a·class="el"·href="a00 | 86 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> |
| 91 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 92 | </div> | 87 | </div> |
| 93 | <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 94 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01643.html">Dune::Functions::HierarchicNodeToRangeMap</a></td></tr> |
| 98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·the·nested·tree·indices.··<a·href="a01643.html#details">More...</a><br·/></td></tr> |
| 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01867.html">Dune::Functions::TaylorHoodVelocityTree<·GV·></a></td></tr> | ||
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01871.html">Dune::Functions::TaylorHoodBasisTree<·GV·></a></td></tr> | ||
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 106 | Namespaces</h2></td></tr> | 97 | Namespaces</h2></td></tr> |
| 107 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 98 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 100 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 113 | </table><table·class="memberdecls"> | ||
| 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 115 | Typedefs</h2></td></tr> | ||
| 116 | <tr·class="memitem:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"·id="r_ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
| 117 | <tr·class="memitem:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga2ddcf1f3f5bddd7f49ab4d81472aa69a">Dune::Functions::TaylorHoodBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01875.html">TaylorHoodPreBasis</a><·GV·>·></td></tr> | ||
| 118 | <tr·class="memdesc:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element·space.··<br·/></td></tr> | ||
| 119 | <tr·class="separator:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | </table><table·class="memberdecls"> | ||
| 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 122 | Functions</h2></td></tr> | ||
| 123 | <tr·class="memitem:ga2384fc6a8ee2005fb29adb7221609ce3"·id="r_ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga2384fc6a8ee2005fb29adb7221609ce3">Dune::Functions::BasisFactory::taylorHood</a>·()</td></tr> | ||
| 124 | <tr·class="memdesc:ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Taylor-Hood·pre-basis.··<br·/></td></tr> | ||
| 125 | <tr·class="separator:ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 126 | </table> | 102 | </table> |
| 127 | </div><!--·contents·--> | 103 | </div><!--·contents·--> |
| 128 | <!--·start·footer·part·--> | 104 | <!--·start·footer·part·--> |
| 129 | <hr·class="footer"/><address·class="footer"><small> | 105 | <hr·class="footer"/><address·class="footer"><small> |
| 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 106 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 131 | </small></address> | 107 | </small></address> |
| 132 | </body> | 108 | </body> |
| Offset 1, 46 lines modified | Offset 1, 26 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
| 9 | taylorhoodbasis.hh·File·Reference | ||
| 10 | #include·<dune/common/exceptions.hh> | ||
| 11 | 8 | Classes·|·Namespaces | |
| 9 | hierarchicnodetorangemap.hh·File·Reference | ||
| 10 | #include·<utility> | ||
| 11 | #include·<type_traits> | ||
| 12 | #include·<dune/common/ | 12 | #include·<dune/common/concept.hh> |
| 13 | #include·<dune/typetree/powernode.hh> | ||
| 14 | #include·<dune/typetree/compositenode.hh> | ||
| 15 | #include·<dune/functions/functionspacebases/ | 13 | #include·<dune/functions/functionspacebases/concepts.hh> |
| 14 | #include·<dune/functions/common/indexaccess.hh> | ||
| 16 | #include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
| 17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 18 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
| 19 | Classes | 16 | Classes |
| 17 | struct· ·Dune::Functions::HierarchicNodeToRangeMap | ||
| 18 | ········A·simple·node·to·range·map·using·the·nested·tree·indices.·More... | ||
| 20 | class· ·Dune::Functions::TaylorHoodPreBasis<_GV,_HI_> | ||
| 21 | ·······Pre-basis·for·lowest·order·Taylor-Hood·basis.·More... | ||
| 22 | |||
| 23 | class· ·Dune::Functions::TaylorHoodVelocityTree<_GV_> | ||
| 24 | |||
| 25 | class· ·Dune::Functions::TaylorHoodBasisTree<_GV_> | ||
| 26 | 19 | ||
| 27 | Namespaces | 20 | Namespaces |
| 28 | namespace· ·Dune | 21 | namespace· ·Dune |
| 29 | 22 | ||
| 30 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 31 | 24 | ||
| 32 | namespace· ·Dune::Functions::BasisFactory | ||
| 33 | |||
| 34 | Typedefs | ||
| 35 | template<typename·GV·> | ||
| 36 | using ·Dune::Functions::TaylorHoodBasis·=·DefaultGlobalBasis< | ||
| 37 | ·······TaylorHoodPreBasis<·GV·>·> | ||
| 38 | ······Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element | ||
| 39 | ·······space. | ||
| 40 | |||
| 41 | Functions | ||
| 42 | auto ·Dune::Functions::BasisFactory::taylorHood·() | ||
| 43 | ·····Create·a·pre-basis·factory·that·can·create·a·Taylor-Hood·pre-basis. | ||
| 44 | |||
| 45 | =============================================================================== | 25 | =============================================================================== |
| 46 | ·····Generated·by [doxygen]·1.9.8 | 26 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicnodetorangemap.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 412 lines modified | Offset 74, 77 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">hierarchicnodetorangemap.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00194.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00194.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <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> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <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> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<utility></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<type_traits></span></div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 99 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02939.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
| 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00182.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></span></div> | ||
| 102 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> |
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00224.html">Dune</a>·{</div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
| 106 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 107 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
| 106 | <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> | ||
| 107 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01643.html">···33</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01643.html">HierarchicNodeToRangeMap</a></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//</span></div> | ||
| 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//···TaylorHoodPreBasis</span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//···TaylorHoodBasisTree</span></div> | ||
| 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//···TaylorHoodVelocityTree</span></div> | ||
| 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//</span></div> | ||
| 115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
| 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·*****************************************************************************</span></div> | ||
| 119 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> |
| 120 | <div·class="line"><a·id="l0003 | 109 | <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> |
| 110 | <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> | ||
| 111 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}"> | ||
| 112 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01643.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">···37</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01643.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> | ||
| 121 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">··</span>{</div> |
| 114 | <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="a00221.html#ga4cc6af2842348271c242c048e0411637">resolveStaticMultiIndex</a>(y,·treePath);</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div> |
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
| 124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">class·</span>TaylorHoodBasisTree;</div> | ||
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">bool</span>·HI=false></div> | ||
| 127 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};"> | ||
| 128 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01875.html">···64</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01875.html">TaylorHoodPreBasis</a></div> | ||
| 129 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>{</div> | ||
| 130 | <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">bool</span>·useHybridIndices·=·HI;</div> | ||
| 131 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
| 132 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
| 133 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
| 134 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">public</span>:</div> | ||
| 135 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
| 136 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">GridView</a>·=·GV;</div> | ||
| 137 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
| 138 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t;</div> | ||
| 139 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
| 140 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01875.html#a8082f8fdbed2c5236bd5a318dd05fe6a">···79</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01871.html">Node</a>·=·<a·class="code·hl_class"·href="a01871.html">TaylorHoodBasisTree<GV></a>;</div> | ||
| 141 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 142 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01875.html#aa392e5ef9f61616b5761fe47dec36471">···81</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01875.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>·=·useHybridIndices·?·3·:·2;</div> | ||
| 143 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01875.html#a2ab779870149b404f47be6e5550257ea">···82</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01875.html#a2ab779870149b404f47be6e5550257ea">minMultiIndexSize</a>·=·2;</div> | ||
| 144 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01875.html#ac232b435a11882f871f15bb1dc9b70aa">···83</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01875.html#ac232b435a11882f871f15bb1dc9b70aa">multiIndexBufferSize</a>·=·<a·class="code·hl_variable"·href="a01875.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>;</div> | ||
| 145 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
| 146 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> | ||
| 147 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
| 148 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01695.html">PQ1PreBasis</a>·=·<a·class="code·hl_class"·href="a01695.html">LagrangePreBasis<GV,1></a>;</div> | ||
| 149 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01695.html">PQ2PreBasis</a>·=·<a·class="code·hl_class"·href="a01695.html">LagrangePreBasis<GV,2></a>;</div> | ||
| 150 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">public</span>:</div> | ||
| 152 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
| 153 | <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}"> | ||
| 154 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01875.html#a12fa8eb410a271861631e77ada59b3ba">···93</a></span>··<a·class="code·hl_function"·href="a01875.html#a12fa8eb410a271861631e77ada59b3ba">TaylorHoodPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">GridView</a>&·gv)·:</div> | ||
| 155 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<a·class="code·hl_variable"·href="a01875.html#a4ba12b2015f3761ec28e95b3a120cffb">gridView_</a>(gv),</div> | ||
| 156 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<a·class="code·hl_variable"·href="a01875.html#a9d26725c5f9e2f84e0b504c3bffcfe42">pq1PreBasis_</a>(gv),</div> | ||
| 157 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<a·class="code·hl_variable"·href="a01875.html#a86ed45c92fecf521019dcc18d90dc4d3">pq2PreBasis_</a>(gv)</div> | ||
| 158 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{}</div> | ||
| 159 | </div> | 116 | </div> |
| 160 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
| 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
| 119 | <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> | ||
| 161 | <div·class="foldopen"·id="foldopen00 | 120 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> |
| 162 | <div·class="line"><a·id="l00 | 121 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01643.html#a7122457e9d3aad7c63a2184012f26566">···44</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01643.html#a71224[·...·truncated·by·diffoscope;·len:·193,·SHA:·de06abe53cd5e826d281eef80578eb18b3334b34f60e39d1aceccb6c3c15a9a0·...·]</div> |
| 163 | <div·class="line"><a·id="l00 | 122 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">··</span>{</div> |
| 123 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·std::forward<Range>(y);</div> | ||
| 164 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<a·class="code·hl_variable"·href="a01875.html#a9d26725c5f9e2f84e0b504c3bffcfe42">pq1PreBasis_</a>.<a·class="code·hl_function"·href="a01695.html#a7318cbabd5f57d0b6cbab1b2dc41fff8">initializeIndices</a>();</div> | ||
| 165 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<a·class="code·hl_variable"·href="a01875.html#a86ed45c92fecf521019dcc18d90dc4d3">pq2PreBasis_</a>.<a·class="code·hl_function"·href="a01695.html#a7318cbabd5f57d0b6cbab1b2dc41fff8">initializeIndices</a>();</div> | ||
| 166 | <div·class="line"><a·id="l00 | 124 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> |
| 167 | </div> | 125 | </div> |
| 168 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
| 169 | <div·class="foldopen"·id="foldopen00107"·data-start="{"·data-end="}"> | ||
| 170 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01875.html#a18a80001dfe453ce542ab7896e27c10e">··107</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">GridView</a>&·<a·class="code·hl_function"·href="a01875.html#a18a80001dfe453ce542ab7896e27c10e">gridView</a>()<span·class="keyword">·const</span></div> | ||
| 171 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="keyword">··</span>{</div> | ||
| 172 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01875.html#a4ba12b2015f3761ec28e95b3a120cffb">gridView_</a>;</div> | ||
| Max diff block lines reached; 14316/80339 bytes (17.82%) of diff not shown. | |||
| Offset 1, 463 lines modified | Offset 1, 82 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | hierarchicnodetorangemap.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH |
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<dune/common/exceptions.hh> | ||
| 22 | 11#include·<dune/common/reservedvector.hh> | ||
| 23 | 1 | 21 | 10 |
| 22 | 11#include·<utility> | ||
| 23 | 12#include·<type_traits> | ||
| 24 | 13 | 24 | 13 |
| 25 | 14#include·<dune/common/concept.hh> | ||
| 26 | 15 | ||
| 25 | 14#include·<dune/typetree/powernode.hh> | ||
| 26 | 15#include·<dune/typetree/compositenode.hh> | ||
| 27 | 16 | ||
| 28 | 1 | 27 | 16#include·<dune/functions/functionspacebases/concepts.hh> |
| 28 | 17#include·<dune/functions/common/indexaccess.hh> | ||
| 29 | 18 | 29 | 18 |
| 30 | 19#include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
| 31 | 30 | 19namespace·Dune·{ | |
| 31 | 20namespace·Functions·{ | ||
| 32 | 21 | 32 | 21 |
| 33 | 22namespace·Dune·{ | ||
| 34 | 23namespace·Functions·{ | ||
| 35 | 24 | ||
| 36 | 25 | ||
| 37 | 26/ | ||
| 38 | /·***************************************************************************** | ||
| 39 | 27//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
| 40 | 28// | ||
| 41 | 29//·TaylorHoodPreBasis | ||
| 42 | 30//·TaylorHoodBasisTree | ||
| 43 | 31//·TaylorHoodVelocityTree | ||
| 44 | 32// | ||
| 45 | 33//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
| 46 | shared | ||
| 47 | 34//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view | ||
| 48 | 35//·and·can·be·used·without·a·global·basis. | ||
| 49 | 36/ | ||
| 50 | /·***************************************************************************** | ||
| 51 | 37 | ||
| 52 | 38template<typename·GV> | ||
| 53 | 39class·TaylorHoodVelocityTree; | ||
| 54 | 40 | ||
| 55 | 41template<typename·GV> | ||
| 56 | 42class·TaylorHoodBasisTree; | ||
| 57 | 43 | ||
| 58 | 63template<typename·GV,·bool·HI=false> | ||
| 59 | 64class·TaylorHoodPreBasis | ||
| 60 | 65{ | ||
| 61 | 66·static·const·bool·useHybridIndices·=·HI; | ||
| 62 | 67 | ||
| 63 | 68·static·const·int·dim·=·GV::dimension; | ||
| 64 | 69 | ||
| 65 | 70public: | ||
| 66 | 71 | ||
| 67 | 73·using·GridView·=·GV; | ||
| 68 | 74 | ||
| 69 | 76·using·size_type·=·std::size_t; | ||
| 70 | 77 | ||
| 71 | 79·using·Node·=·TaylorHoodBasisTree<GV>; | ||
| 72 | 80 | ||
| 73 | 81·static·constexpr·size_type·maxMultiIndexSize·=·useHybridIndices·?·3·:·2; | ||
| 74 | 82·static·constexpr·size_type·minMultiIndexSize·=·2; | ||
| 75 | 83·static·constexpr·size_type·multiIndexBufferSize·=·maxMultiIndexSize; | ||
| 76 | 84 | ||
| 77 | 85private: | ||
| 78 | 86 | ||
| 79 | 87·using·PQ1PreBasis·=·LagrangePreBasis<GV,1>; | ||
| 80 | 88·using·PQ2PreBasis·=·LagrangePreBasis<GV,2>; | ||
| 81 | 89 | ||
| 82 | 90public: | ||
| 83 | 91 | ||
| 84 | 93·TaylorHoodPreBasis(const·GridView&·gv)·: | ||
| 85 | 94·gridView_(gv), | ||
| 86 | 95·pq1PreBasis_(gv), | ||
| 87 | 96·pq2PreBasis_(gv) | ||
| 88 | 97·{} | ||
| 89 | 98 | ||
| 90 | 100·void·initializeIndices() | ||
| 91 | 101·{ | ||
| 92 | 102·pq1PreBasis_.initializeIndices(); | ||
| 93 | 103·pq2PreBasis_.initializeIndices(); | ||
| 94 | 104·} | ||
| 95 | 105 | ||
| 96 | 107·const·GridView&·gridView()·const | ||
| 97 | 108·{ | ||
| 98 | 109·return·gridView_; | ||
| 99 | 110·} | ||
| 100 | 111 | ||
| 101 | 113·void·update·(const·GridView&·gv) | ||
| 102 | 114·{ | ||
| 103 | 115·pq1PreBasis_.update(gv); | ||
| 104 | 116·pq2PreBasis_.update(gv); | ||
| 105 | 117·} | ||
| 106 | 118 | ||
| 107 | 122·Node·makeNode()·const | ||
| 108 | 123·{ | ||
| 109 | 124·return·Node{}; | ||
| 110 | 125·} | ||
| 111 | 126 | ||
| 112 | 128·size_type·size()·const | ||
| 113 | 129·{ | ||
| 114 | 130·return·2; | ||
| 115 | 131·} | ||
| 116 | 132 | ||
| 117 | 134·template<class·SizePrefix> | ||
| 118 | 135·size_type·size(const·SizePrefix&·prefix)·const | ||
| 119 | 136·{ | ||
| 120 | 137·return·sizeImp<useHybridIndices>(prefix); | ||
| 121 | 138·} | ||
| Max diff block lines reached; 5671/15944 bytes (35.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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·globalvaluedlocalfiniteelement.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 70, 71 lines modified | Offset 70, 36 lines modified | ||
| 70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
| 71 | ··<ul> | 71 | ··<ul> |
| 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#nested-classes">Classes</a>·| | ||
| 78 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | <a·href="#typedef-members">Typedefs</a>·| | ||
| 80 | <a·href="#func-members">Functions</a>··</div> | ||
| 81 | ··<div·class="headertitle"><div·class="title"> | 78 | ··<div·class="headertitle"><div·class="title">globalvaluedlocalfiniteelement.hh·File·Reference</div></div> |
| 82 | </div><!--header--> | 79 | </div><!--header--> |
| 83 | <div·class="contents"> | 80 | <div·class="contents"> |
| 84 | <div·class="textblock"><code>#include·<array></code><br·/> | 81 | <div·class="textblock"><code>#include·<array></code><br·/> |
| 82 | <code>#include·<numeric></code><br·/> | ||
| 83 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
| 85 | <code>#include·<dune/common/ | 84 | <code>#include·<dune/common/fvector.hh></code><br·/> |
| 85 | <code>#include·<dune/common/math.hh></code><br·/> | ||
| 86 | <code>#include·<dune/ | 86 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> |
| 87 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
| 87 | <code>#include·<dune/ | 88 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> |
| 88 | <code>#include·<dune/localfunctions/common/localfiniteelement | 89 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> |
| 89 | <code>#include·<dune/localfunctions/raviartthomas.hh></code><br·/> | ||
| 90 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></code><br·/> | ||
| 91 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></code><br·/> | ||
| 92 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></code><br·/> | ||
| 93 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></code><br·/> | ||
| 94 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></code><br·/> | ||
| 95 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></code><br·/> | ||
| 96 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></code><br·/> | ||
| 97 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></code><br·/> | ||
| 98 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
| 99 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
| 100 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
| 101 | <code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></code><br·/> | ||
| 102 | </div> | 90 | </div> |
| 103 | <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p> | 91 | <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 104 | <table·class="memberdecls"> | 92 | <table·class="memberdecls"> |
| 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
| 106 | Classes</h2></td></tr> | ||
| 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01839.html">Dune::Functions::RaviartThomasPreBasis<·GV,·k·></a></td></tr> | ||
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01835.html">Dune::Functions::RaviartThomasNode<·GV,·k·></a></td></tr> | ||
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 111 | </table><table·class="memberdecls"> | ||
| 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 113 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
| 114 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 116 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 118 | <tr·class="memitem:a00230"·id="r_a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::BasisFactory</a></td></tr> | ||
| 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 120 | </table><table·class="memberdecls"> | ||
| 121 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
| 122 | Typedefs</h2></td></tr> | ||
| 123 | <tr·class="memitem:a79a7c0c6e2a4ba12c82164fcbbae6c63"·id="r_a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
| 124 | <tr·class="memitem:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#a79a7c0c6e2a4ba12c82164fcbbae6c63">Dune::Functions::RaviartThomasBasis</a>·=·<a·class="el"·href="a01563.html">DefaultGlobalBasis</a><·<a·class="el"·href="a01839.html">RaviartThomasPreBasis</a><·GV,·k·>·></td></tr> | ||
| 125 | <tr·class="memdesc:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.··<br·/></td></tr> | ||
| 126 | <tr·class="separator:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 127 | </table><table·class="memberdecls"> | ||
| 128 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 129 | Functions</h2></td></tr> | ||
| 130 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"·id="r_gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
| 131 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#gac7c656af99728aa385381f5d78ae0b98">Dune::Functions::BasisFactory::raviartThomas</a>·()</td></tr> | ||
| 132 | <tr·class="memdesc:gac7c656af99728aa385381f5d78ae0b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis.··<br·/></td></tr> | ||
| 133 | <tr·class="separator:gac7c656af99728aa385381f5d78ae0b98"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 134 | </table> | 99 | </table> |
| 135 | </div><!--·contents·--> | 100 | </div><!--·contents·--> |
| 136 | <!--·start·footer·part·--> | 101 | <!--·start·footer·part·--> |
| 137 | <hr·class="footer"/><address·class="footer"><small> | 102 | <hr·class="footer"/><address·class="footer"><small> |
| 138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 103 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 139 | </small></address> | 104 | </small></address> |
| 140 | </body> | 105 | </body> |
| Offset 1, 53 lines modified | Offset 1, 26 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
| 9 | 8 | Namespaces | |
| 9 | globalvaluedlocalfiniteelement.hh·File·Reference | ||
| 10 | #include·<array> | 10 | #include·<array> |
| 11 | #include·<numeric> | ||
| 12 | #include·<dune/common/fmatrix.hh> | ||
| 11 | #include·<dune/common/ | 13 | #include·<dune/common/fvector.hh> |
| 14 | #include·<dune/common/math.hh> | ||
| 12 | #include·<dune/ | 15 | #include·<dune/common/rangeutilities.hh> |
| 13 | #include·<dune/gr | 16 | #include·<dune/geometry/referenceelements.hh> |
| 17 | #include·<dune/localfunctions/common/localbasis.hh> | ||
| 14 | #include·<dune/localfunctions/common/localfiniteelement | 18 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> |
| 15 | #include·<dune/localfunctions/raviartthomas.hh> | ||
| 16 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
| 17 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
| 18 | #include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
| 19 | #include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
| 20 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
| 21 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
| 22 | #include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
| 23 | #include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
| 24 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
| 25 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
| 26 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 27 | #include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 28 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
| 29 | Classes | ||
| 30 | class· ·Dune::Functions::RaviartThomasPreBasis<_GV,_k_> | ||
| 31 | |||
| 32 | class· ·Dune::Functions::RaviartThomasNode<_GV,_k_> | ||
| 33 | |||
| 34 | Namespaces | 20 | Namespaces |
| 35 | namespace· ·Dune | 21 | namespace· ·Dune |
| 36 | 22 | ||
| 37 | namespace· ·Dune::Functions | 23 | namespace· ·Dune::Functions |
| 38 | 24 | ||
| 39 | namespace· ·Dune::Functions::BasisFactory | ||
| 40 | |||
| 41 | Typedefs | ||
| 42 | template<typename·GV·,·int·k> | ||
| 43 | using ·Dune::Functions::RaviartThomasBasis·=·DefaultGlobalBasis< | ||
| 44 | ·······RaviartThomasPreBasis<·GV,·k·>·> | ||
| 45 | ······Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space. | ||
| 46 | |||
| 47 | Functions | ||
| 48 | template<std::size_t·k> | ||
| 49 | auto ·Dune::Functions::BasisFactory::raviartThomas·() | ||
| 50 | ·····Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis. | ||
| 51 | |||
| 52 | =============================================================================== | 25 | =============================================================================== |
| 53 | ·····Generated·by [doxygen]·1.9.8 | 26 | ·····Generated·by [doxygen]·1.9.8 |
| Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
| 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
| 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·globalvaluedlocalfiniteelement.hh·Source·File</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 74, 462 lines modified | Offset 74, 327 lines modified | ||
| 74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
| 75 | ··<ul> | 75 | ··<ul> |
| 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 77 | </div> | 77 | </div> |
| 78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
| 79 | <div·class="header"> | 79 | <div·class="header"> |
| 80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">globalvaluedlocalfiniteelement.hh</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <a·href="a00197.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00197.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
| 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
| 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span>·</div> |
| 86 | <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> | 86 | <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> |
| 87 | <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> | 87 | <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> |
| 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
| 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH</span></div> |
| 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH</span></div> |
| 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
| 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<numeric></span></div> |
| 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
| 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/ | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> |
| 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/ | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
| 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> | ||
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
| 97 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
| 99 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> |
| 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></span></div> | ||
| 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></span></div> | ||
| 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></span></div> | ||
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></span></div> | ||
| 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></span></div> | ||
| 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></span></div> | ||
| 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></span></div> | ||
| 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
| 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00134.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
| 110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
| 111 | <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/defaultglobalbasis.hh</a>></span></div> | ||
| 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00188.html">dune/functions/functionspacebases/leafprebasismixin.hh</a>></span></div> | ||
| 113 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
| 114 | <div·class="line"><a·id="l000 | 102 | <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> |
| 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
| 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
| 115 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Dune::Functions::Impl</div> |
| 116 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> |
| 117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
| 118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
| 119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<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> | ||
| 120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo</div> | ||
| 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{</div> | ||
| 122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
| 123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
| 124 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
| 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
| 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 127 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">struct·</span>ContravariantPiolaTransformator</div> |
| 128 | <div·class="line"><a·id="l0004 | 109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{</div> |
| 110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Values,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
| 111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·apply(Values&·values,</div> | ||
| 129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword"> | 112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······················<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> |
| 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·· | 113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······················<span·class="keyword">const</span>·Geometry&·geometry)</div> |
| 131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 114 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> |
| 132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 133 | <div·class="line"><a·id="l0005 | 115 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> |
| 116 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
| 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>· | 117 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
| 135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword | 118 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>&·value·:·values)</div> |
| 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·· | 119 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······{</div> |
| 120 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keyword">auto</span>·tmp·=·value;</div> | ||
| 121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········jacobianTransposed.mtv(tmp,·value);</div> | ||
| 137 | <div·class="line"><a·id="l0005 | 122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········value·/=·integrationElement;</div> |
| 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<3,D,R,0></div> | ||
| 140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·· | 123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div> |
| 141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>···· | 124 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> |
| 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>· | 125 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
| 126 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Gradients,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
| 127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·applyJacobian(Gradients&·gradients,</div> | ||
| 143 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
| 144 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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> | ||
| 145 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo</div> | ||
| 146 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··{</div> | ||
| 147 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
| 148 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
| 149 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··};</div> | ||
| 150 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
| 151 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| 152 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,0></div> | ||
| 153 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> | ||
| 154 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword"> | 128 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······························<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> |
| 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·· | 129 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······························<span·class="keyword">const</span>·Geometry&·geometry)</div> |
| 156 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····{</div> |
| 131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> | ||
| 132 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
| 157 | <div·class="line"><a·id="l0007 | 133 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>&·gradient·:·gradients)</div> |
| 158 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,1></div> | ||
| 159 | <div·class="line"><a·id="l0007 | 134 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······{</div> |
| 160 | <div·class="line"><a·id="l0007 | 135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········<span·class="keyword">auto</span>·tmp·=·gradient;</div> |
| 136 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········gradient·=·0;</div> | ||
| 137 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·k=0;·k<gradient.M();·k++)</div> | ||
| 138 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·l=0;·l<tmp.N();·l++)</div> | ||
| 139 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="comment">//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse·DiagonalMatrix</span></div> | ||
| 140 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>············<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed[l]))</div> | ||
| 141 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··············gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k];</div> | ||
| 142 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········gradient·/=·integrationElement;</div> | ||
| 161 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······}</div> |
| 162 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
| 163 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
| Max diff block lines reached; 97500/125003 bytes (78.00%) of diff not shown. | |||
| Offset 1, 545 lines modified | Offset 1, 341 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*·functionspacebases | 7 | ····*·functionspacebases |
| 8 | 8 | globalvaluedlocalfiniteelement.hh | |
| 9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
| 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
| 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
| 12 | 3 | 12 | 3 |
| 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file | 13 | 4//·SPDX-FileCopyrightText:·Copyright·Â©·DUNE·Project·contributors,·see·file |
| 14 | AUTHORS.md | 14 | AUTHORS.md |
| 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR | 15 | 5//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception·OR |
| 16 | LGPL-3.0-or-later | 16 | LGPL-3.0-or-later |
| 17 | 6 | 17 | 6 |
| 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH | ||
| 19 | 18 | 7#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH | |
| 19 | 8#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH | ||
| 20 | 9 | 20 | 9 |
| 21 | 10#include·<array> | 21 | 10#include·<array> |
| 22 | 11#include·< | 22 | 11#include·<numeric> |
| 23 | 12 | 23 | 12 |
| 24 | 13#include·<dune/common/fmatrix.hh> | ||
| 25 | 14#include·<dune/common/fvector.hh> | ||
| 26 | 15#include·<dune/common/math.hh> | ||
| 24 | 1 | 27 | 16#include·<dune/common/rangeutilities.hh> |
| 25 | 14#include·<dune/grid/common/mcmgmapper.hh> | ||
| 26 | 1 | 28 | 17 |
| 29 | 18#include·<dune/geometry/referenceelements.hh> | ||
| 30 | 19 | ||
| 31 | 20#include·<dune/localfunctions/common/localbasis.hh> | ||
| 27 | 32 | 21#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | |
| 33 | 22 | ||
| 34 | 23namespace·Dune::Functions::Impl | ||
| 35 | 24{ | ||
| 36 | 25 | ||
| 37 | 39·struct·ContravariantPiolaTransformator | ||
| 28 | 17#include·<dune/localfunctions/raviartthomas.hh> | ||
| 29 | 18#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
| 30 | 19#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
| 31 | 20#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
| 32 | 21#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
| 33 | 22#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
| 34 | 23#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
| 35 | 24#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
| 36 | 25#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
| 37 | 26 | ||
| 38 | 27#include·<dune/functions/functionspacebases/ | ||
| 39 | globalvaluedlocalfiniteelement.hh> | ||
| 40 | 28#include·<dune/functions/functionspacebases/nodes.hh> | ||
| 41 | 29#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
| 42 | 30#include·<dune/functions/functionspacebases/leafprebasismixin.hh> | ||
| 43 | 31 | ||
| 44 | 32namespace·Dune·{ | ||
| 45 | 33namespace·Functions·{ | ||
| 46 | 34 | ||
| 47 | 35namespace·Impl·{ | ||
| 48 | 36 | ||
| 49 | 37·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 50 | 38·struct·RaviartThomasSimplexLocalInfo | ||
| 51 | 39·{ | ||
| 52 | 40·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
| 53 | 41·using·FiniteElement·=·void*; | ||
| 54 | 42·}; | ||
| 55 | 43 | ||
| 56 | 44·template<typename·D,·typename·R> | ||
| 57 | 45·struct·RaviartThomasSimplexLocalInfo<2,D,R,0> | ||
| 58 | 4 | 38 | 40·{ |
| 39 | 45·template<typename·Values,·typename·LocalCoordinate,·typename·Geometry> | ||
| 40 | 46·static·auto·apply(Values&·values, | ||
| 41 | 47·const·LocalCoordinate&·xi, | ||
| 42 | 48·const·Geometry&·geometry) | ||
| 59 | 47·using·FiniteElement·=·RT02DLocalFiniteElement<D,R>; | ||
| 60 | 48·}; | ||
| 61 | 49 | ||
| 62 | 50·template<typename·D,·typename·R> | ||
| 63 | 51·struct·RaviartThomasSimplexLocalInfo<2,D,R,1> | ||
| 64 | 52·{ | ||
| 65 | 53·using·FiniteElement·=·RT12DLocalFiniteElement<D,R>; | ||
| 66 | 54·}; | ||
| 67 | 55 | ||
| 68 | 56·template<typename·D,·typename·R> | ||
| 69 | 57·struct·RaviartThomasSimplexLocalInfo<3,D,R,0> | ||
| 70 | 58·{ | ||
| 71 | 59·using·FiniteElement·=·RT03DLocalFiniteElement<D,R>; | ||
| 72 | 60·}; | ||
| 73 | 61 | ||
| 74 | 62·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
| 75 | 63·struct·RaviartThomasCubeLocalInfo | ||
| 76 | 43 | 49·{ | |
| 44 | 50·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
| 45 | 51·auto·integrationElement·=·geometry.integrationElement(xi); | ||
| 46 | 52 | ||
| 47 | 53·for·(auto&·value·:·values) | ||
| 77 | 65·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
| 78 | 66·using·FiniteElement·=·void*; | ||
| 79 | 67·}; | ||
| 80 | 68 | ||
| 81 | 69·template<typename·D,·typename·R> | ||
| 82 | 70·struct·RaviartThomasCubeLocalInfo<2,D,R,0> | ||
| 83 | 71·{ | ||
| 84 | 72·using·FiniteElement·=·RT0Cube2DLocalFiniteElement<D,R>; | ||
| 85 | 73·}; | ||
| 86 | 74 | ||
| 87 | 75·template<typename·D,·typename·R> | ||
| 88 | 76·struct·RaviartThomasCubeLocalInfo<2,D,R,1> | ||
| 89 | 77·{ | ||
| 90 | 78·using·FiniteElement·=·RT1Cube2DLocalFiniteElement<D,R>; | ||
| 91 | 79·}; | ||
| 92 | 80 | ||
| 93 | 81·template<typename·D,·typename·R> | ||
| 94 | 82·struct·RaviartThomasCubeLocalInfo<2,D,R,2> | ||
| 95 | 83·{ | ||
| 96 | 84·using·FiniteElement·=·RT2Cube2DLocalFiniteElement<D,R>; | ||
| 97 | 85·}; | ||
| 98 | 86 | ||
| 99 | 87·template<typename·D,·typename·R> | ||
| 100 | 88·struct·RaviartThomasCubeLocalInfo<3,D,R,0> | ||
| 101 | 89·{ | ||
| 102 | 90·using·FiniteElement·=·RT0Cube3DLocalFiniteElement<D,R>; | ||
| 103 | 91·}; | ||
| 104 | 92 | ||
| 105 | 93·template<typename·D,·typename·R> | ||
| 106 | 94·struct·RaviartThomasCubeLocalInfo<3,D,R,1> | ||
| 107 | 48 | 54·{ | |
| Max diff block lines reached; 21940/27836 bytes (78.82%) of diff not shown. | |||
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Polynomial<·K,·C·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Polynomial<·K,·C·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>A·univariate·polynomial·implementation.·· | 85 | <p>A·univariate·polynomial·implementation.·· |
| 86 | ·<a·href="a01055.html#details">More...</a></p> | 86 | ·<a·href="a01055.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a000 | 87 | <p><code>#include·<<a·class="el"·href="a00032_source.html">dune/functions/analyticfunctions/polynomial.hh</a>></code></p> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 90 | Public·Types</h2></td></tr> | 90 | Public·Types</h2></td></tr> |
| 91 | <tr·class="memitem:a6660b219fdc60ff7df0ebcdc6003b22c"·id="r_a6660b219fdc60ff7df0ebcdc6003b22c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01055.html#a6660b219fdc60ff7df0ebcdc6003b22c">Coefficients</a>·=·C</td></tr> | 91 | <tr·class="memitem:a6660b219fdc60ff7df0ebcdc6003b22c"·id="r_a6660b219fdc60ff7df0ebcdc6003b22c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01055.html#a6660b219fdc60ff7df0ebcdc6003b22c">Coefficients</a>·=·C</td></tr> |
| 92 | <tr·class="memdesc:a6660b219fdc60ff7df0ebcdc6003b22c"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·the·stored·coefficient·container.··<br·/></td></tr> | 92 | <tr·class="memdesc:a6660b219fdc60ff7df0ebcdc6003b22c"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·the·stored·coefficient·container.··<br·/></td></tr> |
| 93 | <tr·class="separator:a6660b219fdc60ff7df0ebcdc6003b22c"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:a6660b219fdc60ff7df0ebcdc6003b22c"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
| Offset 299, 15 lines modified | Offset 299, 15 lines modified | ||
| 299 | </div><div·class="memdoc"> | 299 | </div><div·class="memdoc"> |
| 300 | <p>Comparison·of·coefficients.·</p> | 300 | <p>Comparison·of·coefficients.·</p> |
| 301 | </div> | 301 | </div> |
| 302 | </div> | 302 | </div> |
| 303 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 303 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 304 | <li><a·class="el"·href="a000 | 304 | <li><a·class="el"·href="a00032_source.html">polynomial.hh</a></li> |
| 305 | </ul> | 305 | </ul> |
| 306 | </div><!--·contents·--> | 306 | </div><!--·contents·--> |
| 307 | <!--·start·footer·part·--> | 307 | <!--·start·footer·part·--> |
| 308 | <hr·class="footer"/><address·class="footer"><small> | 308 | <hr·class="footer"/><address·class="footer"><small> |
| 309 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 309 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 310 | </small></address> | 310 | </small></address> |
| 311 | </body> | 311 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>A·linear·combination·of·trigonomic·functions.·· | 82 | <p>A·linear·combination·of·trigonomic·functions.·· |
| 83 | ·<a·href="a01067.html#details">More...</a></p> | 83 | ·<a·href="a01067.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/analyticfunctions/trigonometricfunction.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a84e99df5856264ae06faa710876763aa"·id="r_a84e99df5856264ae06faa710876763aa"><td·class="memItemLeft"·align="right"·valign="top">K </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html#a84e99df5856264ae06faa710876763aa">operator()</a>·(const·K·&x)·const</td></tr> | 88 | <tr·class="memitem:a84e99df5856264ae06faa710876763aa"·id="r_a84e99df5856264ae06faa710876763aa"><td·class="memItemLeft"·align="right"·valign="top">K </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html#a84e99df5856264ae06faa710876763aa">operator()</a>·(const·K·&x)·const</td></tr> |
| 89 | <tr·class="memdesc:a84e99df5856264ae06faa710876763aa"><td·class="mdescLeft"> </td><td·class="mdescRight">Evaluate·function.··<br·/></td></tr> | 89 | <tr·class="memdesc:a84e99df5856264ae06faa710876763aa"><td·class="mdescLeft"> </td><td·class="mdescRight">Evaluate·function.··<br·/></td></tr> |
| 90 | <tr·class="separator:a84e99df5856264ae06faa710876763aa"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a84e99df5856264ae06faa710876763aa"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 131, 15 lines modified | Offset 131, 15 lines modified | ||
| 131 | </div><div·class="memdoc"> | 131 | </div><div·class="memdoc"> |
| 132 | <p>Evaluate·function.·</p> | 132 | <p>Evaluate·function.·</p> |
| 133 | </div> | 133 | </div> |
| 134 | </div> | 134 | </div> |
| 135 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 135 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 136 | <li><a·class="el"·href="a000 | 136 | <li><a·class="el"·href="a00029_source.html">trigonometricfunction.hh</a></li> |
| 137 | </ul> | 137 | </ul> |
| 138 | </div><!--·contents·--> | 138 | </div><!--·contents·--> |
| 139 | <!--·start·footer·part·--> | 139 | <!--·start·footer·part·--> |
| 140 | <hr·class="footer"/><address·class="footer"><small> | 140 | <hr·class="footer"/><address·class="footer"><small> |
| 141 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 141 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 142 | </small></address> | 142 | </small></address> |
| 143 | </body> | 143 | </body> |
| Offset 76, 19 lines modified | Offset 76, 19 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::InvalidRange·Class·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::InvalidRange·Class·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·· | 79 | <p>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·· |
| 80 | ·<a·href="a01083.html#details">More...</a></p> | 80 | ·<a·href="a01083.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a000 | 81 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
| 82 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 82 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| 83 | <div·class="textblock"><p>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·</p> | 83 | <div·class="textblock"><p>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·</p> |
| 84 | </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 84 | </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 85 | <li><a·class="el"·href="a000 | 85 | <li><a·class="el"·href="a00041_source.html">defaultderivativetraits.hh</a></li> |
| 86 | </ul> | 86 | </ul> |
| 87 | </div><!--·contents·--> | 87 | </div><!--·contents·--> |
| 88 | <!--·start·footer·part·--> | 88 | <!--·start·footer·part·--> |
| 89 | <hr·class="footer"/><address·class="footer"><small> | 89 | <hr·class="footer"/><address·class="footer"><small> |
| 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 91 | </small></address> | 91 | </small></address> |
| 92 | </body> | 92 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·Signature·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·Signature·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Default·implementation·for·derivative·traits.·· | 82 | <p>Default·implementation·for·derivative·traits.·· |
| 83 | ·<a·href="a01087.html#details">More...</a></p> | 83 | ·<a·href="a01087.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:a3f8978146cb9b334705b651d84194b98"·id="r_a3f8978146cb9b334705b651d84194b98"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01083.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html#a3f8978146cb9b334705b651d84194b98">Range</a></td></tr> | 88 | <tr·class="memitem:a3f8978146cb9b334705b651d84194b98"·id="r_a3f8978146cb9b334705b651d84194b98"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01083.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html#a3f8978146cb9b334705b651d84194b98">Range</a></td></tr> |
| 89 | <tr·class="memdesc:a3f8978146cb9b334705b651d84194b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<br·/></td></tr> | 89 | <tr·class="memdesc:a3f8978146cb9b334705b651d84194b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<br·/></td></tr> |
| 90 | <tr·class="separator:a3f8978146cb9b334705b651d84194b98"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a3f8978146cb9b334705b651d84194b98"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 111, 15 lines modified | Offset 111, 15 lines modified | ||
| 111 | </div><div·class="memdoc"> | 111 | </div><div·class="memdoc"> |
| 112 | <p>Range·of·derivative·for·function·with·given·signature.·</p> | 112 | <p>Range·of·derivative·for·function·with·given·signature.·</p> |
| 113 | </div> | 113 | </div> |
| 114 | </div> | 114 | </div> |
| 115 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 115 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 116 | <li><a·class="el"·href="a000 | 116 | <li><a·class="el"·href="a00041_source.html">defaultderivativetraits.hh</a></li> |
| 117 | </ul> | 117 | </ul> |
| 118 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
| 119 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
| 120 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
| 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 122 | </small></address> | 122 | </small></address> |
| 123 | </body> | 123 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·double(double)·>·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·double(double)·>·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Default·implementation·for·derivative·traits.·· | 82 | <p>Default·implementation·for·derivative·traits.·· |
| 83 | ·<a·href="a01091.html#details">More...</a></p> | 83 | ·<a·href="a01091.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:a801e37f182d8c16ba1cfd72de1f17688"·id="r_a801e37f182d8c16ba1cfd72de1f17688"><td·class="memItemLeft"·align="right"·valign="top">typedef·double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a></td></tr> | 88 | <tr·class="memitem:a801e37f182d8c16ba1cfd72de1f17688"·id="r_a801e37f182d8c16ba1cfd72de1f17688"><td·class="memItemLeft"·align="right"·valign="top">typedef·double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a></td></tr> |
| 89 | <tr·class="memdesc:a801e37f182d8c16ba1cfd72de1f17688"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> | 89 | <tr·class="memdesc:a801e37f182d8c16ba1cfd72de1f17688"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> |
| 90 | <tr·class="separator:a801e37f182d8c16ba1cfd72de1f17688"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a801e37f182d8c16ba1cfd72de1f17688"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 108, 15 lines modified | Offset 108, 15 lines modified | ||
| 108 | </div><div·class="memdoc"> | 108 | </div><div·class="memdoc"> |
| 109 | <p>Range·of·derivative·for·function·with·given·signature.···</p> | 109 | <p>Range·of·derivative·for·function·with·given·signature.···</p> |
| 110 | </div> | 110 | </div> |
| 111 | </div> | 111 | </div> |
| 112 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 112 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 113 | <li><a·class="el"·href="a000 | 113 | <li><a·class="el"·href="a00041_source.html">defaultderivativetraits.hh</a></li> |
| 114 | </ul> | 114 | </ul> |
| 115 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
| 116 | <!--·start·footer·part·--> | 116 | <!--·start·footer·part·--> |
| 117 | <hr·class="footer"/><address·class="footer"><small> | 117 | <hr·class="footer"/><address·class="footer"><small> |
| 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 119 | </small></address> | 119 | </small></address> |
| 120 | </body> | 120 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Default·implementation·for·derivative·traits.·· | 82 | <p>Default·implementation·for·derivative·traits.·· |
| 83 | ·<a·href="a01095.html#details">More...</a></p> | 83 | ·<a·href="a01095.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:ad1603332ee1c64f89c0fc18a8ee273d6"·id="r_ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldVector<·K,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01095.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a></td></tr> | 88 | <tr·class="memitem:ad1603332ee1c64f89c0fc18a8ee273d6"·id="r_ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldVector<·K,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01095.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a></td></tr> |
| 89 | <tr·class="memdesc:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> | 89 | <tr·class="memdesc:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> |
| 90 | <tr·class="separator:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 117, 15 lines modified | Offset 117, 15 lines modified | ||
| 117 | </div><div·class="memdoc"> | 117 | </div><div·class="memdoc"> |
| 118 | <p>Range·of·derivative·for·function·with·given·signature.···</p> | 118 | <p>Range·of·derivative·for·function·with·given·signature.···</p> |
| 119 | </div> | 119 | </div> |
| 120 | </div> | 120 | </div> |
| 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 122 | <li><a·class="el"·href="a000 | 122 | <li><a·class="el"·href="a00041_source.html">defaultderivativetraits.hh</a></li> |
| 123 | </ul> | 123 | </ul> |
| 124 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 125 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 126 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
| 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 128 | </small></address> | 128 | </small></address> |
| 129 | </body> | 129 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Default·implementation·for·derivative·traits.·· | 82 | <p>Default·implementation·for·derivative·traits.·· |
| 83 | ·<a·href="a01099.html#details">More...</a></p> | 83 | ·<a·href="a01099.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:ace3fbe5caed8c848072466ff723e82ab"·id="r_ace3fbe5caed8c848072466ff723e82ab"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01099.html#ace3fbe5caed8c848072466ff723e82ab">Range</a></td></tr> | 88 | <tr·class="memitem:ace3fbe5caed8c848072466ff723e82ab"·id="r_ace3fbe5caed8c848072466ff723e82ab"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01099.html#ace3fbe5caed8c848072466ff723e82ab">Range</a></td></tr> |
| 89 | <tr·class="memdesc:ace3fbe5caed8c848072466ff723e82ab"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> | 89 | <tr·class="memdesc:ace3fbe5caed8c848072466ff723e82ab"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> |
| 90 | <tr·class="separator:ace3fbe5caed8c848072466ff723e82ab"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:ace3fbe5caed8c848072466ff723e82ab"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 117, 15 lines modified | Offset 117, 15 lines modified | ||
| 117 | </div><div·class="memdoc"> | 117 | </div><div·class="memdoc"> |
| 118 | <p>Range·of·derivative·for·function·with·given·signature.···</p> | 118 | <p>Range·of·derivative·for·function·with·given·signature.···</p> |
| 119 | </div> | 119 | </div> |
| 120 | </div> | 120 | </div> |
| 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 122 | <li><a·class="el"·href="a000 | 122 | <li><a·class="el"·href="a00041_source.html">defaultderivativetraits.hh</a></li> |
| 123 | </ul> | 123 | </ul> |
| 124 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 125 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 126 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
| 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 128 | </small></address> | 128 | </small></address> |
| 129 | </body> | 129 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Default·implementation·for·derivative·traits.·· | 82 | <p>Default·implementation·for·derivative·traits.·· |
| 83 | ·<a·href="a01103.html#details">More...</a></p> | 83 | ·<a·href="a01103.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:a5379bc605e79658f7a54ec17e3946e9b"·id="r_a5379bc605e79658f7a54ec17e3946e9b"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01103.html#a5379bc605e79658f7a54ec17e3946e9b">Range</a></td></tr> | 88 | <tr·class="memitem:a5379bc605e79658f7a54ec17e3946e9b"·id="r_a5379bc605e79658f7a54ec17e3946e9b"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01103.html#a5379bc605e79658f7a54ec17e3946e9b">Range</a></td></tr> |
| 89 | <tr·class="memdesc:a5379bc605e79658f7a54ec17e3946e9b"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> | 89 | <tr·class="memdesc:a5379bc605e79658f7a54ec17e3946e9b"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.····<br·/></td></tr> |
| 90 | <tr·class="separator:a5379bc605e79658f7a54ec17e3946e9b"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a5379bc605e79658f7a54ec17e3946e9b"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 117, 15 lines modified | Offset 117, 15 lines modified | ||
| 117 | </div><div·class="memdoc"> | 117 | </div><div·class="memdoc"> |
| 118 | <p>Range·of·derivative·for·function·with·given·signature.···</p> | 118 | <p>Range·of·derivative·for·function·with·given·signature.···</p> |
| 119 | </div> | 119 | </div> |
| 120 | </div> | 120 | </div> |
| 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 121 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 122 | <li><a·class="el"·href="a000 | 122 | <li><a·class="el"·href="a00041_source.html">defaultderivativetraits.hh</a></li> |
| 123 | </ul> | 123 | </ul> |
| 124 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
| 125 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
| 126 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
| 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 128 | </small></address> | 128 | </small></address> |
| 129 | </body> | 129 | </body> |
| Offset 73, 17 lines modified | Offset 73, 17 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p><code>#include·<<a·class="el"·href="a000 | 79 | <p><code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code></p> |
| 80 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 80 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 81 | <li><a·class="el"·href="a000 | 81 | <li><a·class="el"·href="a00044_source.html">differentiablefunction.hh</a></li> |
| 82 | </ul> | 82 | </ul> |
| 83 | </div><!--·contents·--> | 83 | </div><!--·contents·--> |
| 84 | <!--·start·footer·part·--> | 84 | <!--·start·footer·part·--> |
| 85 | <hr·class="footer"/><address·class="footer"><small> | 85 | <hr·class="footer"/><address·class="footer"><small> |
| 86 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 86 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 87 | </small></address> | 87 | </small></address> |
| 88 | </body> | 88 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>Class·storing·differentiable·functions·using·type·erasure.·· | 83 | <p>Class·storing·differentiable·functions·using·type·erasure.·· |
| 84 | ·<a·href="a01115.html#details">More...</a></p> | 84 | ·<a·href="a01115.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01114.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01114.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Class·storing·differentiable·functions·using·type·erasure."·alt=""·coords="843,66,1081,121"/> | 91 | <area·shape="rect"·title="Class·storing·differentiable·functions·using·type·erasure."·alt=""·coords="843,66,1081,121"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="475,44,793,143"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="475,44,793,143"/> |
| Offset 233, 15 lines modified | Offset 233, 15 lines modified | ||
| 233 | </div><div·class="memdoc"> | 233 | </div><div·class="memdoc"> |
| 234 | <p>Evaluation·of·wrapped·function.·</p> | 234 | <p>Evaluation·of·wrapped·function.·</p> |
| 235 | </div> | 235 | </div> |
| 236 | </div> | 236 | </div> |
| 237 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 237 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 238 | <li><a·class="el"·href="a000 | 238 | <li><a·class="el"·href="a00044_source.html">differentiablefunction.hh</a></li> |
| 239 | </ul> | 239 | </ul> |
| 240 | </div><!--·contents·--> | 240 | </div><!--·contents·--> |
| 241 | <!--·start·footer·part·--> | 241 | <!--·start·footer·part·--> |
| 242 | <hr·class="footer"/><address·class="footer"><small> | 242 | <hr·class="footer"/><address·class="footer"><small> |
| 243 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 243 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 244 | </small></address> | 244 | </small></address> |
| 245 | </body> | 245 | </body> |
| Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
| 83 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"> |
| 84 | <area·shape="rect"·title="·"·alt=""·coords="5,22,232,77"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="5,22,232,77"/> |
| 85 | <area·shape="rect"·href="a01139.html"·title="·"·alt=""·coords="413,22,696,77"/> | 85 | <area·shape="rect"·href="a01139.html"·title="·"·alt=""·coords="413,22,696,77"/> |
| 86 | <area·shape="poly"·title="·"·alt=""·coords="246,47,413,47,413,52,246,52"/> | 86 | <area·shape="poly"·title="·"·alt=""·coords="246,47,413,47,413,52,246,52"/> |
| 87 | </map> | 87 | </map> |
| 88 | </div> | 88 | </div> |
| 89 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 89 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 90 | <li><a·class="el"·href="a000 | 90 | <li><a·class="el"·href="a00089_source.html">differentiablefunctionfromcallables.hh</a></li> |
| 91 | </ul> | 91 | </ul> |
| 92 | </div><!--·contents·--> | 92 | </div><!--·contents·--> |
| 93 | <!--·start·footer·part·--> | 93 | <!--·start·footer·part·--> |
| 94 | <hr·class="footer"/><address·class="footer"><small> | 94 | <hr·class="footer"/><address·class="footer"><small> |
| 95 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 95 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 96 | </small></address> | 96 | </small></address> |
| 97 | </body> | 97 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· | 84 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· |
| 85 | ·<a·href="a01143.html#details">More...</a></p> | 85 | ·<a·href="a01143.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/common/differentiablefunctionfromcallables.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:acffaa1044b3ca19944d0f78fc0ff1ac4"·id="r_acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01143.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·=·Range(Domain)</td></tr> | 90 | <tr·class="memitem:acffaa1044b3ca19944d0f78fc0ff1ac4"·id="r_acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01143.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·=·Range(Domain)</td></tr> |
| 91 | <tr·class="memdesc:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="mdescLeft"> </td><td·class="mdescRight">Signature·of·function.··<br·/></td></tr> | 91 | <tr·class="memdesc:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="mdescLeft"> </td><td·class="mdescRight">Signature·of·function.··<br·/></td></tr> |
| 92 | <tr·class="separator:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 93 | <tr·class="memitem:acce6cff869c703e4f707474228581e03"·id="r_acce6cff869c703e4f707474228581e03"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01143.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·typename·<a·class="el"·href="a01295.html">SignatureTraits</a><·<a·class="el"·href="a01143.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·>::RawSignature</td></tr> | 93 | <tr·class="memitem:acce6cff869c703e4f707474228581e03"·id="r_acce6cff869c703e4f707474228581e03"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01143.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·typename·<a·class="el"·href="a01295.html">SignatureTraits</a><·<a·class="el"·href="a01143.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·>::RawSignature</td></tr> |
| Offset 262, 15 lines modified | Offset 262, 15 lines modified | ||
| 262 | </div><div·class="memdoc"> | 262 | </div><div·class="memdoc"> |
| 263 | <p>Evaluate·function.·</p> | 263 | <p>Evaluate·function.·</p> |
| 264 | </div> | 264 | </div> |
| 265 | </div> | 265 | </div> |
| 266 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 266 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 267 | <li><a·class="el"·href="a000 | 267 | <li><a·class="el"·href="a00089_source.html">differentiablefunctionfromcallables.hh</a></li> |
| 268 | </ul> | 268 | </ul> |
| 269 | </div><!--·contents·--> | 269 | </div><!--·contents·--> |
| 270 | <!--·start·footer·part·--> | 270 | <!--·start·footer·part·--> |
| 271 | <hr·class="footer"/><address·class="footer"><small> | 271 | <hr·class="footer"/><address·class="footer"><small> |
| 272 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 272 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 273 | </small></address> | 273 | </small></address> |
| 274 | </body> | 274 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· | 84 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01167.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· |
| 85 | ·<a·href="a01147.html#details">More...</a></p> | 85 | ·<a·href="a01147.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/common/differentiablefunctionfromcallables.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:a735498bd93fc1c8f33ae9b13ddb56143"·id="r_a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·=·Range(Domain)</td></tr> | 90 | <tr·class="memitem:a735498bd93fc1c8f33ae9b13ddb56143"·id="r_a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·=·Range(Domain)</td></tr> |
| 91 | <tr·class="separator:a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:a8a377025a382bd84ae15639b09413719"·id="r_a8a377025a382bd84ae15639b09413719"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html#a8a377025a382bd84ae15639b09413719">RawSignature</a>·=·typename·<a·class="el"·href="a01295.html">SignatureTraits</a><·<a·class="el"·href="a01147.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·>::RawSignature</td></tr> | 92 | <tr·class="memitem:a8a377025a382bd84ae15639b09413719"·id="r_a8a377025a382bd84ae15639b09413719"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html#a8a377025a382bd84ae15639b09413719">RawSignature</a>·=·typename·<a·class="el"·href="a01295.html">SignatureTraits</a><·<a·class="el"·href="a01147.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·>::RawSignature</td></tr> |
| 93 | <tr·class="separator:a8a377025a382bd84ae15639b09413719"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:a8a377025a382bd84ae15639b09413719"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 270, 15 lines modified | Offset 270, 15 lines modified | ||
| 270 | </div><div·class="memdoc"> | 270 | </div><div·class="memdoc"> |
| 271 | <p>Evaluate·function.·</p> | 271 | <p>Evaluate·function.·</p> |
| 272 | </div> | 272 | </div> |
| 273 | </div> | 273 | </div> |
| 274 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 274 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 275 | <li><a·class="el"·href="a000 | 275 | <li><a·class="el"·href="a00089_source.html">differentiablefunctionfromcallables.hh</a></li> |
| 276 | </ul> | 276 | </ul> |
| 277 | </div><!--·contents·--> | 277 | </div><!--·contents·--> |
| 278 | <!--·start·footer·part·--> | 278 | <!--·start·footer·part·--> |
| 279 | <hr·class="footer"/><address·class="footer"><small> | 279 | <hr·class="footer"/><address·class="footer"><small> |
| 280 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 280 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 281 | </small></address> | 281 | </small></address> |
| 282 | </body> | 282 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Callable<·Args·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Callable<·Args·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.·· |
| 83 | ·<a·href="a01151.html#details">More...</a></p> | 83 | ·<a·href="a01151.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"·id="r_a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> | 88 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"·id="r_a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> |
| 89 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01151.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>·(F·&&f)·->·decltype(f(std::declval<·Args·>()...))</td></tr> | 89 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01151.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>·(F·&&f)·->·decltype(f(std::declval<·Args·>()...))</td></tr> |
| 90 | <tr·class="separator:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
| 120 | ········</tr> | 120 | ········</tr> |
| 121 | ······</table> | 121 | ······</table> |
| 122 | </div><div·class="memdoc"> | 122 | </div><div·class="memdoc"> |
| 123 | </div> | 123 | </div> |
| 124 | </div> | 124 | </div> |
| 125 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 125 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 126 | <li><a·class="el"·href="a000 | 126 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 127 | </ul> | 127 | </ul> |
| 128 | </div><!--·contents·--> | 128 | </div><!--·contents·--> |
| 129 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
| 130 | <hr·class="footer"/><address·class="footer"><small> | 130 | <hr·class="footer"/><address·class="footer"><small> |
| 131 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 131 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 132 | </small></address> | 132 | </small></address> |
| 133 | </body> | 133 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Signature·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Signature·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Range(Domain)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Range(Domain)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 83 | ·<a·href="a01159.html#details">More...</a></p> | 83 | ·<a·href="a01159.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::Concept::Function<·Range(Domain)>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::Concept::Function<·Range(Domain)>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01158.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01158.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Concept·for·a·function·mapping·Domain·to·Range."·alt=""·coords="5,93,196,133"/> | 90 | <area·shape="rect"·title="Concept·for·a·function·mapping·Domain·to·Range."·alt=""·coords="5,93,196,133"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="35,5,167,45"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="35,5,167,45"/> |
| Offset 131, 15 lines modified | Offset 131, 15 lines modified | ||
| 131 | ········</tr> | 131 | ········</tr> |
| 132 | ······</table> | 132 | ······</table> |
| 133 | </div><div·class="memdoc"> | 133 | </div><div·class="memdoc"> |
| 134 | </div> | 134 | </div> |
| 135 | </div> | 135 | </div> |
| 136 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 136 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 137 | <li><a·class="el"·href="a000 | 137 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 138 | </ul> | 138 | </ul> |
| 139 | </div><!--·contents·--> | 139 | </div><!--·contents·--> |
| 140 | <!--·start·footer·part·--> | 140 | <!--·start·footer·part·--> |
| 141 | <hr·class="footer"/><address·class="footer"><small> | 141 | <hr·class="footer"/><address·class="footer"><small> |
| 142 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 142 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 143 | </small></address> | 143 | </small></address> |
| 144 | </body> | 144 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 83 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 84 | ·<a·href="a01167.html#details">More...</a></p> | 84 | ·<a·href="a01167.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01166.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01166.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Concept·for·a·differentiable·function·mapping·Domain·to·Range."·alt=""·coords="5,108,239,163"/> | 91 | <area·shape="rect"·title="Concept·for·a·differentiable·function·mapping·Domain·to·Range."·alt=""·coords="5,108,239,163"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="29,5,215,60"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="29,5,215,60"/> |
| Offset 156, 15 lines modified | Offset 156, 15 lines modified | ||
| 156 | ········</tr> | 156 | ········</tr> |
| 157 | ······</table> | 157 | ······</table> |
| 158 | </div><div·class="memdoc"> | 158 | </div><div·class="memdoc"> |
| 159 | </div> | 159 | </div> |
| 160 | </div> | 160 | </div> |
| 161 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 161 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 162 | <li><a·class="el"·href="a000 | 162 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 163 | </ul> | 163 | </ul> |
| 164 | </div><!--·contents·--> | 164 | </div><!--·contents·--> |
| 165 | <!--·start·footer·part·--> | 165 | <!--·start·footer·part·--> |
| 166 | <hr·class="footer"/><address·class="footer"><small> | 166 | <hr·class="footer"/><address·class="footer"><small> |
| 167 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 167 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 168 | </small></address> | 168 | </small></address> |
| 169 | </body> | 169 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Signature,·LocalContext·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Signature,·LocalContext·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 83 | ·<a·href="a01175.html#details">More...</a></p> | 83 | ·<a·href="a01175.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01174.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01174.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Concept·for·a·local·function·mapping·Domain·to·Range."·alt=""·coords="11,108,186,163"/> | 90 | <area·shape="rect"·title="Concept·for·a·local·function·mapping·Domain·to·Range."·alt=""·coords="11,108,186,163"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,192,60"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,192,60"/> |
| Offset 132, 15 lines modified | Offset 132, 15 lines modified | ||
| 132 | ········</tr> | 132 | ········</tr> |
| 133 | ······</table> | 133 | ······</table> |
| 134 | </div><div·class="memdoc"> | 134 | </div><div·class="memdoc"> |
| 135 | </div> | 135 | </div> |
| 136 | </div> | 136 | </div> |
| 137 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 137 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 138 | <li><a·class="el"·href="a000 | 138 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 139 | </ul> | 139 | </ul> |
| 140 | </div><!--·contents·--> | 140 | </div><!--·contents·--> |
| 141 | <!--·start·footer·part·--> | 141 | <!--·start·footer·part·--> |
| 142 | <hr·class="footer"/><address·class="footer"><small> | 142 | <hr·class="footer"/><address·class="footer"><small> |
| 143 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 143 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 144 | </small></address> | 144 | </small></address> |
| 145 | </body> | 145 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Signature,·LocalContext,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Signature,·LocalContext,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 83 | ·<a·href="a01183.html#details">More...</a></p> | 83 | ·<a·href="a01183.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01182.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01182.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Concept·for·a·differentiable·local·function·mapping·Domain·to·Range."·alt=""·coords="337,13,549,82"/> | 90 | <area·shape="rect"·title="Concept·for·a·differentiable·local·function·mapping·Domain·to·Range."·alt=""·coords="337,13,549,82"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,289,89"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,289,89"/> |
| Offset 134, 15 lines modified | Offset 134, 15 lines modified | ||
| 134 | ········</tr> | 134 | ········</tr> |
| 135 | ······</table> | 135 | ······</table> |
| 136 | </div><div·class="memdoc"> | 136 | </div><div·class="memdoc"> |
| 137 | </div> | 137 | </div> |
| 138 | </div> | 138 | </div> |
| 139 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 139 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 140 | <li><a·class="el"·href="a000 | 140 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 141 | </ul> | 141 | </ul> |
| 142 | </div><!--·contents·--> | 142 | </div><!--·contents·--> |
| 143 | <!--·start·footer·part·--> | 143 | <!--·start·footer·part·--> |
| 144 | <hr·class="footer"/><address·class="footer"><small> | 144 | <hr·class="footer"/><address·class="footer"><small> |
| 145 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 145 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 146 | </small></address> | 146 | </small></address> |
| 147 | </body> | 147 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::EntitySet·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::EntitySet·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>·· |
| 83 | ·<a·href="a01187.html#details">More...</a></p> | 83 | ·<a·href="a01187.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"·id="r_a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> | 88 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"·id="r_a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> |
| 89 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01187.html#a68f40d08a99de681cf30949d76461d8a">require</a>·(E·&&f)·->·decltype(requireType<·typename·E::Element·>(),·requireType<·typename·E::LocalCoordinate·>(),·requireType<·typename·E::GlobalCoordinate·>())</td></tr> | 89 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01187.html#a68f40d08a99de681cf30949d76461d8a">require</a>·(E·&&f)·->·decltype(requireType<·typename·E::Element·>(),·requireType<·typename·E::LocalCoordinate·>(),·requireType<·typename·E::GlobalCoordinate·>())</td></tr> |
| 90 | <tr·class="separator:a68f40d08a99de681cf30949d76461d8a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a68f40d08a99de681cf30949d76461d8a"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| Offset 112, 15 lines modified | Offset 112, 15 lines modified | ||
| 112 | ········</tr> | 112 | ········</tr> |
| 113 | ······</table> | 113 | ······</table> |
| 114 | </div><div·class="memdoc"> | 114 | </div><div·class="memdoc"> |
| 115 | </div> | 115 | </div> |
| 116 | </div> | 116 | </div> |
| 117 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 117 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 118 | <li><a·class="el"·href="a000 | 118 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 119 | </ul> | 119 | </ul> |
| 120 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
| 121 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
| 122 | <hr·class="footer"/><address·class="footer"><small> | 122 | <hr·class="footer"/><address·class="footer"><small> |
| 123 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 123 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 124 | </small></address> | 124 | </small></address> |
| 125 | </body> | 125 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Signature,·EntitySet·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Signature,·EntitySet·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 83 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 84 | ·<a·href="a01195.html#details">More...</a></p> | 84 | ·<a·href="a01195.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01194.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01194.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Concept·for·a·grid·function·mapping·Domain·to·Range."·alt=""·coords="5,108,212,163"/> | 91 | <area·shape="rect"·title="Concept·for·a·grid·function·mapping·Domain·to·Range."·alt=""·coords="5,108,212,163"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="15,5,202,60"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="15,5,202,60"/> |
| Offset 173, 15 lines modified | Offset 173, 15 lines modified | ||
| 173 | ········</tr> | 173 | ········</tr> |
| 174 | ······</table> | 174 | ······</table> |
| 175 | </div><div·class="memdoc"> | 175 | </div><div·class="memdoc"> |
| 176 | </div> | 176 | </div> |
| 177 | </div> | 177 | </div> |
| 178 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 178 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 179 | <li><a·class="el"·href="a000 | 179 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 180 | </ul> | 180 | </ul> |
| 181 | </div><!--·contents·--> | 181 | </div><!--·contents·--> |
| 182 | <!--·start·footer·part·--> | 182 | <!--·start·footer·part·--> |
| 183 | <hr·class="footer"/><address·class="footer"><small> | 183 | <hr·class="footer"/><address·class="footer"><small> |
| 184 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 184 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 185 | </small></address> | 185 | </small></address> |
| 186 | </body> | 186 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Signature,·EntitySet,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Signature,·EntitySet,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 83 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 84 | ·<a·href="a01203.html#details">More...</a></p> | 84 | ·<a·href="a01203.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01202.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01202.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range."·alt=""·coords="331,13,520,82"/> | 91 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range."·alt=""·coords="331,13,520,82"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="5,5,283,89"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="5,5,283,89"/> |
| Offset 196, 15 lines modified | Offset 196, 15 lines modified | ||
| 196 | ········</tr> | 196 | ········</tr> |
| 197 | ······</table> | 197 | ······</table> |
| 198 | </div><div·class="memdoc"> | 198 | </div><div·class="memdoc"> |
| 199 | </div> | 199 | </div> |
| 200 | </div> | 200 | </div> |
| 201 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 201 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 202 | <li><a·class="el"·href="a000 | 202 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 203 | </ul> | 203 | </ul> |
| 204 | </div><!--·contents·--> | 204 | </div><!--·contents·--> |
| 205 | <!--·start·footer·part·--> | 205 | <!--·start·footer·part·--> |
| 206 | <hr·class="footer"/><address·class="footer"><small> | 206 | <hr·class="footer"/><address·class="footer"><small> |
| 207 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 207 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 208 | </small></address> | 208 | </small></address> |
| 209 | </body> | 209 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Signature,·GridView·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Signature,·GridView·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 83 | ·<a·href="a01211.html#details">More...</a></p> | 83 | ·<a·href="a01211.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01210.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01210.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Concept·for·a·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="272,13,455,67"/> | 90 | <area·shape="rect"·title="Concept·for·a·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="272,13,455,67"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,224,75"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,224,75"/> |
| Offset 133, 15 lines modified | Offset 133, 15 lines modified | ||
| 133 | ········</tr> | 133 | ········</tr> |
| 134 | ······</table> | 134 | ······</table> |
| 135 | </div><div·class="memdoc"> | 135 | </div><div·class="memdoc"> |
| 136 | </div> | 136 | </div> |
| 137 | </div> | 137 | </div> |
| 138 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 138 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 139 | <li><a·class="el"·href="a000 | 139 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 140 | </ul> | 140 | </ul> |
| 141 | </div><!--·contents·--> | 141 | </div><!--·contents·--> |
| 142 | <!--·start·footer·part·--> | 142 | <!--·start·footer·part·--> |
| 143 | <hr·class="footer"/><address·class="footer"><small> | 143 | <hr·class="footer"/><address·class="footer"><small> |
| 144 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 144 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 145 | </small></address> | 145 | </small></address> |
| 146 | </body> | 146 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Signature,·GridView,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Signature,·GridView,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00213.html">Function·concepts</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 82 | <p><a·class="el"·href="a00227.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
| 83 | ·<a·href="a01219.html#details">More...</a></p> | 83 | ·<a·href="a01219.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01218.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01218.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="292,13,585,67"/> | 90 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="292,13,585,67"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,244,75"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="5,5,244,75"/> |
| Offset 134, 15 lines modified | Offset 134, 15 lines modified | ||
| 134 | ········</tr> | 134 | ········</tr> |
| 135 | ······</table> | 135 | ······</table> |
| 136 | </div><div·class="memdoc"> | 136 | </div><div·class="memdoc"> |
| 137 | </div> | 137 | </div> |
| 138 | </div> | 138 | </div> |
| 139 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 139 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 140 | <li><a·class="el"·href="a000 | 140 | <li><a·class="el"·href="a00074_source.html">functionconcepts.hh</a></li> |
| 141 | </ul> | 141 | </ul> |
| 142 | </div><!--·contents·--> | 142 | </div><!--·contents·--> |
| 143 | <!--·start·footer·part·--> | 143 | <!--·start·footer·part·--> |
| 144 | <hr·class="footer"/><address·class="footer"><small> | 144 | <hr·class="footer"/><address·class="footer"><small> |
| 145 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 145 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 146 | </small></address> | 146 | </small></address> |
| 147 | </body> | 147 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicType<·Interface·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicType<·Interface·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Base·class·with·polymorphic·type·boiler·plate·code.·· | 82 | <p>Base·class·with·polymorphic·type·boiler·plate·code.·· |
| 83 | ·<a·href="a01243.html#details">More...</a></p> | 83 | ·<a·href="a01243.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/interfaces.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::PolymorphicType<·Interface·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::PolymorphicType<·Interface·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01242.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01242.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Base·class·with·polymorphic·type·boiler·plate·code."·alt=""·coords="5,375,204,415"/> | 90 | <area·shape="rect"·title="Base·class·with·polymorphic·type·boiler·plate·code."·alt=""·coords="5,375,204,415"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="1254,121,1479,205"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="1254,121,1479,205"/> |
| Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
| 253 | <p>Move·object·into·buffer.·</p> | 253 | <p>Move·object·into·buffer.·</p> |
| 254 | <p>move(buffer)·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·This·will·return·a·copy·of·<em>this·created·in·the·given·buffer·using·placement-new·with·move·construction.·You·must·not·delete·the·returned·pointer·since·it·points·to·the·given·buffer·(however·with·the·proper·type·instead·of·void</em>).·</p> | 254 | <p>move(buffer)·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·This·will·return·a·copy·of·<em>this·created·in·the·given·buffer·using·placement-new·with·move·construction.·You·must·not·delete·the·returned·pointer·since·it·points·to·the·given·buffer·(however·with·the·proper·type·instead·of·void</em>).·</p> |
| 255 | </div> | 255 | </div> |
| 256 | </div> | 256 | </div> |
| 257 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 257 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 258 | <li><a·class="el"·href="a000 | 258 | <li><a·class="el"·href="a00047_source.html">interfaces.hh</a></li> |
| 259 | </ul> | 259 | </ul> |
| 260 | </div><!--·contents·--> | 260 | </div><!--·contents·--> |
| 261 | <!--·start·footer·part·--> | 261 | <!--·start·footer·part·--> |
| 262 | <hr·class="footer"/><address·class="footer"><small> | 262 | <hr·class="footer"/><address·class="footer"><small> |
| 263 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 263 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 264 | </small></address> | 264 | </small></address> |
| 265 | </body> | 265 | </body> |
| Offset 73, 17 lines modified | Offset 73, 17 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Signature,·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Signature,·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p><code>#include·<<a·class="el"·href="a000 | 79 | <p><code>#include·<<a·class="el"·href="a00071_source.html">dune/functions/common/localfunction.hh</a>></code></p> |
| 80 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 80 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 81 | <li><a·class="el"·href="a000 | 81 | <li><a·class="el"·href="a00071_source.html">localfunction.hh</a></li> |
| 82 | </ul> | 82 | </ul> |
| 83 | </div><!--·contents·--> | 83 | </div><!--·contents·--> |
| 84 | <!--·start·footer·part·--> | 84 | <!--·start·footer·part·--> |
| 85 | <hr·class="footer"/><address·class="footer"><small> | 85 | <hr·class="footer"/><address·class="footer"><small> |
| 86 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 86 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 87 | </small></address> | 87 | </small></address> |
| 88 | </body> | 88 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>Class·storing·local·functions·using·type·erasure.·· | 83 | <p>Class·storing·local·functions·using·type·erasure.·· |
| 84 | ·<a·href="a01255.html#details">More...</a></p> | 84 | ·<a·href="a01255.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00071_source.html">dune/functions/common/localfunction.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01254.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01254.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Class·storing·local·functions·using·type·erasure."·alt=""·coords="917,66,1129,121"/> | 91 | <area·shape="rect"·title="Class·storing·local·functions·using·type·erasure."·alt=""·coords="917,66,1129,121"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="559,37,868,150"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="559,37,868,150"/> |
| Offset 361, 15 lines modified | Offset 361, 15 lines modified | ||
| 361 | </div><div·class="memdoc"> | 361 | </div><div·class="memdoc"> |
| 362 | <p>Unbind·from·local·context.·</p> | 362 | <p>Unbind·from·local·context.·</p> |
| 363 | </div> | 363 | </div> |
| 364 | </div> | 364 | </div> |
| 365 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 365 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 366 | <li><a·class="el"·href="a000 | 366 | <li><a·class="el"·href="a00071_source.html">localfunction.hh</a></li> |
| 367 | </ul> | 367 | </ul> |
| 368 | </div><!--·contents·--> | 368 | </div><!--·contents·--> |
| 369 | <!--·start·footer·part·--> | 369 | <!--·start·footer·part·--> |
| 370 | <hr·class="footer"/><address·class="footer"><small> | 370 | <hr·class="footer"/><address·class="footer"><small> |
| 371 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 371 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 372 | </small></address> | 372 | </small></address> |
| 373 | </body> | 373 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·n·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·n·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>A·statically·sized·MultiIndex·type.·· | 84 | <p>A·statically·sized·MultiIndex·type.·· |
| 85 | ·<a·href="a01267.html#details">More...</a></p> | 85 | ·<a·href="a01267.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/multiindex.hh</a>></code></p> |
| 87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
| 88 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·n·>:</div> | 88 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·n·>:</div> |
| 89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
| 90 | <div·class="center"><img·src="a01266.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01266.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 91 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"> |
| 92 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,79,193,119"/> | 92 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,79,193,119"/> |
| 93 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,31"/> | 93 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,31"/> |
| Offset 225, 15 lines modified | Offset 225, 15 lines modified | ||
| 225 | </div><div·class="memdoc"> | 225 | </div><div·class="memdoc"> |
| 226 | <p>STL·member.·</p> | 226 | <p>STL·member.·</p> |
| 227 | </div> | 227 | </div> |
| 228 | </div> | 228 | </div> |
| 229 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 229 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 230 | <li><a·class="el"·href="a000 | 230 | <li><a·class="el"·href="a00077_source.html">multiindex.hh</a></li> |
| 231 | </ul> | 231 | </ul> |
| 232 | </div><!--·contents·--> | 232 | </div><!--·contents·--> |
| 233 | <!--·start·footer·part·--> | 233 | <!--·start·footer·part·--> |
| 234 | <hr·class="footer"/><address·class="footer"><small> | 234 | <hr·class="footer"/><address·class="footer"><small> |
| 235 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 235 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 236 | </small></address> | 236 | </small></address> |
| 237 | </body> | 237 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·1·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·1·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>A·statically·sized·MultiIndex·type.·· | 85 | <p>A·statically·sized·MultiIndex·type.·· |
| 86 | ·<a·href="a01271.html#details">More...</a></p> | 86 | ·<a·href="a01271.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a000 | 87 | <p><code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/multiindex.hh</a>></code></p> |
| 88 | <div·class="dynheader"> | 88 | <div·class="dynheader"> |
| 89 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·1·>:</div> | 89 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·1·>:</div> |
| 90 | <div·class="dyncontent"> | 90 | <div·class="dyncontent"> |
| 91 | <div·class="center"><img·src="a01270.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 91 | <div·class="center"><img·src="a01270.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 92 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"> | 92 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"> |
| 93 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,79,193,119"/> | 93 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,79,193,119"/> |
| 94 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,31"/> | 94 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,31"/> |
| Offset 288, 15 lines modified | Offset 288, 15 lines modified | ||
| 288 | </div><div·class="memdoc"> | 288 | </div><div·class="memdoc"> |
| 289 | <p>STL·member.·</p> | 289 | <p>STL·member.·</p> |
| 290 | </div> | 290 | </div> |
| 291 | </div> | 291 | </div> |
| 292 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 292 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 293 | <li><a·class="el"·href="a000 | 293 | <li><a·class="el"·href="a00077_source.html">multiindex.hh</a></li> |
| 294 | </ul> | 294 | </ul> |
| 295 | </div><!--·contents·--> | 295 | </div><!--·contents·--> |
| 296 | <!--·start·footer·part·--> | 296 | <!--·start·footer·part·--> |
| 297 | <hr·class="footer"/><address·class="footer"><small> | 297 | <hr·class="footer"/><address·class="footer"><small> |
| 298 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 298 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 299 | </small></address> | 299 | </small></address> |
| 300 | </body> | 300 | </body> |
| Offset 73, 27 lines modified | Offset 73, 27 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p><code>#include·<<a·class="el"·href="a000 | 79 | <p><code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/common/multiindex.hh</a>></code></p> |
| 80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
| 81 | Inheritance·diagram·for·std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>:</div> | 81 | Inheritance·diagram·for·std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>:</div> |
| 82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
| 83 | <div·class="center"><img·src="a01274.png"·border="0"·usemap="#astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01274.png"·border="0"·usemap="#astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 84 | <map·name="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·id="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"> | 84 | <map·name="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·id="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"> |
| 85 | <area·shape="rect"·title="·"·alt=""·coords="5,93,195,148"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="5,93,195,148"/> |
| 86 | <area·shape="rect"·title="·"·alt=""·coords="27,5,173,45"/> | 86 | <area·shape="rect"·title="·"·alt=""·coords="27,5,173,45"/> |
| 87 | <area·shape="poly"·title="·"·alt=""·coords="103,59,103,93,97,93,97,59"/> | 87 | <area·shape="poly"·title="·"·alt=""·coords="103,59,103,93,97,93,97,59"/> |
| 88 | </map> | 88 | </map> |
| 89 | </div> | 89 | </div> |
| 90 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 90 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 91 | <li><a·class="el"·href="a000 | 91 | <li><a·class="el"·href="a00077_source.html">multiindex.hh</a></li> |
| 92 | </ul> | 92 | </ul> |
| 93 | </div><!--·contents·--> | 93 | </div><!--·contents·--> |
| 94 | <!--·start·footer·part·--> | 94 | <!--·start·footer·part·--> |
| 95 | <hr·class="footer"/><address·class="footer"><small> | 95 | <hr·class="footer"/><address·class="footer"><small> |
| 96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 97 | </small></address> | 97 | </small></address> |
| 98 | </body> | 98 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::OverflowArray<·BA,·maxSize·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::OverflowArray<·BA,·maxSize·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>A·dynamically·sized·array-like·class·with·overflow.·· | 85 | <p>A·dynamically·sized·array-like·class·with·overflow.·· |
| 86 | ·<a·href="a01279.html#details">More...</a></p> | 86 | ·<a·href="a01279.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a000 | 87 | <p><code>#include·<<a·class="el"·href="a00068_source.html">dune/functions/common/overflowarray.hh</a>></code></p> |
| 88 | <div·class="dynheader"> | 88 | <div·class="dynheader"> |
| 89 | Inheritance·diagram·for·Dune::Functions::OverflowArray<·BA,·maxSize·>:</div> | 89 | Inheritance·diagram·for·Dune::Functions::OverflowArray<·BA,·maxSize·>:</div> |
| 90 | <div·class="dyncontent"> | 90 | <div·class="dyncontent"> |
| 91 | <div·class="center"><img·src="a01278.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 91 | <div·class="center"><img·src="a01278.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 92 | <map·name="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"> | 92 | <map·name="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"> |
| 93 | <area·shape="rect"·title="A·dynamically·sized·array-like·class·with·overflow."·alt=""·coords="5,79,183,119"/> | 93 | <area·shape="rect"·title="A·dynamically·sized·array-like·class·with·overflow."·alt=""·coords="5,79,183,119"/> |
| 94 | <area·shape="rect"·title="·"·alt=""·coords="74,5,114,31"/> | 94 | <area·shape="rect"·title="·"·alt=""·coords="74,5,114,31"/> |
| Offset 1067, 15 lines modified | Offset 1067, 15 lines modified | ||
| 1067 | </div><div·class="memdoc"> | 1067 | </div><div·class="memdoc"> |
| 1068 | <p>Write·container·to·an·output·stream.·</p> | 1068 | <p>Write·container·to·an·output·stream.·</p> |
| 1069 | </div> | 1069 | </div> |
| 1070 | </div> | 1070 | </div> |
| 1071 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1071 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 1072 | <li><a·class="el"·href="a000 | 1072 | <li><a·class="el"·href="a00068_source.html">overflowarray.hh</a></li> |
| 1073 | </ul> | 1073 | </ul> |
| 1074 | </div><!--·contents·--> | 1074 | </div><!--·contents·--> |
| 1075 | <!--·start·footer·part·--> | 1075 | <!--·start·footer·part·--> |
| 1076 | <hr·class="footer"/><address·class="footer"><small> | 1076 | <hr·class="footer"/><address·class="footer"><small> |
| 1077 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1077 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 1078 | </small></address> | 1078 | </small></address> |
| 1079 | </body> | 1079 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a>·|·<a·class="el"·href="a00221.html">Utility</a>·»·<a·class="el"·href="a00222.html">Utilities·for·type-erasure</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a>·|·<a·class="el"·href="a00221.html">Utility</a>·»·<a·class="el"·href="a00222.html">Utilities·for·type-erasure</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>A·wrapper·providing·small·object·optimization·with·polymorphic·types.·· | 82 | <p>A·wrapper·providing·small·object·optimization·with·polymorphic·types.·· |
| 83 | ·<a·href="a01283.html#details">More...</a></p> | 83 | ·<a·href="a01283.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/common/polymorphicsmallobject.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01282.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01282.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types."·alt=""·coords="5,219,217,259"/> | 90 | <area·shape="rect"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types."·alt=""·coords="5,219,217,259"/> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="506,34,793,118"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="506,34,793,118"/> |
| Offset 490, 15 lines modified | Offset 490, 15 lines modified | ||
| 490 | </div><div·class="memdoc"> | 490 | </div><div·class="memdoc"> |
| 491 | <p>Move·assignment·from·other·<a·class="el"·href="a01283.html"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types.">PolymorphicSmallObject</a>.·</p> | 491 | <p>Move·assignment·from·other·<a·class="el"·href="a01283.html"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types.">PolymorphicSmallObject</a>.·</p> |
| 492 | </div> | 492 | </div> |
| 493 | </div> | 493 | </div> |
| 494 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 494 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 495 | <li><a·class="el"·href="a000 | 495 | <li><a·class="el"·href="a00065_source.html">polymorphicsmallobject.hh</a></li> |
| 496 | </ul> | 496 | </ul> |
| 497 | </div><!--·contents·--> | 497 | </div><!--·contents·--> |
| 498 | <!--·start·footer·part·--> | 498 | <!--·start·footer·part·--> |
| 499 | <hr·class="footer"/><address·class="footer"><small> | 499 | <hr·class="footer"/><address·class="footer"><small> |
| 500 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 500 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 501 | </small></address> | 501 | </small></address> |
| 502 | </body> | 502 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ReservedDeque<·T,·n·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ReservedDeque<·T,·n·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>A·double-ended·queue·(deque)·class·with·statically·reserved·memory.·· | 82 | <p>A·double-ended·queue·(deque)·class·with·statically·reserved·memory.·· |
| 83 | ·<a·href="a01287.html#details">More...</a></p> | 83 | ·<a·href="a01287.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/common/reserveddeque.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr> | 88 | <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr> |
| 89 | <tr·class="memitem:a1a11a57db6a51cd6ceebc8aba56e87d9"·id="r_a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memItemLeft"·align="right"·valign="top">typedef·T </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01287.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a></td></tr> | 89 | <tr·class="memitem:a1a11a57db6a51cd6ceebc8aba56e87d9"·id="r_a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memItemLeft"·align="right"·valign="top">typedef·T </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01287.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a></td></tr> |
| 90 | <tr·class="memdesc:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<br·/></td></tr> | 90 | <tr·class="memdesc:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<br·/></td></tr> |
| 91 | <tr·class="separator:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 1029, 15 lines modified | Offset 1029, 15 lines modified | ||
| 1029 | </div><div·class="memdoc"> | 1029 | </div><div·class="memdoc"> |
| 1030 | <p>Send·<a·class="el"·href="a01287.html"·title="A·double-ended·queue·(deque)·class·with·statically·reserved·memory.">ReservedDeque</a>·to·an·output·stream.·</p> | 1030 | <p>Send·<a·class="el"·href="a01287.html"·title="A·double-ended·queue·(deque)·class·with·statically·reserved·memory.">ReservedDeque</a>·to·an·output·stream.·</p> |
| 1031 | </div> | 1031 | </div> |
| 1032 | </div> | 1032 | </div> |
| 1033 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1033 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 1034 | <li><a·class="el"·href="a000 | 1034 | <li><a·class="el"·href="a00080_source.html">reserveddeque.hh</a></li> |
| 1035 | </ul> | 1035 | </ul> |
| 1036 | </div><!--·contents·--> | 1036 | </div><!--·contents·--> |
| 1037 | <!--·start·footer·part·--> | 1037 | <!--·start·footer·part·--> |
| 1038 | <hr·class="footer"/><address·class="footer"><small> | 1038 | <hr·class="footer"/><address·class="footer"><small> |
| 1039 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1039 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 1040 | </small></address> | 1040 | </small></address> |
| 1041 | </body> | 1041 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <p>Helper·class·to·check·that·F·is·callable.·· | 79 | <p>Helper·class·to·check·that·F·is·callable.·· |
| 80 | ·<a·href="a01291.html#details">More...</a></p> | 80 | ·<a·href="a01291.html#details">More...</a></p> |
| 81 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 81 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| 82 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·F><br·/> | 82 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·F><br·/> |
| 83 | struct·Dune::Functions::IsCallable<·F·></div><p>Helper·class·to·check·that·F·is·callable.·</p> | 83 | struct·Dune::Functions::IsCallable<·F·></div><p>Helper·class·to·check·that·F·is·callable.·</p> |
| 84 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 84 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 85 | <li><a·class="el"·href="a000 | 85 | <li><a·class="el"·href="a00056_source.html">signature.hh</a></li> |
| 86 | </ul> | 86 | </ul> |
| 87 | </div><!--·contents·--> | 87 | </div><!--·contents·--> |
| 88 | <!--·start·footer·part·--> | 88 | <!--·start·footer·part·--> |
| 89 | <hr·class="footer"/><address·class="footer"><small> | 89 | <hr·class="footer"/><address·class="footer"><small> |
| 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 91 | </small></address> | 91 | </small></address> |
| 92 | </body> | 92 | </body> |
| Offset 76, 20 lines modified | Offset 76, 20 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTraits<·Signature,·isCallable·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTraits<·Signature,·isCallable·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Helper·class·to·deduce·the·signature·of·a·callable.·· | 79 | <p>Helper·class·to·deduce·the·signature·of·a·callable.·· |
| 80 | ·<a·href="a01295.html#details">More...</a></p> | 80 | ·<a·href="a01295.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a000 | 81 | <p><code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/signature.hh</a>></code></p> |
| 82 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 82 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| 83 | <div·class="textblock"><div·class="compoundTemplParams">template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value><br·/> | 83 | <div·class="textblock"><div·class="compoundTemplParams">template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value><br·/> |
| 84 | struct·Dune::Functions::SignatureTraits<·Signature,·isCallable·></div><p>Helper·class·to·deduce·the·signature·of·a·callable.·</p> | 84 | struct·Dune::Functions::SignatureTraits<·Signature,·isCallable·></div><p>Helper·class·to·deduce·the·signature·of·a·callable.·</p> |
| 85 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 85 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 86 | <li><a·class="el"·href="a000 | 86 | <li><a·class="el"·href="a00056_source.html">signature.hh</a></li> |
| 87 | </ul> | 87 | </ul> |
| 88 | </div><!--·contents·--> | 88 | </div><!--·contents·--> |
| 89 | <!--·start·footer·part·--> | 89 | <!--·start·footer·part·--> |
| 90 | <hr·class="footer"/><address·class="footer"><small> | 90 | <hr·class="footer"/><address·class="footer"><small> |
| 91 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 91 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 92 | </small></address> | 92 | </small></address> |
| 93 | </body> | 93 | </body> |
| Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 79 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 80 | <li><a·class="el"·href="a000 | 80 | <li><a·class="el"·href="a00056_source.html">signature.hh</a></li> |
| 81 | </ul> | 81 | </ul> |
| 82 | </div><!--·contents·--> | 82 | </div><!--·contents·--> |
| 83 | <!--·start·footer·part·--> | 83 | <!--·start·footer·part·--> |
| 84 | <hr·class="footer"/><address·class="footer"><small> | 84 | <hr·class="footer"/><address·class="footer"><small> |
| 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 85 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 86 | </small></address> | 86 | </small></address> |
| 87 | </body> | 87 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Tag-class·to·encapsulate·signature·information.·· | 82 | <p>Tag-class·to·encapsulate·signature·information.·· |
| 83 | ·<a·href="a01303.html#details">More...</a></p> | 83 | ·<a·href="a01303.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/signature.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:ab8b3a06d19393ab1c7ef395359aaa7ea"·id="r_ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01303.html#ab8b3a06d19393ab1c7ef395359aaa7ea">Signature</a>·=·Range(Domain)</td></tr> | 88 | <tr·class="memitem:ab8b3a06d19393ab1c7ef395359aaa7ea"·id="r_ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01303.html#ab8b3a06d19393ab1c7ef395359aaa7ea">Signature</a>·=·Range(Domain)</td></tr> |
| 89 | <tr·class="separator:ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"·id="r_a24e64af41789cc4c921669e46676a05d"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | 90 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"·id="r_a24e64af41789cc4c921669e46676a05d"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> |
| 91 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01303.html#a24e64af41789cc4c921669e46676a05d">DerivativeTraits</a>·=·DerivativeTraitsT<·T·></td></tr> | 91 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01303.html#a24e64af41789cc4c921669e46676a05d">DerivativeTraits</a>·=·DerivativeTraitsT<·T·></td></tr> |
| Offset 136, 15 lines modified | Offset 136, 15 lines modified | ||
| 136 | ········</tr> | 136 | ········</tr> |
| 137 | ······</table> | 137 | ······</table> |
| 138 | </div><div·class="memdoc"> | 138 | </div><div·class="memdoc"> |
| 139 | </div> | 139 | </div> |
| 140 | </div> | 140 | </div> |
| 141 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 141 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 142 | <li><a·class="el"·href="a000 | 142 | <li><a·class="el"·href="a00056_source.html">signature.hh</a></li> |
| 143 | </ul> | 143 | </ul> |
| 144 | </div><!--·contents·--> | 144 | </div><!--·contents·--> |
| 145 | <!--·start·footer·part·--> | 145 | <!--·start·footer·part·--> |
| 146 | <hr·class="footer"/><address·class="footer"><small> | 146 | <hr·class="footer"/><address·class="footer"><small> |
| 147 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 147 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 148 | </small></address> | 148 | </small></address> |
| 149 | </body> | 149 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a>·»·<a·class="el"·href="a00222.html">Utilities·for·type-erasure</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a>·»·<a·class="el"·href="a00222.html">Utilities·for·type-erasure</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>Base·class·for·type-erased·interface·wrapper.·· | 83 | <p>Base·class·for·type-erased·interface·wrapper.·· |
| 84 | ·<a·href="a01335.html#details">More...</a></p> | 84 | ·<a·href="a01335.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/common/typeerasure.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01334.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01334.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Base·class·for·type-erased·interface·wrapper."·alt=""·coords="5,198,223,253"/> | 91 | <area·shape="rect"·title="Base·class·for·type-erased·interface·wrapper."·alt=""·coords="5,198,223,253"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="559,53,877,152"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="559,53,877,152"/> |
| Offset 306, 15 lines modified | Offset 306, 15 lines modified | ||
| 306 | ··</tr> | 306 | ··</tr> |
| 307 | </table> | 307 | </table> |
| 308 | </div><div·class="memdoc"> | 308 | </div><div·class="memdoc"> |
| 309 | </div> | 309 | </div> |
| 310 | </div> | 310 | </div> |
| 311 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 311 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 312 | <li><a·class="el"·href="a000 | 312 | <li><a·class="el"·href="a00083_source.html">typeerasure.hh</a></li> |
| 313 | </ul> | 313 | </ul> |
| 314 | </div><!--·contents·--> | 314 | </div><!--·contents·--> |
| 315 | <!--·start·footer·part·--> | 315 | <!--·start·footer·part·--> |
| 316 | <hr·class="footer"/><address·class="footer"><small> | 316 | <hr·class="footer"/><address·class="footer"><small> |
| 317 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 317 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 318 | </small></address> | 318 | </small></address> |
| 319 | </body> | 319 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LastType<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LastType<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Get·last·entry·of·type·list.·· | 82 | <p>Get·last·entry·of·type·list.·· |
| 83 | ·<a·href="a01367.html#details">More...</a></p> | 83 | ·<a·href="a01367.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:a8b378af837ac2bb3ee9688fcd3d60a48"·id="r_a8b378af837ac2bb3ee9688fcd3d60a48"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01367.html#a8b378af837ac2bb3ee9688fcd3d60a48">type</a>·=·std::tuple_element_t<·sizeof...(T)·-1,·std::tuple<·T...·>·></td></tr> | 88 | <tr·class="memitem:a8b378af837ac2bb3ee9688fcd3d60a48"·id="r_a8b378af837ac2bb3ee9688fcd3d60a48"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01367.html#a8b378af837ac2bb3ee9688fcd3d60a48">type</a>·=·std::tuple_element_t<·sizeof...(T)·-1,·std::tuple<·T...·>·></td></tr> |
| 89 | <tr·class="separator:a8b378af837ac2bb3ee9688fcd3d60a48"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:a8b378af837ac2bb3ee9688fcd3d60a48"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | </table> | 90 | </table> |
| 91 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 91 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| Offset 107, 15 lines modified | Offset 107, 15 lines modified | ||
| 107 | ········</tr> | 107 | ········</tr> |
| 108 | ······</table> | 108 | ······</table> |
| 109 | </div><div·class="memdoc"> | 109 | </div><div·class="memdoc"> |
| 110 | </div> | 110 | </div> |
| 111 | </div> | 111 | </div> |
| 112 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 112 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 113 | <li><a·class="el"·href="a000 | 113 | <li><a·class="el"·href="a00059_source.html">utility.hh</a></li> |
| 114 | </ul> | 114 | </ul> |
| 115 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
| 116 | <!--·start·footer·part·--> | 116 | <!--·start·footer·part·--> |
| 117 | <hr·class="footer"/><address·class="footer"><small> | 117 | <hr·class="footer"/><address·class="footer"><small> |
| 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 119 | </small></address> | 119 | </small></address> |
| 120 | </body> | 120 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RotateTuple<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RotateTuple<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00221.html">Utility</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first·position.·· | 82 | <p>Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first·position.·· |
| 83 | ·<a·href="a01379.html#details">More...</a></p> | 83 | ·<a·href="a01379.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:ad2aec0a7681d5138bc8738f98cb86c1f"·id="r_ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01379.html#ad2aec0a7681d5138bc8738f98cb86c1f">type</a>·=·typename·Imp::RotateHelper<·std::tuple<·T...·>,·std::make_index_sequence<·sizeof...(T)·-1·>·>::type</td></tr> | 88 | <tr·class="memitem:ad2aec0a7681d5138bc8738f98cb86c1f"·id="r_ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01379.html#ad2aec0a7681d5138bc8738f98cb86c1f">type</a>·=·typename·Imp::RotateHelper<·std::tuple<·T...·>,·std::make_index_sequence<·sizeof...(T)·-1·>·>::type</td></tr> |
| 89 | <tr·class="separator:ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | </table> | 90 | </table> |
| 91 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 91 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| Offset 108, 15 lines modified | Offset 108, 15 lines modified | ||
| 108 | ········</tr> | 108 | ········</tr> |
| 109 | ······</table> | 109 | ······</table> |
| 110 | </div><div·class="memdoc"> | 110 | </div><div·class="memdoc"> |
| 111 | </div> | 111 | </div> |
| 112 | </div> | 112 | </div> |
| 113 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 113 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 114 | <li><a·class="el"·href="a000 | 114 | <li><a·class="el"·href="a00059_source.html">utility.hh</a></li> |
| 115 | </ul> | 115 | </ul> |
| 116 | </div><!--·contents·--> | 116 | </div><!--·contents·--> |
| 117 | <!--·start·footer·part·--> | 117 | <!--·start·footer·part·--> |
| 118 | <hr·class="footer"/><address·class="footer"><small> | 118 | <hr·class="footer"/><address·class="footer"><small> |
| 119 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 119 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 120 | </small></address> | 120 | </small></address> |
| 121 | </body> | 121 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 78 | <a·href="a01392.html">List·of·all·members</a>··</div> | 78 | <a·href="a01392.html">List·of·all·members</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::IndexMergingStrategy·Struct·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::IndexMergingStrategy·Struct·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><code>#include·<<a·class="el"·href="a001 | 82 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
| 83 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
| 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 85 | Public·Member·Functions</h2></td></tr> | 85 | Public·Member·Functions</h2></td></tr> |
| 86 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"·id="r_a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | 86 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"·id="r_a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> |
| 87 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01395.html#a8552823d8c75d18bca5f41f36cd7b2dd">require</a>·(T·&&t)·->·decltype(registerIndexMergingStrategy(t))</td></tr> | 87 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01395.html#a8552823d8c75d18bca5f41f36cd7b2dd">require</a>·(T·&&t)·->·decltype(registerIndexMergingStrategy(t))</td></tr> |
| 88 | <tr·class="separator:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 89 | </table> | 89 | </table> |
| Offset 106, 15 lines modified | Offset 106, 15 lines modified | ||
| 106 | ········</tr> | 106 | ········</tr> |
| 107 | ······</table> | 107 | ······</table> |
| 108 | </div><div·class="memdoc"> | 108 | </div><div·class="memdoc"> |
| 109 | </div> | 109 | </div> |
| 110 | </div> | 110 | </div> |
| 111 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 111 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 112 | <li><a·class="el"·href="a001 | 112 | <li><a·class="el"·href="a00149_source.html">basistags.hh</a></li> |
| 113 | </ul> | 113 | </ul> |
| 114 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
| 115 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
| 116 | <hr·class="footer"/><address·class="footer"><small> | 116 | <hr·class="footer"/><address·class="footer"><small> |
| 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 118 | </small></address> | 118 | </small></address> |
| 119 | </body> | 119 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::IndexMergingStrategy·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::IndexMergingStrategy·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Base·class·for·index·merging·strategies·to·simplify·detection.·· | 79 | <p>Base·class·for·index·merging·strategies·to·simplify·detection.·· |
| 80 | ·<a·href="a01399.html#details">More...</a></p> | 80 | ·<a·href="a01399.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
| 82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
| 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::IndexMergingStrategy:</div> | 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::IndexMergingStrategy:</div> |
| 84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
| 85 | <div·class="center"><img·src="a01398.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01398.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·alt="Inheritance·graph"/></div> |
| 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"> |
| 87 | <area·shape="rect"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,101,209,141"/> | 87 | <area·shape="rect"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,101,209,141"/> |
| 88 | <area·shape="rect"·href="a01415.html"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="257,5,461,45"/> | 88 | <area·shape="rect"·href="a01415.html"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="257,5,461,45"/> |
| Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
| 96 | <area·shape="rect"·href="a01403.html"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="257,197,461,237"/> | 96 | <area·shape="rect"·href="a01403.html"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="257,197,461,237"/> |
| 97 | <area·shape="poly"·title="·"·alt=""·coords="166,145,258,183,292,195,291,200,256,188,164,149"/> | 97 | <area·shape="poly"·title="·"·alt=""·coords="166,145,258,183,292,195,291,200,256,188,164,149"/> |
| 98 | </map> | 98 | </map> |
| 99 | </div> | 99 | </div> |
| 100 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 100 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| 101 | <div·class="textblock"><p>Base·class·for·index·merging·strategies·to·simplify·detection.·</p> | 101 | <div·class="textblock"><p>Base·class·for·index·merging·strategies·to·simplify·detection.·</p> |
| 102 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 102 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 103 | <li><a·class="el"·href="a001 | 103 | <li><a·class="el"·href="a00149_source.html">basistags.hh</a></li> |
| 104 | </ul> | 104 | </ul> |
| 105 | </div><!--·contents·--> | 105 | </div><!--·contents·--> |
| 106 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
| 107 | <hr·class="footer"/><address·class="footer"><small> | 107 | <hr·class="footer"/><address·class="footer"><small> |
| 108 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 108 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 109 | </small></address> | 109 | </small></address> |
| 110 | </body> | 110 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Lexicographic·merging·of·direct·children·without·blocking.·· | 79 | <p>Lexicographic·merging·of·direct·children·without·blocking.·· |
| 80 | ·<a·href="a01403.html#details">More...</a></p> | 80 | ·<a·href="a01403.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
| 82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
| 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatLexicographic:</div> | 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatLexicographic:</div> |
| 84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
| 85 | <div·class="center"><img·src="a01402.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01402.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> |
| 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"> |
| 87 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="5,93,209,133"/> | 87 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="5,93,209,133"/> |
| 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> | 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> |
| Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
| 128 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(2,k0)····</td></tr> | 128 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(2,k0)····</td></tr> |
| 129 | <tr·class="markdownTableRowOdd"> | 129 | <tr·class="markdownTableRowOdd"> |
| 130 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,k1)····</td></tr> | 130 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,k1)····</td></tr> |
| 131 | <tr·class="markdownTableRowEven"> | 131 | <tr·class="markdownTableRowEven"> |
| 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(4,k2)···</td></tr> | 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(4,k2)···</td></tr> |
| 133 | </table> | 133 | </table> |
| 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 135 | <li><a·class="el"·href="a001 | 135 | <li><a·class="el"·href="a00149_source.html">basistags.hh</a></li> |
| 136 | </ul> | 136 | </ul> |
| 137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
| 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 141 | </small></address> | 141 | </small></address> |
| 142 | </body> | 142 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Interleaved·merging·of·direct·children·without·blocking.·· | 79 | <p>Interleaved·merging·of·direct·children·without·blocking.·· |
| 80 | ·<a·href="a01407.html#details">More...</a></p> | 80 | ·<a·href="a01407.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
| 82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
| 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatInterleaved:</div> | 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatInterleaved:</div> |
| 84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
| 85 | <div·class="center"><img·src="a01406.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01406.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·alt="Inheritance·graph"/></div> |
| 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"> |
| 87 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·without·blocking."·alt=""·coords="5,93,209,133"/> | 87 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·without·blocking."·alt=""·coords="5,93,209,133"/> |
| 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> | 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> |
| Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
| 128 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,i1)····</td></tr> | 128 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,i1)····</td></tr> |
| 129 | <tr·class="markdownTableRowOdd"> | 129 | <tr·class="markdownTableRowOdd"> |
| 130 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(4,i2)····</td></tr> | 130 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(4,i2)····</td></tr> |
| 131 | <tr·class="markdownTableRowEven"> | 131 | <tr·class="markdownTableRowEven"> |
| 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(5,i2)···</td></tr> | 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(5,i2)···</td></tr> |
| 133 | </table> | 133 | </table> |
| 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 135 | <li><a·class="el"·href="a001 | 135 | <li><a·class="el"·href="a00149_source.html">basistags.hh</a></li> |
| 136 | </ul> | 136 | </ul> |
| 137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
| 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 141 | </small></address> | 141 | </small></address> |
| 142 | </body> | 142 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).·· | 79 | <p>Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).·· |
| 80 | ·<a·href="a01411.html#details">More...</a></p> | 80 | ·<a·href="a01411.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
| 82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
| 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedLexicographic:</div> | 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedLexicographic:</div> |
| 84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
| 85 | <div·class="center"><img·src="a01410.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01410.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> |
| 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"> |
| 87 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child)."·alt=""·coords="5,93,209,133"/> | 87 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child)."·alt=""·coords="5,93,209,133"/> |
| 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> | 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> |
| Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
| 128 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(1,k0)····</td></tr> | 128 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(1,k0)····</td></tr> |
| 129 | <tr·class="markdownTableRowOdd"> | 129 | <tr·class="markdownTableRowOdd"> |
| 130 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(1,k1)····</td></tr> | 130 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(1,k1)····</td></tr> |
| 131 | <tr·class="markdownTableRowEven"> | 131 | <tr·class="markdownTableRowEven"> |
| 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(1,k2)···</td></tr> | 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(1,k2)···</td></tr> |
| 133 | </table> | 133 | </table> |
| 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 135 | <li><a·class="el"·href="a001 | 135 | <li><a·class="el"·href="a00149_source.html">basistags.hh</a></li> |
| 136 | </ul> | 136 | </ul> |
| 137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
| 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 141 | </small></address> | 141 | </small></address> |
| 142 | </body> | 142 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).·· | 79 | <p>Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).·· |
| 80 | ·<a·href="a01415.html#details">More...</a></p> | 80 | ·<a·href="a01415.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
| 82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
| 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedInterleaved:</div> | 83 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedInterleaved:</div> |
| 84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
| 85 | <div·class="center"><img·src="a01414.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01414.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·alt="Inheritance·graph"/></div> |
| 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"> |
| 87 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="5,93,209,133"/> | 87 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="5,93,209,133"/> |
| 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> | 88 | <area·shape="rect"·href="a01399.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,45"/> |
| Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
| 128 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(i1,1)····</td></tr> | 128 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(i1,1)····</td></tr> |
| 129 | <tr·class="markdownTableRowOdd"> | 129 | <tr·class="markdownTableRowOdd"> |
| 130 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(i2,0)····</td></tr> | 130 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(i2,0)····</td></tr> |
| 131 | <tr·class="markdownTableRowEven"> | 131 | <tr·class="markdownTableRowEven"> |
| 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(i2,1)···</td></tr> | 132 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(i2,1)···</td></tr> |
| 133 | </table> | 133 | </table> |
| 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 134 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 135 | <li><a·class="el"·href="a001 | 135 | <li><a·class="el"·href="a00149_source.html">basistags.hh</a></li> |
| 136 | </ul> | 136 | </ul> |
| 137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
| 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 141 | </small></address> | 141 | </small></address> |
| 142 | </body> | 142 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01448.html">List·of·all·members</a>··</div> | 81 | <a·href="a01448.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00164_source.html">dune/functions/functionspacebases/brezzidouglasmarinibasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01450.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01450.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="90,167,301,207"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="90,167,301,207"/> |
| 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 583, 15 lines modified | Offset 583, 15 lines modified | ||
| 583 | ··</tr> | 583 | ··</tr> |
| 584 | </table> | 584 | </table> |
| 585 | </div><div·class="memdoc"> | 585 | </div><div·class="memdoc"> |
| 586 | </div> | 586 | </div> |
| 587 | </div> | 587 | </div> |
| 588 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 588 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 589 | <li><a·class="el"·href="a001 | 589 | <li><a·class="el"·href="a00164_source.html">brezzidouglasmarinibasis.hh</a></li> |
| 590 | </ul> | 590 | </ul> |
| 591 | </div><!--·contents·--> | 591 | </div><!--·contents·--> |
| 592 | <!--·start·footer·part·--> | 592 | <!--·start·footer·part·--> |
| 593 | <hr·class="footer"/><address·class="footer"><small> | 593 | <hr·class="footer"/><address·class="footer"><small> |
| 594 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 594 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 595 | </small></address> | 595 | </small></address> |
| 596 | </body> | 596 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01452.html">List·of·all·members</a>··</div> | 81 | <a·href="a01452.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00164_source.html">dune/functions/functionspacebases/brezzidouglasmarinibasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01454.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_brezzi_douglas_marini_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01454.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_brezzi_douglas_marini_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_brezzi_douglas_marini_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_brezzi_douglas_marini_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_brezzi_douglas_marini_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_brezzi_douglas_marini_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="9,227,219,267"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="9,227,219,267"/> |
| 92 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,223,177"/> | 92 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,223,177"/> |
| Offset 704, 15 lines modified | Offset 704, 15 lines modified | ||
| 704 | </div><div·class="memdoc"> | 704 | </div><div·class="memdoc"> |
| 705 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 705 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 706 | </div> | 706 | </div> |
| 707 | </div> | 707 | </div> |
| 708 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 708 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 709 | <li><a·class="el"·href="a001 | 709 | <li><a·class="el"·href="a00164_source.html">brezzidouglasmarinibasis.hh</a></li> |
| 710 | </ul> | 710 | </ul> |
| 711 | </div><!--·contents·--> | 711 | </div><!--·contents·--> |
| 712 | <!--·start·footer·part·--> | 712 | <!--·start·footer·part·--> |
| 713 | <hr·class="footer"/><address·class="footer"><small> | 713 | <hr·class="footer"/><address·class="footer"><small> |
| 714 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 714 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 715 | </small></address> | 715 | </small></address> |
| 716 | </body> | 716 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· | 85 | <p>LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· |
| 86 | ·<a·href="a01459.html#details">More...</a></p> | 86 | ·<a·href="a01459.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a00 | 87 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
| 88 | <div·class="dynheader"> | 88 | <div·class="dynheader"> |
| 89 | Inheritance·diagram·for·Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>:</div> | 89 | Inheritance·diagram·for·Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>:</div> |
| 90 | <div·class="dyncontent"> | 90 | <div·class="dyncontent"> |
| 91 | <div·class="center"><img·src="a01458.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 91 | <div·class="center"><img·src="a01458.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 92 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"> | 92 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"> |
| 93 | <area·shape="rect"·title="LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grid..."·alt=""·coords="5,5,199,45"/> | 93 | <area·shape="rect"·title="LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grid..."·alt=""·coords="5,5,199,45"/> |
| 94 | <area·shape="rect"·href="a01459.html"·title="·"·alt=""·coords="17,108,187,163"/> | 94 | <area·shape="rect"·href="a01459.html"·title="·"·alt=""·coords="17,108,187,163"/> |
| Offset 559, 15 lines modified | Offset 559, 15 lines modified | ||
| 559 | ········</tr> | 559 | ········</tr> |
| 560 | ······</table> | 560 | ······</table> |
| 561 | </div><div·class="memdoc"> | 561 | </div><div·class="memdoc"> |
| 562 | </div> | 562 | </div> |
| 563 | </div> | 563 | </div> |
| 564 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 564 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 565 | <li><a·class="el"·href="a00 | 565 | <li><a·class="el"·href="a00098_source.html">bsplinebasis.hh</a></li> |
| 566 | </ul> | 566 | </ul> |
| 567 | </div><!--·contents·--> | 567 | </div><!--·contents·--> |
| 568 | <!--·start·footer·part·--> | 568 | <!--·start·footer·part·--> |
| 569 | <hr·class="footer"/><address·class="footer"><small> | 569 | <hr·class="footer"/><address·class="footer"><small> |
| 570 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 570 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 571 | </small></address> | 571 | </small></address> |
| 572 | </body> | 572 | </body> |
| Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
| 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplinePreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplinePreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 85 | </div><!--header--> | 85 | </div><!--header--> |
| 86 | <div·class="contents"> | 86 | <div·class="contents"> |
| 87 | <p>Pre-basis·for·B-spline·basis.·· | 87 | <p>Pre-basis·for·B-spline·basis.·· |
| 88 | ·<a·href="a01463.html#details">More...</a></p> | 88 | ·<a·href="a01463.html#details">More...</a></p> |
| 89 | <p><code>#include·<<a·class="el"·href="a00 | 89 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
| 90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
| 91 | Inheritance·diagram·for·Dune::Functions::BSplinePreBasis<·GV·>:</div> | 91 | Inheritance·diagram·for·Dune::Functions::BSplinePreBasis<·GV·>:</div> |
| 92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
| 93 | <div·class="center"><img·src="a01462.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_pre_basis_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01462.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_pre_basis_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 94 | <map·name="a_dune_1_1_functions_1_1_b_spline_pre_basis_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_pre_basis_3_01_g_v_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_functions_1_1_b_spline_pre_basis_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_pre_basis_3_01_g_v_01_4_inherit__map"> |
| 95 | <area·shape="rect"·title="Pre-basis·for·B-spline·basis."·alt=""·coords="18,227,189,267"/> | 95 | <area·shape="rect"·title="Pre-basis·for·B-spline·basis."·alt=""·coords="18,227,189,267"/> |
| 96 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,201,177"/> | 96 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,201,177"/> |
| Offset 1321, 15 lines modified | Offset 1321, 15 lines modified | ||
| 1321 | </div><div·class="memdoc"> | 1321 | </div><div·class="memdoc"> |
| 1322 | <p>Order·of·the·B-spline·for·each·space·dimension.·</p> | 1322 | <p>Order·of·the·B-spline·for·each·space·dimension.·</p> |
| 1323 | </div> | 1323 | </div> |
| 1324 | </div> | 1324 | </div> |
| 1325 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1325 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 1326 | <li><a·class="el"·href="a00 | 1326 | <li><a·class="el"·href="a00098_source.html">bsplinebasis.hh</a></li> |
| 1327 | </ul> | 1327 | </ul> |
| 1328 | </div><!--·contents·--> | 1328 | </div><!--·contents·--> |
| 1329 | <!--·start·footer·part·--> | 1329 | <!--·start·footer·part·--> |
| 1330 | <hr·class="footer"/><address·class="footer"><small> | 1330 | <hr·class="footer"/><address·class="footer"><small> |
| 1331 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1331 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 1332 | </small></address> | 1332 | </small></address> |
| 1333 | </body> | 1333 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalBasis<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalBasis<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·to·a·knot·span.·· | 84 | <p>LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·to·a·knot·span.·· |
| 85 | ·<a·href="a01467.html#details">More...</a></p> | 85 | ·<a·href="a01467.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a00 | 86 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
| 87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
| 88 | Inheritance·diagram·for·Dune::Functions::BSplineLocalBasis<·GV,·R·>:</div> | 88 | Inheritance·diagram·for·Dune::Functions::BSplineLocalBasis<·GV,·R·>:</div> |
| 89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
| 90 | <div·class="center"><img·src="a01466.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01466.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 91 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"> |
| 92 | <area·shape="rect"·title="LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·..."·alt=""·coords="7,5,178,45"/> | 92 | <area·shape="rect"·title="LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·..."·alt=""·coords="7,5,178,45"/> |
| 93 | <area·shape="rect"·href="a01467.html"·title="·"·alt=""·coords="5,108,180,148"/> | 93 | <area·shape="rect"·href="a01467.html"·title="·"·alt=""·coords="5,108,180,148"/> |
| Offset 423, 15 lines modified | Offset 423, 15 lines modified | ||
| 423 | ··</tr> | 423 | ··</tr> |
| 424 | </table> | 424 | </table> |
| 425 | </div><div·class="memdoc"> | 425 | </div><div·class="memdoc"> |
| 426 | </div> | 426 | </div> |
| 427 | </div> | 427 | </div> |
| 428 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 428 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 429 | <li><a·class="el"·href="a00 | 429 | <li><a·class="el"·href="a00098_source.html">bsplinebasis.hh</a></li> |
| 430 | </ul> | 430 | </ul> |
| 431 | </div><!--·contents·--> | 431 | </div><!--·contents·--> |
| 432 | <!--·start·footer·part·--> | 432 | <!--·start·footer·part·--> |
| 433 | <hr·class="footer"/><address·class="footer"><small> | 433 | <hr·class="footer"/><address·class="footer"><small> |
| 434 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 434 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 435 | </small></address> | 435 | </small></address> |
| 436 | </body> | 436 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalCoefficients<·dim·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalCoefficients<·dim·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Attaches·a·shape·function·to·an·entity.·· | 82 | <p>Attaches·a·shape·function·to·an·entity.·· |
| 83 | ·<a·href="a01471.html#details">More...</a></p> | 83 | ·<a·href="a01471.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a00 | 84 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a73ed6bc866499e512d96cb6d6c315c6f"·id="r_a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#a73ed6bc866499e512d96cb6d6c315c6f">init</a>·(const·std::array<·unsigned,·dim·>·&sizes)</td></tr> | 88 | <tr·class="memitem:a73ed6bc866499e512d96cb6d6c315c6f"·id="r_a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#a73ed6bc866499e512d96cb6d6c315c6f">init</a>·(const·std::array<·unsigned,·dim·>·&sizes)</td></tr> |
| 89 | <tr·class="separator:a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | <tr·class="memitem:acee2241933e75ae41972b3ce44ceb0c1"·id="r_acee2241933e75ae41972b3ce44ceb0c1"><td·class="memItemLeft"·align="right"·valign="top">std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#acee2241933e75ae41972b3ce44ceb0c1">size</a>·()·const</td></tr> | 90 | <tr·class="memitem:acee2241933e75ae41972b3ce44ceb0c1"·id="r_acee2241933e75ae41972b3ce44ceb0c1"><td·class="memItemLeft"·align="right"·valign="top">std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#acee2241933e75ae41972b3ce44ceb0c1">size</a>·()·const</td></tr> |
| 91 | <tr·class="memdesc:acee2241933e75ae41972b3ce44ceb0c1"><td·class="mdescLeft"> </td><td·class="mdescRight">number·of·coefficients··<br·/></td></tr> | 91 | <tr·class="memdesc:acee2241933e75ae41972b3ce44ceb0c1"><td·class="mdescLeft"> </td><td·class="mdescRight">number·of·coefficients··<br·/></td></tr> |
| Offset 192, 15 lines modified | Offset 192, 15 lines modified | ||
| 192 | </div><div·class="memdoc"> | 192 | </div><div·class="memdoc"> |
| 193 | <p>number·of·coefficients·</p> | 193 | <p>number·of·coefficients·</p> |
| 194 | </div> | 194 | </div> |
| 195 | </div> | 195 | </div> |
| 196 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 196 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 197 | <li><a·class="el"·href="a00 | 197 | <li><a·class="el"·href="a00098_source.html">bsplinebasis.hh</a></li> |
| 198 | </ul> | 198 | </ul> |
| 199 | </div><!--·contents·--> | 199 | </div><!--·contents·--> |
| 200 | <!--·start·footer·part·--> | 200 | <!--·start·footer·part·--> |
| 201 | <hr·class="footer"/><address·class="footer"><small> | 201 | <hr·class="footer"/><address·class="footer"><small> |
| 202 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 202 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 203 | </small></address> | 203 | </small></address> |
| 204 | </body> | 204 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· | 82 | <p>Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· |
| 83 | ·<a·href="a01475.html#details">More...</a></p> | 83 | ·<a·href="a01475.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a00 | 84 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01474.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01474.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·gri..."·alt=""·coords="5,67,200,107"/> | 90 | <area·shape="rect"·title="Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·gri..."·alt=""·coords="5,67,200,107"/> |
| 91 | <area·shape="rect"·href="a01475.html"·title="·"·alt=""·coords="400,5,639,75"/> | 91 | <area·shape="rect"·href="a01475.html"·title="·"·alt=""·coords="400,5,639,75"/> |
| Offset 147, 15 lines modified | Offset 147, 15 lines modified | ||
| 147 | </div><div·class="memdoc"> | 147 | </div><div·class="memdoc"> |
| 148 | <p>Local·interpolation·of·a·function.·</p> | 148 | <p>Local·interpolation·of·a·function.·</p> |
| 149 | </div> | 149 | </div> |
| 150 | </div> | 150 | </div> |
| 151 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 151 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 152 | <li><a·class="el"·href="a00 | 152 | <li><a·class="el"·href="a00098_source.html">bsplinebasis.hh</a></li> |
| 153 | </ul> | 153 | </ul> |
| 154 | </div><!--·contents·--> | 154 | </div><!--·contents·--> |
| 155 | <!--·start·footer·part·--> | 155 | <!--·start·footer·part·--> |
| 156 | <hr·class="footer"/><address·class="footer"><small> | 156 | <hr·class="footer"/><address·class="footer"><small> |
| 157 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 157 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 158 | </small></address> | 158 | </small></address> |
| 159 | </body> | 159 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01476.html">List·of·all·members</a>··</div> | 81 | <a·href="a01476.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineNode<·GV·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineNode<·GV·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a00 | 85 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::BSplineNode<·GV·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::BSplineNode<·GV·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01478.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01478.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="110,167,281,207"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="110,167,281,207"/> |
| 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 565, 15 lines modified | Offset 565, 15 lines modified | ||
| 565 | ··</tr> | 565 | ··</tr> |
| 566 | </table> | 566 | </table> |
| 567 | </div><div·class="memdoc"> | 567 | </div><div·class="memdoc"> |
| 568 | </div> | 568 | </div> |
| 569 | </div> | 569 | </div> |
| 570 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 570 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 571 | <li><a·class="el"·href="a00 | 571 | <li><a·class="el"·href="a00098_source.html">bsplinebasis.hh</a></li> |
| 572 | </ul> | 572 | </ul> |
| 573 | </div><!--·contents·--> | 573 | </div><!--·contents·--> |
| 574 | <!--·start·footer·part·--> | 574 | <!--·start·footer·part·--> |
| 575 | <hr·class="footer"/><address·class="footer"><small> | 575 | <hr·class="footer"/><address·class="footer"><small> |
| 576 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 576 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 577 | </small></address> | 577 | </small></address> |
| 578 | </body> | 578 | </body> |
| Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
| 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositePreBasis<·IMS,·SPB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositePreBasis<·IMS,·SPB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 84 | </div><!--header--> | 84 | </div><!--header--> |
| 85 | <div·class="contents"> | 85 | <div·class="contents"> |
| 86 | <p>A·pre-basis·for·composite·bases.·· | 86 | <p>A·pre-basis·for·composite·bases.·· |
| 87 | ·<a·href="a01487.html#details">More...</a></p> | 87 | ·<a·href="a01487.html#details">More...</a></p> |
| 88 | <p><code>#include·<<a·class="el"·href="a001 | 88 | <p><code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/compositebasis.hh</a>></code></p> |
| 89 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
| 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 91 | Public·Types</h2></td></tr> | 91 | Public·Types</h2></td></tr> |
| 92 | <tr·class="memitem:aa3fbd381a090703bb2f0ea3bde8a3031"·id="r_aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases</a>·=·std::tuple<·SPB...·></td></tr> | 92 | <tr·class="memitem:aa3fbd381a090703bb2f0ea3bde8a3031"·id="r_aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases</a>·=·std::tuple<·SPB...·></td></tr> |
| 93 | <tr·class="memdesc:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="mdescLeft"> </td><td·class="mdescRight">Tuple·of·child·pre-bases.··<br·/></td></tr> | 93 | <tr·class="memdesc:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="mdescLeft"> </td><td·class="mdescRight">Tuple·of·child·pre-bases.··<br·/></td></tr> |
| 94 | <tr·class="separator:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | <tr·class="memitem:ab02c441bc5d90d3b584df84e606582a7"·id="r_ab02c441bc5d90d3b584df84e606582a7"><td·class="memTemplParams"·colspan="2">template<std::size_t·i>·</td></tr> | 95 | <tr·class="memitem:ab02c441bc5d90d3b584df84e606582a7"·id="r_ab02c441bc5d90d3b584df84e606582a7"><td·class="memTemplParams"·colspan="2">template<std::size_t·i>·</td></tr> |
| Offset 892, 15 lines modified | Offset 892, 15 lines modified | ||
| 892 | ··</tr> | 892 | ··</tr> |
| 893 | </table> | 893 | </table> |
| 894 | </div><div·class="memdoc"> | 894 | </div><div·class="memdoc"> |
| 895 | </div> | 895 | </div> |
| 896 | </div> | 896 | </div> |
| 897 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 897 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 898 | <li><a·class="el"·href="a001 | 898 | <li><a·class="el"·href="a00134_source.html">compositebasis.hh</a></li> |
| 899 | </ul> | 899 | </ul> |
| 900 | </div><!--·contents·--> | 900 | </div><!--·contents·--> |
| 901 | <!--·start·footer·part·--> | 901 | <!--·start·footer·part·--> |
| 902 | <hr·class="footer"/><address·class="footer"><small> | 902 | <hr·class="footer"/><address·class="footer"><small> |
| 903 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 903 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 904 | </small></address> | 904 | </small></address> |
| 905 | </body> | 905 | </body> |
| Offset 76, 19 lines modified | Offset 76, 19 lines modified | ||
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::Unknown·Struct·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::Unknown·Struct·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p>Fallback·container·descriptor·if·nothing·else·fits.·· | 79 | <p>Fallback·container·descriptor·if·nothing·else·fits.·· |
| 80 | ·<a·href="a01543.html#details">More...</a></p> | 80 | ·<a·href="a01543.html#details">More...</a></p> |
| 81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code></p> |
| 82 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 82 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
| 83 | <div·class="textblock"><p>Fallback·container·descriptor·if·nothing·else·fits.·</p> | 83 | <div·class="textblock"><p>Fallback·container·descriptor·if·nothing·else·fits.·</p> |
| 84 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 84 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 85 | <li><a·class="el"·href="a001 | 85 | <li><a·class="el"·href="a00125_source.html">containerdescriptors.hh</a></li> |
| 86 | </ul> | 86 | </ul> |
| 87 | </div><!--·contents·--> | 87 | </div><!--·contents·--> |
| 88 | <!--·start·footer·part·--> | 88 | <!--·start·footer·part·--> |
| 89 | <hr·class="footer"/><address·class="footer"><small> | 89 | <hr·class="footer"/><address·class="footer"><small> |
| 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 91 | </small></address> | 91 | </small></address> |
| 92 | </body> | 92 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::Value·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::Value·Struct·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>The·node·in·the·descriptor·tree·representing·a·value·placeholder.·· | 83 | <p>The·node·in·the·descriptor·tree·representing·a·value·placeholder.·· |
| 84 | ·<a·href="a01547.html#details">More...</a></p> | 84 | ·<a·href="a01547.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code></p> |
| 86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 88 | Public·Member·Functions</h2></td></tr> | 88 | Public·Member·Functions</h2></td></tr> |
| 89 | <tr·class="memitem:adf5f54fa359241a12f8c47b1ffcd971a"·id="r_adf5f54fa359241a12f8c47b1ffcd971a"><td·class="memTemplParams"·colspan="2">template<class·Index·>·</td></tr> | 89 | <tr·class="memitem:adf5f54fa359241a12f8c47b1ffcd971a"·id="r_adf5f54fa359241a12f8c47b1ffcd971a"><td·class="memTemplParams"·colspan="2">template<class·Index·>·</td></tr> |
| 90 | <tr·class="memitem:adf5f54fa359241a12f8c47b1ffcd971a"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01547.html">Value</a> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01547.html#adf5f54fa359241a12f8c47b1ffcd971a">operator[]</a>·(const·Index·&)·const</td></tr> | 90 | <tr·class="memitem:adf5f54fa359241a12f8c47b1ffcd971a"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01547.html">Value</a> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01547.html#adf5f54fa359241a12f8c47b1ffcd971a">operator[]</a>·(const·Index·&)·const</td></tr> |
| 91 | <tr·class="memdesc:adf5f54fa359241a12f8c47b1ffcd971a"><td·class="mdescLeft"> </td><td·class="mdescRight">The·child·access·method·is·only·available·for·the·interface,·but·should·not·be·called.··<br·/></td></tr> | 91 | <tr·class="memdesc:adf5f54fa359241a12f8c47b1ffcd971a"><td·class="mdescLeft"> </td><td·class="mdescRight">The·child·access·method·is·only·available·for·the·interface,·but·should·not·be·called.··<br·/></td></tr> |
| 92 | <tr·class="separator:adf5f54fa359241a12f8c47b1ffcd971a"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:adf5f54fa359241a12f8c47b1ffcd971a"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 156, 15 lines modified | Offset 156, 15 lines modified | ||
| 156 | </div><div·class="memdoc"> | 156 | </div><div·class="memdoc"> |
| 157 | <p>A·value·placeholder·does·not·have·any·sub-descriptors,·thus·its·size·is·zero.·</p> | 157 | <p>A·value·placeholder·does·not·have·any·sub-descriptors,·thus·its·size·is·zero.·</p> |
| 158 | </div> | 158 | </div> |
| 159 | </div> | 159 | </div> |
| 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 160 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 161 | <li><a·class="el"·href="a001 | 161 | <li><a·class="el"·href="a00125_source.html">containerdescriptors.hh</a></li> |
| 162 | </ul> | 162 | </ul> |
| 163 | </div><!--·contents·--> | 163 | </div><!--·contents·--> |
| 164 | <!--·start·footer·part·--> | 164 | <!--·start·footer·part·--> |
| 165 | <hr·class="footer"/><address·class="footer"><small> | 165 | <hr·class="footer"/><address·class="footer"><small> |
| 166 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 166 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 167 | </small></address> | 167 | </small></address> |
| 168 | </body> | 168 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::UniformArray<·Child,·n·>·Struct·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::UniformArray<·Child,·n·>·Struct·Template·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>Descriptor·for·arrays·with·all·children·identical·and·the·number·of·children·a·static·size.·· | 83 | <p>Descriptor·for·arrays·with·all·children·identical·and·the·number·of·children·a·static·size.·· |
| 84 | ·<a·href="a01551.html#details">More...</a></p> | 84 | ·<a·href="a01551.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code></p> |
| 86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 88 | Public·Member·Functions</h2></td></tr> | 88 | Public·Member·Functions</h2></td></tr> |
| 89 | <tr·class="memitem:ad27d9d33cea37b69b1793d6f22211089"·id="r_ad27d9d33cea37b69b1793d6f22211089"><td·class="memTemplParams"·colspan="2">template<class·C··=·Child,·std::enable_if_t<·std::is_default_constructible_v<·C·>,·int·>··=·0>·</td></tr> | 89 | <tr·class="memitem:ad27d9d33cea37b69b1793d6f22211089"·id="r_ad27d9d33cea37b69b1793d6f22211089"><td·class="memTemplParams"·colspan="2">template<class·C··=·Child,·std::enable_if_t<·std::is_default_constructible_v<·C·>,·int·>··=·0>·</td></tr> |
| 90 | <tr·class="memitem:ad27d9d33cea37b69b1793d6f22211089"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01551.html#ad27d9d33cea37b69b1793d6f22211089">UniformArray</a>·()</td></tr> | 90 | <tr·class="memitem:ad27d9d33cea37b69b1793d6f22211089"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01551.html#ad27d9d33cea37b69b1793d6f22211089">UniformArray</a>·()</td></tr> |
| 91 | <tr·class="memdesc:ad27d9d33cea37b69b1793d6f22211089"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·constructor.·Is·enable·if·the·child-type·is·default·constructible.··<br·/></td></tr> | 91 | <tr·class="memdesc:ad27d9d33cea37b69b1793d6f22211089"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·constructor.·Is·enable·if·the·child-type·is·default·constructible.··<br·/></td></tr> |
| 92 | <tr·class="separator:ad27d9d33cea37b69b1793d6f22211089"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:ad27d9d33cea37b69b1793d6f22211089"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 230, 15 lines modified | Offset 230, 15 lines modified | ||
| 230 | </div><div·class="memdoc"> | 230 | </div><div·class="memdoc"> |
| 231 | <p>The·static·size·information,·i.e.,·number·of·children.·</p> | 231 | <p>The·static·size·information,·i.e.,·number·of·children.·</p> |
| 232 | </div> | 232 | </div> |
| 233 | </div> | 233 | </div> |
| 234 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 234 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 235 | <li><a·class="el"·href="a001 | 235 | <li><a·class="el"·href="a00125_source.html">containerdescriptors.hh</a></li> |
| 236 | </ul> | 236 | </ul> |
| 237 | </div><!--·contents·--> | 237 | </div><!--·contents·--> |
| 238 | <!--·start·footer·part·--> | 238 | <!--·start·footer·part·--> |
| 239 | <hr·class="footer"/><address·class="footer"><small> | 239 | <hr·class="footer"/><address·class="footer"><small> |
| 240 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 240 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 241 | </small></address> | 241 | </small></address> |
| 242 | </body> | 242 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::UniformVector<·Child·>·Struct·Template·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ContainerDescriptors::UniformVector<·Child·>·Struct·Template·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Uniform·descriptor·with·dynamic·size.·· | 82 | <p>Uniform·descriptor·with·dynamic·size.·· |
| 83 | ·<a·href="a01555.html#details">More...</a></p> | 83 | ·<a·href="a01555.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/containerdescriptors.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a86a83509d79765b690dc4486e7b16690"·id="r_a86a83509d79765b690dc4486e7b16690"><td·class="memTemplParams"·colspan="2">template<class·C··=·Child,·std::enable_if_t<·std::is_default_constructible_v<·C·>,·int·>··=·0>·</td></tr> | 88 | <tr·class="memitem:a86a83509d79765b690dc4486e7b16690"·id="r_a86a83509d79765b690dc4486e7b16690"><td·class="memTemplParams"·colspan="2">template<class·C··=·Child,·std::enable_if_t<·std::is_default_constructible_v<·C·>,·int·>··=·0>·</td></tr> |
| 89 | <tr·class="memitem:a86a83509d79765b690dc4486e7b16690"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01555.html#a86a83509d79765b690dc4486e7b16690">UniformVector</a>·(std::size_t·<a·class="el"·href="a01555.html#a4066e1e719f38d589948a3e3e5a504c6">size</a>)</td></tr> | 89 | <tr·class="memitem:a86a83509d79765b690dc4486e7b16690"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01555.html#a86a83509d79765b690dc4486e7b16690">UniformVector</a>·(std::size_t·<a·class="el"·href="a01555.html#a4066e1e719f38d589948a3e3e5a504c6">size</a>)</td></tr> |
| 90 | <tr·class="memdesc:a86a83509d79765b690dc4486e7b16690"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·constructor·with·size.·Is·enable·if·the·child-type·is·default·constructible.··<br·/></td></tr> | 90 | <tr·class="memdesc:a86a83509d79765b690dc4486e7b16690"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·constructor·with·size.·Is·enable·if·the·child-type·is·default·constructible.··<br·/></td></tr> |
| 91 | <tr·class="separator:a86a83509d79765b690dc4486e7b16690"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a86a83509d79765b690dc4486e7b16690"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 237, 15 lines modified | Offset 237, 15 lines modified | ||
| 237 | </div><div·class="memdoc"> | 237 | </div><div·class="memdoc"> |
| 238 | <p>The·dynamic·size·information,·i.e.,·number·of·children.·</p> | 238 | <p>The·dynamic·size·information,·i.e.,·number·of·children.·</p> |
| 239 | </div> | 239 | </div> |
| 240 | </div> | 240 | </div> |
| 241 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 241 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 242 | <li><a·class="el"·href="a001 | 242 | <li><a·class="el"·href="a00125_source.html">containerdescriptors.hh</a></li> |
| 243 | </ul> | 243 | </ul> |
| 244 | </div><!--·contents·--> | 244 | </div><!--·contents·--> |
| 245 | <!--·start·footer·part·--> | 245 | <!--·start·footer·part·--> |
| 246 | <hr·class="footer"/><address·class="footer"><small> | 246 | <hr·class="footer"/><address·class="footer"><small> |
| 247 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 247 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 248 | </small></address> | 248 | </small></address> |
| 249 | </body> | 249 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultGlobalBasis<·PB·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultGlobalBasis<·PB·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>Global·basis·for·given·pre-basis.·· | 84 | <p>Global·basis·for·given·pre-basis.·· |
| 85 | ·<a·href="a01563.html#details">More...</a></p> | 85 | ·<a·href="a01563.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a001 | 86 | <p><code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:a4d800349e8aa9ae148a178827d51ccda"·id="r_a4d800349e8aa9ae148a178827d51ccda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB</td></tr> | 90 | <tr·class="memitem:a4d800349e8aa9ae148a178827d51ccda"·id="r_a4d800349e8aa9ae148a178827d51ccda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB</td></tr> |
| 91 | <tr·class="memdesc:a4d800349e8aa9ae148a178827d51ccda"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·providing·the·implementation·details.··<br·/></td></tr> | 91 | <tr·class="memdesc:a4d800349e8aa9ae148a178827d51ccda"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·providing·the·implementation·details.··<br·/></td></tr> |
| 92 | <tr·class="separator:a4d800349e8aa9ae148a178827d51ccda"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:a4d800349e8aa9ae148a178827d51ccda"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 93 | <tr·class="memitem:aa33c9a46f1e7548b2a956c36f6554e89"·id="r_aa33c9a46f1e7548b2a956c36f6554e89"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath</a>·=·TypeTree::HybridTreePath<></td></tr> | 93 | <tr·class="memitem:aa33c9a46f1e7548b2a956c36f6554e89"·id="r_aa33c9a46f1e7548b2a956c36f6554e89"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath</a>·=·TypeTree::HybridTreePath<></td></tr> |
| Offset 732, 15 lines modified | Offset 732, 15 lines modified | ||
| 732 | ··</tr> | 732 | ··</tr> |
| 733 | </table> | 733 | </table> |
| 734 | </div><div·class="memdoc"> | 734 | </div><div·class="memdoc"> |
| 735 | </div> | 735 | </div> |
| 736 | </div> | 736 | </div> |
| 737 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 737 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 738 | <li><a·class="el"·href="a001 | 738 | <li><a·class="el"·href="a00158_source.html">defaultglobalbasis.hh</a></li> |
| 739 | </ul> | 739 | </ul> |
| 740 | </div><!--·contents·--> | 740 | </div><!--·contents·--> |
| 741 | <!--·start·footer·part·--> | 741 | <!--·start·footer·part·--> |
| 742 | <hr·class="footer"/><address·class="footer"><small> | 742 | <hr·class="footer"/><address·class="footer"><small> |
| 743 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 743 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 744 | </small></address> | 744 | </small></address> |
| 745 | </body> | 745 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultLocalView<·GB·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultLocalView<·GB·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· | 85 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· |
| 86 | ·<a·href="a01567.html#details">More...</a></p> | 86 | ·<a·href="a01567.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a001 | 87 | <p><code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></code></p> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 90 | Public·Types</h2></td></tr> | 90 | Public·Types</h2></td></tr> |
| 91 | <tr·class="memitem:a9523d45b214ee146d2135416d01aceda"·id="r_a9523d45b214ee146d2135416d01aceda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>·=·GB</td></tr> | 91 | <tr·class="memitem:a9523d45b214ee146d2135416d01aceda"·id="r_a9523d45b214ee146d2135416d01aceda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>·=·GB</td></tr> |
| 92 | <tr·class="memdesc:a9523d45b214ee146d2135416d01aceda"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<br·/></td></tr> | 92 | <tr·class="memdesc:a9523d45b214ee146d2135416d01aceda"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<br·/></td></tr> |
| 93 | <tr·class="separator:a9523d45b214ee146d2135416d01aceda"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:a9523d45b214ee146d2135416d01aceda"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | <tr·class="memitem:a29917f5ca32a2b2df56b1ae72c2a25ca"·id="r_a29917f5ca32a2b2df56b1ae72c2a25ca"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html#a29917f5ca32a2b2df56b1ae72c2a25ca">GridView</a>·=·typename·GlobalBasis::GridView</td></tr> | 94 | <tr·class="memitem:a29917f5ca32a2b2df56b1ae72c2a25ca"·id="r_a29917f5ca32a2b2df56b1ae72c2a25ca"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html#a29917f5ca32a2b2df56b1ae72c2a25ca">GridView</a>·=·typename·GlobalBasis::GridView</td></tr> |
| Offset 748, 15 lines modified | Offset 748, 15 lines modified | ||
| 748 | ··</tr> | 748 | ··</tr> |
| 749 | </table> | 749 | </table> |
| 750 | </div><div·class="memdoc"> | 750 | </div><div·class="memdoc"> |
| 751 | </div> | 751 | </div> |
| 752 | </div> | 752 | </div> |
| 753 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 753 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 754 | <li><a·class="el"·href="a001 | 754 | <li><a·class="el"·href="a00179_source.html">defaultlocalview.hh</a></li> |
| 755 | </ul> | 755 | </ul> |
| 756 | </div><!--·contents·--> | 756 | </div><!--·contents·--> |
| 757 | <!--·start·footer·part·--> | 757 | <!--·start·footer·part·--> |
| 758 | <hr·class="footer"/><address·class="footer"><small> | 758 | <hr·class="footer"/><address·class="footer"><small> |
| 759 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 759 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 760 | </small></address> | 760 | </small></address> |
| 761 | </body> | 761 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>·Struct·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>·Struct·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>A·simple·node·to·range·map·using·lexicographic·ordering.·· | 84 | <p>A·simple·node·to·range·map·using·lexicographic·ordering.·· |
| 85 | ·<a·href="a01571.html#details">More...</a></p> | 85 | ·<a·href="a01571.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a001 | 86 | <p><code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/defaultnodetorangemap.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 89 | Classes</h2></td></tr> | 89 | Classes</h2></td></tr> |
| 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01575.html">Visitor</a></td></tr> | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01575.html">Visitor</a></td></tr> |
| 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
| 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| Offset 261, 15 lines modified | Offset 261, 15 lines modified | ||
| 261 | ········</tr> | 261 | ········</tr> |
| 262 | ······</table> | 262 | ······</table> |
| 263 | </div><div·class="memdoc"> | 263 | </div><div·class="memdoc"> |
| 264 | </div> | 264 | </div> |
| 265 | </div> | 265 | </div> |
| 266 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 266 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 267 | <li><a·class="el"·href="a001 | 267 | <li><a·class="el"·href="a00113_source.html">defaultnodetorangemap.hh</a></li> |
| 268 | </ul> | 268 | </ul> |
| 269 | </div><!--·contents·--> | 269 | </div><!--·contents·--> |
| 270 | <!--·start·footer·part·--> | 270 | <!--·start·footer·part·--> |
| 271 | <hr·class="footer"/><address·class="footer"><small> | 271 | <hr·class="footer"/><address·class="footer"><small> |
| 272 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 272 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 273 | </small></address> | 273 | </small></address> |
| 274 | </body> | 274 | </body> |
| Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
| 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 78 | <a·href="#pub-attribs">Public·Attributes</a>·| | 78 | <a·href="#pub-attribs">Public·Attributes</a>·| |
| 79 | <a·href="a01572.html">List·of·all·members</a>··</div> | 79 | <a·href="a01572.html">List·of·all·members</a>··</div> |
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor·Struct·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p><code>#include·<<a·class="el"·href="a001 | 83 | <p><code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/defaultnodetorangemap.hh</a>></code></p> |
| 84 | <div·class="dynheader"> | 84 | <div·class="dynheader"> |
| 85 | Inheritance·diagram·for·Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor:</div> | 85 | Inheritance·diagram·for·Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor:</div> |
| 86 | <div·class="dyncontent"> | 86 | <div·class="dyncontent"> |
| 87 | <div·class="center"><img·src="a01574.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·alt="Inheritance·graph"/></div> | 87 | <div·class="center"><img·src="a01574.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·alt="Inheritance·graph"/></div> |
| 88 | <map·name="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"> | 88 | <map·name="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"> |
| 89 | <area·shape="rect"·title="·"·alt=""·coords="83,79,262,133"/> | 89 | <area·shape="rect"·title="·"·alt=""·coords="83,79,262,133"/> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="5,5,151,31"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="5,5,151,31"/> |
| Offset 210, 15 lines modified | Offset 210, 15 lines modified | ||
| 210 | ········</tr> | 210 | ········</tr> |
| 211 | ······</table> | 211 | ······</table> |
| 212 | </div><div·class="memdoc"> | 212 | </div><div·class="memdoc"> |
| 213 | </div> | 213 | </div> |
| 214 | </div> | 214 | </div> |
| 215 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 215 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 216 | <li><a·class="el"·href="a001 | 216 | <li><a·class="el"·href="a00113_source.html">defaultnodetorangemap.hh</a></li> |
| 217 | </ul> | 217 | </ul> |
| 218 | </div><!--·contents·--> | 218 | </div><!--·contents·--> |
| 219 | <!--·start·footer·part·--> | 219 | <!--·start·footer·part·--> |
| 220 | <hr·class="footer"/><address·class="footer"><small> | 220 | <hr·class="footer"/><address·class="footer"><small> |
| 221 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 221 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 222 | </small></address> | 222 | </small></address> |
| 223 | </body> | 223 | </body> |
| Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
| 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DynamicPowerPreBasis<·IMS,·SPB·>·Class·Template·Reference</div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DynamicPowerPreBasis<·IMS,·SPB·>·Class·Template·Reference</div></div> |
| 85 | </div><!--header--> | 85 | </div><!--header--> |
| 86 | <div·class="contents"> | 86 | <div·class="contents"> |
| 87 | <p>A·pre-basis·for·dynamic·power·bases.·· | 87 | <p>A·pre-basis·for·dynamic·power·bases.·· |
| 88 | ·<a·href="a01579.html#details">More...</a></p> | 88 | ·<a·href="a01579.html#details">More...</a></p> |
| 89 | <p><code>#include·<<a·class="el"·href="a001 | 89 | <p><code>#include·<<a·class="el"·href="a00137_source.html">dune/functions/functionspacebases/dynamicpowerbasis.hh</a>></code></p> |
| 90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
| 91 | Inheritance·diagram·for·Dune::Functions::DynamicPowerPreBasis<·IMS,·SPB·>:</div> | 91 | Inheritance·diagram·for·Dune::Functions::DynamicPowerPreBasis<·IMS,·SPB·>:</div> |
| 92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
| 93 | <div·class="center"><img·src="a01578.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_dynamic_power_pre_basis_3_01_i_m_s_00_01_s_p_b_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01578.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_dynamic_power_pre_basis_3_01_i_m_s_00_01_s_p_b_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 94 | <map·name="a_dune_1_1_functions_1_1_dynamic_power_pre_basis_3_01_i_m_s_00_01_s_p_b_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_dynamic_power_pre_basis_3_01_i_m_s_00_01_s_p_b_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_functions_1_1_dynamic_power_pre_basis_3_01_i_m_s_00_01_s_p_b_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_dynamic_power_pre_basis_3_01_i_m_s_00_01_s_p_b_01_4_inherit__map"> |
| 95 | <area·shape="rect"·title="A·pre-basis·for·dynamic·power·bases."·alt=""·coords="5,5,200,45"/> | 95 | <area·shape="rect"·title="A·pre-basis·for·dynamic·power·bases."·alt=""·coords="5,5,200,45"/> |
| 96 | <area·shape="rect"·href="a01779.html"·title="A·pre-basis·for·power·bases."·alt=""·coords="11,93,194,133"/> | 96 | <area·shape="rect"·href="a01779.html"·title="A·pre-basis·for·power·bases."·alt=""·coords="11,93,194,133"/> |
| Offset 1369, 15 lines modified | Offset 1369, 15 lines modified | ||
| 1369 | ··</tr> | 1369 | ··</tr> |
| 1370 | </table> | 1370 | </table> |
| 1371 | </div><div·class="memdoc"> | 1371 | </div><div·class="memdoc"> |
| 1372 | </div> | 1372 | </div> |
| 1373 | </div> | 1373 | </div> |
| 1374 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1374 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 1375 | <li><a·class="el"·href="a001 | 1375 | <li><a·class="el"·href="a00137_source.html">dynamicpowerbasis.hh</a></li> |
| 1376 | </ul> | 1376 | </ul> |
| 1377 | </div><!--·contents·--> | 1377 | </div><!--·contents·--> |
| 1378 | <!--·start·footer·part·--> | 1378 | <!--·start·footer·part·--> |
| 1379 | <hr·class="footer"/><address·class="footer"><small> | 1379 | <hr·class="footer"/><address·class="footer"><small> |
| 1380 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1380 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 1381 | </small></address> | 1381 | </small></address> |
| 1382 | </body> | 1382 | </body> |
| Offset 87, 15 lines modified | Offset 87, 15 lines modified | ||
| 87 | ····<tr><td·class="paramname">GV</td><td>The·grid·view·that·the·FE·basis·is·defined·on·</td></tr> | 87 | ····<tr><td·class="paramname">GV</td><td>The·grid·view·that·the·FE·basis·is·defined·on·</td></tr> |
| 88 | ····<tr><td·class="paramname">k</td><td>The·polynomial·order·of·ansatz·functions,·(0·<·k·<=·2)·</td></tr> | 88 | ····<tr><td·class="paramname">k</td><td>The·polynomial·order·of·ansatz·functions,·(0·<·k·<=·2)·</td></tr> |
| 89 | ····<tr><td·class="paramname">R</td><td>Range·field-type·used·for·shape·function·values·</td></tr> | 89 | ····<tr><td·class="paramname">R</td><td>Range·field-type·used·for·shape·function·values·</td></tr> |
| 90 | ··</table> | 90 | ··</table> |
| 91 | ··</dd> | 91 | ··</dd> |
| 92 | </dl> | 92 | </dl> |
| 93 | </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 93 | </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 94 | <li><a·class="el"·href="a001 | 94 | <li><a·class="el"·href="a00128_source.html">hierarchicallagrangebasis.hh</a></li> |
| 95 | </ul> | 95 | </ul> |
| 96 | </div><!--·contents·--> | 96 | </div><!--·contents·--> |
| 97 | <!--·start·footer·part·--> | 97 | <!--·start·footer·part·--> |
| 98 | <hr·class="footer"/><address·class="footer"><small> | 98 | <hr·class="footer"/><address·class="footer"><small> |
| 99 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 99 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 100 | </small></address> | 100 | </small></address> |
| 101 | </body> | 101 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01632.html">List·of·all·members</a>··</div> | 81 | <a·href="a01632.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/hierarchicallagrangebasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::HierarchicalLagrangePreBasis<·GV,·1,·R·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01634.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_011_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01634.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_011_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_011_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_011_00_01_r_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_011_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_011_00_01_r_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="1579,20,1781,60"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="1579,20,1781,60"/> |
| 92 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="1307,5,1529,75"/> | 92 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="1307,5,1529,75"/> |
| Offset 690, 15 lines modified | Offset 690, 15 lines modified | ||
| 690 | </div><div·class="memdoc"> | 690 | </div><div·class="memdoc"> |
| 691 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 691 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 692 | </div> | 692 | </div> |
| 693 | </div> | 693 | </div> |
| 694 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 694 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 695 | <li><a·class="el"·href="a001 | 695 | <li><a·class="el"·href="a00128_source.html">hierarchicallagrangebasis.hh</a></li> |
| 696 | </ul> | 696 | </ul> |
| 697 | </div><!--·contents·--> | 697 | </div><!--·contents·--> |
| 698 | <!--·start·footer·part·--> | 698 | <!--·start·footer·part·--> |
| 699 | <hr·class="footer"/><address·class="footer"><small> | 699 | <hr·class="footer"/><address·class="footer"><small> |
| 700 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 700 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 701 | </small></address> | 701 | </small></address> |
| 702 | </body> | 702 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01636.html">List·of·all·members</a>··</div> | 81 | <a·href="a01636.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/hierarchicallagrangebasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::HierarchicalLagrangePreBasis<·GV,·2,·R·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01638.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_012_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01638.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_012_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_012_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_012_00_01_r_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_012_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_hierarchical_lagrange_pre_basis_3_01_g_v_00_012_00_01_r_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="1616,16,1819,56"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="1616,16,1819,56"/> |
| 92 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="1292,9,1567,63"/> | 92 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="1292,9,1567,63"/> |
| Offset 690, 15 lines modified | Offset 690, 15 lines modified | ||
| 690 | </div><div·class="memdoc"> | 690 | </div><div·class="memdoc"> |
| 691 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 691 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 692 | </div> | 692 | </div> |
| 693 | </div> | 693 | </div> |
| 694 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 694 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 695 | <li><a·class="el"·href="a001 | 695 | <li><a·class="el"·href="a00128_source.html">hierarchicallagrangebasis.hh</a></li> |
| 696 | </ul> | 696 | </ul> |
| 697 | </div><!--·contents·--> | 697 | </div><!--·contents·--> |
| 698 | <!--·start·footer·part·--> | 698 | <!--·start·footer·part·--> |
| 699 | <hr·class="footer"/><address·class="footer"><small> | 699 | <hr·class="footer"/><address·class="footer"><small> |
| 700 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 700 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 701 | </small></address> | 701 | </small></address> |
| 702 | </body> | 702 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicNodeToRangeMap·Struct·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicNodeToRangeMap·Struct·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>A·simple·node·to·range·map·using·the·nested·tree·indices.·· | 82 | <p>A·simple·node·to·range·map·using·the·nested·tree·indices.·· |
| 83 | ·<a·href="a01643.html#details">More...</a></p> | 83 | ·<a·href="a01643.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00194_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"·id="r_a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> | 88 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"·id="r_a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> |
| 89 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01643.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">operator()</a>·(const·Node·&,·const·TreePath·&treePath,·Range·&&y)·const</td></tr> | 89 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01643.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">operator()</a>·(const·Node·&,·const·TreePath·&treePath,·Range·&&y)·const</td></tr> |
| 90 | <tr·class="separator:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:a7122457e9d3aad7c63a2184012f26566"·id="r_a7122457e9d3aad7c63a2184012f26566"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·not·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> | 91 | <tr·class="memitem:a7122457e9d3aad7c63a2184012f26566"·id="r_a7122457e9d3aad7c63a2184012f26566"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·not·models<·<a·class="el"·href="a01503.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> |
| Offset 184, 15 lines modified | Offset 184, 15 lines modified | ||
| 184 | ··</tr> | 184 | ··</tr> |
| 185 | </table> | 185 | </table> |
| 186 | </div><div·class="memdoc"> | 186 | </div><div·class="memdoc"> |
| 187 | </div> | 187 | </div> |
| 188 | </div> | 188 | </div> |
| 189 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 189 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 190 | <li><a·class="el"·href="a001 | 190 | <li><a·class="el"·href="a00194_source.html">hierarchicnodetorangemap.hh</a></li> |
| 191 | </ul> | 191 | </ul> |
| 192 | </div><!--·contents·--> | 192 | </div><!--·contents·--> |
| 193 | <!--·start·footer·part·--> | 193 | <!--·start·footer·part·--> |
| 194 | <hr·class="footer"/><address·class="footer"><small> | 194 | <hr·class="footer"/><address·class="footer"><small> |
| 195 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 195 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 196 | </small></address> | 196 | </small></address> |
| 197 | </body> | 197 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicVectorWrapper<·V,·CO·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicVectorWrapper<·V,·CO·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>A·wrapper·providing·multiindex·access·to·vector·entries.·· | 84 | <p>A·wrapper·providing·multiindex·access·to·vector·entries.·· |
| 85 | ·<a·href="a01663.html#details">More...</a></p> | 85 | ·<a·href="a01663.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a00 | 86 | <p><code>#include·<<a·class="el"·href="a00131_source.html">dune/functions/functionspacebases/hierarchicvectorwrapper.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:a7662d9e57bc2b8e522f4d423c9bbe750"·id="r_a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">using</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01663.html#a7662d9e57bc2b8e522f4d423c9bbe750">Vector</a>·=·<a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">V</a></td></tr> | 90 | <tr·class="memitem:a7662d9e57bc2b8e522f4d423c9bbe750"·id="r_a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">using</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01663.html#a7662d9e57bc2b8e522f4d423c9bbe750">Vector</a>·=·<a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">V</a></td></tr> |
| 91 | <tr·class="separator:a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"·id="r_a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplParams"·colspan="2">template<<a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">class</a>·MultiIndex·>·</td></tr> | 92 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"·id="r_a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplParams"·colspan="2">template<<a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">class</a>·MultiIndex·>·</td></tr> |
| 93 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">using</a> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01663.html#a84a850d0e5587fc6f14179ec3f15da5c">Entry</a>·=·Coefficient<·MultiIndex·></td></tr> | 93 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01663.html#aa87d301d268493db3421a6eb5b9b307e">using</a> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01663.html#a84a850d0e5587fc6f14179ec3f15da5c">Entry</a>·=·Coefficient<·MultiIndex·></td></tr> |
| Offset 398, 15 lines modified | Offset 398, 15 lines modified | ||
| 398 | ··</tr> | 398 | ··</tr> |
| 399 | </table> | 399 | </table> |
| 400 | </div><div·class="memdoc"> | 400 | </div><div·class="memdoc"> |
| 401 | </div> | 401 | </div> |
| 402 | </div> | 402 | </div> |
| 403 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 403 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 404 | <li><a·class="el"·href="a00 | 404 | <li><a·class="el"·href="a00131_source.html">hierarchicvectorwrapper.hh</a></li> |
| 405 | </ul> | 405 | </ul> |
| 406 | </div><!--·contents·--> | 406 | </div><!--·contents·--> |
| 407 | <!--·start·footer·part·--> | 407 | <!--·start·footer·part·--> |
| 408 | <hr·class="footer"/><address·class="footer"><small> | 408 | <hr·class="footer"/><address·class="footer"><small> |
| 409 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 409 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 410 | </small></address> | 410 | </small></address> |
| 411 | </body> | 411 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 80 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 81 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 81 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 82 | <a·href="a01688.html">List·of·all·members</a>··</div> | 82 | <a·href="a01688.html">List·of·all·members</a>··</div> |
| 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> |
| 84 | </div><!--header--> | 84 | </div><!--header--> |
| 85 | <div·class="contents"> | 85 | <div·class="contents"> |
| 86 | <p><code>#include·<<a·class="el"·href="a001 | 86 | <p><code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code></p> |
| 87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
| 88 | Inheritance·diagram·for·Dune::Functions::LagrangeNode<·GV,·k,·R·>:</div> | 88 | Inheritance·diagram·for·Dune::Functions::LagrangeNode<·GV,·k,·R·>:</div> |
| 89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
| 90 | <div·class="center"><img·src="a01690.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01690.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 91 | <map·name="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="106,167,285,207"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="106,167,285,207"/> |
| 93 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 93 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 656, 15 lines modified | Offset 656, 15 lines modified | ||
| 656 | ··</tr> | 656 | ··</tr> |
| 657 | </table> | 657 | </table> |
| 658 | </div><div·class="memdoc"> | 658 | </div><div·class="memdoc"> |
| 659 | </div> | 659 | </div> |
| 660 | </div> | 660 | </div> |
| 661 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 661 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 662 | <li><a·class="el"·href="a001 | 662 | <li><a·class="el"·href="a00176_source.html">lagrangebasis.hh</a></li> |
| 663 | </ul> | 663 | </ul> |
| 664 | </div><!--·contents·--> | 664 | </div><!--·contents·--> |
| 665 | <!--·start·footer·part·--> | 665 | <!--·start·footer·part·--> |
| 666 | <hr·class="footer"/><address·class="footer"><small> | 666 | <hr·class="footer"/><address·class="footer"><small> |
| 667 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 667 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 668 | </small></address> | 668 | </small></address> |
| 669 | </body> | 669 | </body> |
| Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
| 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 84 | </div><!--header--> | 84 | </div><!--header--> |
| 85 | <div·class="contents"> | 85 | <div·class="contents"> |
| 86 | <p>A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·· | 86 | <p>A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·· |
| 87 | ·<a·href="a01695.html#details">More...</a></p> | 87 | ·<a·href="a01695.html#details">More...</a></p> |
| 88 | <p><code>#include·<<a·class="el"·href="a001 | 88 | <p><code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code></p> |
| 89 | <div·class="dynheader"> | 89 | <div·class="dynheader"> |
| 90 | Inheritance·diagram·for·Dune::Functions::LagrangePreBasis<·GV,·k,·R·>:</div> | 90 | Inheritance·diagram·for·Dune::Functions::LagrangePreBasis<·GV,·k,·R·>:</div> |
| 91 | <div·class="dyncontent"> | 91 | <div·class="dyncontent"> |
| 92 | <div·class="center"><img·src="a01694.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 92 | <div·class="center"><img·src="a01694.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 93 | <map·name="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 93 | <map·name="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
| 94 | <area·shape="rect"·title="A·pre-basis·for·a·PQ-lagrange·bases·with·given·order."·alt=""·coords="600,37,779,77"/> | 94 | <area·shape="rect"·title="A·pre-basis·for·a·PQ-lagrange·bases·with·given·order."·alt=""·coords="600,37,779,77"/> |
| 95 | <area·shape="rect"·href="a01695.html"·title="·"·alt=""·coords="888,5,1067,45"/> | 95 | <area·shape="rect"·href="a01695.html"·title="·"·alt=""·coords="888,5,1067,45"/> |
| Offset 1329, 15 lines modified | Offset 1329, 15 lines modified | ||
| 1329 | ··</tr> | 1329 | ··</tr> |
| 1330 | </table> | 1330 | </table> |
| 1331 | </div><div·class="memdoc"> | 1331 | </div><div·class="memdoc"> |
| 1332 | </div> | 1332 | </div> |
| 1333 | </div> | 1333 | </div> |
| 1334 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1334 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 1335 | <li><a·class="el"·href="a001 | 1335 | <li><a·class="el"·href="a00176_source.html">lagrangebasis.hh</a></li> |
| 1336 | </ul> | 1336 | </ul> |
| 1337 | </div><!--·contents·--> | 1337 | </div><!--·contents·--> |
| 1338 | <!--·start·footer·part·--> | 1338 | <!--·start·footer·part·--> |
| 1339 | <hr·class="footer"/><address·class="footer"><small> | 1339 | <hr·class="footer"/><address·class="footer"><small> |
| 1340 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1340 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 1341 | </small></address> | 1341 | </small></address> |
| 1342 | </body> | 1342 | </body> |
| Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
| 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 84 | </div><!--header--> | 84 | </div><!--header--> |
| 85 | <div·class="contents"> | 85 | <div·class="contents"> |
| 86 | <p>A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.·· | 86 | <p>A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.·· |
| 87 | ·<a·href="a01715.html#details">More...</a></p> | 87 | ·<a·href="a01715.html#details">More...</a></p> |
| 88 | <p><code>#include·<<a·class="el"·href="a001 | 88 | <p><code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></code></p> |
| 89 | <div·class="dynheader"> | 89 | <div·class="dynheader"> |
| 90 | Inheritance·diagram·for·Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>:</div> | 90 | Inheritance·diagram·for·Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>:</div> |
| 91 | <div·class="dyncontent"> | 91 | <div·class="dyncontent"> |
| 92 | <div·class="center"><img·src="a01714.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 92 | <div·class="center"><img·src="a01714.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 93 | <map·name="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_inherit__map"> | 93 | <map·name="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_inherit__map"> |
| 94 | <area·shape="rect"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout."·alt=""·coords="883,64,1085,104"/> | 94 | <area·shape="rect"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout."·alt=""·coords="883,64,1085,104"/> |
| 95 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="1333,5,1555,75"/> | 95 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="1333,5,1555,75"/> |
| Offset 794, 15 lines modified | Offset 794, 15 lines modified | ||
| 794 | </div><div·class="memdoc"> | 794 | </div><div·class="memdoc"> |
| 795 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 795 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 796 | </div> | 796 | </div> |
| 797 | </div> | 797 | </div> |
| 798 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 798 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 799 | <li><a·class="el"·href="a001 | 799 | <li><a·class="el"·href="a00119_source.html">lfeprebasismixin.hh</a></li> |
| 800 | </ul> | 800 | </ul> |
| 801 | </div><!--·contents·--> | 801 | </div><!--·contents·--> |
| 802 | <!--·start·footer·part·--> | 802 | <!--·start·footer·part·--> |
| 803 | <hr·class="footer"/><address·class="footer"><small> | 803 | <hr·class="footer"/><address·class="footer"><small> |
| 804 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 804 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 805 | </small></address> | 805 | </small></address> |
| 806 | </body> | 806 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node·Class·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node·Class·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the·<a·class="el"·href="a01715.html"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.">LFEPreBasisMixin</a>·of·type·<code>LFE</code>.·· | 85 | <p>Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the·<a·class="el"·href="a01715.html"·title="A·pre-basis·mixin·class·parametrized·with·a·local·finite-element·and·a·DOF·layout.">LFEPreBasisMixin</a>·of·type·<code>LFE</code>.·· |
| 86 | ·<a·href="a01719.html#details">More...</a></p> | 86 | ·<a·href="a01719.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a001 | 87 | <p><code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/lfeprebasismixin.hh</a>></code></p> |
| 88 | <div·class="dynheader"> | 88 | <div·class="dynheader"> |
| 89 | Inheritance·diagram·for·Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node:</div> | 89 | Inheritance·diagram·for·Dune::Functions::LFEPreBasisMixin<·GV,·LFE·>::Node:</div> |
| 90 | <div·class="dyncontent"> | 90 | <div·class="dyncontent"> |
| 91 | <div·class="center"><img·src="a01718.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_1_1_node_inherit__map"·alt="Inheritance·graph"/></div> | 91 | <div·class="center"><img·src="a01718.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_1_1_node_inherit__map"·alt="Inheritance·graph"/></div> |
| 92 | <map·name="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_1_1_node_inherit__map"·id="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_1_1_node_inherit__map"> | 92 | <map·name="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_1_1_node_inherit__map"·id="a_dune_1_1_functions_1_1_l_f_e_pre_basis_mixin_3_01_g_v_00_01_l_f_e_01_4_1_1_node_inherit__map"> |
| 93 | <area·shape="rect"·title="Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the·LFEPreBasisMixin·of·type·LFE."·alt=""·coords="94,167,297,207"/> | 93 | <area·shape="rect"·title="Leaf·basis·node·that·encapsulates·a·local·finite-element·given·from·the·LFEPreBasisMixin·of·type·LFE."·alt=""·coords="94,167,297,207"/> |
| 94 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 94 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 549, 15 lines modified | Offset 549, 15 lines modified | ||
| 549 | ··</tr> | 549 | ··</tr> |
| 550 | </table> | 550 | </table> |
| 551 | </div><div·class="memdoc"> | 551 | </div><div·class="memdoc"> |
| 552 | </div> | 552 | </div> |
| 553 | </div> | 553 | </div> |
| 554 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 554 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 555 | <li><a·class="el"·href="a001 | 555 | <li><a·class="el"·href="a00119_source.html">lfeprebasismixin.hh</a></li> |
| 556 | </ul> | 556 | </ul> |
| 557 | </div><!--·contents·--> | 557 | </div><!--·contents·--> |
| 558 | <!--·start·footer·part·--> | 558 | <!--·start·footer·part·--> |
| 559 | <hr·class="footer"/><address·class="footer"><small> | 559 | <hr·class="footer"/><address·class="footer"><small> |
| 560 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 560 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 561 | </small></address> | 561 | </small></address> |
| 562 | </body> | 562 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01724.html">List·of·all·members</a>··</div> | 81 | <a·href="a01724.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nedelecbasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01726.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01726.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="108,167,283,221"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="108,167,283,221"/> |
| 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 583, 15 lines modified | Offset 583, 15 lines modified | ||
| 583 | ··</tr> | 583 | ··</tr> |
| 584 | </table> | 584 | </table> |
| 585 | </div><div·class="memdoc"> | 585 | </div><div·class="memdoc"> |
| 586 | </div> | 586 | </div> |
| 587 | </div> | 587 | </div> |
| 588 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 588 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 589 | <li><a·class="el"·href="a001 | 589 | <li><a·class="el"·href="a00116_source.html">nedelecbasis.hh</a></li> |
| 590 | </ul> | 590 | </ul> |
| 591 | </div><!--·contents·--> | 591 | </div><!--·contents·--> |
| 592 | <!--·start·footer·part·--> | 592 | <!--·start·footer·part·--> |
| 593 | <hr·class="footer"/><address·class="footer"><small> | 593 | <hr·class="footer"/><address·class="footer"><small> |
| 594 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 594 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 595 | </small></address> | 595 | </small></address> |
| 596 | </body> | 596 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01728.html">List·of·all·members</a>··</div> | 81 | <a·href="a01728.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nedelecbasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01730.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_nedelec_pre_basis_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01730.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_nedelec_pre_basis_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_nedelec_pre_basis_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_nedelec_pre_basis_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_nedelec_pre_basis_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_nedelec_pre_basis_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="11,227,198,281"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="11,227,198,281"/> |
| 92 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,204,177"/> | 92 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,204,177"/> |
| Offset 677, 15 lines modified | Offset 677, 15 lines modified | ||
| 677 | </div><div·class="memdoc"> | 677 | </div><div·class="memdoc"> |
| 678 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 678 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 679 | </div> | 679 | </div> |
| 680 | </div> | 680 | </div> |
| 681 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 681 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 682 | <li><a·class="el"·href="a001 | 682 | <li><a·class="el"·href="a00116_source.html">nedelecbasis.hh</a></li> |
| 683 | </ul> | 683 | </ul> |
| 684 | </div><!--·contents·--> | 684 | </div><!--·contents·--> |
| 685 | <!--·start·footer·part·--> | 685 | <!--·start·footer·part·--> |
| 686 | <hr·class="footer"/><address·class="footer"><small> | 686 | <hr·class="footer"/><address·class="footer"><small> |
| 687 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 687 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 688 | </small></address> | 688 | </small></address> |
| 689 | </body> | 689 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01744.html">List·of·all·members</a>··</div> | 80 | <a·href="a01744.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisNodeMixin·Class·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisNodeMixin·Class·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::BasisNodeMixin:</div> | 86 | Inheritance·diagram·for·Dune::Functions::BasisNodeMixin:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01746.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01746.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·id="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·id="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="5,131,196,171"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="5,131,196,171"/> |
| 91 | <area·shape="rect"·href="a01763.html"·title="·"·alt=""·coords="713,15,948,70"/> | 91 | <area·shape="rect"·href="a01763.html"·title="·"·alt=""·coords="713,15,948,70"/> |
| Offset 371, 15 lines modified | Offset 371, 15 lines modified | ||
| 371 | ··</tr> | 371 | ··</tr> |
| 372 | </table> | 372 | </table> |
| 373 | </div><div·class="memdoc"> | 373 | </div><div·class="memdoc"> |
| 374 | </div> | 374 | </div> |
| 375 | </div> | 375 | </div> |
| 376 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 376 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 377 | <li><a·class="el"·href="a001 | 377 | <li><a·class="el"·href="a00104_source.html">nodes.hh</a></li> |
| 378 | </ul> | 378 | </ul> |
| 379 | </div><!--·contents·--> | 379 | </div><!--·contents·--> |
| 380 | <!--·start·footer·part·--> | 380 | <!--·start·footer·part·--> |
| 381 | <hr·class="footer"/><address·class="footer"><small> | 381 | <hr·class="footer"/><address·class="footer"><small> |
| 382 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 382 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 383 | </small></address> | 383 | </small></address> |
| 384 | </body> | 384 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01748.html">List·of·all·members</a>··</div> | 80 | <a·href="a01748.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LeafBasisNode·Class·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LeafBasisNode·Class·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::LeafBasisNode:</div> | 86 | Inheritance·diagram·for·Dune::Functions::LeafBasisNode:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01750.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01750.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·id="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·id="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="244,241,459,266"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="244,241,459,266"/> |
| 91 | <area·shape="rect"·href="a01479.html"·title="·"·alt=""·coords="527,5,697,45"/> | 91 | <area·shape="rect"·href="a01479.html"·title="·"·alt=""·coords="527,5,697,45"/> |
| Offset 337, 15 lines modified | Offset 337, 15 lines modified | ||
| 337 | ··</tr> | 337 | ··</tr> |
| 338 | </table> | 338 | </table> |
| 339 | </div><div·class="memdoc"> | 339 | </div><div·class="memdoc"> |
| 340 | </div> | 340 | </div> |
| 341 | </div> | 341 | </div> |
| 342 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 342 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 343 | <li><a·class="el"·href="a001 | 343 | <li><a·class="el"·href="a00104_source.html">nodes.hh</a></li> |
| 344 | </ul> | 344 | </ul> |
| 345 | </div><!--·contents·--> | 345 | </div><!--·contents·--> |
| 346 | <!--·start·footer·part·--> | 346 | <!--·start·footer·part·--> |
| 347 | <hr·class="footer"/><address·class="footer"><small> | 347 | <hr·class="footer"/><address·class="footer"><small> |
| 348 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 348 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 349 | </small></address> | 349 | </small></address> |
| 350 | </body> | 350 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01752.html">List·of·all·members</a>··</div> | 80 | <a·href="a01752.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerBasisNode<·T,·n·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerBasisNode<·T,·n·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::PowerBasisNode<·T,·n·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::PowerBasisNode<·T,·n·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01754.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01754.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="101,95,295,135"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="101,95,295,135"/> |
| 91 | <area·shape="rect"·href="a01755.html"·title="·"·alt=""·coords="101,212,295,267"/> | 91 | <area·shape="rect"·href="a01755.html"·title="·"·alt=""·coords="101,212,295,267"/> |
| Offset 432, 15 lines modified | Offset 432, 15 lines modified | ||
| 432 | ··</tr> | 432 | ··</tr> |
| 433 | </table> | 433 | </table> |
| 434 | </div><div·class="memdoc"> | 434 | </div><div·class="memdoc"> |
| 435 | </div> | 435 | </div> |
| 436 | </div> | 436 | </div> |
| 437 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 437 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 438 | <li><a·class="el"·href="a001 | 438 | <li><a·class="el"·href="a00104_source.html">nodes.hh</a></li> |
| 439 | </ul> | 439 | </ul> |
| 440 | </div><!--·contents·--> | 440 | </div><!--·contents·--> |
| 441 | <!--·start·footer·part·--> | 441 | <!--·start·footer·part·--> |
| 442 | <hr·class="footer"/><address·class="footer"><small> | 442 | <hr·class="footer"/><address·class="footer"><small> |
| 443 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 443 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 444 | </small></address> | 444 | </small></address> |
| 445 | </body> | 445 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01756.html">List·of·all·members</a>··</div> | 80 | <a·href="a01756.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DynamicPowerBasisNode<·T·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DynamicPowerBasisNode<·T·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::DynamicPowerBasisNode<·T·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::DynamicPowerBasisNode<·T·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01758.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_dynamic_power_basis_node_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01758.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_dynamic_power_basis_node_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_dynamic_power_basis_node_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_dynamic_power_basis_node_3_01_t_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_dynamic_power_basis_node_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_dynamic_power_basis_node_3_01_t_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="130,93,309,133"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="130,93,309,133"/> |
| 91 | <area·shape="rect"·href="a01747.html"·title="·"·alt=""·coords="5,5,196,45"/> | 91 | <area·shape="rect"·href="a01747.html"·title="·"·alt=""·coords="5,5,196,45"/> |
| Offset 429, 15 lines modified | Offset 429, 15 lines modified | ||
| 429 | ··</tr> | 429 | ··</tr> |
| 430 | </table> | 430 | </table> |
| 431 | </div><div·class="memdoc"> | 431 | </div><div·class="memdoc"> |
| 432 | </div> | 432 | </div> |
| 433 | </div> | 433 | </div> |
| 434 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 434 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 435 | <li><a·class="el"·href="a001 | 435 | <li><a·class="el"·href="a00104_source.html">nodes.hh</a></li> |
| 436 | </ul> | 436 | </ul> |
| 437 | </div><!--·contents·--> | 437 | </div><!--·contents·--> |
| 438 | <!--·start·footer·part·--> | 438 | <!--·start·footer·part·--> |
| 439 | <hr·class="footer"/><address·class="footer"><small> | 439 | <hr·class="footer"/><address·class="footer"><small> |
| 440 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 440 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 441 | </small></address> | 441 | </small></address> |
| 442 | </body> | 442 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01760.html">List·of·all·members</a>··</div> | 80 | <a·href="a01760.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositeBasisNode<·T·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositeBasisNode<·T·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::CompositeBasisNode<·T·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::CompositeBasisNode<·T·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01762.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01762.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="245,37,435,77"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="245,37,435,77"/> |
| 91 | <area·shape="rect"·href="a01763.html"·title="·"·alt=""·coords="688,30,923,85"/> | 91 | <area·shape="rect"·href="a01763.html"·title="·"·alt=""·coords="688,30,923,85"/> |
| Offset 465, 15 lines modified | Offset 465, 15 lines modified | ||
| 465 | ··</tr> | 465 | ··</tr> |
| 466 | </table> | 466 | </table> |
| 467 | </div><div·class="memdoc"> | 467 | </div><div·class="memdoc"> |
| 468 | </div> | 468 | </div> |
| 469 | </div> | 469 | </div> |
| 470 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 470 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 471 | <li><a·class="el"·href="a001 | 471 | <li><a·class="el"·href="a00104_source.html">nodes.hh</a></li> |
| 472 | </ul> | 472 | </ul> |
| 473 | </div><!--·contents·--> | 473 | </div><!--·contents·--> |
| 474 | <!--·start·footer·part·--> | 474 | <!--·start·footer·part·--> |
| 475 | <hr·class="footer"/><address·class="footer"><small> | 475 | <hr·class="footer"/><address·class="footer"><small> |
| 476 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 476 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 477 | </small></address> | 477 | </small></address> |
| 478 | </body> | 478 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet·Class·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet·Class·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Container·storing·identified·indices·for·a·periodic·basis.·· | 82 | <p>Container·storing·identified·indices·for·a·periodic·basis.·· |
| 83 | ·<a·href="a01767.html#details">More...</a></p> | 83 | ·<a·href="a01767.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00107_source.html">dune/functions/functionspacebases/periodicbasis.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:a97911b25f2c1cf61ab48a667ae448b7e"·id="r_a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01767.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIndexPair</a>·(std::size_t·a,·std::size_t·b)</td></tr> | 88 | <tr·class="memitem:a97911b25f2c1cf61ab48a667ae448b7e"·id="r_a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01767.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIndexPair</a>·(std::size_t·a,·std::size_t·b)</td></tr> |
| 89 | <tr·class="memdesc:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Insert·a·pair·of·indices.··<br·/></td></tr> | 89 | <tr·class="memdesc:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Insert·a·pair·of·indices.··<br·/></td></tr> |
| 90 | <tr·class="separator:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:ace4a53d881dc7e6add6b0fd05a394738"·id="r_ace4a53d881dc7e6add6b0fd05a394738"><td·class="memItemLeft"·align="right"·valign="top">const·auto·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01767.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>·()·const</td></tr> | 91 | <tr·class="memitem:ace4a53d881dc7e6add6b0fd05a394738"·id="r_ace4a53d881dc7e6add6b0fd05a394738"><td·class="memItemLeft"·align="right"·valign="top">const·auto·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01767.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>·()·const</td></tr> |
| Offset 158, 15 lines modified | Offset 158, 15 lines modified | ||
| 158 | <p>Insert·a·pair·of·indices.·</p> | 158 | <p>Insert·a·pair·of·indices.·</p> |
| 159 | <p>The·two·bases·functions·associated·to·the·provided·indices·will·be·combined·into·a·single·basis·function·by·associating·them·to·a·shared·global·index.·</p> | 159 | <p>The·two·bases·functions·associated·to·the·provided·indices·will·be·combined·into·a·single·basis·function·by·associating·them·to·a·shared·global·index.·</p> |
| 160 | </div> | 160 | </div> |
| 161 | </div> | 161 | </div> |
| 162 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 162 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 163 | <li><a·class="el"·href="a001 | 163 | <li><a·class="el"·href="a00107_source.html">periodicbasis.hh</a></li> |
| 164 | </ul> | 164 | </ul> |
| 165 | </div><!--·contents·--> | 165 | </div><!--·contents·--> |
| 166 | <!--·start·footer·part·--> | 166 | <!--·start·footer·part·--> |
| 167 | <hr·class="footer"/><address·class="footer"><small> | 167 | <hr·class="footer"/><address·class="footer"><small> |
| 168 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 168 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 169 | </small></address> | 169 | </small></address> |
| 170 | </body> | 170 | </body> |
| Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
| 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>·Class·Template·Reference</div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>·Class·Template·Reference</div></div> |
| 85 | </div><!--header--> | 85 | </div><!--header--> |
| 86 | <div·class="contents"> | 86 | <div·class="contents"> |
| 87 | <p>A·pre-basis·for·power·bases.·· | 87 | <p>A·pre-basis·for·power·bases.·· |
| 88 | ·<a·href="a01779.html#details">More...</a></p> | 88 | ·<a·href="a01779.html#details">More...</a></p> |
| 89 | <p><code>#include·<<a·class="el"·href="a001 | 89 | <p><code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/functionspacebases/powerbasis.hh</a>></code></p> |
| 90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
| 91 | Inheritance·diagram·for·Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>:</div> | 91 | Inheritance·diagram·for·Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>:</div> |
| 92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
| 93 | <div·class="center"><img·src="a01778.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_power_pre_basis_3_01_i_m_s_00_01_s_p_b_00_01_c_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01778.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_power_pre_basis_3_01_i_m_s_00_01_s_p_b_00_01_c_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 94 | <map·name="a_dune_1_1_functions_1_1_power_pre_basis_3_01_i_m_s_00_01_s_p_b_00_01_c_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_power_pre_basis_3_01_i_m_s_00_01_s_p_b_00_01_c_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_functions_1_1_power_pre_basis_3_01_i_m_s_00_01_s_p_b_00_01_c_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_power_pre_basis_3_01_i_m_s_00_01_s_p_b_00_01_c_01_4_inherit__map"> |
| 95 | <area·shape="rect"·title="A·pre-basis·for·power·bases."·alt=""·coords="11,93,194,133"/> | 95 | <area·shape="rect"·title="A·pre-basis·for·power·bases."·alt=""·coords="11,93,194,133"/> |
| 96 | <area·shape="rect"·href="a01579.html"·title="A·pre-basis·for·dynamic·power·bases."·alt=""·coords="5,5,200,45"/> | 96 | <area·shape="rect"·href="a01579.html"·title="A·pre-basis·for·dynamic·power·bases."·alt=""·coords="5,5,200,45"/> |
| Offset 1397, 15 lines modified | Offset 1397, 15 lines modified | ||
| 1397 | ··</tr> | 1397 | ··</tr> |
| 1398 | </table> | 1398 | </table> |
| 1399 | </div><div·class="memdoc"> | 1399 | </div><div·class="memdoc"> |
| 1400 | </div> | 1400 | </div> |
| 1401 | </div> | 1401 | </div> |
| 1402 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1402 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 1403 | <li><a·class="el"·href="a001 | 1403 | <li><a·class="el"·href="a00101_source.html">powerbasis.hh</a></li> |
| 1404 | </ul> | 1404 | </ul> |
| 1405 | </div><!--·contents·--> | 1405 | </div><!--·contents·--> |
| 1406 | <!--·start·footer·part·--> | 1406 | <!--·start·footer·part·--> |
| 1407 | <hr·class="footer"/><address·class="footer"><small> | 1407 | <hr·class="footer"/><address·class="footer"><small> |
| 1408 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1408 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 1409 | </small></address> | 1409 | </small></address> |
| 1410 | </body> | 1410 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01780.html">List·of·all·members</a>··</div> | 81 | <a·href="a01780.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekNode<·GV·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekNode<·GV·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00152_source.html">dune/functions/functionspacebases/rannacherturekbasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::RannacherTurekNode<·GV·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::RannacherTurekNode<·GV·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01782.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01782.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="101,167,289,207"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="101,167,289,207"/> |
| 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 538, 15 lines modified | Offset 538, 15 lines modified | ||
| 538 | ··</tr> | 538 | ··</tr> |
| 539 | </table> | 539 | </table> |
| 540 | </div><div·class="memdoc"> | 540 | </div><div·class="memdoc"> |
| 541 | </div> | 541 | </div> |
| 542 | </div> | 542 | </div> |
| 543 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 543 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 544 | <li><a·class="el"·href="a001 | 544 | <li><a·class="el"·href="a00152_source.html">rannacherturekbasis.hh</a></li> |
| 545 | </ul> | 545 | </ul> |
| 546 | </div><!--·contents·--> | 546 | </div><!--·contents·--> |
| 547 | <!--·start·footer·part·--> | 547 | <!--·start·footer·part·--> |
| 548 | <hr·class="footer"/><address·class="footer"><small> | 548 | <hr·class="footer"/><address·class="footer"><small> |
| 549 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 549 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 550 | </small></address> | 550 | </small></address> |
| 551 | </body> | 551 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekPreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekPreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>Pre-basis·for·a·Rannacher-Turek·basis.·· | 85 | <p>Pre-basis·for·a·Rannacher-Turek·basis.·· |
| 86 | ·<a·href="a01787.html#details">More...</a></p> | 86 | ·<a·href="a01787.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a001 | 87 | <p><code>#include·<<a·class="el"·href="a00152_source.html">dune/functions/functionspacebases/rannacherturekbasis.hh</a>></code></p> |
| 88 | <div·class="dynheader"> | 88 | <div·class="dynheader"> |
| 89 | Inheritance·diagram·for·Dune::Functions::RannacherTurekPreBasis<·GV·>:</div> | 89 | Inheritance·diagram·for·Dune::Functions::RannacherTurekPreBasis<·GV·>:</div> |
| 90 | <div·class="dyncontent"> | 90 | <div·class="dyncontent"> |
| 91 | <div·class="center"><img·src="a01786.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_rannacher_turek_pre_basis_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 91 | <div·class="center"><img·src="a01786.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_rannacher_turek_pre_basis_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 92 | <map·name="a_dune_1_1_functions_1_1_rannacher_turek_pre_basis_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_rannacher_turek_pre_basis_3_01_g_v_01_4_inherit__map"> | 92 | <map·name="a_dune_1_1_functions_1_1_rannacher_turek_pre_basis_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_rannacher_turek_pre_basis_3_01_g_v_01_4_inherit__map"> |
| 93 | <area·shape="rect"·title="Pre-basis·for·a·Rannacher-Turek·basis."·alt=""·coords="17,227,205,267"/> | 93 | <area·shape="rect"·title="Pre-basis·for·a·Rannacher-Turek·basis."·alt=""·coords="17,227,205,267"/> |
| 94 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,217,177"/> | 94 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,217,177"/> |
| Offset 653, 15 lines modified | Offset 653, 15 lines modified | ||
| 653 | </div><div·class="memdoc"> | 653 | </div><div·class="memdoc"> |
| 654 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 654 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 655 | </div> | 655 | </div> |
| 656 | </div> | 656 | </div> |
| 657 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 657 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 658 | <li><a·class="el"·href="a001 | 658 | <li><a·class="el"·href="a00152_source.html">rannacherturekbasis.hh</a></li> |
| 659 | </ul> | 659 | </ul> |
| 660 | </div><!--·contents·--> | 660 | </div><!--·contents·--> |
| 661 | <!--·start·footer·part·--> | 661 | <!--·start·footer·part·--> |
| 662 | <hr·class="footer"/><address·class="footer"><small> | 662 | <hr·class="footer"/><address·class="footer"><small> |
| 663 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 663 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 664 | </small></address> | 664 | </small></address> |
| 665 | </body> | 665 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01832.html">List·of·all·members</a>··</div> | 81 | <a·href="a01832.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasNode<·GV,·k·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasNode<·GV,·k·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/functionspacebases/raviartthomasbasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::RaviartThomasNode<·GV,·k·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::RaviartThomasNode<·GV,·k·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01834.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01834.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="111,167,279,207"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="111,167,279,207"/> |
| 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 92 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 583, 15 lines modified | Offset 583, 15 lines modified | ||
| 583 | ··</tr> | 583 | ··</tr> |
| 584 | </table> | 584 | </table> |
| 585 | </div><div·class="memdoc"> | 585 | </div><div·class="memdoc"> |
| 586 | </div> | 586 | </div> |
| 587 | </div> | 587 | </div> |
| 588 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 588 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 589 | <li><a·class="el"·href="a001 | 589 | <li><a·class="el"·href="a00140_source.html">raviartthomasbasis.hh</a></li> |
| 590 | </ul> | 590 | </ul> |
| 591 | </div><!--·contents·--> | 591 | </div><!--·contents·--> |
| 592 | <!--·start·footer·part·--> | 592 | <!--·start·footer·part·--> |
| 593 | <hr·class="footer"/><address·class="footer"><small> | 593 | <hr·class="footer"/><address·class="footer"><small> |
| 594 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 594 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 595 | </small></address> | 595 | </small></address> |
| 596 | </body> | 596 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
| 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 80 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 81 | <a·href="a01836.html">List·of·all·members</a>··</div> | 81 | <a·href="a01836.html">List·of·all·members</a>··</div> |
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasPreBasis<·GV,·k·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasPreBasis<·GV,·k·>·Class·Template·Reference</div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/functionspacebases/raviartthomasbasis.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::RaviartThomasPreBasis<·GV,·k·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::RaviartThomasPreBasis<·GV,·k·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01838.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_raviart_thomas_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01838.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_raviart_thomas_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_raviart_thomas_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_raviart_thomas_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_raviart_thomas_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_raviart_thomas_pre_basis_3_01_g_v_00_01k_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="·"·alt=""·coords="19,227,198,267"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="19,227,198,267"/> |
| 92 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,212,177"/> | 92 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="5,123,212,177"/> |
| Offset 704, 15 lines modified | Offset 704, 15 lines modified | ||
| 704 | </div><div·class="memdoc"> | 704 | </div><div·class="memdoc"> |
| 705 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 705 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 706 | </div> | 706 | </div> |
| 707 | </div> | 707 | </div> |
| 708 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 708 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 709 | <li><a·class="el"·href="a001 | 709 | <li><a·class="el"·href="a00140_source.html">raviartthomasbasis.hh</a></li> |
| 710 | </ul> | 710 | </ul> |
| 711 | </div><!--·contents·--> | 711 | </div><!--·contents·--> |
| 712 | <!--·start·footer·part·--> | 712 | <!--·start·footer·part·--> |
| 713 | <hr·class="footer"/><address·class="footer"><small> | 713 | <hr·class="footer"/><address·class="footer"><small> |
| 714 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 714 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 715 | </small></address> | 715 | </small></address> |
| 716 | </body> | 716 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 80 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 81 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 81 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 82 | <a·href="a01840.html">List·of·all·members</a>··</div> | 82 | <a·href="a01840.html">List·of·all·members</a>··</div> |
| 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> |
| 84 | </div><!--header--> | 84 | </div><!--header--> |
| 85 | <div·class="contents"> | 85 | <div·class="contents"> |
| 86 | <p><code>#include·<<a·class="el"·href="a001 | 86 | <p><code>#include·<<a·class="el"·href="a00122_source.html">dune/functions/functionspacebases/refinedlagrangebasis.hh</a>></code></p> |
| 87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
| 88 | Inheritance·diagram·for·Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·>:</div> | 88 | Inheritance·diagram·for·Dune::Functions::RefinedLagrangeNode<·GV,·k,·R·>:</div> |
| 89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
| 90 | <div·class="center"><img·src="a01842.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_refined_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01842.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_refined_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 91 | <map·name="a_dune_1_1_functions_1_1_refined_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_refined_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_functions_1_1_refined_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_refined_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="105,167,286,207"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="105,167,286,207"/> |
| 93 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> | 93 | <area·shape="rect"·href="a01751.html"·title="·"·alt=""·coords="88,93,303,119"/> |
| Offset 591, 15 lines modified | Offset 591, 15 lines modified | ||
| 591 | ··</tr> | 591 | ··</tr> |
| 592 | </table> | 592 | </table> |
| 593 | </div><div·class="memdoc"> | 593 | </div><div·class="memdoc"> |
| 594 | </div> | 594 | </div> |
| 595 | </div> | 595 | </div> |
| 596 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 596 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 597 | <li><a·class="el"·href="a001 | 597 | <li><a·class="el"·href="a00122_source.html">refinedlagrangebasis.hh</a></li> |
| 598 | </ul> | 598 | </ul> |
| 599 | </div><!--·contents·--> | 599 | </div><!--·contents·--> |
| 600 | <!--·start·footer·part·--> | 600 | <!--·start·footer·part·--> |
| 601 | <hr·class="footer"/><address·class="footer"><small> | 601 | <hr·class="footer"/><address·class="footer"><small> |
| 602 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 602 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 603 | </small></address> | 603 | </small></address> |
| 604 | </body> | 604 | </body> |
| Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
| 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RefinedLagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RefinedLagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 84 | </div><!--header--> | 84 | </div><!--header--> |
| 85 | <div·class="contents"> | 85 | <div·class="contents"> |
| 86 | <p>A·pre-basis·for·a·refined·Lagrange·bases.·· | 86 | <p>A·pre-basis·for·a·refined·Lagrange·bases.·· |
| 87 | ·<a·href="a01847.html#details">More...</a></p> | 87 | ·<a·href="a01847.html#details">More...</a></p> |
| 88 | <p><code>#include·<<a·class="el"·href="a001 | 88 | <p><code>#include·<<a·class="el"·href="a00122_source.html">dune/functions/functionspacebases/refinedlagrangebasis.hh</a>></code></p> |
| 89 | <div·class="dynheader"> | 89 | <div·class="dynheader"> |
| 90 | Inheritance·diagram·for·Dune::Functions::RefinedLagrangePreBasis<·GV,·k,·R·>:</div> | 90 | Inheritance·diagram·for·Dune::Functions::RefinedLagrangePreBasis<·GV,·k,·R·>:</div> |
| 91 | <div·class="dyncontent"> | 91 | <div·class="dyncontent"> |
| 92 | <div·class="center"><img·src="a01846.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_refined_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 92 | <div·class="center"><img·src="a01846.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_refined_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 93 | <map·name="a_dune_1_1_functions_1_1_refined_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_refined_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 93 | <map·name="a_dune_1_1_functions_1_1_refined_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_refined_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
| 94 | <area·shape="rect"·title="A·pre-basis·for·a·refined·Lagrange·bases."·alt=""·coords="29,316,200,371"/> | 94 | <area·shape="rect"·title="A·pre-basis·for·a·refined·Lagrange·bases."·alt=""·coords="29,316,200,371"/> |
| 95 | <area·shape="rect"·href="a01707.html"·title="A·generic·MixIn·class·for·PreBasis·with·flat·indices·computed·from·a·mapper."·alt=""·coords="29,227,201,267"/> | 95 | <area·shape="rect"·href="a01707.html"·title="A·generic·MixIn·class·for·PreBasis·with·flat·indices·computed·from·a·mapper."·alt=""·coords="29,227,201,267"/> |
| Offset 769, 15 lines modified | Offset 769, 15 lines modified | ||
| 769 | </div><div·class="memdoc"> | 769 | </div><div·class="memdoc"> |
| 770 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> | 770 | <p>Size·required·temporarily·when·constructing·global·multi-indices.·</p> |
| 771 | </div> | 771 | </div> |
| 772 | </div> | 772 | </div> |
| 773 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 773 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 774 | <li><a·class="el"·href="a001 | 774 | <li><a·class="el"·href="a00122_source.html">refinedlagrangebasis.hh</a></li> |
| 775 | </ul> | 775 | </ul> |
| 776 | </div><!--·contents·--> | 776 | </div><!--·contents·--> |
| 777 | <!--·start·footer·part·--> | 777 | <!--·start·footer·part·--> |
| 778 | <hr·class="footer"/><address·class="footer"><small> | 778 | <hr·class="footer"/><address·class="footer"><small> |
| 779 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 779 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 780 | </small></address> | 780 | </small></address> |
| 781 | </body> | 781 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SizeInfo<·B·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SizeInfo<·B·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>A·class·encapsulating·size·information.·· | 84 | <p>A·class·encapsulating·size·information.·· |
| 85 | ·<a·href="a01851.html#details">More...</a></p> | 85 | ·<a·href="a01851.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a001 | 86 | <p><code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/functionspacebases/sizeinfo.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:aa558e8687398c74affd92abb8af9bd58"·id="r_aa558e8687398c74affd92abb8af9bd58"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B</td></tr> | 90 | <tr·class="memitem:aa558e8687398c74affd92abb8af9bd58"·id="r_aa558e8687398c74affd92abb8af9bd58"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B</td></tr> |
| 91 | <tr·class="separator:aa558e8687398c74affd92abb8af9bd58"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:aa558e8687398c74affd92abb8af9bd58"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:a9d54b03391ba53f2cde374099ef62c21"·id="r_a9d54b03391ba53f2cde374099ef62c21"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·typename·Basis::size_type</td></tr> | 92 | <tr·class="memitem:a9d54b03391ba53f2cde374099ef62c21"·id="r_a9d54b03391ba53f2cde374099ef62c21"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·typename·Basis::size_type</td></tr> |
| 93 | <tr·class="separator:a9d54b03391ba53f2cde374099ef62c21"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:a9d54b03391ba53f2cde374099ef62c21"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 312, 15 lines modified | Offset 312, 15 lines modified | ||
| 312 | ··</tr> | 312 | ··</tr> |
| 313 | </table> | 313 | </table> |
| 314 | </div><div·class="memdoc"> | 314 | </div><div·class="memdoc"> |
| 315 | </div> | 315 | </div> |
| 316 | </div> | 316 | </div> |
| 317 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 317 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 318 | <li><a·class="el"·href="a001 | 318 | <li><a·class="el"·href="a00155_source.html">sizeinfo.hh</a></li> |
| 319 | </ul> | 319 | </ul> |
| 320 | </div><!--·contents·--> | 320 | </div><!--·contents·--> |
| 321 | <!--·start·footer·part·--> | 321 | <!--·start·footer·part·--> |
| 322 | <hr·class="footer"/><address·class="footer"><small> | 322 | <hr·class="footer"/><address·class="footer"><small> |
| 323 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 323 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 324 | </small></address> | 324 | </small></address> |
| 325 | </body> | 325 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubEntityDOFs<·GridView·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubEntityDOFs<·GridView·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00220.html">Function·space·basis·utilities</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Range·of·DOFs·associated·to·sub-entity.·· | 82 | <p>Range·of·DOFs·associated·to·sub-entity.·· |
| 83 | ·<a·href="a01855.html#details">More...</a></p> | 83 | ·<a·href="a01855.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/subentitydofs.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 87 | Public·Member·Functions</h2></td></tr> | 87 | Public·Member·Functions</h2></td></tr> |
| 88 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"·id="r_acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> | 88 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"·id="r_acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> |
| 89 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01855.html">SubEntityDOFs</a>·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01855.html#acac48052c1a9079f779b64e68ce52e82">bind</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | 89 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01855.html">SubEntityDOFs</a>·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01855.html#acac48052c1a9079f779b64e68ce52e82">bind</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> |
| 90 | <tr·class="memdesc:acac48052c1a9079f779b64e68ce52e82"><td·class="mdescLeft"> </td><td·class="mdescRight">Bind·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object·to·LocalView·and·sub-entity.··<br·/></td></tr> | 90 | <tr·class="memdesc:acac48052c1a9079f779b64e68ce52e82"><td·class="mdescLeft"> </td><td·class="mdescRight">Bind·<a·class="el"·href="a01855.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object·to·LocalView·and·sub-entity.··<br·/></td></tr> |
| 91 | <tr·class="separator:acac48052c1a9079f779b64e68ce52e82"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:acac48052c1a9079f779b64e68ce52e82"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 377, 15 lines modified | Offset 377, 15 lines modified | ||
| 377 | </div><div·class="memdoc"> | 377 | </div><div·class="memdoc"> |
| 378 | <p>Return·number·of·contained·DOFs.·</p> | 378 | <p>Return·number·of·contained·DOFs.·</p> |
| 379 | </div> | 379 | </div> |
| 380 | </div> | 380 | </div> |
| 381 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 381 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 382 | <li><a·class="el"·href="a001 | 382 | <li><a·class="el"·href="a00173_source.html">subentitydofs.hh</a></li> |
| 383 | </ul> | 383 | </ul> |
| 384 | </div><!--·contents·--> | 384 | </div><!--·contents·--> |
| 385 | <!--·start·footer·part·--> | 385 | <!--·start·footer·part·--> |
| 386 | <hr·class="footer"/><address·class="footer"><small> | 386 | <hr·class="footer"/><address·class="footer"><small> |
| 387 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 387 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 388 | </small></address> | 388 | </small></address> |
| 389 | </body> | 389 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 79 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
| 80 | <a·href="a01856.html">List·of·all·members</a>··</div> | 80 | <a·href="a01856.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceBasis<·RB,·TP·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceBasis<·RB,·TP·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/functionspacebases/subspacebasis.hh</a>></code></p> |
| 85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
| 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
| 88 | <tr·class="memitem:aaa9c058bcb0bc05bdba112801201f281"·id="r_aaa9c058bcb0bc05bdba112801201f281"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB</td></tr> | 88 | <tr·class="memitem:aaa9c058bcb0bc05bdba112801201f281"·id="r_aaa9c058bcb0bc05bdba112801201f281"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB</td></tr> |
| 89 | <tr·class="separator:aaa9c058bcb0bc05bdba112801201f281"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:aaa9c058bcb0bc05bdba112801201f281"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 90 | <tr·class="memitem:a00d424aa40e6c051f610a308317cc57e"·id="r_a00d424aa40e6c051f610a308317cc57e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·typename·RootBasis::LocalView</td></tr> | 90 | <tr·class="memitem:a00d424aa40e6c051f610a308317cc57e"·id="r_a00d424aa40e6c051f610a308317cc57e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·typename·RootBasis::LocalView</td></tr> |
| 91 | <tr·class="separator:a00d424aa40e6c051f610a308317cc57e"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a00d424aa40e6c051f610a308317cc57e"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 606, 15 lines modified | Offset 606, 15 lines modified | ||
| 606 | ··</tr> | 606 | ··</tr> |
| 607 | </table> | 607 | </table> |
| 608 | </div><div·class="memdoc"> | 608 | </div><div·class="memdoc"> |
| 609 | </div> | 609 | </div> |
| 610 | </div> | 610 | </div> |
| 611 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 611 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 612 | <li><a·class="el"·href="a001 | 612 | <li><a·class="el"·href="a00170_source.html">subspacebasis.hh</a></li> |
| 613 | </ul> | 613 | </ul> |
| 614 | </div><!--·contents·--> | 614 | </div><!--·contents·--> |
| 615 | <!--·start·footer·part·--> | 615 | <!--·start·footer·part·--> |
| 616 | <hr·class="footer"/><address·class="footer"><small> | 616 | <hr·class="footer"/><address·class="footer"><small> |
| 617 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 617 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 618 | </small></address> | 618 | </small></address> |
| 619 | </body> | 619 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceLocalView<·RLV,·PP·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceLocalView<·RLV,·PP·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· | 84 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· |
| 85 | ·<a·href="a01863.html#details">More...</a></p> | 85 | ·<a·href="a01863.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a001 | 86 | <p><code>#include·<<a·class="el"·href="a00185_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:aa1f3b0a89f5d186299ed0a5329562815"·id="r_aa1f3b0a89f5d186299ed0a5329562815"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV</td></tr> | 90 | <tr·class="memitem:aa1f3b0a89f5d186299ed0a5329562815"·id="r_aa1f3b0a89f5d186299ed0a5329562815"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV</td></tr> |
| 91 | <tr·class="separator:aa1f3b0a89f5d186299ed0a5329562815"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:aa1f3b0a89f5d186299ed0a5329562815"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:a3a627e895c213316cb666677fb9176de"·id="r_a3a627e895c213316cb666677fb9176de"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#a3a627e895c213316cb666677fb9176de">GlobalBasis</a>·=·<a·class="el"·href="a01859.html">SubspaceBasis</a><·typename·RootLocalView::GlobalBasis,·PrefixPath·></td></tr> | 92 | <tr·class="memitem:a3a627e895c213316cb666677fb9176de"·id="r_a3a627e895c213316cb666677fb9176de"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#a3a627e895c213316cb666677fb9176de">GlobalBasis</a>·=·<a·class="el"·href="a01859.html">SubspaceBasis</a><·typename·RootLocalView::GlobalBasis,·PrefixPath·></td></tr> |
| 93 | <tr·class="memdesc:a3a627e895c213316cb666677fb9176de"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<br·/></td></tr> | 93 | <tr·class="memdesc:a3a627e895c213316cb666677fb9176de"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<br·/></td></tr> |
| Offset 689, 15 lines modified | Offset 689, 15 lines modified | ||
| 689 | ··</tr> | 689 | ··</tr> |
| 690 | </table> | 690 | </table> |
| 691 | </div><div·class="memdoc"> | 691 | </div><div·class="memdoc"> |
| 692 | </div> | 692 | </div> |
| 693 | </div> | 693 | </div> |
| 694 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 694 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 695 | <li><a·class="el"·href="a001 | 695 | <li><a·class="el"·href="a00185_source.html">subspacelocalview.hh</a></li> |
| 696 | </ul> | 696 | </ul> |
| 697 | </div><!--·contents·--> | 697 | </div><!--·contents·--> |
| 698 | <!--·start·footer·part·--> | 698 | <!--·start·footer·part·--> |
| 699 | <hr·class="footer"/><address·class="footer"><small> | 699 | <hr·class="footer"/><address·class="footer"><small> |
| 700 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 700 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 701 | </small></address> | 701 | </small></address> |
| 702 | </body> | 702 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01864.html">List·of·all·members</a>··</div> | 80 | <a·href="a01864.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodVelocityTree<·GV·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodVelocityTree<·GV·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/functionspacebases/taylorhoodbasis.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::TaylorHoodVelocityTree<·GV·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::TaylorHoodVelocityTree<·GV·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01866.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01866.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="867,61,1059,101"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="867,61,1059,101"/> |
| 91 | <area·shape="rect"·href="a01755.html"·title="·"·alt=""·coords="623,54,817,109"/> | 91 | <area·shape="rect"·href="a01755.html"·title="·"·alt=""·coords="623,54,817,109"/> |
| Offset 409, 15 lines modified | Offset 409, 15 lines modified | ||
| 409 | ··</tr> | 409 | ··</tr> |
| 410 | </table> | 410 | </table> |
| 411 | </div><div·class="memdoc"> | 411 | </div><div·class="memdoc"> |
| 412 | </div> | 412 | </div> |
| 413 | </div> | 413 | </div> |
| 414 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 414 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 415 | <li><a·class="el"·href="a001 | 415 | <li><a·class="el"·href="a00161_source.html">taylorhoodbasis.hh</a></li> |
| 416 | </ul> | 416 | </ul> |
| 417 | </div><!--·contents·--> | 417 | </div><!--·contents·--> |
| 418 | <!--·start·footer·part·--> | 418 | <!--·start·footer·part·--> |
| 419 | <hr·class="footer"/><address·class="footer"><small> | 419 | <hr·class="footer"/><address·class="footer"><small> |
| 420 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 420 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 421 | </small></address> | 421 | </small></address> |
| 422 | </body> | 422 | </body> |
| Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
| 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
| 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 79 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
| 80 | <a·href="a01868.html">List·of·all·members</a>··</div> | 80 | <a·href="a01868.html">List·of·all·members</a>··</div> |
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodBasisTree<·GV·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodBasisTree<·GV·>·Class·Template·Reference</div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p><code>#include·<<a·class="el"·href="a001 | 84 | <p><code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/functionspacebases/taylorhoodbasis.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::TaylorHoodBasisTree<·GV·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::TaylorHoodBasisTree<·GV·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01870.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01870.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="·"·alt=""·coords="972,41,1164,81"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="972,41,1164,81"/> |
| 91 | <area·shape="rect"·href="a01763.html"·title="·"·alt=""·coords="688,34,923,89"/> | 91 | <area·shape="rect"·href="a01763.html"·title="·"·alt=""·coords="688,34,923,89"/> |
| Offset 408, 15 lines modified | Offset 408, 15 lines modified | ||
| 408 | ··</tr> | 408 | ··</tr> |
| 409 | </table> | 409 | </table> |
| 410 | </div><div·class="memdoc"> | 410 | </div><div·class="memdoc"> |
| 411 | </div> | 411 | </div> |
| 412 | </div> | 412 | </div> |
| 413 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 413 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 414 | <li><a·class="el"·href="a001 | 414 | <li><a·class="el"·href="a00161_source.html">taylorhoodbasis.hh</a></li> |
| 415 | </ul> | 415 | </ul> |
| 416 | </div><!--·contents·--> | 416 | </div><!--·contents·--> |
| 417 | <!--·start·footer·part·--> | 417 | <!--·start·footer·part·--> |
| 418 | <hr·class="footer"/><address·class="footer"><small> | 418 | <hr·class="footer"/><address·class="footer"><small> |
| 419 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 419 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 420 | </small></address> | 420 | </small></address> |
| 421 | </body> | 421 | </body> |
| Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
| 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodPreBasis<·GV,·HI·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodPreBasis<·GV,·HI·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 85 | </div><!--header--> | 85 | </div><!--header--> |
| 86 | <div·class="contents"> | 86 | <div·class="contents"> |
| 87 | <p>Pre-basis·for·lowest·order·Taylor-Hood·basis.·· | 87 | <p>Pre-basis·for·lowest·order·Taylor-Hood·basis.·· |
| 88 | ·<a·href="a01875.html#details">More...</a></p> | 88 | ·<a·href="a01875.html#details">More...</a></p> |
| 89 | <p><code>#include·<<a·class="el"·href="a001 | 89 | <p><code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/functionspacebases/taylorhoodbasis.hh</a>></code></p> |
| 90 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
| 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 92 | Public·Types</h2></td></tr> | 92 | Public·Types</h2></td></tr> |
| 93 | <tr·class="memitem:a4fbd3d92587a03f3871066968035f194"·id="r_a4fbd3d92587a03f3871066968035f194"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">GridView</a>·=·GV</td></tr> | 93 | <tr·class="memitem:a4fbd3d92587a03f3871066968035f194"·id="r_a4fbd3d92587a03f3871066968035f194"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01875.html#a4fbd3d92587a03f3871066968035f194">GridView</a>·=·GV</td></tr> |
| 94 | <tr·class="memdesc:a4fbd3d92587a03f3871066968035f194"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<br·/></td></tr> | 94 | <tr·class="memdesc:a4fbd3d92587a03f3871066968035f194"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<br·/></td></tr> |
| 95 | <tr·class="separator:a4fbd3d92587a03f3871066968035f194"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:a4fbd3d92587a03f3871066968035f194"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:aeed4421421902dc5900eedca651e56b9"·id="r_aeed4421421902dc5900eedca651e56b9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t</td></tr> | 96 | <tr·class="memitem:aeed4421421902dc5900eedca651e56b9"·id="r_aeed4421421902dc5900eedca651e56b9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01875.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t</td></tr> |
| Offset 844, 15 lines modified | Offset 844, 15 lines modified | ||
| 844 | ··</tr> | 844 | ··</tr> |
| 845 | </table> | 845 | </table> |
| 846 | </div><div·class="memdoc"> | 846 | </div><div·class="memdoc"> |
| 847 | </div> | 847 | </div> |
| 848 | </div> | 848 | </div> |
| 849 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 849 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 850 | <li><a·class="el"·href="a001 | 850 | <li><a·class="el"·href="a00161_source.html">taylorhoodbasis.hh</a></li> |
| 851 | </ul> | 851 | </ul> |
| 852 | </div><!--·contents·--> | 852 | </div><!--·contents·--> |
| 853 | <!--·start·footer·part·--> | 853 | <!--·start·footer·part·--> |
| 854 | <hr·class="footer"/><address·class="footer"><small> | 854 | <hr·class="footer"/><address·class="footer"><small> |
| 855 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 855 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 856 | </small></address> | 856 | </small></address> |
| 857 | </body> | 857 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00217.html">Function·space·bases</a>·»·<a·class="el"·href="a00219.html">Function·space·basis·implementations</a></div></div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>A·pre-basis·transforming·multi-indices.·· | 85 | <p>A·pre-basis·transforming·multi-indices.·· |
| 86 | ·<a·href="a01879.html#details">More...</a></p> | 86 | ·<a·href="a01879.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a001 | 87 | <p><code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code></p> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 90 | Public·Types</h2></td></tr> | 90 | Public·Types</h2></td></tr> |
| 91 | <tr·class="memitem:a64aa0bf3453d3f749622b7ea521715ae"·id="r_a64aa0bf3453d3f749622b7ea521715ae"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB</td></tr> | 91 | <tr·class="memitem:a64aa0bf3453d3f749622b7ea521715ae"·id="r_a64aa0bf3453d3f749622b7ea521715ae"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB</td></tr> |
| 92 | <tr·class="separator:a64aa0bf3453d3f749622b7ea521715ae"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:a64aa0bf3453d3f749622b7ea521715ae"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 93 | <tr·class="memitem:a218ba207b64f73e09b2018d951f2dd54"·id="r_a218ba207b64f73e09b2018d951f2dd54"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·typename·RawPreBasis::GridView</td></tr> | 93 | <tr·class="memitem:a218ba207b64f73e09b2018d951f2dd54"·id="r_a218ba207b64f73e09b2018d951f2dd54"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·typename·RawPreBasis::GridView</td></tr> |
| 94 | <tr·class="memdesc:a218ba207b64f73e09b2018d951f2dd54"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<br·/></td></tr> | 94 | <tr·class="memdesc:a218ba207b64f73e09b2018d951f2dd54"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<br·/></td></tr> |
| Offset 811, 15 lines modified | Offset 811, 15 lines modified | ||
| 811 | ··</tr> | 811 | ··</tr> |
| 812 | </table> | 812 | </table> |
| 813 | </div><div·class="memdoc"> | 813 | </div><div·class="memdoc"> |
| 814 | </div> | 814 | </div> |
| 815 | </div> | 815 | </div> |
| 816 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 816 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 817 | <li><a·class="el"·href="a001 | 817 | <li><a·class="el"·href="a00182_source.html">transformedindexbasis.hh</a></li> |
| 818 | </ul> | 818 | </ul> |
| 819 | </div><!--·contents·--> | 819 | </div><!--·contents·--> |
| 820 | <!--·start·footer·part·--> | 820 | <!--·start·footer·part·--> |
| 821 | <hr·class="footer"/><address·class="footer"><small> | 821 | <hr·class="footer"/><address·class="footer"><small> |
| 822 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 822 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 823 | </small></address> | 823 | </small></address> |
| 824 | </body> | 824 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·ContainerDescriptorImplementation,·minIS,·maxIS·>·Class·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·ContainerDescriptorImplementation,·minIS,·maxIS·>·Class·Template·Reference</div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>A·generic·implementation·of·a·transformation.·· | 83 | <p>A·generic·implementation·of·a·transformation.·· |
| 84 | ·<a·href="a01883.html#details">More...</a></p> | 84 | ·<a·href="a01883.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a001 | 85 | <p><code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code></p> |
| 86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
| 88 | Public·Member·Functions</h2></td></tr> | 88 | Public·Member·Functions</h2></td></tr> |
| 89 | <tr·class="memitem:a02f600bc5fa76d2091870a6a1f794175"·id="r_a02f600bc5fa76d2091870a6a1f794175"><td·class="memTemplParams"·colspan="2">template<class·IT_R·,·class·SI_R·,·class·CD_R·>·</td></tr> | 89 | <tr·class="memitem:a02f600bc5fa76d2091870a6a1f794175"·id="r_a02f600bc5fa76d2091870a6a1f794175"><td·class="memTemplParams"·colspan="2">template<class·IT_R·,·class·SI_R·,·class·CD_R·>·</td></tr> |
| 90 | <tr·class="memitem:a02f600bc5fa76d2091870a6a1f794175"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01883.html#a02f600bc5fa76d2091870a6a1f794175">GenericIndexingTransformation</a>·(IT_R·&&<a·class="el"·href="a00235.html#a0cc152e12a2496054e7b29a3df20600f">indexTransformation</a>,·SI_R·&&sizeImplementation,·CD_R·&&containerDescriptorImplementation)</td></tr> | 90 | <tr·class="memitem:a02f600bc5fa76d2091870a6a1f794175"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01883.html#a02f600bc5fa76d2091870a6a1f794175">GenericIndexingTransformation</a>·(IT_R·&&<a·class="el"·href="a00235.html#a0cc152e12a2496054e7b29a3df20600f">indexTransformation</a>,·SI_R·&&sizeImplementation,·CD_R·&&containerDescriptorImplementation)</td></tr> |
| 91 | <tr·class="separator:a02f600bc5fa76d2091870a6a1f794175"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a02f600bc5fa76d2091870a6a1f794175"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:afeada457bddb2a32b9747aadc8074dfb"·id="r_afeada457bddb2a32b9747aadc8074dfb"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·PreBasis·>·</td></tr> | 92 | <tr·class="memitem:afeada457bddb2a32b9747aadc8074dfb"·id="r_afeada457bddb2a32b9747aadc8074dfb"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·PreBasis·>·</td></tr> |
| Offset 359, 15 lines modified | Offset 359, 15 lines modified | ||
| 359 | ··</tr> | 359 | ··</tr> |
| 360 | </table> | 360 | </table> |
| 361 | </div><div·class="memdoc"> | 361 | </div><div·class="memdoc"> |
| 362 | </div> | 362 | </div> |
| 363 | </div> | 363 | </div> |
| 364 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 364 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 365 | <li><a·class="el"·href="a001 | 365 | <li><a·class="el"·href="a00182_source.html">transformedindexbasis.hh</a></li> |
| 366 | </ul> | 366 | </ul> |
| 367 | </div><!--·contents·--> | 367 | </div><!--·contents·--> |
| 368 | <!--·start·footer·part·--> | 368 | <!--·start·footer·part·--> |
| 369 | <hr·class="footer"/><address·class="footer"><small> | 369 | <hr·class="footer"/><address·class="footer"><small> |
| 370 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 370 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 371 | </small></address> | 371 | </small></address> |
| 372 | </body> | 372 | </body> |
| Offset 86, 15 lines modified | Offset 86, 15 lines modified | ||
| 86 | </td></tr> | 86 | </td></tr> |
| 87 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"·id="r_gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> | 87 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"·id="r_gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> |
| 88 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | 88 | <tr·class="memitem:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaf49863bf9728775c1ae6a718aeaaba45">makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> |
| 89 | <tr·class="memdesc:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01895.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<br·/></td></tr> | 89 | <tr·class="memdesc:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01895.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<br·/></td></tr> |
| 90 | <tr·class="separator:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:gaf49863bf9728775c1ae6a718aeaaba45"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | </table> | 91 | </table> |
| 92 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 92 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 93 | <li><a·class="el"·href="a000 | 93 | <li><a·class="el"·href="a00023_source.html">analyticgridviewfunction.hh</a></li> |
| 94 | </ul> | 94 | </ul> |
| 95 | </div><!--·contents·--> | 95 | </div><!--·contents·--> |
| 96 | <!--·start·footer·part·--> | 96 | <!--·start·footer·part·--> |
| 97 | <hr·class="footer"/><address·class="footer"><small> | 97 | <hr·class="footer"/><address·class="footer"><small> |
| 98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 99 | </small></address> | 99 | </small></address> |
| 100 | </body> | 100 | </body> |
| Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
| 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::AnalyticGridViewFunction<·Range(Domain),·GV,·F,·DerivativeTraits·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::Functions::AnalyticGridViewFunction<·Range(Domain),·GV,·F,·DerivativeTraits·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 82 | </div><!--header--> | 82 | </div><!--header--> |
| 83 | <div·class="contents"> | 83 | <div·class="contents"> |
| 84 | <p>Class·wrapping·any·differentiable·function·as·grid·function.·· | 84 | <p>Class·wrapping·any·differentiable·function·as·grid·function.·· |
| 85 | ·<a·href="a01899.html#details">More...</a></p> | 85 | ·<a·href="a01899.html#details">More...</a></p> |
| 86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00023_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code></p> |
| 87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
| 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 89 | Public·Types</h2></td></tr> | 89 | Public·Types</h2></td></tr> |
| 90 | <tr·class="memitem:aa2e57079e8165771b468b0f8ec045543"·id="r_aa2e57079e8165771b468b0f8ec045543"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01899.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·=·Range(Domain)</td></tr> | 90 | <tr·class="memitem:aa2e57079e8165771b468b0f8ec045543"·id="r_aa2e57079e8165771b468b0f8ec045543"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01899.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·=·Range(Domain)</td></tr> |
| 91 | <tr·class="separator:aa2e57079e8165771b468b0f8ec045543"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:aa2e57079e8165771b468b0f8ec045543"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 92 | <tr·class="memitem:ad2d85b10863874dd3e2776713d5076e9"·id="r_ad2d85b10863874dd3e2776713d5076e9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01899.html#ad2d85b10863874dd3e2776713d5076e9">RawSignature</a>·=·typename·<a·class="el"·href="a01295.html">SignatureTraits</a><·<a·class="el"·href="a01899.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·>::RawSignature</td></tr> | 92 | <tr·class="memitem:ad2d85b10863874dd3e2776713d5076e9"·id="r_ad2d85b10863874dd3e2776713d5076e9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01899.html#ad2d85b10863874dd3e2776713d5076e9">RawSignature</a>·=·typename·<a·class="el"·href="a01295.html">SignatureTraits</a><·<a·class="el"·href="a01899.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·>::RawSignature</td></tr> |
| 93 | <tr·class="separator:ad2d85b10863874dd3e2776713d5076e9"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:ad2d85b10863874dd3e2776713d5076e9"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
| 493 | </div><div·class="memdoc"> | 493 | </div><div·class="memdoc"> |
| 494 | <p>Construct·the·associated·local-function.·</p> | 494 | <p>Construct·the·associated·local-function.·</p> |
| 495 | </div> | 495 | </div> |
| 496 | </div> | 496 | </div> |
| 497 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 497 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 498 | <li><a·class="el"·href="a000 | 498 | <li><a·class="el"·href="a00023_source.html">analyticgridviewfunction.hh</a></li> |
| 499 | </ul> | 499 | </ul> |
| 500 | </div><!--·contents·--> | 500 | </div><!--·contents·--> |
| 501 | <!--·start·footer·part·--> | 501 | <!--·start·footer·part·--> |
| 502 | <hr·class="footer"/><address·class="footer"><small> | 502 | <hr·class="footer"/><address·class="footer"><small> |
| 503 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 503 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 504 | </small></address> | 504 | </small></address> |
| 505 | </body> | 505 | </body> |
| Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
| 85 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ComposedGridFunction<·OF,·IF·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 85 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ComposedGridFunction<·OF,·IF·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 86 | </div><!--header--> | 86 | </div><!--header--> |
| 87 | <div·class="contents"> | 87 | <div·class="contents"> |
| 88 | <p>Composition·of·grid·functions·with·another·function.·· | 88 | <p>Composition·of·grid·functions·with·another·function.·· |
| 89 | ·<a·href="a01903.html#details">More...</a></p> | 89 | ·<a·href="a01903.html#details">More...</a></p> |
| 90 | <p><code>#include·<<a·class="el"·href="a000 | 90 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/gridfunctions/composedgridfunction.hh</a>></code></p> |
| 91 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
| 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 93 | Public·Types</h2></td></tr> | 93 | Public·Types</h2></td></tr> |
| 94 | <tr·class="memitem:a60e88941320bce2a3fd832dcb33b79e8"·id="r_a60e88941320bce2a3fd832dcb33b79e8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·typename·InnerFunction<·0·>::EntitySet</td></tr> | 94 | <tr·class="memitem:a60e88941320bce2a3fd832dcb33b79e8"·id="r_a60e88941320bce2a3fd832dcb33b79e8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·typename·InnerFunction<·0·>::EntitySet</td></tr> |
| 95 | <tr·class="separator:a60e88941320bce2a3fd832dcb33b79e8"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:a60e88941320bce2a3fd832dcb33b79e8"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 96 | <tr·class="memitem:a6c0975897a61d00e1e5db9e8d1c5943c"·id="r_a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·typename·EntitySet::Element</td></tr> | 96 | <tr·class="memitem:a6c0975897a61d00e1e5db9e8d1c5943c"·id="r_a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·typename·EntitySet::Element</td></tr> |
| 97 | <tr·class="separator:a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 490, 15 lines modified | Offset 490, 15 lines modified | ||
| 490 | ··</tr> | 490 | ··</tr> |
| 491 | </table> | 491 | </table> |
| 492 | </div><div·class="memdoc"> | 492 | </div><div·class="memdoc"> |
| 493 | </div> | 493 | </div> |
| 494 | </div> | 494 | </div> |
| 495 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 495 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 496 | <li><a·class="el"·href="a000 | 496 | <li><a·class="el"·href="a00005_source.html">composedgridfunction.hh</a></li> |
| 497 | </ul> | 497 | </ul> |
| 498 | </div><!--·contents·--> | 498 | </div><!--·contents·--> |
| 499 | <!--·start·footer·part·--> | 499 | <!--·start·footer·part·--> |
| 500 | <hr·class="footer"/><address·class="footer"><small> | 500 | <hr·class="footer"/><address·class="footer"><small> |
| 501 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 501 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 502 | </small></address> | 502 | </small></address> |
| 503 | </body> | 503 | </body> |
| Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
| 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FaceNormalGridFunction<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FaceNormalGridFunction<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00215.html">Function·implementations</a></div></div></div> |
| 83 | </div><!--header--> | 83 | </div><!--header--> |
| 84 | <div·class="contents"> | 84 | <div·class="contents"> |
| 85 | <p>Grid·function·implementing·the·piecewise·element·face·normal.·· | 85 | <p>Grid·function·implementing·the·piecewise·element·face·normal.·· |
| 86 | ·<a·href="a01939.html#details">More...</a></p> | 86 | ·<a·href="a01939.html#details">More...</a></p> |
| 87 | <p><code>#include·<<a·class="el"·href="a0002 | 87 | <p><code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/gridfunctions/facenormalgridfunction.hh</a>></code></p> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 90 | Public·Types</h2></td></tr> | 90 | Public·Types</h2></td></tr> |
| 91 | <tr·class="memitem:a83c9500a49fbf25de2f8aaf04e422011"·id="r_a83c9500a49fbf25de2f8aaf04e422011"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV</td></tr> | 91 | <tr·class="memitem:a83c9500a49fbf25de2f8aaf04e422011"·id="r_a83c9500a49fbf25de2f8aaf04e422011"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV</td></tr> |
| 92 | <tr·class="separator:a83c9500a49fbf25de2f8aaf04e422011"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:a83c9500a49fbf25de2f8aaf04e422011"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 93 | <tr·class="memitem:a0c37b830a7bbba309a4df30441de8b8e"·id="r_a0c37b830a7bbba309a4df30441de8b8e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>·=·<a·class="el"·href="a01971.html">GridViewEntitySet</a><·<a·class="el"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>,·0·></td></tr> | 93 | <tr·class="memitem:a0c37b830a7bbba309a4df30441de8b8e"·id="r_a0c37b830a7bbba309a4df30441de8b8e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>·=·<a·class="el"·href="a01971.html">GridViewEntitySet</a><·<a·class="el"·href="a01939.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>,·0·></td></tr> |
| 94 | <tr·class="separator:a0c37b830a7bbba309a4df30441de8b8e"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:a0c37b830a7bbba309a4df30441de8b8e"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 380, 15 lines modified | Offset 380, 15 lines modified | ||
| 380 | </div><div·class="memdoc"> | 380 | </div><div·class="memdoc"> |
| 381 | <p>Return·a·local-function·associated·to·<a·class="el"·href="a01939.html"·title="Grid·function·implementing·the·piecewise·element·face·normal.">FaceNormalGridFunction</a>.·</p> | 381 | <p>Return·a·local-function·associated·to·<a·class="el"·href="a01939.html"·title="Grid·function·implementing·the·piecewise·element·face·normal.">FaceNormalGridFunction</a>.·</p> |
| 382 | </div> | 382 | </div> |
| 383 | </div> | 383 | </div> |
| 384 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 384 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 385 | <li><a·class="el"·href="a0002 | 385 | <li><a·class="el"·href="a00020_source.html">facenormalgridfunction.hh</a></li> |
| 386 | </ul> | 386 | </ul> |
| 387 | </div><!--·contents·--> | 387 | </div><!--·contents·--> |
| 388 | <!--·start·footer·part·--> | 388 | <!--·start·footer·part·--> |
| 389 | <hr·class="footer"/><address·class="footer"><small> | 389 | <hr·class="footer"/><address·class="footer"><small> |
| 390 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 390 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 391 | </small></address> | 391 | </small></address> |
| 392 | </body> | 392 | </body> |
| Offset 73, 29 lines modified | Offset 73, 29 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p><code>#include·<<a·class="el"·href="a0001 | 79 | <p><code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code></p> |
| 80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
| 81 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>:</div> | 81 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>:</div> |
| 82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
| 83 | <div·class="center"><img·src="a01946.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01946.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 84 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 84 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
| 85 | <area·shape="rect"·title="·"·alt=""·coords="5,22,220,77"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="5,22,220,77"/> |
| 86 | <area·shape="rect"·href="a01947.html"·title="·"·alt=""·coords="445,22,699,77"/> | 86 | <area·shape="rect"·href="a01947.html"·title="·"·alt=""·coords="445,22,699,77"/> |
| 87 | <area·shape="poly"·title="·"·alt=""·coords="234,47,445,47,445,52,234,52"/> | 87 | <area·shape="poly"·title="·"·alt=""·coords="234,47,445,47,445,52,234,52"/> |
| 88 | <area·shape="rect"·href="a01979.html"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,15,927,84"/> | 88 | <area·shape="rect"·href="a01979.html"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,15,927,84"/> |
| 89 | <area·shape="poly"·title="·"·alt=""·coords="712,47,748,47,748,52,712,52"/> | 89 | <area·shape="poly"·title="·"·alt=""·coords="712,47,748,47,748,52,712,52"/> |
| 90 | </map> | 90 | </map> |
| 91 | </div> | 91 | </div> |
| 92 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 92 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 93 | <li><a·class="el"·href="a0001 | 93 | <li><a·class="el"·href="a00011_source.html">gridfunction.hh</a></li> |
| 94 | </ul> | 94 | </ul> |
| 95 | </div><!--·contents·--> | 95 | </div><!--·contents·--> |
| 96 | <!--·start·footer·part·--> | 96 | <!--·start·footer·part·--> |
| 97 | <hr·class="footer"/><address·class="footer"><small> | 97 | <hr·class="footer"/><address·class="footer"><small> |
| 98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 99 | </small></address> | 99 | </small></address> |
| 100 | </body> | 100 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>Wrapper·class·for·functions·defined·on·a·Grid.·· | 83 | <p>Wrapper·class·for·functions·defined·on·a·Grid.·· |
| 84 | ·<a·href="a01955.html#details">More...</a></p> | 84 | ·<a·href="a01955.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a0001 | 85 | <p><code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01954.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01954.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·Grid."·alt=""·coords="824,66,1075,121"/> | 91 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·Grid."·alt=""·coords="824,66,1075,121"/> |
| 92 | <area·shape="rect"·title="·"·alt=""·coords="464,44,775,143"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="464,44,775,143"/> |
| Offset 326, 15 lines modified | Offset 326, 15 lines modified | ||
| 326 | <p>Get·local·function·of·wrapped·function.·</p> | 326 | <p>Get·local·function·of·wrapped·function.·</p> |
| 327 | <p>This·is·a·free·function,·to·be·found·by·ADL.</p> | 327 | <p>This·is·a·free·function,·to·be·found·by·ADL.</p> |
| 328 | <p>Notice·that·the·returned·<a·class="el"·href="a01247.html">LocalFunction</a>·can·only·be·used·after·it·has·been·bound·to·a·proper·local·context.·</p> | 328 | <p>Notice·that·the·returned·<a·class="el"·href="a01247.html">LocalFunction</a>·can·only·be·used·after·it·has·been·bound·to·a·proper·local·context.·</p> |
| 329 | </div> | 329 | </div> |
| 330 | </div> | 330 | </div> |
| 331 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 331 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 332 | <li><a·class="el"·href="a0001 | 332 | <li><a·class="el"·href="a00011_source.html">gridfunction.hh</a></li> |
| 333 | </ul> | 333 | </ul> |
| 334 | </div><!--·contents·--> | 334 | </div><!--·contents·--> |
| 335 | <!--·start·footer·part·--> | 335 | <!--·start·footer·part·--> |
| 336 | <hr·class="footer"/><address·class="footer"><small> | 336 | <hr·class="footer"/><address·class="footer"><small> |
| 337 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 337 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 338 | </small></address> | 338 | </small></address> |
| 339 | </body> | 339 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewEntitySet<·GV,·cd·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewEntitySet<·GV,·cd·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·· | 83 | <p>An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·· |
| 84 | ·<a·href="a01971.html#details">More...</a></p> | 84 | ·<a·href="a01971.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code></p> |
| 86 | <div·class="dynheader"> | 86 | <div·class="dynheader"> |
| 87 | Inheritance·diagram·for·Dune::Functions::GridViewEntitySet<·GV,·cd·>:</div> | 87 | Inheritance·diagram·for·Dune::Functions::GridViewEntitySet<·GV,·cd·>:</div> |
| 88 | <div·class="dyncontent"> | 88 | <div·class="dyncontent"> |
| 89 | <div·class="center"><img·src="a01970.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 89 | <div·class="center"><img·src="a01970.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 90 | <map·name="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"> | 90 | <map·name="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"> |
| 91 | <area·shape="rect"·title="An·entity·set·for·all·entities·of·given·codim·in·a·grid·view."·alt=""·coords="5,5,184,45"/> | 91 | <area·shape="rect"·title="An·entity·set·for·all·entities·of·given·codim·in·a·grid·view."·alt=""·coords="5,5,184,45"/> |
| 92 | <area·shape="rect"·href="a01971.html"·title="·"·alt=""·coords="5,108,184,148"/> | 92 | <area·shape="rect"·href="a01971.html"·title="·"·alt=""·coords="5,108,184,148"/> |
| Offset 461, 15 lines modified | Offset 461, 15 lines modified | ||
| 461 | </div><div·class="memdoc"> | 461 | </div><div·class="memdoc"> |
| 462 | <p>Return·number·of·Elements·visited·by·an·iterator.·</p> | 462 | <p>Return·number·of·Elements·visited·by·an·iterator.·</p> |
| 463 | </div> | 463 | </div> |
| 464 | </div> | 464 | </div> |
| 465 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 465 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 466 | <li><a·class="el"·href="a000 | 466 | <li><a·class="el"·href="a00017_source.html">gridviewentityset.hh</a></li> |
| 467 | </ul> | 467 | </ul> |
| 468 | </div><!--·contents·--> | 468 | </div><!--·contents·--> |
| 469 | <!--·start·footer·part·--> | 469 | <!--·start·footer·part·--> |
| 470 | <hr·class="footer"/><address·class="footer"><small> | 470 | <hr·class="footer"/><address·class="footer"><small> |
| 471 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 471 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 472 | </small></address> | 472 | </small></address> |
| 473 | </body> | 473 | </body> |
| Offset 73, 17 lines modified | Offset 73, 17 lines modified | ||
| 73 | </div> | 73 | </div> |
| 74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
| 75 | <div·class="header"> | 75 | <div·class="header"> |
| 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
| 77 | </div><!--header--> | 77 | </div><!--header--> |
| 78 | <div·class="contents"> | 78 | <div·class="contents"> |
| 79 | <p><code>#include·<<a·class="el"·href="a000 | 79 | <p><code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code></p> |
| 80 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 80 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 81 | <li><a·class="el"·href="a000 | 81 | <li><a·class="el"·href="a00014_source.html">gridviewfunction.hh</a></li> |
| 82 | </ul> | 82 | </ul> |
| 83 | </div><!--·contents·--> | 83 | </div><!--·contents·--> |
| 84 | <!--·start·footer·part·--> | 84 | <!--·start·footer·part·--> |
| 85 | <hr·class="footer"/><address·class="footer"><small> | 85 | <hr·class="footer"/><address·class="footer"><small> |
| 86 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 86 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 87 | </small></address> | 87 | </small></address> |
| 88 | </body> | 88 | </body> |
| Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00214.html">Function·interface·wrappers</a></div></div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p>Wrapper·class·for·functions·defined·on·a·GridView.·· | 82 | <p>Wrapper·class·for·functions·defined·on·a·GridView.·· |
| 83 | ·<a·href="a01979.html#details">More...</a></p> | 83 | ·<a·href="a01979.html#details">More...</a></p> |
| 84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code></p> |
| 85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
| 86 | Inheritance·diagram·for·Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>:</div> | 86 | Inheritance·diagram·for·Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>:</div> |
| 87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
| 88 | <div·class="center"><img·src="a01978.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01978.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
| 89 | <map·name="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
| 90 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,15,927,84"/> | 90 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,15,927,84"/> |
| 91 | <area·shape="rect"·href="a01947.html"·title="·"·alt=""·coords="445,22,699,77"/> | 91 | <area·shape="rect"·href="a01947.html"·title="·"·alt=""·coords="445,22,699,77"/> |
| Offset 129, 15 lines modified | Offset 129, 15 lines modified | ||
| 129 | ········</tr> | 129 | ········</tr> |
| 130 | ······</table> | 130 | ······</table> |
| 131 | </div><div·class="memdoc"> | 131 | </div><div·class="memdoc"> |
| 132 | </div> | 132 | </div> |
| 133 | </div> | 133 | </div> |
| 134 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 134 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
| 135 | <li><a·class="el"·href="a000 | 135 | <li><a·class="el"·href="a00014_source.html">gridviewfunction.hh</a></li> |
| 136 | </ul> | 136 | </ul> |
| 137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
| 138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
| 139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
| 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 141 | </small></address> | 141 | </small></address> |
| 142 | </body> | 142 | </body> |
| Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
| 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00212.html">Functions</a>·»·<a·class="el"·href="a00216.html">Function·related·utilities</a></div></div></div> |
| 81 | </div><!--header--> | 81 | </div><!--header--> |
| 82 | <div·class="contents"> | 82 | <div·class="contents"> |
| 83 | <p>Derivative·traits·for·local·functions.·· | 83 | <p>Derivative·traits·for·local·functions.·· |
| 84 | ·<a·href="a01983.html#details">More...</a></p> | 84 | ·<a·href="a01983.html#details">More...</a></p> |
| 85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code></p> |
| 86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
| 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 88 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
| 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01987.html">Traits</a></td></tr> | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01987.html">Traits</a></td></tr> |
| 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01991.html">Traits<·R(LocalDomain)></a></td></tr> | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01991.html">Traits<·R(LocalDomain)></a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 135, 15 lines modified | Offset 135, 15 lines modified | ||
| 135 | ········</tr> | 135 | ········</tr> |
| 136 | ······</table> | 136 | ······</table> |
| 137 | </div><div·class="memdoc"> | 137 | </div><div·class="memdoc"> |
| 138 | </div> | 138 | </div> |
| 139 | </div> | 139 | </div> |
| 140 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 140 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 141 | <li><a·class="el"·href="a000 | 141 | <li><a·class="el"·href="a00002_source.html">localderivativetraits.hh</a></li> |
| 142 | </ul> | 142 | </ul> |
| 143 | </div><!--·contents·--> | 143 | </div><!--·contents·--> |
| 144 | <!--·start·footer·part·--> | 144 | <!--·start·footer·part·--> |
| 145 | <hr·class="footer"/><address·class="footer"><small> | 145 | <hr·class="footer"/><address·class="footer"><small> |
| 146 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 146 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 147 | </small></address> | 147 | </small></address> |
| 148 | </body> | 148 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
| 78 | <a·href="a01984.html">List·of·all·members</a>··</div> | 78 | <a·href="a01984.html">List·of·all·members</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·>·Struct·Template·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·>·Struct·Template·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><code>#include·<<a·class="el"·href="a000 | 82 | <p><code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code></p> |
| 83 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
| 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 85 | Public·Types</h2></td></tr> | 85 | Public·Types</h2></td></tr> |
| 86 | <tr·class="memitem:ab37a5c5f4de2d44c5334bab2b33cf8a0"·id="r_ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01083.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a></td></tr> | 86 | <tr·class="memitem:ab37a5c5f4de2d44c5334bab2b33cf8a0"·id="r_ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01083.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01987.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a></td></tr> |
| 87 | <tr·class="separator:ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 88 | </table> | 88 | </table> |
| 89 | <h2·class="groupheader">Member·Typedef·Documentation</h2> | 89 | <h2·class="groupheader">Member·Typedef·Documentation</h2> |
| Offset 103, 15 lines modified | Offset 103, 15 lines modified | ||
| 103 | ········</tr> | 103 | ········</tr> |
| 104 | ······</table> | 104 | ······</table> |
| 105 | </div><div·class="memdoc"> | 105 | </div><div·class="memdoc"> |
| 106 | </div> | 106 | </div> |
| 107 | </div> | 107 | </div> |
| 108 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 108 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 109 | <li><a·class="el"·href="a000 | 109 | <li><a·class="el"·href="a00002_source.html">localderivativetraits.hh</a></li> |
| 110 | </ul> | 110 | </ul> |
| 111 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
| 112 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
| 113 | <hr·class="footer"/><address·class="footer"><small> | 113 | <hr·class="footer"/><address·class="footer"><small> |
| 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 115 | </small></address> | 115 | </small></address> |
| 116 | </body> | 116 | </body> |
| Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
| 76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
| 77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
| 78 | <a·href="a01988.html">List·of·all·members</a>··</div> | 78 | <a·href="a01988.html">List·of·all·members</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)>·Struct·Template·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)>·Struct·Template·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <p><code>#include·<<a·class="el"·href="a000 | 82 | <p><code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code></p> |
| 83 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
| 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
| 85 | Public·Types</h2></td></tr> | 85 | Public·Types</h2></td></tr> |
| 86 | <tr·class="memitem:a80a14d6e3599853298641c023ff34acd"·id="r_a80a14d6e3599853298641c023ff34acd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01991.html#a80a14d6e3599853298641c023ff34acd">Range</a>·=·typename·DerivativeTraits<·R(<a·class="el"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>)>::Range</td></tr> | 86 | <tr·class="memitem:a80a14d6e3599853298641c023ff34acd"·id="r_a80a14d6e3599853298641c023ff34acd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01991.html#a80a14d6e3599853298641c023ff34acd">Range</a>·=·typename·DerivativeTraits<·R(<a·class="el"·href="a01983.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>)>::Range</td></tr> |
| 87 | <tr·class="separator:a80a14d6e3599853298641c023ff34acd"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:a80a14d6e3599853298641c023ff34acd"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 88 | </table> | 88 | </table> |
| 89 | <h2·class="groupheader">Member·Typedef·Documentation</h2> | 89 | <h2·class="groupheader">Member·Typedef·Documentation</h2> |
| Offset 103, 15 lines modified | Offset 103, 15 lines modified | ||
| 103 | ········</tr> | 103 | ········</tr> |
| 104 | ······</table> | 104 | ······</table> |
| 105 | </div><div·class="memdoc"> | 105 | </div><div·class="memdoc"> |
| 106 | </div> | 106 | </div> |
| 107 | </div> | 107 | </div> |
| 108 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 108 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
| 109 | <li><a·class="el"·href="a000 | 109 | <li><a·class="el"·href="a00002_source.html">localderivativetraits.hh</a></li> |
| 110 | </ul> | 110 | </ul> |
| 111 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
| 112 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
| 113 | <hr·class="footer"/><address·class="footer"><small> | 113 | <hr·class="footer"/><address·class="footer"><small> |
| 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 115 | </small></address> | 115 | </small></address> |
| 116 | </body> | 116 | </body> |
| Offset 77, 16 lines modified | Offset 77, 16 lines modified | ||
| 77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
| 78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
| 79 | ··<div·class="headertitle"><div·class="title">concepts.hh·File·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">concepts.hh·File·Reference</div></div> |
| 80 | </div><!--header--> | 80 | </div><!--header--> |
| 81 | <div·class="contents"> | 81 | <div·class="contents"> |
| 82 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> | 82 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
| 83 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | 83 | <code>#include·<dune/common/reservedvector.hh></code><br·/> |
| 84 | <code>#include·<<a·class="el"·href="a000 | 84 | <code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a001 | 85 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
| 86 | </div> | 86 | </div> |
| 87 | <p><a·href="a02939_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a02939_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 90 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01495.html">Dune::Functions::Concept::HasResize</a></td></tr> | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01495.html">Dune::Functions::Concept::HasResize</a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| Offset 90, 17 lines modified | Offset 90, 17 lines modified | ||
| 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> | 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> |
| 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> | 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> |
| 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
| 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
| 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
| 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
| 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
| 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00059.html">dune/functions/common/utility.hh</a>></span></div> |
| 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
| 99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
| 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
| 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
| 102 | <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="a00224.html">Dune</a>·{</div> | 102 | <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="a00224.html">Dune</a>·{</div> |
| 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> |
| 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Concept·{</div> | 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Concept·{</div> |
| 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
| 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> | 106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> |
| Offset 338, 16 lines modified | Offset 338, 16 lines modified | ||
| 338 | <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div> | 338 | <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div> |
| 339 | <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>}·<span·class="comment">//·namespace·Dune::Functions::Concept</span></div> | 339 | <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>}·<span·class="comment">//·namespace·Dune::Functions::Concept</span></div> |
| 340 | <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | 340 | <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
| 341 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>}·<span·class="comment">//·namespace·Dune</span></div> | 341 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>}·<span·class="comment">//·namespace·Dune</span></div> |
| 342 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>·</div> | 342 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>·</div> |
| 343 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div> | 343 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div> |
| 344 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> | 344 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> |
| 345 | <div·class="ttc"·id="aa000 | 345 | <div·class="ttc"·id="aa00059_html"><div·class="ttname"><a·href="a00059.html">utility.hh</a></div></div> |
| 346 | <div·class="ttc"·id="aa001 | 346 | <div·class="ttc"·id="aa00104_html"><div·class="ttname"><a·href="a00104.html">nodes.hh</a></div></div> |
| 347 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> | 347 | <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·polynomial.hh:17</div></div> |
| 348 | <div·class="ttc"·id="aa01495_html"><div·class="ttname"><a·href="a01495.html">Dune::Functions::Concept::HasResize</a></div><div·class="ttdef"><b>Definition</b>·functionspacebases/concepts.hh:27</div></div> | 348 | <div·class="ttc"·id="aa01495_html"><div·class="ttname"><a·href="a01495.html">Dune::Functions::Concept::HasResize</a></div><div·class="ttdef"><b>Definition</b>·functionspacebases/concepts.hh:27</div></div> |
| 349 | <div·class="ttc"·id="aa01495_html_a8a1de367869f4afa30734f258f48677c"><div·class="ttname"><a·href="a01495.html#a8a1de367869f4afa30734f258f48677c">Dune::Functions::Concept::HasResize::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.resize(0))</div></div> | 349 | <div·class="ttc"·id="aa01495_html_a8a1de367869f4afa30734f258f48677c"><div·class="ttname"><a·href="a01495.html#a8a1de367869f4afa30734f258f48677c">Dune::Functions::Concept::HasResize::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.resize(0))</div></div> |
| 350 | <div·class="ttc"·id="aa01499_html"><div·class="ttname"><a·href="a01499.html">Dune::Functions::Concept::HasSizeMethod</a></div><div·class="ttdef"><b>Definition</b>·functionspacebases/concepts.hh:37</div></div> | 350 | <div·class="ttc"·id="aa01499_html"><div·class="ttname"><a·href="a01499.html">Dune::Functions::Concept::HasSizeMethod</a></div><div·class="ttdef"><b>Definition</b>·functionspacebases/concepts.hh:37</div></div> |
| 351 | <div·class="ttc"·id="aa01499_html_a69f10c8a3a68dbb4348c200ac2d6235c"><div·class="ttname"><a·href="a01499.html#a69f10c8a3a68dbb4348c200ac2d6235c">Dune::Functions::Concept::HasSizeMethod::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.size())</div></div> | 351 | <div·class="ttc"·id="aa01499_html_a69f10c8a3a68dbb4348c200ac2d6235c"><div·class="ttname"><a·href="a01499.html#a69f10c8a3a68dbb4348c200ac2d6235c">Dune::Functions::Concept::HasSizeMethod::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.size())</div></div> |
| 352 | <div·class="ttc"·id="aa01503_html"><div·class="ttname"><a·href="a01503.html">Dune::Functions::Concept::HasIndexAccess</a></div><div·class="ttdef"><b>Definition</b>·functionspacebases/concepts.hh:47</div></div> | 352 | <div·class="ttc"·id="aa01503_html"><div·class="ttname"><a·href="a01503.html">Dune::Functions::Concept::HasIndexAccess</a></div><div·class="ttdef"><b>Definition</b>·functionspacebases/concepts.hh:47</div></div> |
| 353 | <div·class="ttc"·id="aa01503_html_a33325ec9829369b9e04df631d930a028"><div·class="ttname"><a·href="a01503.html#a33325ec9829369b9e04df631d930a028">Dune::Functions::Concept::HasIndexAccess::require</a></div><div·class="ttdeci">auto·require(C·&&c,·I·&&i)·->·decltype(c[i])</div></div> | 353 | <div·class="ttc"·id="aa01503_html_a33325ec9829369b9e04df631d930a028"><div·class="ttname"><a·href="a01503.html#a33325ec9829369b9e04df631d930a028">Dune::Functions::Concept::HasIndexAccess::require</a></div><div·class="ttdeci">auto·require(C·&&c,·I·&&i)·->·decltype(c[i])</div></div> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>backends·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>backends·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00035.html">istlvectorbackend.hh</a></td><td·class="dirtab"><a·class="el"·href="a00053.html">indexaccess.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>backends·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>backends·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00035.html">istlvectorbackend.hh</a></td><td·class="dirtab"><a·class="el"·href="a02939.html">functionspacebases/concepts.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>common·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>common·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00050.html">staticforloop.hh</a></td><td·class="dirtab"><a·class="el"·href="a02939.html">functionspacebases/concepts.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>common·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>common·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00074.html">functionconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00017.html">gridviewentityset.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00074.html">functionconcepts.hh</a></td><td·class="dirtab"><a·class="el"·h[·...·truncated·by·diffoscope;·len:·11,·SHA:·49e0d5423fb593f633f8f411bc89c679ad8e388ee92f0d1fecbd05f9acb4f557·...·].html">localderivativetraits.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>functionspacebases·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a001 | 75 | <h3>functionspacebases·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">interpolate.hh</a></td><td·class="dirtab"><a·class="el"·href="a02936.html">backends/concepts.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">interpolate.hh</a></td><td·class="dirtab"><a·class="el"·href="a0003[·...·truncated·by·diffoscope;·len:·1,·SHA:·ef2d127de37b942baad06145e54b0c619a1f22327b2ebbcfbec78f5564afe39d·...·].html">istlvectorbackend.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>functionspacebases·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a001 | 75 | <h3>functionspacebases·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00134.html">compositebasis.hh</a></td><td·class="dirtab"><a·class="el"·href="a00050.html">staticforloop.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00134.html">compositebasis.hh</a></td><td·class="dirtab"><a·class="el"·href="a00[·...·truncated·by·diffoscope;·len:·3609,·SHA:·1287bffd0afed44a3a5e5bde9235770f180606678038f743d3155867b58edaf7·...·].html">utility.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>functionspacebases·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a001 | 75 | <h3>functionspacebases·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">interpolate.hh</a></td><td·class="dirtab"><a·class="el"·href="a00014.html">gridviewfunction.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>gridfunctions·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a02936.html">backends/concepts.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>gridfunctions·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a02936.html">backends/concepts.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00035.html">istlvectorbackend.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>gridfunctions·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>gridfunctions·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00023.html">analyticgridviewfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00041.html">defaultderivativetraits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00023.html">analyticgridviewfunction.hh</a></td><td·class="d[·...·truncated·by·diffoscope;·len:·2460,·SHA:·e1d9482a4d95a4fb595b3188be2ab67bec8ed3bb8333bfea966534887f99e7d1·...·].html">defaultderivativetraits.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="contents"> | 74 | <div·class="contents"> |
| 75 | <h3>gridfunctions·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00110.html">flatvectorview.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a001 | 75 | <h3>gridfunctions·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00110.html">flatvectorview.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00194.html">hierarchicnodetorangemap.hh</a></td></tr></table></div><!--·contents·--> |
| 76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
| 77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
| 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 79 | </small></address> | 79 | </small></address> |
| 80 | </body> | 80 | </body> |
| 81 | </html> | 81 | </html> |
| Offset 90, 50 lines modified | Offset 90, 50 lines modified | ||
| 90 | <area·shape="rect"·href="dir_000002_000007.html"·title="1"·alt=""·coords="194,99,202,114"/> | 90 | <area·shape="rect"·href="dir_000002_000007.html"·title="1"·alt=""·coords="194,99,202,114"/> |
| 91 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,296,161"/> | 91 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,296,161"/> |
| 92 | </map> | 92 | </map> |
| 93 | </div> | 93 | </div> |
| 94 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
| 96 | Files</h2></td></tr> | 96 | Files</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00041_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.html">defaultderivativetraits.hh</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00044_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">differentiablefunction.hh</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00086_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">differentiablefunction_imp.hh</a></td></tr> |
| 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00089_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">differentiablefunctionfromcallables.hh</a></td></tr> |
| 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00074_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">functionconcepts.hh</a></td></tr> |
| 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00053_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">indexaccess.hh</a></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00047_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.html">interfaces.hh</a></td></tr> |
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00071_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html">localfunction.hh</a></td></tr> |
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00092_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html">localfunction_imp.hh</a></td></tr> |
| 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00077_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html">multiindex.hh</a></td></tr> |
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00068_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">overflowarray.hh</a></td></tr> |
| 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00065_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">polymorphicsmallobject.hh</a></td></tr> |
| 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">reserveddeque.hh</a></td></tr> |
| 122 | <tr·class="memdesc:a000 | 122 | <tr·class="memdesc:a00080"><td·class="mdescLeft"> </td><td·class="mdescRight">An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·<br·/></td></tr> |
| 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00056_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">signature.hh</a></td></tr> |
| 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00050_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.html">staticforloop.hh</a></td></tr> |
| 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 128 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00062_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">type_traits.hh</a></td></tr> | 128 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00062_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">type_traits.hh</a></td></tr> |
| 129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 130 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 130 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00083_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html">typeerasure.hh</a></td></tr> |
| 131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 132 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 132 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00059_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">utility.hh</a></td></tr> |
| 133 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 133 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 134 | </table> | 134 | </table> |
| 135 | </div><!--·contents·--> | 135 | </div><!--·contents·--> |
| 136 | <!--·start·footer·part·--> | 136 | <!--·start·footer·part·--> |
| 137 | <hr·class="footer"/><address·class="footer"><small> | 137 | <hr·class="footer"/><address·class="footer"><small> |
| 138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 139 | </small></address> | 139 | </small></address> |
| Offset 93, 31 lines modified | Offset 93, 31 lines modified | ||
| 93 | <area·shape="rect"·href="dir_000008_000007.html"·title="2"·alt=""·coords="256,102,264,116"/> | 93 | <area·shape="rect"·href="dir_000008_000007.html"·title="2"·alt=""·coords="256,102,264,116"/> |
| 94 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,373,161"/> | 94 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,373,161"/> |
| 95 | </map> | 95 | </map> |
| 96 | </div> | 96 | </div> |
| 97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
| 99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00023_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">analyticgridviewfunction.hh</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00005_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html">composedgridfunction.hh</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td></tr> | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">discreteglobalbasisfunction.hh</a></td></tr> |
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0002 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00020_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.html">facenormalgridfunction.hh</a></td></tr> |
| 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0001 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00011_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">gridfunction.hh</a></td></tr> |
| 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00008_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00008.html">gridfunction_imp.hh</a></td></tr> |
| 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">gridviewentityset.hh</a></td></tr> |
| 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00014_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">gridviewfunction.hh</a></td></tr> |
| 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00002_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html">localderivativetraits.hh</a></td></tr> |
| 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 118 | </table> | 118 | </table> |
| 119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
| 120 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
| 121 | <hr·class="footer"/><address·class="footer"><small> | 121 | <hr·class="footer"/><address·class="footer"><small> |
| 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 123 | </small></address> | 123 | </small></address> |
| Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
| 92 | </map> | 92 | </map> |
| 93 | </div> | 93 | </div> |
| 94 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
| 96 | Files</h2></td></tr> | 96 | Files</h2></td></tr> |
| 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a02936_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02936.html">concepts.hh</a></td></tr> | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a02936_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02936.html">concepts.hh</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00035_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">istlvectorbackend.hh</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 101 | </table> | 101 | </table> |
| 102 | </div><!--·contents·--> | 102 | </div><!--·contents·--> |
| 103 | <!--·start·footer·part·--> | 103 | <!--·start·footer·part·--> |
| 104 | <hr·class="footer"/><address·class="footer"><small> | 104 | <hr·class="footer"/><address·class="footer"><small> |
| 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 106 | </small></address> | 106 | </small></address> |
| Offset 93, 86 lines modified | Offset 93, 86 lines modified | ||
| 93 | <area·shape="rect"·href="dir_000007_000001.html"·title="2"·alt=""·coords="249,101,257,116"/> | 93 | <area·shape="rect"·href="dir_000007_000001.html"·title="2"·alt=""·coords="249,101,257,116"/> |
| 94 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,331,161"/> | 94 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,331,161"/> |
| 95 | </map> | 95 | </map> |
| 96 | </div> | 96 | </div> |
| 97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
| 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
| 99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
| 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00149_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00149.html">basistags.hh</a></td></tr> |
| 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00167_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00167.html">boundarydofs.hh</a></td></tr> |
| 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00164_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html">brezzidouglasmarinibasis.hh</a></td></tr> |
| 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00098_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">bsplinebasis.hh</a></td></tr> |
| 107 | <tr·class="memdesc:a00 | 107 | <tr·class="memdesc:a00098"><td·class="mdescLeft"> </td><td·class="mdescRight">The·B-spline·global·function·space·basis.·<br·/></td></tr> |
| 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00134_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html">compositebasis.hh</a></td></tr> |
| 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a02939_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02939.html">concepts.hh</a></td></tr> | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a02939_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02939.html">concepts.hh</a></td></tr> |
| 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00125_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html">containerdescriptors.hh</a></td></tr> |
| 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00158_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00158.html">defaultglobalbasis.hh</a></td></tr> |
| 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00179_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">defaultlocalview.hh</a></td></tr> |
| 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00113_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00113.html">defaultnodetorangemap.hh</a></td></tr> |
| 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00137_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00137.html">dynamicpowerbasis.hh</a></td></tr> |
| 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00146_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00146.html">flatmultiindex.hh</a></td></tr> |
| 124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00110_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">flatvectorview.hh</a></td></tr> | 125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00110_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">flatvectorview.hh</a></td></tr> |
| 126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00197_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html">globalvaluedlocalfiniteelement.hh</a></td></tr> |
| 128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00128_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00128.html">hierarchicallagrangebasis.hh</a></td></tr> |
| 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00194_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00194.html">hierarchicnodetorangemap.hh</a></td></tr> |
| 132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 133 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00 | 133 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00131_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00131.html">hierarchicvectorwrapper.hh</a></td></tr> |
| 134 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 134 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 135 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 135 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00191_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">interpolate.hh</a></td></tr> |
| 136 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 136 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 137 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 137 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00176_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00176.html">lagrangebasis.hh</a></td></tr> |
| 138 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 138 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 139 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00095_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">lagrangedgbasis.hh</a></td></tr> | 139 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00095_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">lagrangedgbasis.hh</a></td></tr> |
| 140 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 140 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 141 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00143_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">leafprebasismappermixin.hh</a></td></tr> | 141 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00143_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">leafprebasismappermixin.hh</a></td></tr> |
| 142 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 142 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 143 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00188_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">leafprebasismixin.hh</a></td></tr> | 143 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00188_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">leafprebasismixin.hh</a></td></tr> |
| 144 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 144 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 145 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 145 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00119_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html">lfeprebasismixin.hh</a></td></tr> |
| 146 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 146 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 147 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 147 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00116_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00116.html">nedelecbasis.hh</a></td></tr> |
| 148 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 148 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 149 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 149 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00104_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">nodes.hh</a></td></tr> |
| 150 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 150 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 151 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 151 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00107_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">periodicbasis.hh</a></td></tr> |
| 152 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 152 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 153 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 153 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00101_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html">powerbasis.hh</a></td></tr> |
| 154 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 154 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 155 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 155 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00152_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html">rannacherturekbasis.hh</a></td></tr> |
| 156 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 156 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 157 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 157 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00140_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00140.html">raviartthomasbasis.hh</a></td></tr> |
| 158 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 158 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 159 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 159 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00122_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">refinedlagrangebasis.hh</a></td></tr> |
| 160 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 160 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 161 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 161 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00155_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">sizeinfo.hh</a></td></tr> |
| 162 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 162 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 163 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 163 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00173_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00173.html">subentitydofs.hh</a></td></tr> |
| 164 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 164 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 165 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 165 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00170_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00170.html">subspacebasis.hh</a></td></tr> |
| 166 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 166 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 167 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 167 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00185_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">subspacelocalview.hh</a></td></tr> |
| 168 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 168 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 169 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 169 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00161_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00161.html">taylorhoodbasis.hh</a></td></tr> |
| 170 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 170 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 171 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a001 | 171 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00182_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html">transformedindexbasis.hh</a></td></tr> |
| 172 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 172 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 173 | </table> | 173 | </table> |
| 174 | </div><!--·contents·--> | 174 | </div><!--·contents·--> |
| 175 | <!--·start·footer·part·--> | 175 | <!--·start·footer·part·--> |
| 176 | <hr·class="footer"/><address·class="footer"><small> | 176 | <hr·class="footer"/><address·class="footer"><small> |
| 177 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 177 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 178 | </small></address> | 178 | </small></address> |
| Offset 84, 17 lines modified | Offset 84, 17 lines modified | ||
| 84 | <area·shape="rect"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·title="analyticfunctions"·alt=""·coords="27,52,147,77"/> | 84 | <area·shape="rect"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·title="analyticfunctions"·alt=""·coords="27,52,147,77"/> |
| 85 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,157,88"/> | 85 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,157,88"/> |
| 86 | </map> | 86 | </map> |
| 87 | </div> | 87 | </div> |
| 88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
| 90 | Files</h2></td></tr> | 90 | Files</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00032_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.html">polynomial.hh</a></td></tr> |
| 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00029_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">trigonometricfunction.hh</a></td></tr> |
| 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 95 | </table> | 95 | </table> |
| 96 | </div><!--·contents·--> | 96 | </div><!--·contents·--> |
| 97 | <!--·start·footer·part·--> | 97 | <!--·start·footer·part·--> |
| 98 | <hr·class="footer"/><address·class="footer"><small> | 98 | <hr·class="footer"/><address·class="footer"><small> |
| 99 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 99 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 100 | </small></address> | 100 | </small></address> |
| Offset 4, 23 lines modified | Offset 4, 23 lines modified | ||
| 4 | ····<name>mainpage.md</name> | 4 | ····<name>mainpage.md</name> |
| 5 | ····<path>/build/reproducible-path/dune-functions-2.10.0/doc/doxygen/</path> | 5 | ····<path>/build/reproducible-path/dune-functions-2.10.0/doc/doxygen/</path> |
| 6 | ····<filename>a00203.html</filename> | 6 | ····<filename>a00203.html</filename> |
| 7 | ··</compound> | 7 | ··</compound> |
| 8 | ··<compound·kind="file"> | 8 | ··<compound·kind="file"> |
| 9 | ····<name>polynomial.hh</name> | 9 | ····<name>polynomial.hh</name> |
| 10 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/analyticfunctions/</path> | 10 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/analyticfunctions/</path> |
| 11 | ····<filename>a000 | 11 | ····<filename>a00032.html</filename> |
| 12 | ····<class·kind="class">Dune::Functions::Polynomial</class> | 12 | ····<class·kind="class">Dune::Functions::Polynomial</class> |
| 13 | ····<namespace>Dune</namespace> | 13 | ····<namespace>Dune</namespace> |
| 14 | ····<namespace>Dune::Functions</namespace> | 14 | ····<namespace>Dune::Functions</namespace> |
| 15 | ··</compound> | 15 | ··</compound> |
| 16 | ··<compound·kind="file"> | 16 | ··<compound·kind="file"> |
| 17 | ····<name>trigonometricfunction.hh</name> | 17 | ····<name>trigonometricfunction.hh</name> |
| 18 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/analyticfunctions/</path> | 18 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/analyticfunctions/</path> |
| 19 | ····<filename>a000 | 19 | ····<filename>a00029.html</filename> |
| 20 | ····<class·kind="class">Dune::Functions::TrigonometricFunction</class> | 20 | ····<class·kind="class">Dune::Functions::TrigonometricFunction</class> |
| 21 | ····<namespace>Dune</namespace> | 21 | ····<namespace>Dune</namespace> |
| 22 | ····<namespace>Dune::Functions</namespace> | 22 | ····<namespace>Dune::Functions</namespace> |
| 23 | ··</compound> | 23 | ··</compound> |
| 24 | ··<compound·kind="file"> | 24 | ··<compound·kind="file"> |
| 25 | ····<name>backends/concepts.hh</name> | 25 | ····<name>backends/concepts.hh</name> |
| 26 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/backends/</path> | 26 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/backends/</path> |
| Offset 31, 16 lines modified | Offset 31, 16 lines modified | ||
| 31 | ····<namespace>Dune::Functions</namespace> | 31 | ····<namespace>Dune::Functions</namespace> |
| 32 | ····<namespace>Dune::Functions::Concept</namespace> | 32 | ····<namespace>Dune::Functions::Concept</namespace> |
| 33 | ··</compound> | 33 | ··</compound> |
| 34 | ··<compound·kind="file"> | 34 | ··<compound·kind="file"> |
| 35 | ····<name>functionspacebases/concepts.hh</name> | 35 | ····<name>functionspacebases/concepts.hh</name> |
| 36 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/functionspacebases/</path> | 36 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/functionspacebases/</path> |
| 37 | ····<filename>a02939.html</filename> | 37 | ····<filename>a02939.html</filename> |
| 38 | ····<includes·id="a000 | 38 | ····<includes·id="a00059"·name="utility.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/utility.hh</includes> |
| 39 | ····<includes·id="a001 | 39 | ····<includes·id="a00104"·name="nodes.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/functionspacebases/nodes.hh</includes> |
| 40 | ····<class·kind="struct">Dune::Functions::Concept::HasResize</class> | 40 | ····<class·kind="struct">Dune::Functions::Concept::HasResize</class> |
| 41 | ····<class·kind="struct">Dune::Functions::Concept::HasSizeMethod</class> | 41 | ····<class·kind="struct">Dune::Functions::Concept::HasSizeMethod</class> |
| 42 | ····<class·kind="struct">Dune::Functions::Concept::HasIndexAccess</class> | 42 | ····<class·kind="struct">Dune::Functions::Concept::HasIndexAccess</class> |
| 43 | ····<class·kind="struct">Dune::Functions::Concept::BasisNode</class> | 43 | ····<class·kind="struct">Dune::Functions::Concept::BasisNode</class> |
| 44 | ····<class·kind="struct">Dune::Functions::Concept::LeafBasisNode</class> | 44 | ····<class·kind="struct">Dune::Functions::Concept::LeafBasisNode</class> |
| 45 | ····<class·kind="struct">Dune::Functions::Concept::PowerBasisNode</class> | 45 | ····<class·kind="struct">Dune::Functions::Concept::PowerBasisNode</class> |
| 46 | ····<class·kind="struct">Dune::Functions::Concept::DynamicPowerBasisNode</class> | 46 | ····<class·kind="struct">Dune::Functions::Concept::DynamicPowerBasisNode</class> |
| Offset 52, 75 lines modified | Offset 52, 75 lines modified | ||
| 52 | ····<namespace>Dune</namespace> | 52 | ····<namespace>Dune</namespace> |
| 53 | ····<namespace>Dune::Functions</namespace> | 53 | ····<namespace>Dune::Functions</namespace> |
| 54 | ····<namespace>Dune::Functions::Concept</namespace> | 54 | ····<namespace>Dune::Functions::Concept</namespace> |
| 55 | ··</compound> | 55 | ··</compound> |
| 56 | ··<compound·kind="file"> | 56 | ··<compound·kind="file"> |
| 57 | ····<name>istlvectorbackend.hh</name> | 57 | ····<name>istlvectorbackend.hh</name> |
| 58 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/backends/</path> | 58 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/backends/</path> |
| 59 | ····<filename>a000 | 59 | ····<filename>a00035.html</filename> |
| 60 | ····<includes·id="a000 | 60 | ····<includes·id="a00053"·name="indexaccess.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/indexaccess.hh</includes> |
| 61 | ····<includes·id="a02939"·name="functionspacebases/concepts.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/functionspacebases/concepts.hh</includes> | 61 | ····<includes·id="a02939"·name="functionspacebases/concepts.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/functionspacebases/concepts.hh</includes> |
| 62 | ····<namespace>Dune</namespace> | 62 | ····<namespace>Dune</namespace> |
| 63 | ····<namespace>Dune::Functions</namespace> | 63 | ····<namespace>Dune::Functions</namespace> |
| 64 | ··</compound> | 64 | ··</compound> |
| 65 | ··<compound·kind="file"> | 65 | ··<compound·kind="file"> |
| 66 | ····<name>defaultderivativetraits.hh</name> | 66 | ····<name>defaultderivativetraits.hh</name> |
| 67 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> | 67 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> |
| 68 | ····<filename>a000 | 68 | ····<filename>a00041.html</filename> |
| 69 | ····<class·kind="class">Dune::Functions::InvalidRange</class> | 69 | ····<class·kind="class">Dune::Functions::InvalidRange</class> |
| 70 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits</class> | 70 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits</class> |
| 71 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·double(double)·></class> | 71 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·double(double)·></class> |
| 72 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></class> | 72 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></class> |
| 73 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></class> | 73 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></class> |
| 74 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></class> | 74 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></class> |
| 75 | ····<namespace>Dune</namespace> | 75 | ····<namespace>Dune</namespace> |
| 76 | ····<namespace>Dune::Functions</namespace> | 76 | ····<namespace>Dune::Functions</namespace> |
| 77 | ··</compound> | 77 | ··</compound> |
| 78 | ··<compound·kind="file"> | 78 | ··<compound·kind="file"> |
| 79 | ····<name>differentiablefunction.hh</name> | 79 | ····<name>differentiablefunction.hh</name> |
| 80 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> | 80 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> |
| 81 | ····<filename>a000 | 81 | ····<filename>a00044.html</filename> |
| 82 | ····<includes·id="a00062"·name="type_traits.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/type_traits.hh</includes> | 82 | ····<includes·id="a00062"·name="type_traits.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/type_traits.hh</includes> |
| 83 | ····<includes·id="a000 | 83 | ····<includes·id="a00041"·name="defaultderivativetraits.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/defaultderivativetraits.hh</includes> |
| 84 | ····<includes·id="a000 | 84 | ····<includes·id="a00086"·name="differentiablefunction_imp.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/differentiablefunction_imp.hh</includes> |
| 85 | ····<includes·id="a000 | 85 | ····<includes·id="a00056"·name="signature.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/signature.hh</includes> |
| 86 | ····<includes·id="a000 | 86 | ····<includes·id="a00083"·name="typeerasure.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/typeerasure.hh</includes> |
| 87 | ····<includes·id="a000 | 87 | ····<includes·id="a00074"·name="functionconcepts.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/functionconcepts.hh</includes> |
| 88 | ····<class·kind="class">Dune::Functions::DifferentiableFunction</class> | 88 | ····<class·kind="class">Dune::Functions::DifferentiableFunction</class> |
| 89 | ····<class·kind="class">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></class> | 89 | ····<class·kind="class">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></class> |
| 90 | ····<namespace>Dune</namespace> | 90 | ····<namespace>Dune</namespace> |
| 91 | ····<namespace>Dune::Functions</namespace> | 91 | ····<namespace>Dune::Functions</namespace> |
| 92 | ··</compound> | 92 | ··</compound> |
| 93 | ··<compound·kind="file"> | 93 | ··<compound·kind="file"> |
| 94 | ····<name>differentiablefunction_imp.hh</name> | 94 | ····<name>differentiablefunction_imp.hh</name> |
| 95 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> | 95 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> |
| 96 | ····<filename>a000 | 96 | ····<filename>a00086.html</filename> |
| 97 | ····<includes·id="a00062"·name="type_traits.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/type_traits.hh</includes> | 97 | ····<includes·id="a00062"·name="type_traits.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/type_traits.hh</includes> |
| 98 | ····<namespace>Dune</namespace> | 98 | ····<namespace>Dune</namespace> |
| 99 | ····<namespace>Dune::Functions</namespace> | 99 | ····<namespace>Dune::Functions</namespace> |
| 100 | ··</compound> | 100 | ··</compound> |
| 101 | ··<compound·kind="file"> | 101 | ··<compound·kind="file"> |
| 102 | ····<name>differentiablefunctionfromcallables.hh</name> | 102 | ····<name>differentiablefunctionfromcallables.hh</name> |
| 103 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> | 103 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> |
| 104 | ····<filename>a000 | 104 | ····<filename>a00089.html</filename> |
| 105 | ····<includes·id="a000 | 105 | ····<includes·id="a00056"·name="signature.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/signature.hh</includes> |
| 106 | ····<includes·id="a000 | 106 | ····<includes·id="a00044"·name="differentiablefunction.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/differentiablefunction.hh</includes> |
| 107 | ····<includes·id="a000 | 107 | ····<includes·id="a00074"·name="functionconcepts.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/functionconcepts.hh</includes> |
| 108 | ····<class·kind="class">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·></class> | 108 | ····<class·kind="class">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·></class> |
| 109 | ····<class·kind="class">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></class> | 109 | ····<class·kind="class">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></class> |
| 110 | ····<namespace>Dune</namespace> | 110 | ····<namespace>Dune</namespace> |
| 111 | ····<namespace>Dune::Functions</namespace> | 111 | ····<namespace>Dune::Functions</namespace> |
| 112 | ··</compound> | 112 | ··</compound> |
| 113 | ··<compound·kind="file"> | 113 | ··<compound·kind="file"> |
| 114 | ····<name>functionconcepts.hh</name> | 114 | ····<name>functionconcepts.hh</name> |
| 115 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> | 115 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> |
| 116 | ····<filename>a000 | 116 | ····<filename>a00074.html</filename> |
| 117 | ····<includes·id="a000 | 117 | ····<includes·id="a00056"·name="signature.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/signature.hh</includes> |
| 118 | ····<includes·id="a000 | 118 | ····<includes·id="a00002"·name="localderivativetraits.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/gridfunctions/localderivativetraits.hh</includes> |
| 119 | ····<includes·id="a000 | 119 | ····<includes·id="a00017"·name="gridviewentityset.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/gridfunctions/gridviewentityset.hh</includes> |
| 120 | ····<class·kind="struct">Dune::Functions::Concept::Callable</class> | 120 | ····<class·kind="struct">Dune::Functions::Concept::Callable</class> |
| 121 | ····<class·kind="struct">Dune::Functions::Concept::Function<·Range(Domain)></class> | 121 | ····<class·kind="struct">Dune::Functions::Concept::Function<·Range(Domain)></class> |
| 122 | ····<class·kind="struct">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·></class> | 122 | ····<class·kind="struct">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·></class> |
| 123 | ····<class·kind="struct">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·></class> | 123 | ····<class·kind="struct">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·></class> |
| 124 | ····<class·kind="struct">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·></class> | 124 | ····<class·kind="struct">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·></class> |
| 125 | ····<class·kind="struct">Dune::Functions::Concept::EntitySet</class> | 125 | ····<class·kind="struct">Dune::Functions::Concept::EntitySet</class> |
| 126 | ····<class·kind="struct">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·></class> | 126 | ····<class·kind="struct">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·></class> |
| Offset 130, 105 lines modified | Offset 130, 105 lines modified | ||
| 130 | ····<namespace>Dune</namespace> | 130 | ····<namespace>Dune</namespace> |
| 131 | ····<namespace>Dune::Functions</namespace> | 131 | ····<namespace>Dune::Functions</namespace> |
| 132 | ····<namespace>Dune::Functions::Concept</namespace> | 132 | ····<namespace>Dune::Functions::Concept</namespace> |
| 133 | ··</compound> | 133 | ··</compound> |
| 134 | ··<compound·kind="file"> | 134 | ··<compound·kind="file"> |
| 135 | ····<name>indexaccess.hh</name> | 135 | ····<name>indexaccess.hh</name> |
| 136 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> | 136 | ····<path>/build/reproducible-path/dune-functions-2.10.0/dune/functions/common/</path> |
| 137 | ····<filename>a000 | 137 | ····<filename>a00053.html</filename> |
| 138 | ····<includes·id="a000 | 138 | ····<includes·id="a00059"·name="utility.hh"·local="no"·import="no"·module="no"·objc="no">dune/functions/common/utility.hh</includes> |
| 139 | ····<namespace>Dune</namespace> | 139 | ····<namespace>Dune</namespace> |
| Max diff block lines reached; 65415/76672 bytes (85.32%) of diff not shown. | |||
| Offset 75, 85 lines modified | Offset 75, 85 lines modified | ||
| 75 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> | 75 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> |
| 76 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span><span·onclick="javascript:toggleLevel(4);">4</span>]</div><table·class="directory"> | 76 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span><span·onclick="javascript:toggleLevel(4);">4</span>]</div><table·class="directory"> |
| 77 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_e68e8157741866f444e17edd764ebbae.html"·target="_self">doc</a></td><td·class="desc"></td></tr> | 77 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_e68e8157741866f444e17edd764ebbae.html"·target="_self">doc</a></td><td·class="desc"></td></tr> |
| 78 | <tr·id="row_0_0_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·class="iconfclosed"></span><a·class="el"·href="dir_04f2ecc425faf0d475a3caf484e551f3.html"·target="_self">doxygen</a></td><td·class="desc"></td></tr> | 78 | <tr·id="row_0_0_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·class="iconfclosed"></span><a·class="el"·href="dir_04f2ecc425faf0d475a3caf484e551f3.html"·target="_self">doxygen</a></td><td·class="desc"></td></tr> |
| 79 | <tr·id="row_1_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_1_"·class="arrow"·onclick="toggleFolder('1_')">▼</span><span·id="img_1_"·class="iconfopen"·onclick="toggleFolder('1_')"> </span><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr> | 79 | <tr·id="row_1_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_1_"·class="arrow"·onclick="toggleFolder('1_')">▼</span><span·id="img_1_"·class="iconfopen"·onclick="toggleFolder('1_')"> </span><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr> |
| 80 | <tr·id="row_1_0_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_1_0_"·class="arrow"·onclick="toggleFolder('1_0_')">▼</span><span·id="img_1_0_"·class="iconfopen"·onclick="toggleFolder('1_0_')"> </span><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·target="_self">functions</a></td><td·class="desc"></td></tr> | 80 | <tr·id="row_1_0_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_1_0_"·class="arrow"·onclick="toggleFolder('1_0_')">▼</span><span·id="img_1_0_"·class="iconfopen"·onclick="toggleFolder('1_0_')"> </span><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·target="_self">functions</a></td><td·class="desc"></td></tr> |
| 81 | <tr·id="row_1_0_0_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_')">▼</span><span·id="img_1_0_0_"·class="iconfopen"·onclick="toggleFolder('1_0_0_')"> </span><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·target="_self">analyticfunctions</a></td><td·class="desc"></td></tr> | 81 | <tr·id="row_1_0_0_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_')">▼</span><span·id="img_1_0_0_"·class="iconfopen"·onclick="toggleFolder('1_0_0_')"> </span><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·target="_self">analyticfunctions</a></td><td·class="desc"></td></tr> |
| 82 | <tr·id="row_1_0_0_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 82 | <tr·id="row_1_0_0_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.html"·target="_self">polynomial.hh</a></td><td·class="desc"></td></tr> |
| 83 | <tr·id="row_1_0_0_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 83 | <tr·id="row_1_0_0_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">trigonometricfunction.hh</a></td><td·class="desc"></td></tr> |
| 84 | <tr·id="row_1_0_1_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_1_"·class="arrow"·onclick="toggleFolder('1_0_1_')">▼</span><span·id="img_1_0_1_"·class="iconfopen"·onclick="toggleFolder('1_0_1_')"> </span><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html"·target="_self">backends</a></td><td·class="desc"></td></tr> | 84 | <tr·id="row_1_0_1_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_1_"·class="arrow"·onclick="toggleFolder('1_0_1_')">▼</span><span·id="img_1_0_1_"·class="iconfopen"·onclick="toggleFolder('1_0_1_')"> </span><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html"·target="_self">backends</a></td><td·class="desc"></td></tr> |
| 85 | <tr·id="row_1_0_1_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02936_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02936.html"·target="_self">concepts.hh</a></td><td·class="desc"></td></tr> | 85 | <tr·id="row_1_0_1_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02936_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02936.html"·target="_self">concepts.hh</a></td><td·class="desc"></td></tr> |
| 86 | <tr·id="row_1_0_1_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 86 | <tr·id="row_1_0_1_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">istlvectorbackend.hh</a></td><td·class="desc"></td></tr> |
| 87 | <tr·id="row_1_0_2_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_2_"·class="arrow"·onclick="toggleFolder('1_0_2_')">▼</span><span·id="img_1_0_2_"·class="iconfopen"·onclick="toggleFolder('1_0_2_')"> </span><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html"·target="_self">common</a></td><td·class="desc"></td></tr> | 87 | <tr·id="row_1_0_2_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_2_"·class="arrow"·onclick="toggleFolder('1_0_2_')">▼</span><span·id="img_1_0_2_"·class="iconfopen"·onclick="toggleFolder('1_0_2_')"> </span><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html"·target="_self">common</a></td><td·class="desc"></td></tr> |
| 88 | <tr·id="row_1_0_2_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 88 | <tr·id="row_1_0_2_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.html"·target="_self">defaultderivativetraits.hh</a></td><td·class="desc"></td></tr> |
| 89 | <tr·id="row_1_0_2_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 89 | <tr·id="row_1_0_2_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.html"·target="_self">differentiablefunction.hh</a></td><td·class="desc"></td></tr> |
| 90 | <tr·id="row_1_0_2_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 90 | <tr·id="row_1_0_2_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.html"·target="_self">differentiablefunction_imp.hh</a></td><td·class="desc"></td></tr> |
| 91 | <tr·id="row_1_0_2_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 91 | <tr·id="row_1_0_2_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.html"·target="_self">differentiablefunctionfromcallables.hh</a></td><td·class="desc"></td></tr> |
| 92 | <tr·id="row_1_0_2_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 92 | <tr·id="row_1_0_2_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.html"·target="_self">functionconcepts.hh</a></td><td·class="desc"></td></tr> |
| 93 | <tr·id="row_1_0_2_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 93 | <tr·id="row_1_0_2_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">indexaccess.hh</a></td><td·class="desc"></td></tr> |
| 94 | <tr·id="row_1_0_2_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 94 | <tr·id="row_1_0_2_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.html"·target="_self">interfaces.hh</a></td><td·class="desc"></td></tr> |
| 95 | <tr·id="row_1_0_2_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 95 | <tr·id="row_1_0_2_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.html"·target="_self">localfunction.hh</a></td><td·class="desc"></td></tr> |
| 96 | <tr·id="row_1_0_2_8_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 96 | <tr·id="row_1_0_2_8_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.html"·target="_self">localfunction_imp.hh</a></td><td·class="desc"></td></tr> |
| 97 | <tr·id="row_1_0_2_9_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 97 | <tr·id="row_1_0_2_9_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.html"·target="_self">multiindex.hh</a></td><td·class="desc"></td></tr> |
| 98 | <tr·id="row_1_0_2_10_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 98 | <tr·id="row_1_0_2_10_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">overflowarray.hh</a></td><td·class="desc"></td></tr> |
| 99 | <tr·id="row_1_0_2_11_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 99 | <tr·id="row_1_0_2_11_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.html"·target="_self">polymorphicsmallobject.hh</a></td><td·class="desc"></td></tr> |
| 100 | <tr·id="row_1_0_2_12_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 100 | <tr·id="row_1_0_2_12_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.html"·target="_self">reserveddeque.hh</a></td><td·class="desc">An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack·</td></tr> |
| 101 | <tr·id="row_1_0_2_13_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 101 | <tr·id="row_1_0_2_13_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.html"·target="_self">signature.hh</a></td><td·class="desc"></td></tr> |
| 102 | <tr·id="row_1_0_2_14_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 102 | <tr·id="row_1_0_2_14_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.html"·target="_self">staticforloop.hh</a></td><td·class="desc"></td></tr> |
| 103 | <tr·id="row_1_0_2_15_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr> | 103 | <tr·id="row_1_0_2_15_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr> |
| 104 | <tr·id="row_1_0_2_16_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 104 | <tr·id="row_1_0_2_16_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.html"·target="_self">typeerasure.hh</a></td><td·class="desc"></td></tr> |
| 105 | <tr·id="row_1_0_2_17_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 105 | <tr·id="row_1_0_2_17_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">utility.hh</a></td><td·class="desc"></td></tr> |
| 106 | <tr·id="row_1_0_3_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_3_"·class="arrow"·onclick="toggleFolder('1_0_3_')">▼</span><span·id="img_1_0_3_"·class="iconfopen"·onclick="toggleFolder('1_0_3_')"> </span><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html"·target="_self">functionspacebases</a></td><td·class="desc"></td></tr> | 106 | <tr·id="row_1_0_3_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_3_"·class="arrow"·onclick="toggleFolder('1_0_3_')">▼</span><span·id="img_1_0_3_"·class="iconfopen"·onclick="toggleFolder('1_0_3_')"> </span><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html"·target="_self">functionspacebases</a></td><td·class="desc"></td></tr> |
| 107 | <tr·id="row_1_0_3_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 107 | <tr·id="row_1_0_3_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00149_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00149.html"·target="_self">basistags.hh</a></td><td·class="desc"></td></tr> |
| 108 | <tr·id="row_1_0_3_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 108 | <tr·id="row_1_0_3_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.html"·target="_self">boundarydofs.hh</a></td><td·class="desc"></td></tr> |
| 109 | <tr·id="row_1_0_3_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 109 | <tr·id="row_1_0_3_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00164_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00164.html"·target="_self">brezzidouglasmarinibasis.hh</a></td><td·class="desc"></td></tr> |
| 110 | <tr·id="row_1_0_3_3_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 110 | <tr·id="row_1_0_3_3_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.html"·target="_self">bsplinebasis.hh</a></td><td·class="desc">The·B-spline·global·function·space·basis·</td></tr> |
| 111 | <tr·id="row_1_0_3_4_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 111 | <tr·id="row_1_0_3_4_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00134_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00134.html"·target="_self">compositebasis.hh</a></td><td·class="desc"></td></tr> |
| 112 | <tr·id="row_1_0_3_5_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02939_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02939.html"·target="_self">concepts.hh</a></td><td·class="desc"></td></tr> | 112 | <tr·id="row_1_0_3_5_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02939_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02939.html"·target="_self">concepts.hh</a></td><td·class="desc"></td></tr> |
| 113 | <tr·id="row_1_0_3_6_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 113 | <tr·id="row_1_0_3_6_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00125_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00125.html"·target="_self">containerdescriptors.hh</a></td><td·class="desc"></td></tr> |
| 114 | <tr·id="row_1_0_3_7_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 114 | <tr·id="row_1_0_3_7_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00158_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00158.html"·target="_self">defaultglobalbasis.hh</a></td><td·class="desc"></td></tr> |
| 115 | <tr·id="row_1_0_3_8_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 115 | <tr·id="row_1_0_3_8_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00179_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00179.html"·target="_self">defaultlocalview.hh</a></td><td·class="desc"></td></tr> |
| 116 | <tr·id="row_1_0_3_9_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 116 | <tr·id="row_1_0_3_9_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00113_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00113.html"·target="_self">defaultnodetorangemap.hh</a></td><td·class="desc"></td></tr> |
| 117 | <tr·id="row_1_0_3_10_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 117 | <tr·id="row_1_0_3_10_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.html"·target="_self">dynamicpowerbasis.hh</a></td><td·class="desc"></td></tr> |
| 118 | <tr·id="row_1_0_3_11_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 118 | <tr·id="row_1_0_3_11_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.html"·target="_self">flatmultiindex.hh</a></td><td·class="desc"></td></tr> |
| 119 | <tr·id="row_1_0_3_12_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">flatvectorview.hh</a></td><td·class="desc"></td></tr> | 119 | <tr·id="row_1_0_3_12_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">flatvectorview.hh</a></td><td·class="desc"></td></tr> |
| 120 | <tr·id="row_1_0_3_13_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 120 | <tr·id="row_1_0_3_13_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00197_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00197.html"·target="_self">globalvaluedlocalfiniteelement.hh</a></td><td·class="desc"></td></tr> |
| 121 | <tr·id="row_1_0_3_14_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 121 | <tr·id="row_1_0_3_14_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00128_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00128.html"·target="_self">hierarchicallagrangebasis.hh</a></td><td·class="desc"></td></tr> |
| 122 | <tr·id="row_1_0_3_15_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 122 | <tr·id="row_1_0_3_15_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00194_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00194.html"·target="_self">hierarchicnodetorangemap.hh</a></td><td·class="desc"></td></tr> |
| 123 | <tr·id="row_1_0_3_16_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 123 | <tr·id="row_1_0_3_16_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.html"·target="_self">hierarchicvectorwrapper.hh</a></td><td·class="desc"></td></tr> |
| 124 | <tr·id="row_1_0_3_17_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 124 | <tr·id="row_1_0_3_17_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.html"·target="_self">interpolate.hh</a></td><td·class="desc"></td></tr> |
| 125 | <tr·id="row_1_0_3_18_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 125 | <tr·id="row_1_0_3_18_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.html"·target="_self">lagrangebasis.hh</a></td><td·class="desc"></td></tr> |
| 126 | <tr·id="row_1_0_3_19_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">lagrangedgbasis.hh</a></td><td·class="desc"></td></tr> | 126 | <tr·id="row_1_0_3_19_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">lagrangedgbasis.hh</a></td><td·class="desc"></td></tr> |
| 127 | <tr·id="row_1_0_3_20_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.html"·target="_self">leafprebasismappermixin.hh</a></td><td·class="desc"></td></tr> | 127 | <tr·id="row_1_0_3_20_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.html"·target="_self">leafprebasismappermixin.hh</a></td><td·class="desc"></td></tr> |
| 128 | <tr·id="row_1_0_3_21_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.html"·target="_self">leafprebasismixin.hh</a></td><td·class="desc"></td></tr> | 128 | <tr·id="row_1_0_3_21_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.html"·target="_self">leafprebasismixin.hh</a></td><td·class="desc"></td></tr> |
| 129 | <tr·id="row_1_0_3_22_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 129 | <tr·id="row_1_0_3_22_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.html"·target="_self">lfeprebasismixin.hh</a></td><td·class="desc"></td></tr> |
| 130 | <tr·id="row_1_0_3_23_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 130 | <tr·id="row_1_0_3_23_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00116_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00116.html"·target="_self">nedelecbasis.hh</a></td><td·class="desc"></td></tr> |
| 131 | <tr·id="row_1_0_3_24_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 131 | <tr·id="row_1_0_3_24_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.html"·target="_self">nodes.hh</a></td><td·class="desc"></td></tr> |
| 132 | <tr·id="row_1_0_3_25_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 132 | <tr·id="row_1_0_3_25_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.html"·target="_self">periodicbasis.hh</a></td><td·class="desc"></td></tr> |
| 133 | <tr·id="row_1_0_3_26_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 133 | <tr·id="row_1_0_3_26_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.html"·target="_self">powerbasis.hh</a></td><td·class="desc"></td></tr> |
| 134 | <tr·id="row_1_0_3_27_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 134 | <tr·id="row_1_0_3_27_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.html"·target="_self">rannacherturekbasis.hh</a></td><td·class="desc"></td></tr> |
| 135 | <tr·id="row_1_0_3_28_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 135 | <tr·id="row_1_0_3_28_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.html"·target="_self">raviartthomasbasis.hh</a></td><td·class="desc"></td></tr> |
| 136 | <tr·id="row_1_0_3_29_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 136 | <tr·id="row_1_0_3_29_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.html"·target="_self">refinedlagrangebasis.hh</a></td><td·class="desc"></td></tr> |
| 137 | <tr·id="row_1_0_3_30_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 137 | <tr·id="row_1_0_3_30_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.html"·target="_self">sizeinfo.hh</a></td><td·class="desc"></td></tr> |
| 138 | <tr·id="row_1_0_3_31_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 138 | <tr·id="row_1_0_3_31_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.html"·target="_self">subentitydofs.hh</a></td><td·class="desc"></td></tr> |
| 139 | <tr·id="row_1_0_3_32_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 139 | <tr·id="row_1_0_3_32_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.html"·target="_self">subspacebasis.hh</a></td><td·class="desc"></td></tr> |
| 140 | <tr·id="row_1_0_3_33_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 140 | <tr·id="row_1_0_3_33_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.html"·target="_self">subspacelocalview.hh</a></td><td·class="desc"></td></tr> |
| 141 | <tr·id="row_1_0_3_34_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 141 | <tr·id="row_1_0_3_34_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00161_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00161.html"·target="_self">taylorhoodbasis.hh</a></td><td·class="desc"></td></tr> |
| 142 | <tr·id="row_1_0_3_35_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 142 | <tr·id="row_1_0_3_35_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.html"·target="_self">transformedindexbasis.hh</a></td><td·class="desc"></td></tr> |
| 143 | <tr·id="row_1_0_4_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_4_"·class="arrow"·onclick="toggleFolder('1_0_4_')">▼</span><span·id="img_1_0_4_"·class="iconfopen"·onclick="toggleFolder('1_0_4_')"> </span><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html"·target="_self">gridfunctions</a></td><td·class="desc"></td></tr> | 143 | <tr·id="row_1_0_4_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_4_"·class="arrow"·onclick="toggleFolder('1_0_4_')">▼</span><span·id="img_1_0_4_"·class="iconfopen"·onclick="toggleFolder('1_0_4_')"> </span><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html"·target="_self">gridfunctions</a></td><td·class="desc"></td></tr> |
| 144 | <tr·id="row_1_0_4_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 144 | <tr·id="row_1_0_4_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">analyticgridviewfunction.hh</a></td><td·class="desc"></td></tr> |
| 145 | <tr·id="row_1_0_4_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 145 | <tr·id="row_1_0_4_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00005_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00005.html"·target="_self">composedgridfunction.hh</a></td><td·class="desc"></td></tr> |
| 146 | <tr·id="row_1_0_4_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">discreteglobalbasisfunction.hh</a></td><td·class="desc"></td></tr> | 146 | <tr·id="row_1_0_4_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">discreteglobalbasisfunction.hh</a></td><td·class="desc"></td></tr> |
| 147 | <tr·id="row_1_0_4_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0002 | 147 | <tr·id="row_1_0_4_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.html"·target="_self">facenormalgridfunction.hh</a></td><td·class="desc"></td></tr> |
| 148 | <tr·id="row_1_0_4_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0001 | 148 | <tr·id="row_1_0_4_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.html"·target="_self">gridfunction.hh</a></td><td·class="desc"></td></tr> |
| 149 | <tr·id="row_1_0_4_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 149 | <tr·id="row_1_0_4_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00008_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00008.html"·target="_self">gridfunction_imp.hh</a></td><td·class="desc"></td></tr> |
| 150 | <tr·id="row_1_0_4_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 150 | <tr·id="row_1_0_4_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.html"·target="_self">gridviewentityset.hh</a></td><td·class="desc"></td></tr> |
| 151 | <tr·id="row_1_0_4_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 151 | <tr·id="row_1_0_4_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.html"·target="_self">gridviewfunction.hh</a></td><td·class="desc"></td></tr> |
| 152 | <tr·id="row_1_0_4_8_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 152 | <tr·id="row_1_0_4_8_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00002_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00002.html"·target="_self">localderivativetraits.hh</a></td><td·class="desc"></td></tr> |
| 153 | </table> | 153 | </table> |
| 154 | </div><!--·directory·--> | 154 | </div><!--·directory·--> |
| 155 | </div><!--·contents·--> | 155 | </div><!--·contents·--> |
| 156 | <!--·start·footer·part·--> | 156 | <!--·start·footer·part·--> |
| 157 | <hr·class="footer"/><address·class="footer"><small> | 157 | <hr·class="footer"/><address·class="footer"><small> |
| 158 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 158 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 159 | </small></address> | 159 | </small></address> |
| Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | </div> | 69 | </div> |
| 70 | <div·class="contents"> | 70 | <div·class="contents"> |
| 71 | <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div><ul> | 71 | <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div><ul> |
| 72 | <li>CHECKSIZE : <a·class="el"·href="a000 | 72 | <li>CHECKSIZE : <a·class="el"·href="a00080.html#a65543e75bc949ecdb95a25b1f4e11675">reserveddeque.hh</a></li> |
| 73 | </ul> | 73 | </ul> |
| 74 | </div><!--·contents·--> | 74 | </div><!--·contents·--> |
| 75 | <!--·start·footer·part·--> | 75 | <!--·start·footer·part·--> |
| 76 | <hr·class="footer"/><address·class="footer"><small> | 76 | <hr·class="footer"/><address·class="footer"><small> |
| 77 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 77 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 78 | </small></address> | 78 | </small></address> |
| 79 | </body> | 79 | </body> |
| Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | </div> | 69 | </div> |
| 70 | <div·class="contents"> | 70 | <div·class="contents"> |
| 71 | <div·class="textblock">Here·is·a·list·of·all·macros·with·links·to·the·files·they·belong·to:</div><ul> | 71 | <div·class="textblock">Here·is·a·list·of·all·macros·with·links·to·the·files·they·belong·to:</div><ul> |
| 72 | <li>CHECKSIZE : <a·class="el"·href="a000 | 72 | <li>CHECKSIZE : <a·class="el"·href="a00080.html#a65543e75bc949ecdb95a25b1f4e11675">reserveddeque.hh</a></li> |
| 73 | </ul> | 73 | </ul> |
| 74 | </div><!--·contents·--> | 74 | </div><!--·contents·--> |
| 75 | <!--·start·footer·part·--> | 75 | <!--·start·footer·part·--> |
| 76 | <hr·class="footer"/><address·class="footer"><small> | 76 | <hr·class="footer"/><address·class="footer"><small> |
| 77 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 77 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 78 | </small></address> | 78 | </small></address> |
| 79 | </body> | 79 | </body> |
| 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.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
| 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
| 8 | <title>dune-functions:· | 8 | <title>dune-functions:·composedgridfunction.hh·File·Reference</title> |
| 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
| 10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
| 11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
| 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
| 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
| 14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
| 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
| Offset 65, 44 lines modified | Offset 65, 57 lines modified | ||
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | </div> | 68 | </div> |
| 69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
| 70 | ··<ul> | 70 | ··<ul> |
| 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
| 72 | </div> | 72 | </div> |
| 73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
| 74 | <div·class="header"> | 74 | <div·class="header"> |
| 75 | ··<div·class="summary"> | 75 | ··<div·class="summary"> |
| 76 | <a·href="#nested-classes">Classes</a>·| | 76 | <a·href="#nested-classes">Classes</a>·| |
| 77 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
| 78 | <a·href="#func-members">Functions</a>··</div> | ||
| 78 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh·File·Reference</div></div> |
| 79 | </div><!--header--> | 80 | </div><!--header--> |
| 80 | <div·class="contents"> | 81 | <div·class="contents"> |
| 81 | <div·class="textblock"><code>#include·<type | 82 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
| 83 | <code>#include·<tuple></code><br·/> | ||
| 84 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
| 82 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 85 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
| 83 | <code>#include·<<a·class="el"·href="a000 | 86 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
| 84 | <code>#include·<<a·class="el"·href="a000 | 87 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> |
| 85 | <code>#include·<<a·class="el"·href="a000 | 88 | <code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
| 86 | </div> | 89 | </div> |
| 87 | <p><a·href="a000 | 90 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> |
| 88 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
| 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
| 90 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
| 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html">Dune::Functions::ComposedGridFunction<·OF,·IF·></a></td></tr> |
| 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Composition·of·grid·functions·with·another·function.··<a·href="a01903.html#details">More...</a><br·/></td></tr> |
| 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 94 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
| 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
| 96 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
| 97 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune</a></td></tr> |
| 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 99 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> | 102 | <tr·class="memitem:a00225"·id="r_a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions</a></td></tr> |
| 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
| 104 | </table><table·class="memberdecls"> | ||
| 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
| 106 | Functions</h2></td></tr> | ||
| 107 | <tr·class="memitem:ae70612d0758e301c3168bdeb2dad5bff"·id="r_ae70612d0758e301c3168bdeb2dad5bff"><td·class="memTemplParams"·colspan="2">template<class·OF·,·class...·IF>·</td></tr> | ||
| 108 | <tr·class="memitem:ae70612d0758e301c3168bdeb2dad5bff"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00225.html#ae70612d0758e301c3168bdeb2dad5bff">Dune::Functions::ComposedGridFunction</a>·(const·OF·&,·const·IF·&...)·->·<a·class="el"·href="a01903.html">ComposedGridFunction</a><·OF,·IF...·></td></tr> | ||
| 109 | <tr·class="separator:ae70612d0758e301c3168bdeb2dad5bff"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 110 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"·id="r_ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplParams"·colspan="2">template<class·OF·,·class...·IF>·</td></tr> | ||
| 111 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::makeComposedGridFunction</a>·(OF·&&outerFunction,·IF·&&...·innerFunction)</td></tr> | ||
| 112 | <tr·class="memdesc:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01903.html"·title="Composition·of·grid·functions·with·another·function.">ComposedGridFunction</a>·that·composes·grid-functions·with·another·function.··<br·/></td></tr> | ||
| 113 | <tr·class="separator:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
| 101 | </table> | 114 | </table> |
| 102 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
| 103 | <!--·start·footer·part·--> | 116 | <!--·start·footer·part·--> |
| 104 | <hr·class="footer"/><address·class="footer"><small> | 117 | <hr·class="footer"/><address·class="footer"><small> |
| 105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
| 106 | </small></address> | 119 | </small></address> |
| 107 | </body> | 120 | </body> |
| Offset 1, 27 lines modified | Offset 1, 39 lines modified | ||
| 1 | dune-functions 2.10 | 1 | dune-functions 2.10 |
| 2 | Loading... | 2 | Loading... |
| 3 | Searching... | 3 | Searching... |
| 4 | No·Matches | 4 | No·Matches |
| 5 | ····*·dune | 5 | ····*·dune |
| 6 | ····*·functions | 6 | ····*·functions |
| 7 | ····*· | 7 | ····*·gridfunctions |
| 8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
| 9 | 9 | composedgridfunction.hh·File·Reference | |
| 10 | #include·<type_traits> | ||
| 10 | #include·<t | 11 | #include·<tuple> |
| 12 | #include·<dune/common/referencehelper.hh> | ||
| 11 | #include·<dune/common/typeutilities.hh> | 13 | #include·<dune/common/typeutilities.hh> |
| 12 | #include·<dune/functions/common/t | 14 | #include·<dune/functions/common/defaultderivativetraits.hh> |
| 13 | #include·<dune/functions/common/inte | 15 | #include·<dune/functions/common/differentiablefunction.hh> |
| 14 | #include·<dune/functions/ | 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> |
| 15 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
| 16 | Classes | 18 | Classes |
| 19 | class· ·Dune::Functions::ComposedGridFunction<_OF,_IF_> | ||
| 20 | ·······Composition·of·grid·functions·with·another·function.·More... | ||
| 17 | class· ·Dune::Functions::TypeErasureBase<_Interface,_Implementation,_bufferSize | ||
| 18 | ········> | ||
| 19 | ·······Base·class·for·type-erased·interface·wrapper.·More... | ||
| 20 | 21 | ||
| 21 | Namespaces | 22 | Namespaces |
| 22 | namespace· ·Dune | 23 | namespace· ·Dune |
| 23 | 24 | ||
| 24 | namespace· ·Dune::Functions | 25 | namespace· ·Dune::Functions |
| 25 | 26 | ||
| 27 | Functions | ||
| 28 | template<class·OF·,·class...·IF> | ||
| 29 | ···· ·Dune::Functions::ComposedGridFunction·(const·OF·&,·const·IF·&...)·- | ||
| 30 | ······>·ComposedGridFunction<·OF,·IF...·> | ||
| 31 | |||
| 32 | template<class·OF·,·class...·IF> | ||
| 33 | auto ·Dune::Functions::makeComposedGridFunction·(OF·&&outerFunction,·IF·&&... | ||
| 34 | ······innerFunction) | ||
| 35 | ·····Create·a·ComposedGridFunction·that·composes·grid-functions·with·another | ||
| 36 | ······function. | ||
| 37 | |||
| 26 | =============================================================================== | 38 | =============================================================================== |
| 27 | ·····Generated·by [doxygen]·1.9.8 | 39 | ·····Generated·by [doxygen]·1.9.8 |