Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | ·8c0619bc4a995ca1786ce06c3c2edc36·904980·debug·optional·libdune-grid-glue-dev-dbgsym_2.9.0-3_armhf.deb | 1 | ·8c0619bc4a995ca1786ce06c3c2edc36·904980·debug·optional·libdune-grid-glue-dev-dbgsym_2.9.0-3_armhf.deb |
2 | ·8bab94650580268ecdbd32c995683203·100884·libdevel·optional·libdune-grid-glue-dev_2.9.0-3_armhf.deb | 2 | ·8bab94650580268ecdbd32c995683203·100884·libdevel·optional·libdune-grid-glue-dev_2.9.0-3_armhf.deb |
3 | · | 3 | ·c77edfe9895e4339588a912488b0ffa1·958912·doc·optional·libdune-grid-glue-doc_2.9.0-3_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2023-01-13·13:23:40.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2023-01-13·13:23:40.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····7 | 2 | -rw-r--r--···0········0········0·····7404·2023-01-13·13:23:40.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···951 | 3 | -rw-r--r--···0········0········0···951316·2023-01-13·13:23:40.000000·data.tar.xz |
Offset 48, 16 lines modified | Offset 48, 16 lines modified | ||
48 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html | 48 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html |
49 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html | 49 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html |
50 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html | 50 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html |
51 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html | 51 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html |
52 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | 52 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html |
53 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | 53 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html |
54 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | 54 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html |
55 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | ||
56 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | 55 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html |
56 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00080_source.html | ||
57 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html | 57 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html |
58 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html | 58 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html |
59 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html | 59 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html |
60 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html | 60 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html |
61 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html | 61 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html |
62 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html | 62 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html |
63 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html | 63 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html |
Offset 5, 77 lines modified | Offset 5, 77 lines modified | ||
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)······768·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)······768·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.Debian.gz |
7 | -rw-r--r--···0·root·········(0)·root·········(0)·····1157·2022-12-23·06:52:03.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····1157·2022-12-23·06:52:03.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.gz |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····2569·2023-01-12·15:07:38.000000·./usr/share/doc/libdune-grid-glue-doc/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····2569·2023-01-12·15:07:38.000000·./usr/share/doc/libdune-grid-glue-doc/copyright |
9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/ |
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7138·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002.html | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7138·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)····81665·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002_source.html | 11 | -rw-r--r--···0·root·········(0)·root·········(0)····81665·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002_source.html |
12 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····5453·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 13 | -rw-r--r--···0·root·········(0)·root·········(0)····27383·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005_source.html |
14 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····5797·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 15 | -rw-r--r--···0·root·········(0)·root·········(0)····52527·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008_source.html |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5609·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011.html | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5609·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011.html |
17 | -rw-r--r--···0·root·········(0)·root·········(0)····84446·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011_source.html | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····84446·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011_source.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)·····8112·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014.html | 18 | -rw-r--r--···0·root·········(0)·root·········(0)·····8112·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014.html |
19 | -rw-r--r--···0·root·········(0)·root·········(0)···119797·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014_source.html | 19 | -rw-r--r--···0·root·········(0)·root·········(0)···119797·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014_source.html |
20 | -rw-r--r--···0·root·········(0)·root·········(0)·····5797·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017.html | ||
21 | -rw-r--r--···0·root·········(0)·root·········(0)····52527·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017_source.html | ||
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····5453·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020.html | ||
23 | -rw-r--r--···0·root·········(0)·root·········(0)····27383·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020_source.html | ||
24 | -rw-r--r--···0·root·········(0)·root·········(0)····10871·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····10871·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017.html |
25 | -rw-r--r--···0·root·········(0)·root·········(0)····70887·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 21 | -rw-r--r--···0·root·········(0)·root·········(0)····70887·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017_source.html |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020.html | ||
23 | -rw-r--r--···0·root·········(0)·root·········(0)····16768·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020_source.html | ||
24 | -rw-r--r--···0·root·········(0)·root·········(0)·····6157·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023.html | ||
25 | -rw-r--r--···0·root·········(0)·root·········(0)····14373·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023_source.html | ||
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····5321·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026.html | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····5321·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026.html |
27 | -rw-r--r--···0·root·········(0)·root·········(0)····16899·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026_source.html | 27 | -rw-r--r--···0·root·········(0)·root·········(0)····16899·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026_source.html |
28 | -rw-r--r--···0·root·········(0)·root·········(0)·····6619·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029.html | ||
29 | -rw-r--r--···0·root·········(0)·root·········(0)·····9138·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029_source.html | ||
30 | -rw-r--r--···0·root·········(0)·root·········(0)·····5360·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00032.html | ||
31 | -rw-r--r--···0·root·········(0)·root·········(0)·····8500·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00032_source.html | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)·····7675·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····7675·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029.html |
33 | -rw-r--r--···0·root·········(0)·root·········(0)····11025·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 29 | -rw-r--r--···0·root·········(0)·root·········(0)····11025·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029_source.html |
34 | -rw-r--r--···0·root·········(0)·root·········(0)····11613·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0003 | 30 | -rw-r--r--···0·root·········(0)·root·········(0)····11613·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00032.html |
35 | -rw-r--r--···0·root·········(0)·root·········(0)····39771·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0003 | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····39771·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00032_source.html |
32 | -rw-r--r--···0·root·········(0)·root·········(0)·····5980·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035.html | ||
33 | -rw-r--r--···0·root·········(0)·root·········(0)····27621·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035_source.html | ||
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····5360·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038.html | ||
35 | -rw-r--r--···0·root·········(0)·root·········(0)·····8500·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038_source.html | ||
36 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····6619·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 37 | -rw-r--r--···0·root·········(0)·root·········(0)·····9138·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041_source.html |
38 | -rw-r--r--···0·root·········(0)·root·········(0)·····7370·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044.html | 38 | -rw-r--r--···0·root·········(0)·root·········(0)·····7370·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044.html |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····44830·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044_source.html | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····44830·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044_source.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····8136·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047.html | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····8136·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047.html |
41 | -rw-r--r--···0·root·········(0)·root·········(0)····72681·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047_source.html | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····72681·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047_source.html |
42 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 42 | -rw-r--r--···0·root·········(0)·root·········(0)·····8222·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00050.html |
43 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····30066·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00050_source.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····5429·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053.html |
45 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····44826·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053_source.html |
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····5388·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056.html | 46 | -rw-r--r--···0·root·········(0)·root·········(0)·····5388·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056.html |
47 | -rw-r--r--···0·root·········(0)·root·········(0)····50226·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056_source.html | 47 | -rw-r--r--···0·root·········(0)·root·········(0)····50226·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056_source.html |
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····5562·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00059.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)····44826·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00059_source.html | ||
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····5562·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062.html | ||
51 | -rw-r--r--···0·root·········(0)·root·········(0)····72929·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 49 | -rw-r--r--···0·root·········(0)·root·········(0)····72929·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00059_source.html |
52 | -rw-r--r--···0·root·········(0)·root·········(0)····11543·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00065.html | ||
53 | -rw-r--r--···0·root·········(0)·root·········(0)···239992·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00065_source.html | ||
54 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8206·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 51 | -rw-r--r--···0·root·········(0)·root·········(0)····96800·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062_source.html |
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····4310·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····4310·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00065.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)····55659·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 53 | -rw-r--r--···0·root·········(0)·root·········(0)····55659·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00065_source.html |
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····6080·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)····59845·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····5357·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)····22694·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····10146·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | ||
63 | -rw-r--r--···0·root·········(0)·root·········(0)·····5930·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html | ||
64 | -rw-r--r--···0·root·········(0)·root·········(0)····19310·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html | ||
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····4559·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····4559·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)····63705·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 55 | -rw-r--r--···0·root·········(0)·root·········(0)····63705·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html |
67 | -rw-r--r--···0·root·········(0)·root·········(0)·····6348·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····6348·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)····45998·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 57 | -rw-r--r--···0·root·········(0)·root·········(0)····45998·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html |
58 | -rw-r--r--···0·root·········(0)·root·········(0)····12399·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)···149554·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)····10146·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····5930·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····19310·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080_source.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····5484·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 63 | -rw-r--r--···0·root·········(0)·root·········(0)·····5484·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)····36322·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 64 | -rw-r--r--···0·root·········(0)·root·········(0)····36322·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5357·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 66 | -rw-r--r--···0·root·········(0)·root·········(0)····22694·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····6647·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)·····6647·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)····36462·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 68 | -rw-r--r--···0·root·········(0)·root·········(0)····36462·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html |
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····6080·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)····59845·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092_source.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)····11543·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00095.html | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)···239992·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00095_source.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····5967·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00098.html | ||
74 | -rw-r--r--···0·root·········(0)·root·········(0)····37342·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00098_source.html | ||
75 | -rw-r--r--···0·root·········(0)·root·········(0)·····5859·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00101.html | 75 | -rw-r--r--···0·root·········(0)·root·········(0)·····5859·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00101.html |
76 | -rw-r--r--···0·root·········(0)·root·········(0)·····4619·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00103.html | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····4619·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00103.html |
77 | -rw-r--r--···0·root·········(0)·root·········(0)····67072·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00104.html | 77 | -rw-r--r--···0·root·········(0)·root·········(0)····67072·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00104.html |
78 | -rw-r--r--···0·root·········(0)·root·········(0)·····5774·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00105.html | 78 | -rw-r--r--···0·root·········(0)·root·········(0)·····5774·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00105.html |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····15143·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00106.html | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····15143·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00106.html |
80 | -rw-r--r--···0·root·········(0)·root·········(0)····13626·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00107.html | 80 | -rw-r--r--···0·root·········(0)·root·········(0)····13626·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00107.html |
81 | -rw-r--r--···0·root·········(0)·root·········(0)·····6280·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00108.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)·····6280·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00108.html |
Offset 226, 15 lines modified | Offset 226, 15 lines modified | ||
226 | -rw-r--r--···0·root·········(0)·root·········(0)·····6780·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238.html | 226 | -rw-r--r--···0·root·········(0)·root·········(0)·····6780·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238.html |
227 | -rw-r--r--···0·root·········(0)·root·········(0)·····2198·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238_dep.png | 227 | -rw-r--r--···0·root·········(0)·root·········(0)·····2198·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238_dep.png |
228 | -rw-r--r--···0·root·········(0)·root·········(0)·····7640·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de.html | 228 | -rw-r--r--···0·root·········(0)·root·········(0)·····7640·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de.html |
229 | -rw-r--r--···0·root·········(0)·root·········(0)····13471·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de_dep.png | 229 | -rw-r--r--···0·root·········(0)·root·········(0)····13471·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de_dep.png |
230 | -rw-r--r--···0·root·········(0)·root·········(0)·····6670·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4.html | 230 | -rw-r--r--···0·root·········(0)·root·········(0)·····6670·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4.html |
231 | -rw-r--r--···0·root·········(0)·root·········(0)·····7018·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4_dep.png | 231 | -rw-r--r--···0·root·········(0)·root·········(0)·····7018·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4_dep.png |
232 | -rw-r--r--···0·root·········(0)·root·········(0)····45631·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/doxygen.css | 232 | -rw-r--r--···0·root·········(0)·root·········(0)····45631·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/doxygen.css |
233 | -rw-r--r--···0·root·········(0)·root·········(0)····2705 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)····27051·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dune-grid-glue.tag.gz |
234 | -rw-r--r--···0·root·········(0)·root·········(0)·····7704·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dynsections.js | 234 | -rw-r--r--···0·root·········(0)·root·········(0)·····7704·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dynsections.js |
235 | -rw-r--r--···0·root·········(0)·root·········(0)····15973·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/files.html | 235 | -rw-r--r--···0·root·········(0)·root·········(0)····15973·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/files.html |
236 | -rw-r--r--···0·root·········(0)·root·········(0)·····3221·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions.html | 236 | -rw-r--r--···0·root·········(0)·root·········(0)·····3221·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions.html |
237 | -rw-r--r--···0·root·········(0)·root·········(0)·····3786·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_b.html | 237 | -rw-r--r--···0·root·········(0)·root·········(0)·····3786·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_b.html |
238 | -rw-r--r--···0·root·········(0)·root·········(0)····13456·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_c.html | 238 | -rw-r--r--···0·root·········(0)·root·········(0)····13456·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_c.html |
239 | -rw-r--r--···0·root·········(0)·root·········(0)·····4846·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_d.html | 239 | -rw-r--r--···0·root·········(0)·root·········(0)·····4846·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_d.html |
240 | -rw-r--r--···0·root·········(0)·root·········(0)·····6112·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_e.html | 240 | -rw-r--r--···0·root·········(0)·root·········(0)·····6112·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_e.html |
Offset 87, 28 lines modified | Offset 87, 28 lines modified | ||
87 | <code>#include·<type_traits></code><br·/> | 87 | <code>#include·<type_traits></code><br·/> |
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | 88 | <code>#include·<dune/common/deprecated.hh></code><br·/> |
89 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 89 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
90 | <code>#include·<dune/common/iteratorfacades.hh></code><br·/> | 90 | <code>#include·<dune/common/iteratorfacades.hh></code><br·/> |
91 | <code>#include·<dune/common/promotiontraits.hh></code><br·/> | 91 | <code>#include·<dune/common/promotiontraits.hh></code><br·/> |
92 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> | 92 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> |
93 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | 93 | <code>#include·<dune/common/stdstreams.hh></code><br·/> |
94 | <code>#include·"<a·class="el"·href="a000 | 94 | <code>#include·"<a·class="el"·href="a00017_source.html">adapter/gridgluecommunicate.hh</a>"</code><br·/> |
95 | <code>#include·<<a·class="el"·href="a000 | 95 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/grid-glue/merging/merger.hh</a>></code><br·/> |
96 | <code>#include·<dune/common/parallel/mpitraits.hh></code><br·/> | 96 | <code>#include·<dune/common/parallel/mpitraits.hh></code><br·/> |
97 | <code>#include·<dune/common/parallel/mpicommunication.hh></code><br·/> | 97 | <code>#include·<dune/common/parallel/mpicommunication.hh></code><br·/> |
98 | <code>#include·<dune/common/parallel/indexset.hh></code><br·/> | 98 | <code>#include·<dune/common/parallel/indexset.hh></code><br·/> |
99 | <code>#include·<dune/common/parallel/plocalindex.hh></code><br·/> | 99 | <code>#include·<dune/common/parallel/plocalindex.hh></code><br·/> |
100 | <code>#include·<dune/common/parallel/remoteindices.hh></code><br·/> | 100 | <code>#include·<dune/common/parallel/remoteindices.hh></code><br·/> |
101 | <code>#include·<dune/common/parallel/communicator.hh></code><br·/> | 101 | <code>#include·<dune/common/parallel/communicator.hh></code><br·/> |
102 | <code>#include·<dune/common/parallel/interface.hh></code><br·/> | 102 | <code>#include·<dune/common/parallel/interface.hh></code><br·/> |
103 | <code>#include·"<a·class="el"·href="a000 | 103 | <code>#include·"<a·class="el"·href="a00023_source.html">adapter/rangegenerators.hh</a>"</code><br·/> |
104 | <code>#include·"<a·class="el"·href="a00011_source.html">adapter/gridglue.cc</a>"</code><br·/> | 104 | <code>#include·"<a·class="el"·href="a00011_source.html">adapter/gridglue.cc</a>"</code><br·/> |
105 | <code>#include·"<a·class="el"·href="a00014_source.html">adapter/intersection.hh</a>"</code><br·/> | 105 | <code>#include·"<a·class="el"·href="a00014_source.html">adapter/intersection.hh</a>"</code><br·/> |
106 | <code>#include·"<a·class="el"·href="a00026_source.html">adapter/intersectioniterator.hh</a>"</code><br·/> | 106 | <code>#include·"<a·class="el"·href="a00026_source.html">adapter/intersectioniterator.hh</a>"</code><br·/> |
107 | <code>#include·"<a·class="el"·href="a000 | 107 | <code>#include·"<a·class="el"·href="a00020_source.html">adapter/intersectionindexset.hh</a>"</code><br·/> |
108 | </div> | 108 | </div> |
109 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> | 109 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> |
110 | <table·class="memberdecls"> | 110 | <table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
112 | Classes</h2></td></tr> | 112 | Classes</h2></td></tr> |
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00926.html">Dune::GridGlue::GridGlue<·P0,·P1·></a></td></tr> | 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00926.html">Dune::GridGlue::GridGlue<·P0,·P1·></a></td></tr> |
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries··<a·href="a00926.html#details">More...</a><br·/></td></tr> | 114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries··<a·href="a00926.html#details">More...</a><br·/></td></tr> |
Offset 95, 16 lines modified | Offset 95, 16 lines modified | ||
95 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | 95 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> |
96 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 96 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/common/iteratorfacades.hh></span></div> | 97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/common/iteratorfacades.hh></span></div> |
98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/common/promotiontraits.hh></span></div> | 98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<dune/common/promotiontraits.hh></span></div> |
99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/common/shared_ptr.hh></span></div> | 99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/common/shared_ptr.hh></span></div> |
100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/stdstreams.hh></span></div> | 100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/stdstreams.hh></span></div> |
101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"<a·class="code"·href="a000 | 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"<a·class="code"·href="a00017.html">adapter/gridgluecommunicate.hh</a>"</span></div> |
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/grid-glue/merging/merger.hh</a>></span></div> |
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/parallel/mpitraits.hh></span></div> | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/parallel/mpitraits.hh></span></div> |
106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/parallel/mpicommunication.hh></span></div> | 106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/parallel/mpicommunication.hh></span></div> |
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/common/parallel/indexset.hh></span></div> | 107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/common/parallel/indexset.hh></span></div> |
108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/common/parallel/plocalindex.hh></span></div> | 108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/common/parallel/plocalindex.hh></span></div> |
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<dune/common/parallel/remoteindices.hh></span></div> | 109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<dune/common/parallel/remoteindices.hh></span></div> |
110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<dune/common/parallel/communicator.hh></span></div> | 110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<dune/common/parallel/communicator.hh></span></div> |
Offset 391, 30 lines modified | Offset 391, 30 lines modified | ||
391 | </div> | 391 | </div> |
392 | <div·class="line"><a·id="l00399"·name="l00399"></a><span·class="lineno">··399</span>·</div> | 392 | <div·class="line"><a·id="l00399"·name="l00399"></a><span·class="lineno">··399</span>·</div> |
393 | <div·class="line"><a·id="l00400"·name="l00400"></a><span·class="lineno">··400</span>}·<span·class="comment">//·end·namespace·GridGlue</span></div> | 393 | <div·class="line"><a·id="l00400"·name="l00400"></a><span·class="lineno">··400</span>}·<span·class="comment">//·end·namespace·GridGlue</span></div> |
394 | </div> | 394 | </div> |
395 | <div·class="line"><a·id="l00401"·name="l00401"></a><span·class="lineno">··401</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | 395 | <div·class="line"><a·id="l00401"·name="l00401"></a><span·class="lineno">··401</span>}·<span·class="comment">//·end·namespace·Dune</span></div> |
396 | </div> | 396 | </div> |
397 | <div·class="line"><a·id="l00402"·name="l00402"></a><span·class="lineno">··402</span>·</div> | 397 | <div·class="line"><a·id="l00402"·name="l00402"></a><span·class="lineno">··402</span>·</div> |
398 | <div·class="line"><a·id="l00403"·name="l00403"></a><span·class="lineno">··403</span><span·class="preprocessor">#include·"<a·class="code"·href="a000 | 398 | <div·class="line"><a·id="l00403"·name="l00403"></a><span·class="lineno">··403</span><span·class="preprocessor">#include·"<a·class="code"·href="a00023.html">adapter/rangegenerators.hh</a>"</span></div> |
399 | <div·class="line"><a·id="l00404"·name="l00404"></a><span·class="lineno">··404</span>·</div> | 399 | <div·class="line"><a·id="l00404"·name="l00404"></a><span·class="lineno">··404</span>·</div> |
400 | <div·class="line"><a·id="l00405"·name="l00405"></a><span·class="lineno">··405</span><span·class="preprocessor">#include·"<a·class="code"·href="a00011.html">adapter/gridglue.cc</a>"</span></div> | 400 | <div·class="line"><a·id="l00405"·name="l00405"></a><span·class="lineno">··405</span><span·class="preprocessor">#include·"<a·class="code"·href="a00011.html">adapter/gridglue.cc</a>"</span></div> |
401 | <div·class="line"><a·id="l00406"·name="l00406"></a><span·class="lineno">··406</span>·</div> | 401 | <div·class="line"><a·id="l00406"·name="l00406"></a><span·class="lineno">··406</span>·</div> |
402 | <div·class="line"><a·id="l00407"·name="l00407"></a><span·class="lineno">··407</span><span·class="preprocessor">#include·"<a·class="code"·href="a00014.html">adapter/intersection.hh</a>"</span></div> | 402 | <div·class="line"><a·id="l00407"·name="l00407"></a><span·class="lineno">··407</span><span·class="preprocessor">#include·"<a·class="code"·href="a00014.html">adapter/intersection.hh</a>"</span></div> |
403 | <div·class="line"><a·id="l00408"·name="l00408"></a><span·class="lineno">··408</span><span·class="preprocessor">#include·"<a·class="code"·href="a00026.html">adapter/intersectioniterator.hh</a>"</span></div> | 403 | <div·class="line"><a·id="l00408"·name="l00408"></a><span·class="lineno">··408</span><span·class="preprocessor">#include·"<a·class="code"·href="a00026.html">adapter/intersectioniterator.hh</a>"</span></div> |
404 | <div·class="line"><a·id="l00409"·name="l00409"></a><span·class="lineno">··409</span><span·class="preprocessor">#include·"<a·class="code"·href="a000 | 404 | <div·class="line"><a·id="l00409"·name="l00409"></a><span·class="lineno">··409</span><span·class="preprocessor">#include·"<a·class="code"·href="a00020.html">adapter/intersectionindexset.hh</a>"</span></div> |
405 | <div·class="line"><a·id="l00410"·name="l00410"></a><span·class="lineno">··410</span>·</div> | 405 | <div·class="line"><a·id="l00410"·name="l00410"></a><span·class="lineno">··410</span>·</div> |
406 | <div·class="line"><a·id="l00411"·name="l00411"></a><span·class="lineno">··411</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_GRIDGLUE_HH</span></div> | 406 | <div·class="line"><a·id="l00411"·name="l00411"></a><span·class="lineno">··411</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_GRIDGLUE_HH</span></div> |
407 | <div·class="ttc"·id="aa00005_html"><div·class="ttname"><a·href="a00005.html">intersectionindexset.hh</a></div></div> | ||
408 | <div·class="ttc"·id="aa00008_html"><div·class="ttname"><a·href="a00008.html">rangegenerators.hh</a></div></div> | ||
409 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">gridglue.cc</a></div></div> | 407 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">gridglue.cc</a></div></div> |
410 | <div·class="ttc"·id="aa00014_html"><div·class="ttname"><a·href="a00014.html">intersection.hh</a></div><div·class="ttdoc">Model·of·the·Intersection·concept·provided·by·GridGlue.</div></div> | 408 | <div·class="ttc"·id="aa00014_html"><div·class="ttname"><a·href="a00014.html">intersection.hh</a></div><div·class="ttdoc">Model·of·the·Intersection·concept·provided·by·GridGlue.</div></div> |
411 | <div·class="ttc"·id="aa000 | 409 | <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">gridgluecommunicate.hh</a></div><div·class="ttdoc">Describes·the·parallel·communication·interface·class·for·Dune::GridGlue.</div></div> |
410 | <div·class="ttc"·id="aa00020_html"><div·class="ttname"><a·href="a00020.html">intersectionindexset.hh</a></div></div> | ||
411 | <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">rangegenerators.hh</a></div></div> | ||
412 | <div·class="ttc"·id="aa00026_html"><div·class="ttname"><a·href="a00026.html">intersectioniterator.hh</a></div><div·class="ttdoc">Implement·iterators·over·GridGlue·intersections.</div></div> | 412 | <div·class="ttc"·id="aa00026_html"><div·class="ttname"><a·href="a00026.html">intersectioniterator.hh</a></div><div·class="ttdoc">Implement·iterators·over·GridGlue·intersections.</div></div> |
413 | <div·class="ttc"·id="aa000 | 413 | <div·class="ttc"·id="aa00086_html"><div·class="ttname"><a·href="a00086.html">merger.hh</a></div></div> |
414 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> | 414 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> |
415 | <div·class="ttc"·id="aa00926_html"><div·class="ttname"><a·href="a00926.html">Dune::GridGlue::GridGlue</a></div><div·class="ttdoc">sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:67</div></div> | 415 | <div·class="ttc"·id="aa00926_html"><div·class="ttname"><a·href="a00926.html">Dune::GridGlue::GridGlue</a></div><div·class="ttdoc">sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:67</div></div> |
416 | <div·class="ttc"·id="aa00926_html_a0f4ff8c6d5b6f6d41d394dc7fb78b0ae"><div·class="ttname"><a·href="a00926.html#a0f4ff8c6d5b6f6d41d394dc7fb78b0ae">Dune::GridGlue::GridGlue::Coords</a></div><div·class="ttdeci">Dune::FieldVector<·ctype,·dimworld·>·Coords</div><div·class="ttdoc">The·type·used·for·coordinate·vectors.</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:174</div></div> | 416 | <div·class="ttc"·id="aa00926_html_a0f4ff8c6d5b6f6d41d394dc7fb78b0ae"><div·class="ttname"><a·href="a00926.html#a0f4ff8c6d5b6f6d41d394dc7fb78b0ae">Dune::GridGlue::GridGlue::Coords</a></div><div·class="ttdeci">Dune::FieldVector<·ctype,·dimworld·>·Coords</div><div·class="ttdoc">The·type·used·for·coordinate·vectors.</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:174</div></div> |
417 | <div·class="ttc"·id="aa00926_html_a11d63fd9c8bc8f4dc6387bef5ee761c5"><div·class="ttname"><a·href="a00926.html#a11d63fd9c8bc8f4dc6387bef5ee761c5">Dune::GridGlue::GridGlue::getIntersection</a></div><div·class="ttdeci">Intersection·getIntersection(int·i)·const</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:388</div></div> | 417 | <div·class="ttc"·id="aa00926_html_a11d63fd9c8bc8f4dc6387bef5ee761c5"><div·class="ttname"><a·href="a00926.html#a11d63fd9c8bc8f4dc6387bef5ee761c5">Dune::GridGlue::GridGlue::getIntersection</a></div><div·class="ttdeci">Intersection·getIntersection(int·i)·const</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:388</div></div> |
418 | <div·class="ttc"·id="aa00926_html_a13fb6590323d2065bfd866b5b7ec3a8b"><div·class="ttname"><a·href="a00926.html#a13fb6590323d2065bfd866b5b7ec3a8b">Dune::GridGlue::GridGlue::Grid1Vertex</a></div><div·class="ttdeci">GridVertex<·1·>·Grid1Vertex</div><div·class="ttdoc">The·type·of·the·Grid1·vertices.</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:194</div></div> | 418 | <div·class="ttc"·id="aa00926_html_a13fb6590323d2065bfd866b5b7ec3a8b"><div·class="ttname"><a·href="a00926.html#a13fb6590323d2065bfd866b5b7ec3a8b">Dune::GridGlue::GridGlue::Grid1Vertex</a></div><div·class="ttdeci">GridVertex<·1·>·Grid1Vertex</div><div·class="ttdoc">The·type·of·the·Grid1·vertices.</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:194</div></div> |
419 | <div·class="ttc"·id="aa00926_html_a1aa14f19afbb40fd14c67868b4c655df"><div·class="ttname"><a·href="a00926.html#a1aa14f19afbb40fd14c67868b4c655df">Dune::GridGlue::GridGlue::IndexSet</a></div><div·class="ttdeci">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·>·IndexSet</div><div·class="ttdoc">Type·of·remote·intersection·indexSet.</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:206</div></div> | 419 | <div·class="ttc"·id="aa00926_html_a1aa14f19afbb40fd14c67868b4c655df"><div·class="ttname"><a·href="a00926.html#a1aa14f19afbb40fd14c67868b4c655df">Dune::GridGlue::GridGlue::IndexSet</a></div><div·class="ttdeci">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·>·IndexSet</div><div·class="ttdoc">Type·of·remote·intersection·indexSet.</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:206</div></div> |
420 | <div·class="ttc"·id="aa00926_html_a1b4f3fb839fea223e126c0279c14bbcb"><div·class="ttname"><a·href="a00926.html#a1b4f3fb839fea223e126c0279c14bbcb">Dune::GridGlue::GridGlue::IndexType</a></div><div·class="ttdeci">unsigned·int·IndexType</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:147</div></div> | 420 | <div·class="ttc"·id="aa00926_html_a1b4f3fb839fea223e126c0279c14bbcb"><div·class="ttname"><a·href="a00926.html#a1b4f3fb839fea223e126c0279c14bbcb">Dune::GridGlue::GridGlue::IndexType</a></div><div·class="ttdeci">unsigned·int·IndexType</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:147</div></div> |
Offset 322, 21 lines modified | Offset 322, 21 lines modified | ||
322 | 405#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c" | 322 | 405#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c" |
323 | 406 | 323 | 406 |
324 | 407#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | 324 | 407#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" |
325 | 408#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | 325 | 408#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" |
326 | 409#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h" | 326 | 409#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h" |
327 | 410 | 327 | 410 |
328 | 411#endif·//·DUNE_GRIDGLUE_GRIDGLUE_HH | 328 | 411#endif·//·DUNE_GRIDGLUE_GRIDGLUE_HH |
329 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h | ||
330 | _\x8r_\x8a_\x8n_\x8g_\x8e_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8s_\x8._\x8h_\x8h | ||
331 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c | 329 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c |
332 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h | 330 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h |
333 | Model·of·the·Intersection·concept·provided·by·GridGlue. | 331 | Model·of·the·Intersection·concept·provided·by·GridGlue. |
334 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e_\x8._\x8h_\x8h | 332 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e_\x8._\x8h_\x8h |
335 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | 333 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. |
334 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h | ||
335 | _\x8r_\x8a_\x8n_\x8g_\x8e_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8s_\x8._\x8h_\x8h | ||
336 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h | 336 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h |
337 | Implement·iterators·over·GridGlue·intersections. | 337 | Implement·iterators·over·GridGlue·intersections. |
338 | _\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h | 338 | _\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h |
339 | _\x8D_\x8u_\x8n_\x8e | 339 | _\x8D_\x8u_\x8n_\x8e |
340 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 | 340 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 |
341 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 341 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
342 | sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries | 342 | sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·gridglueamirawriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 34 lines modified | Offset 72, 41 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">gridglueamirawriter.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·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/grid-glue/adapter/intersection.hh</a>></code><br·/> | ||
82 | <p>Write·all·remote·intersections·to·a·AmiraMesh·file.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·<fstream></code><br·/> | ||
85 | <code>#include·<sstream></code><br·/> | ||
86 | <code>#include·<type_traits></code><br·/> | ||
84 | </div> | 87 | </div> |
85 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
87 | <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> |
88 | Classes</h2></td></tr> | 91 | 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="a0094 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00946.html">Dune::GridGlue::GridGlueAmiraWriter</a></td></tr> |
93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes.··<a·href="a00946.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> |
91 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 97 | Namespaces</h2></td></tr> |
94 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 98 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 100 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table> | 102 | </table> |
103 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
104 | <div·class="textblock"><p>Write·all·remote·intersections·to·a·AmiraMesh·file.·</p> | ||
99 | </div><!--·contents·--> | 105 | </div></div><!--·contents·--> |
100 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
101 | <hr·class="footer"/><address·class="footer"><small> | 107 | <hr·class="footer"/><address·class="footer"><small> |
102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.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 |
103 | </small></address> | 109 | </small></address> |
104 | </body> | 110 | </body> |
105 | </html> | 111 | </html> |
Offset 2, 21 lines modified | Offset 2, 27 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | intersectionindexset.hh·File·Reference | ||
10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
11 | 9 | gridglueamirawriter.hh·File·Reference | |
10 | Write·all·remote·intersections·to·a·AmiraMesh·file.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<sstream> | ||
13 | #include·<type_traits> | ||
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_.r_.i_.d_.G_.l_.u_.e_.A_.m_.i_.r_.a_.W_.r_.i_.t_.e_.r |
17 | ·······Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes. | ||
18 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | 19 | ||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
18 | 22 | ||
19 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
20 | 24 | ||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
26 | Write·all·remote·intersections·to·a·AmiraMesh·file. | ||
21 | =============================================================================== | 27 | =============================================================================== |
22 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·gridglueamirawriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 87 lines modified | Offset 74, 166 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">gridglueamirawriter.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"> | 83 | <a·href="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l0000 | 85 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH</span></div> |
86 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH</span></div> |
87 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/grid-glue/adapter/intersection.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<fstream></span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">//·we·currently·support·only·one·intersection·type.·If·we·want·to·support·more,</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">//·we·have·to·think·about·the·semantics·of·our·IndexSet</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor"># | 89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<sstream></span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor"># | 90 | <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>·</div> | 91 | <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="a00103.html">Dune</a>·{</div> | 92 | <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="a00103.html">Dune</a>·{</div> |
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span> | 93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 94 | <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="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
101 | <div·class="foldopen"·id="foldopen000 | 95 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="};"> |
102 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00946.html">···20</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00946.html">GridGlueAmiraWriter</a></div> |
103 | <div·class="line"><a·id="l0002 | 97 | <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>············<span·class="keyword">friend</span>·class·::Dune::GridGlue::GridGlue<P0,P1>;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>············typedef·::Dune::GridGlue::GridGlue<P0,P1>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>;</div> | ||
106 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
107 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>·<<span·class="keyword">class</span>·Glue,·<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> |
100 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·writeIntersections(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·filename)</div> | ||
108 | <div·class="line"><a·id="l0002 | 101 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div> |
102 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">static_assert</span>((side==0·||·side==1),·<span·class="stringliteral">"'side'·can·only·be·0·or·1"</span>);</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">···27</a></span>············<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00926.html#a1b4f3fb839fea223e126c0279c14bbcb">GridGlue::IndexType</a>·<a·class="code·hl_typedef"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a>;</div> | ||
110 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">···29</a></span>············<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a>;</div> | ||
111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 103 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
104 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····std::ofstream·fgrid;</div> | ||
112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>············<span·class="keyword">template</span><<span·class="keywordtype">int</span>·I,·<span·class="keywordtype">int</span>·O></div> | ||
113 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
114 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00942.html#a99675cfe98d9454136be2f2c3ea65cf1">···34</a></span>············<a·class="code·hl_typedef"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a>·<a·class="code·hl_function"·href="a00942.html#a99675cfe98d9454136be2f2c3ea65cf1">index</a>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00934.html">Intersection<P0,P1,I,O></a>·&·i)<span·class="keyword">·const</span></div> | ||
115 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">············</span>{</div> | ||
116 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>················<span·class="keywordflow">return</span>·i.i_-><a·class="code·hl_variable"·href="a00930.html#acd2845472ab276c8ee95325a1ad8015a">index_</a>;</div> | ||
117 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
118 | </div> | 106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····fgrid.open(filename.c_str());</div> |
107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
108 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
109 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GridView::dimension;</div> | ||
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·domdimw·=·GridView::dimensionworld;</div> | ||
119 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
120 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> | ||
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a00942.html#a1979718c2ed6fd5d90845577a20ce750">···41</a></span>············<a·class="code·hl_typedef"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a>·<a·class="code·hl_function"·href="a00942.html#a1979718c2ed6fd5d90845577a20ce750">size</a>·()<span·class="keyword">·const</span></div> | ||
122 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·coordinates·have·to·be·in·R^3·in·the·VTK·format</span></div> |
123 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····std::string·coordinatePadding;</div> |
114 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=domdimw;·i<3;·i++)</div> | ||
115 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> | ||
124 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
125 | </div> | 117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordtype">int</span>·overlaps·=·glue.size();</div> |
126 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
127 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">if</span>·(dim==3)·{</div> |
128 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
129 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>············<a·class="code·hl_class"·href="a00942.html">IntersectionIndexSet</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>·*·g)·:</div> | ||
130 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······fgrid·<<·<span·class="stringliteral">"#·HyperSurface·0.1·ASCII·\n"</span>·<<·std::endl;</div> |
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······fgrid<<<span·class="stringliteral">"Parameters·{\n"</span>;</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······fgrid<<<span·class="stringliteral">"····Materials·{\n"</span>;</div> | ||
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······fgrid<<<span·class="stringliteral">"········outside·{\n"</span>;</div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······fgrid<<<span·class="stringliteral">"············Id·0\n"</span>;</div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······fgrid<<<span·class="stringliteral">"········}\n"</span>;</div> | ||
128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······fgrid<<<span·class="stringliteral">"········inside·{\n"</span>;</div> | ||
129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······fgrid<<<span·class="stringliteral">"············Id·1\n"</span>;</div> | ||
130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······fgrid<<<span·class="stringliteral">"········}\n"</span>;</div> | ||
131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······fgrid<<<span·class="stringliteral">"····}\n"</span>;</div> | ||
132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······fgrid<<<span·class="stringliteral">"}\n"</span>;</div> | ||
131 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
132 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//···Write·vertices</span></div> |
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
133 | <div·class="line"><a·id="l000 | 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="comment">//use·dim·and·not·dim+1</span></div> | ||
140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······fgrid<<<span·class="stringliteral">"\nVertices·"</span><<·overlaps*(dim)<<<span·class="stringliteral">"\n"</span>;</div> | ||
141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keyword">auto</span>·isEnd·=·glue.template·iend<side>();</div> | ||
142 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt)</div> | ||
143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div> | ||
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·geometry·=·isIt->geometry();</div> | ||
145 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i)</div> | ||
146 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······}</div> | ||
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
150 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="comment">//···Write·triangles</span></div> | ||
151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······fgrid<<<span·class="stringliteral">"NBranchingPoints·0\n"</span>;</div> | ||
154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······fgrid<<<span·class="stringliteral">"NVerticesOnCurves·0\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······fgrid<<<span·class="stringliteral">"BoundaryCurves·0\n"</span>;</div> | ||
156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······fgrid<<<span·class="stringliteral">"Patches·1\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······fgrid<<<span·class="stringliteral">"{\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······fgrid<<<span·class="stringliteral">"InnerRegion·inside\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······fgrid<<<span·class="stringliteral">"OuterRegion·outside\n"</span>;</div> | ||
160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······fgrid<<<span·class="stringliteral">"BoundaryID·0\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······fgrid<<<span·class="stringliteral">"BranchingPoints·0"</span>;</div> | ||
162 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
163 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
164 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······fgrid<<<span·class="stringliteral">"Triangles·"</span><<overlaps<<std::endl;</div> | ||
165 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
Max diff block lines reached; 4314/37944 bytes (11.37%) of diff not shown. |
Offset 1, 105 lines modified | Offset 1, 165 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | gridglueamirawriter.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 8#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
15 | 9#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
16 | 10 | ||
17 | 11#include·<fstream> | ||
18 | 12#include·<sstream> | ||
19 | 13#include·<type_traits> | ||
14 | 3#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
15 | 4#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
16 | 5 | ||
17 | 6#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
18 | 7#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
19 | 8 | ||
20 | 9#ifndef·ONLY_SIMPLEX_INTERSECTIONS | ||
21 | 10//·we·currently·support·only·one·intersection·type.·If·we·want·to·support | ||
22 | more, | ||
23 | 11//·we·have·to·think·about·the·semantics·of·our·IndexSet | ||
24 | 12#error·Not·Implemented | ||
25 | 13#endif | ||
26 | 14 | 20 | 14 |
27 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ | 21 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ |
28 | 16 | 22 | 16namespace·GridGlue·{ |
29 | 17 | 23 | 17 |
30 | 18·template<typename·P0,·typename·P1> | ||
31 | _\x8 | 24 | _\x82_.0class·_.G_.r_.i_.d_.G_.l_.u_.e_.A_.m_.i_.r_.a_.W_.r_.i_.t_.e_.r |
25 | 21{ | ||
26 | 22 | ||
27 | 26·template·<class·Glue,·int·side> | ||
28 | 27·static·void·writeIntersections(const·Glue&·glue,·const·std::string& | ||
29 | filename) | ||
32 | 2 | 30 | 28·{ |
31 | 29·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
33 | 21·friend·class·::Dune::GridGlue::GridGlue<P0,P1>; | ||
34 | 22·typedef·::Dune::GridGlue::GridGlue<P0,P1>·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e; | ||
35 | 23 | ||
36 | 24·public: | ||
37 | 25 | ||
38 | _\x82_\x87·typedef·typename·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
39 | _\x82_\x89·typedef·size_t·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e; | ||
40 | 30 | 32 | 30 |
41 | 33·template<int·I,·int·O> | ||
42 | _\x83_\x84·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8i_\x8n_\x8d_\x8e_\x8x·(const·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8P_\x80_\x8,_\x8P_\x81_\x8,_\x8I_\x8,_\x8O_\x8>·&·i)·const | ||
43 | 35·{ | ||
44 | 36·return·i.i_->_\x8i_\x8n_\x8d_\x8e_\x8x_\x8_; | ||
45 | 3 | 33 | 31·std::ofstream·fgrid; |
34 | 32 | ||
35 | 33·fgrid.open(filename.c_str()); | ||
36 | 34 | ||
37 | 35·using·GridView·=·typename·Glue::template·GridView<side>; | ||
38 | 36·const·int·dim·=·GridView::dimension; | ||
39 | 37·const·int·domdimw·=·GridView::dimensionworld; | ||
46 | 38 | 40 | 38 |
47 | _\x84_\x81·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e·()·const | ||
48 | 42·{ | ||
49 | 43·return·glue_->_\x8s_\x8i_\x8z_\x8e(); | ||
50 | 41 | 39·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | |
42 | 40·std::string·coordinatePadding; | ||
43 | 41·for·(int·i=domdimw;·i<3;·i++) | ||
44 | 42·coordinatePadding·+=·"·0"; | ||
45 | 43 | ||
46 | 44·int·overlaps·=·glue.size(); | ||
51 | 45 | 47 | 45 |
52 | 46· | 48 | 46·if·(dim==3)·{ |
53 | 47 | 49 | 47 |
54 | 49·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·*·g)·: | ||
55 | 50·glue_(g)·{} | ||
56 | 51 | ||
57 | 52·const·GridGlue·*·glue_; | ||
58 | 53·}; | ||
59 | 50 | 48·fgrid·<<·"#·HyperSurface·0.1·ASCII·\n"·<<·std::endl; | |
51 | 49·fgrid<<"\n"; | ||
52 | 50·fgrid<<"Parameters·{\n"; | ||
53 | 51·fgrid<<"·Materials·{\n"; | ||
54 | 52·fgrid<<"·outside·{\n"; | ||
55 | 53·fgrid<<"·Id·0\n"; | ||
56 | 54·fgrid<<"·}\n"; | ||
57 | 55·fgrid<<"·inside·{\n"; | ||
58 | 56·fgrid<<"·Id·1\n"; | ||
59 | 57·fgrid<<"·}\n"; | ||
60 | 58·fgrid<<"·}\n"; | ||
61 | 59·fgrid<<"\n"; | ||
62 | 60·fgrid<<"}\n"; | ||
63 | 61 | ||
64 | 62·//·//////////////////////////////////////////// | ||
65 | 63·//·Write·vertices | ||
66 | 64·//·//////////////////////////////////////////// | ||
67 | 65 | ||
68 | 66·//use·dim·and·not·dim+1 | ||
69 | 67·fgrid<<"\nVertices·"<<·overlaps*(dim)<<"\n"; | ||
70 | 68·auto·isEnd·=·glue.template·iend<side>(); | ||
71 | 69·for·(auto·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt) | ||
72 | 70·{ | ||
73 | 71·const·auto&·geometry·=·isIt->geometry(); | ||
74 | 72·for·(int·i·=·0;·i·<·geometry.corners();·++i) | ||
75 | 73·fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl; | ||
76 | 74·} | ||
77 | 75 | ||
78 | 76·//·//////////////////////////////////////////// | ||
79 | 77·//·Write·triangles | ||
80 | 78·//·//////////////////////////////////////////// | ||
81 | 79 | ||
82 | 80·fgrid<<"NBranchingPoints·0\n"; | ||
83 | 81·fgrid<<"NVerticesOnCurves·0\n"; | ||
84 | 82·fgrid<<"BoundaryCurves·0\n"; | ||
85 | 83·fgrid<<"Patches·1\n"; | ||
86 | 84·fgrid<<"{\n"; | ||
87 | 85·fgrid<<"InnerRegion·inside\n"; | ||
88 | 86·fgrid<<"OuterRegion·outside\n"; | ||
89 | 87·fgrid<<"BoundaryID·0\n"; | ||
90 | 88·fgrid<<"BranchingPoints·0"; | ||
91 | 89·fgrid<<"\n"; | ||
92 | 90 | ||
93 | 91·fgrid<<"Triangles·"<<overlaps<<std::endl; | ||
94 | 92 | ||
95 | 93·for·(int·i=0;i<overlaps;·i++) | ||
Max diff block lines reached; 2898/9411 bytes (30.79%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·r | 8 | <title>dune-grid-glue:·gridgluevtkwriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 42 lines modified | Offset 71, 47 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">r | 79 | ··<div·class="headertitle"><div·class="title">gridgluevtkwriter.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·· | ||
83 | <a·href="#details">More...</a></p> | ||
83 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
85 | <code>#include·<iomanip></code><br·/> | ||
86 | <code>#include·<type_traits></code><br·/> | ||
87 | <code>#include·<vector></code><br·/> | ||
88 | <code>#include·<dune/common/classname.hh></code><br·/> | ||
89 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
84 | </div> | 92 | </div> |
85 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
87 | <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> |
88 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
89 | <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="a00974.html">Dune::GridGlue::GridGlueVtkWriter</a></td></tr> |
98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·remote·intersections·to·a·vtk·file·for·debugging·purposes.··<a·href="a00974.html#details">More...</a><br·/></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
94 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 105 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | ||
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
100 | Functions</h2></td></tr> | ||
101 | <tr·class="memitem:ac6a31e555010d279de506e730906a26e"·id="r_ac6a31e555010d279de506e730906a26e"><td·class="memTemplParams"·colspan="2">template<...·>·</td></tr> | ||
102 | <tr·class="memitem:ac6a31e555010d279de506e730906a26e"><td·class="memTemplItemLeft"·align="right"·valign="top">IteratorRange<...·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ac6a31e555010d279de506e730906a26e">Dune::GridGlue::intersections</a>·(const·<a·class="el"·href="a00926.html">GridGlue</a><...·>·&glue,·const·<a·class="el"·href="a00986.html">Reverse</a><...·>·&reverse=!reversed)</td></tr> | ||
103 | <tr·class="memdesc:ac6a31e555010d279de506e730906a26e"><td·class="mdescLeft"> </td><td·class="mdescRight">Iterate·over·all·intersections·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.··<br·/></td></tr> | ||
104 | <tr·class="separator:ac6a31e555010d279de506e730906a26e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | </table> | 107 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
109 | <div·class="textblock"><p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·</p> | ||
106 | </div><!--·contents·--> | 110 | </div></div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 112 | <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 | 113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
110 | </small></address> | 114 | </small></address> |
111 | </body> | 115 | </body> |
112 | </html> | 116 | </html> |
Offset 1, 27 lines modified | Offset 1, 33 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | r | 9 | gridgluevtkwriter.hh·File·Reference |
10 | Write·all·remote·intersections·to·a·vtk·file·for·debugging.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
13 | #include·<type_traits> | ||
14 | #include·<vector> | ||
10 | #include·<dune/common/ | 15 | #include·<dune/common/classname.hh> |
16 | #include·<dune/geometry/type.hh> | ||
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
13 | 21 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.V_.t_.k_.W_.r_.i_.t_.e_.r | |
22 | ·······Write·remote·intersections·to·a·vtk·file·for·debugging·purposes. | ||
23 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | 24 | ||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 25 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 26 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
17 | 27 | ||
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 28 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
19 | 29 | ||
30 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
31 | Write·all·remote·intersections·to·a·vtk·file·for·debugging. | ||
20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
21 | template<...·> | ||
22 | IteratorRange<...·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e<...·>·&glue, | ||
23 | ·····················const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e<...·>·&reverse=!reversed) | ||
24 | ····················Iterate·over·all·intersections·of·a·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
25 | |||
26 | =============================================================================== | 32 | =============================================================================== |
27 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 33 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·r | 8 | <title>dune-grid-glue:·gridgluevtkwriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 318 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">r | 80 | ··<div·class="headertitle"><div·class="title">gridgluevtkwriter.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">//· | 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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····GridGlueVtkWriter.hh</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Mar·5,·2009</span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Gerrit·Buse</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·Class·thought·to·make·graphical·debugging·of·couplings·easier.</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | ||
85 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH</span></div> |
86 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH</span></div> |
87 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/iteratorrange.hh></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
93 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">template</span><<span·class="keywordtype">bool</span>·reverse></div> | ||
94 | <div·class="foldopen"·id="foldopen00015"·data-start="{"·data-end="};"> | ||
95 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a00986.html">···15</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00986.html">Reverse</a></div> | ||
96 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··:·std::integral_constant<bool,·reverse></div> | ||
97 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> | ||
98 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00986.html#a46b00c5fbac6102307de0b1b5fe7c901">···18</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a00986.html">Reverse</a>·<a·class="code·hl_typedef"·href="a00986.html#a46b00c5fbac6102307de0b1b5fe7c901">type</a>;</div> | ||
99 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
100 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">constexpr</span></div> | ||
101 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}"> | ||
102 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00986.html#a5332b99f6c70dc746df8f01afbdc353d">···21</a></span>··<a·class="code·hl_struct"·href="a00986.html">Reverse<!reverse></a>·<a·class="code·hl_function"·href="a00986.html#a5332b99f6c70dc746df8f01afbdc353d">operator!</a>()<span·class="keyword">·const</span></div> | ||
103 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·{};·}</div> | ||
104 | </div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span> | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
106 | </div> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<fstream></span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<vector></span></div> | ||
107 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
108 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/classname.hh></span></div> |
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
110 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</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="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
112 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
115 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
116 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00974.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00974.html">GridGlueVtkWriter</a></div> | ||
117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span>·<<span·class="keyword">class</span>·Glue,·<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·writeExtractedPart(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·filename)</div> | ||
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">static_assert</span>((side==0·||·side==1),·<span·class="stringliteral">"'side'·can·only·be·0·or·1"</span>);</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::ofstream·fgrid;</div> | ||
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····fgrid.open(filename.c_str());</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">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a>·=·<span·class="keyword">typename</span>·Glue::template·GridPatch<side>;</div> | ||
130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::ctype·ctype;</div> | ||
132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·domdimw·=·GridView::dimensionworld;</div> | ||
134 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·patchDim·=·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">Extractor::dim</a>·-·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">Extractor::codim</a>;</div> | ||
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
136 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="comment">//·coordinates·have·to·be·in·R^3·in·the·VTK·format</span></div> | ||
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····std::string·coordinatePadding;</div> | ||
138 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=domdimw;·i<3;·i++)</div> | ||
139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> | ||
113 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
114 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"> | 141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fgrid·<<·<span·class="stringliteral">"#·vtk·DataFile·Version·2.0\nFilename:·"</span>·<<·filename·<<·<span·class="stringliteral">"\nASCII"</span>·<<·std::endl;</div> |
115 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 142 | <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=" | 143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·WRITE·POINTS</span></div> |
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·----------------</span></div> | ||
145 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····std::vector<typename·Extractor::Coords>·coords;</div> | ||
146 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····glue.template·patch<side>().<a·class="code·hl_function"·href="a01038.html#ac1f9978b0eff10be65ba1b5cac207e36">getCoords</a>(coords);</div> | ||
117 | <div·class="line"><a·id="l0007 | 147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····fgrid·<<·((patchDim==3)·?·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID"</span>·:·<span·class="stringliteral">"DATASET·POLYDATA"</span>)·<<·std::endl;</div> | ||
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····fgrid·<<·<span·class="stringliteral">"POINTS·"</span>·<<·coords.size()·<<·<span·class="stringliteral">"·"</span>·<<·Dune::className<ctype>()·<<·std::endl;</div> | ||
118 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">namespace·</span>{</div> | ||
119 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a00986.html">Reverse<true></a>·reversed·=·{};</div> | ||
120 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>}·<span·class="comment">/*·namespace·*/</span></div> | ||
121 | <div·class="line"><a·id="l0007 | 150 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<coords.size();·i++)</div> | ||
152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······fgrid·<<·coords[i]·<<·coordinatePadding·<<·std::endl;</div> | ||
122 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1,·<span·class="keywordtype">bool</span>·reverse·=·false></div> | ||
123 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>IteratorRange<·typename·GridGlue<P0,·P1>::template·IntersectionIterator<reverse·?·1·:·0>·></div> | ||
124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>(<span·class="keyword">const</span>·GridGlue<P0,·P1>&·glue,·<span·class="keyword">const</span>·Reverse<reverse>&·=·{})</div> | ||
125 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····fgrid·<<·std::endl;</div> | ||
126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·side·=·reverse·?·1·:·0;</div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordflow">return</span>·{glue.template·ibegin<side>(),·glue.template·iend<side>()};</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span> | 155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
130 | <div·class="line"><a·id="l0008 | 156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//·WRITE·POLYGONS</span></div> |
Max diff block lines reached; 39690/60930 bytes (65.14%) of diff not shown. |
Offset 1, 88 lines modified | Offset 1, 349 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | r | 8 | gridgluevtkwriter.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | ||
17 | 6·*·Filename:·GridGlueVtkWriter.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Mar·5,·2009 | ||
20 | 9·*·Author:·Gerrit·Buse | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·Class·thought·to·make·graphical·debugging·of·couplings | ||
24 | easier. | ||
25 | 13·* | ||
26 | 14·*/ | ||
14 | 27 | 20#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH | |
15 | 28 | 21#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH | |
16 | 29 | 22 | |
30 | 23 | ||
31 | 24#include·<fstream> | ||
32 | 25#include·<iomanip> | ||
33 | 26#include·<type_traits> | ||
34 | 27#include·<vector> | ||
35 | 28 | ||
17 | 36 | 29#include·<dune/common/classname.hh> | |
37 | 30#include·<dune/geometry/type.hh> | ||
38 | 31#include·<dune/geometry/referenceelements.hh> | ||
18 | 7 | ||
19 | 8namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
20 | 9namespace·GridGlue·{ | ||
21 | 10 | ||
22 | 14template<bool·reverse> | ||
23 | _\x81_\x85struct·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e | ||
24 | 16·:·std::integral_constant<bool,·reverse> | ||
25 | 17{ | ||
26 | _\x81_\x88·typedef·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e·_\x8t_\x8y_\x8p_\x8e; | ||
27 | 19 | ||
28 | 20·constexpr | ||
29 | _\x82_\x81·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8!_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8>·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!()·const | ||
30 | 22·{·return·{};·} | ||
31 | 23}; | ||
32 | 24 | ||
33 | 25#ifdef·DOXYGEN | ||
34 | 26 | ||
35 | _\x83_\x81const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8t_\x8r_\x8u_\x8e_\x8>·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8d; | ||
36 | 32 | 39 | 32 |
37 | 66template<...> | ||
38 | 67IteratorRange<...> | ||
39 | _\x86_\x88_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8<_\x8._\x8._\x8._\x8>&·glue,·const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8._\x8._\x8._\x8>&·reverse·= | ||
40 | 40 | 33#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.g_.r_.i_.d_.g_.l_.u_.e_.._.h_.h> | |
41 | 34 | ||
42 | 35namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
43 | 36namespace·GridGlue·{ | ||
44 | 37 | ||
45 | _\x84_\x80class·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
46 | 41{ | ||
47 | 42 | ||
48 | 46·template·<class·Glue,·int·side> | ||
49 | 47·static·void·writeExtractedPart(const·Glue&·glue,·const·std::string& | ||
50 | filename) | ||
51 | 48·{ | ||
52 | 49·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
53 | 50 | ||
54 | 51·std::ofstream·fgrid; | ||
55 | 52 | ||
56 | 53·fgrid.open(filename.c_str()); | ||
57 | 54 | ||
58 | 55·using·GridView·=·typename·Glue::template·GridView<side>; | ||
59 | 56·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·=·typename·Glue::template·GridPatch<side>; | ||
60 | 57 | ||
61 | 58·typedef·typename·GridView::ctype·ctype; | ||
62 | 59 | ||
63 | 60·const·int·domdimw·=·GridView::dimensionworld; | ||
64 | 61·const·int·patchDim·=·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8:_\x8:_\x8d_\x8i_\x8m·-·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
65 | 62 | ||
66 | 63·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
67 | 64·std::string·coordinatePadding; | ||
68 | 65·for·(int·i=domdimw;·i<3;·i++) | ||
69 | 66·coordinatePadding·+=·"·0"; | ||
70 | 67 | ||
71 | 68·fgrid·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·filename·<<·"\nASCII" | ||
72 | <<·std::endl; | ||
41 | 69 | 73 | 69 |
42 | 70#else | ||
43 | 71 | ||
44 | 72namespace·{ | ||
45 | 73const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8t_\x8r_\x8u_\x8e_\x8>·reversed·=·{}; | ||
46 | 74}·/*·namespace·*/ | ||
47 | 75 | ||
48 | 76template<typename·P0,·typename·P1,·bool·reverse·=·false> | ||
49 | 77IteratorRange<·typename·GridGlue<P0,·P1>::template | ||
50 | IntersectionIterator<reverse·?·1·:·0>·> | ||
51 | 78_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·GridGlue<P0,·P1>&·glue,·const·Reverse<reverse>&·=·{}) | ||
52 | 79{ | ||
53 | 80·const·static·int·side·=·reverse·?·1·:·0; | ||
54 | 74 | 70·//·WRITE·POINTS | |
75 | 71·//·---------------- | ||
76 | 72·std::vector<typename·Extractor::Coords>·coords; | ||
77 | 73·glue.template·patch<side>()._\x8g_\x8e_\x8t_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(coords); | ||
78 | 74 | ||
79 | 75·fgrid·<<·((patchDim==3)·?·"DATASET·UNSTRUCTURED_GRID"·:·"DATASET·POLYDATA") | ||
80 | <<·std::endl; | ||
81 | 76·fgrid·<<·"POINTS·"·<<·coords.size()·<<·"·"·<<·Dune::className<ctype>()·<< | ||
82 | std::endl; | ||
83 | 77 | ||
84 | 78·for·(size_t·i=0;·i<coords.size();·i++) | ||
85 | 79·fgrid·<<·coords[i]·<<·coordinatePadding·<<·std::endl; | ||
86 | 80 | ||
87 | 81·fgrid·<<·std::endl; | ||
55 | 82 | 88 | 82 |
56 | 83 | ||
57 | 8 | 89 | 83·//·WRITE·POLYGONS |
90 | 84·//·---------------- | ||
58 | 85 | 91 | 85 |
92 | 86·std::vector<typename·Extractor::VertexVector>·faces; | ||
93 | 87·std::vector<Dune::GeometryType>·geometryTypes; | ||
Max diff block lines reached; 2846/14901 bytes (19.10%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·gridglue | 8 | <title>dune-grid-glue:·gridgluecommunicate.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 47 lines modified | Offset 71, 74 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">gridglue | 81 | ··<div·class="headertitle"><div·class="title">gridgluecommunicate.hh·File·Reference</div></div> |
80 | </div><!--header--> | 82 | </div><!--header--> |
81 | <div·class="contents"> | 83 | <div·class="contents"> |
82 | <p> | 84 | <p>Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·· |
83 | <a·href="#details">More...</a></p> | 85 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·< | 86 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
85 | <code>#include·<iomanip></code><br·/> | ||
86 | <code>#include·<type_traits></code><br·/> | ||
87 | <code>#include·<vector></code><br·/> | ||
88 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/bartonnackmanifcheck.hh></code><br·/> |
88 | <code>#include·<dune/common/parallel/communicator.hh></code><br·/> | ||
89 | <code>#include·<dune/grid/common/datahandleif.hh></code><br·/> | ||
89 | <code>#include·<dune/g | 90 | <code>#include·<dune/grid/common/gridenums.hh></code><br·/> |
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
92 | </div> | 91 | </div> |
93 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00017_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"> | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00950.html">Dune::GridGlue::GlobalId</a></td></tr> |
98 | <tr·class=" | 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="a00954.html">Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">describes·the·features·of·a·data·handle·for·communication·in·parallel·runs·using·the·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5"·title="Communicate·information·on·the·MergedGrid·of·a·GridGlue.">GridGlue::communicate</a>·methods.··<a·href="a00954.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">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00958.html">Dune::GridGlue::StreamingMessageBuffer<·DT·></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="a00962.html">Dune::GridGlue::CommunicationOperator<·dir·></a></td></tr> | ||
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·requried·for·communication">CommInfo</a>·class··<a·href="a00962.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="a00966.html">Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·></a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">collects·all·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>·data·requried·for·communication··<a·href="a00966.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00970.html">Dune::CommPolicy<·::Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·></a></td></tr> | ||
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">specialization·of·the·CommPolicy·struct,·required·for·the·ParallelIndexsets··<a·href="a00970.html#details">More...</a><br·/></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 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
102 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
103 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 115 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 117 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
121 | Typedefs</h2></td></tr> | ||
122 | <tr·class="memitem:ad076ed124b9754babb07c5deb01dc429"·id="r_ad076ed124b9754babb07c5deb01dc429"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::pair<·int,·int·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">Dune::GridGlue::RankPair</a></td></tr> | ||
123 | <tr·class="separator:ad076ed124b9754babb07c5deb01dc429"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:a6770390b3ccbdf5947cf3d27d4aad2b2"·id="r_a6770390b3ccbdf5947cf3d27d4aad2b2"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00962.html">CommunicationOperator</a><·Dune::ForwardCommunication·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6770390b3ccbdf5947cf3d27d4aad2b2">Dune::GridGlue::ForwardOperator</a></td></tr> | ||
125 | <tr·class="separator:a6770390b3ccbdf5947cf3d27d4aad2b2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | <tr·class="memitem:a58e16fcb86a74aa1e91485fa37529db5"·id="r_a58e16fcb86a74aa1e91485fa37529db5"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00962.html">CommunicationOperator</a><·Dune::BackwardCommunication·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a58e16fcb86a74aa1e91485fa37529db5">Dune::GridGlue::BackwardOperator</a></td></tr> | ||
127 | <tr·class="separator:a58e16fcb86a74aa1e91485fa37529db5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | </table><table·class="memberdecls"> | ||
129 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
130 | Functions</h2></td></tr> | ||
131 | <tr·class="memitem:ae6bb46e80d5b6cbe71801fce426c311b"·id="r_ae6bb46e80d5b6cbe71801fce426c311b"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ae6bb46e80d5b6cbe71801fce426c311b">Dune::GridGlue::operator<<</a>·(std::ostream·&os,·const·<a·class="el"·href="a00950.html">GlobalId</a>·&id)</td></tr> | ||
132 | <tr·class="separator:ae6bb46e80d5b6cbe71801fce426c311b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | </table> | 133 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 134 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
109 | <div·class="textblock"><p> | 135 | <div·class="textblock"><p>Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·</p> |
136 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
110 | </div></div><!--·contents·--> | 137 | </div></div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.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 |
114 | </small></address> | 141 | </small></address> |
115 | </body> | 142 | </body> |
116 | </html> | 143 | </html> |
Offset 1, 33 lines modified | Offset 1, 61 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.T_.y_.p_.e_.d_.e_.f_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | gridglue | 9 | gridgluecommunicate.hh·File·Reference |
10 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
11 | _\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
10 | Write·all·remote·intersections·to·a·vtk·file·for·debugging.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
13 | #include·<type_traits> | 12 | #include·<type_traits> |
14 | #include·<vector> | ||
15 | #include·<dune/common/ | 13 | #include·<dune/common/bartonnackmanifcheck.hh> |
16 | #include·<dune/geometry/type.hh> | ||
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·< | 14 | #include·<dune/common/parallel/communicator.hh> |
15 | #include·<dune/grid/common/datahandleif.hh> | ||
16 | #include·<dune/grid/common/gridenums.hh> | ||
19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 17 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 18 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
22 | 19 | struct· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.G_.l_.o_.b_.a_.l_.I_.d | |
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8<_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
22 | ········describes·the·features·of·a·data·handle·for·communication·in·parallel | ||
23 | ·········runs·using·the·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e·methods.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8r_\x8e_\x8a_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8<_\x8·_\x8D_\x8T_\x8·_\x8> | ||
26 | |||
27 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8·_\x8d_\x8i_\x8r_\x8·_\x8> | ||
28 | ········forward·gather·scatter·to·user·defined·_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o·class·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
31 | ········collects·all·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·data·requried·for·communication·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
33 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8P_\x8o_\x8l_\x8i_\x8c_\x8y_\x8<_\x8·_\x8:_\x8:_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8, | ||
34 | ·········_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8>_\x8·_\x8> | ||
35 | ········specialization·of·the·CommPolicy·struct,·required·for·the | ||
23 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | 36 | ·········ParallelIndexsets·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
24 | 37 | ||
25 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 38 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
26 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 39 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
27 | 40 | ||
28 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 41 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
29 | 42 | ||
43 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
44 | ·······typedef·std::pair<·int,·int·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r | ||
45 | |||
46 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
47 | ··············ForwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8F_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
48 | |||
49 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
50 | ·············BackwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8B_\x8a_\x8c_\x8k_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
51 | |||
52 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
53 | std::ostream·& ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<·(std::ostream·&os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d | ||
54 | ················&id) | ||
55 | |||
30 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 56 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
31 | 57 | Describes·the·parallel·communication·interface·class·for·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e. | |
58 | ··Author | ||
59 | ······Christian·Engwer | ||
32 | =============================================================================== | 60 | =============================================================================== |
33 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 61 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·gridglue | 8 | <title>dune-grid-glue:·gridgluecommunicate.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 318 lines modified | Offset 74, 365 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">gridglue | 80 | ··<div·class="headertitle"><div·class="title">gridgluecommunicate.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00017.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00017.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····GridGlueVtkWriter.hh</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Mar·5,·2009</span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Gerrit·Buse</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·Class·thought·to·make·graphical·debugging·of·couplings·easier.</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | ||
97 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH</span></div> |
98 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/bartonnackmanifcheck.hh></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/parallel/communicator.hh></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/grid/common/datahandleif.hh></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/grid/common/gridenums.hh></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
99 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
98 | <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="a00103.html">Dune</a>·{</div> | ||
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">···24</a></span>····<span·class="keyword">typedef</span>·std::pair<int,·int>·<a·class="code·hl_typedef"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">RankPair</a>;</div> | ||
102 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> | ||
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00950.html">···25</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00950.html">GlobalId</a>·:·<span·class="keyword">public</span>·std::pair<RankPair,·unsigned·int></div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<fstream></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<vector></span></div> | ||
105 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····{</div> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/classname.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></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="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
115 | <div·class="foldopen"·id="foldopen000 | 105 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="}"> |
116 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00950.html#a554946da36cc0a933995fdfe12636319">···30</a></span>······<a·class="code·hl_function"·href="a00950.html#a554946da36cc0a933995fdfe12636319">GlobalId</a>()·{</div> |
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········this->first.first·=·0;</div> | ||
108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········this->first.second·=·0;</div> | ||
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········this->second·=·0;</div> | ||
117 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······}</div> |
111 | </div> | ||
112 | <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00950.html#a315ab00f6d781f336ce5dbb028dbf022">···38</a></span>······<a·class="code·hl_function"·href="a00950.html#a315ab00f6d781f336ce5dbb028dbf022">GlobalId</a>(<span·class="keywordtype">int</span>·i)·{</div> | ||
114 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········this->first.first·=·i;</div> | ||
115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········this->first.second·=·i;</div> | ||
116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········this->second·=·0;</div> | ||
118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······}</div> |
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>·Glue,·<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
120 | < | 118 | </div> |
119 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00950.html#a642bf20f4bd76bbf0e979b6ef2893d55">···48</a></span>······<a·class="code·hl_function"·href="a00950.html#a642bf20f4bd76bbf0e979b6ef2893d55">GlobalId</a>(<span·class="keywordtype">int</span>·i,·<span·class="keywordtype">int</span>·j,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·n)·{</div> | ||
121 | <div·class="line"><a·id="l0004 | 121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········this->first.first·=·std::min(i,j);</div> |
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">static_assert</span>((side==0·||·side==1),·<span·class="stringliteral">"'side'·can·only·be·0·or·1"</span>);</div> | ||
123 | <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>········this->first.second·=·std::max(i,j);</div> |
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>···· | 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········this->second·=·n;</div> |
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······}</div> |
125 | </div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>···· | 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····};</div> |
127 | </div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 128 | <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">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
129 | <div·class=" | 129 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> |
130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00104.html#ae6bb46e80d5b6cbe71801fce426c311b">···55</a></span>····<span·class="keyword">inline</span>·std::ostream&·<a·class="code·hl_function"·href="a00104.html#ae6bb46e80d5b6cbe71801fce426c311b">operator<<</a>(std::ostream&·os,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a00950.html">GlobalId</a>·&·<span·class="keywordtype">id</span>)</div> | ||
130 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> |
131 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······os·<<·<span·class="stringliteral">"("</span></div> |
133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·········<<·<span·class="keywordtype">id</span>.first.first·<<·<span·class="stringliteral">","</span>·<<·<span·class="keywordtype">id</span>.first.second·<<·<span·class="stringliteral">","</span></div> | ||
134 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·········<<·<span·class="keywordtype">id</span>.second·<<·<span·class="stringliteral">")"</span>;</div> | ||
135 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keywordflow">return</span>·os;</div> | ||
132 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div> |
137 | </div> | ||
133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·domdimw·=·GridView::dimensionworld;</div> | ||
134 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·patchDim·=·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">Extractor::dim</a>·-·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">Extractor::codim</a>;</div> | ||
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 138 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·DataHandleImp,·<span·class="keyword">class</span>·DataTypeImp></div> | ||
140 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};"> | ||
141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00954.html">···76</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00954.html">CommDataHandle</a></div> | ||
136 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="comment">//·coordinates·have·to·be·in·R^3·in·the·VTK·format</span></div> | ||
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····std::string·coordinatePadding;</div> | ||
138 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=domdimw;·i<3;·i++)</div> | ||
139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> | ||
140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fgrid·<<·<span·class="stringliteral">"#·vtk·DataFile·Version·2.0\nFilename:·"</span>·<<·filename·<<·<span·class="stringliteral">"\nASCII"</span>·<<·std::endl;</div> | ||
142 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·WRITE·POINTS</span></div> | ||
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·----------------</span></div> | ||
145 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····std::vector<typename·Extractor::Coords>·coords;</div> | ||
146 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····glue.template·patch<side>().<a·class="code·hl_function"·href="a01038.html#ac1f9978b0eff10be65ba1b5cac207e36">getCoords</a>(coords);</div> | ||
147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····fgrid·<<·((patchDim==3)·?·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID"</span>·:·<span·class="stringliteral">"DATASET·POLYDATA"</span>)·<<·std::endl;</div> | ||
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····fgrid·<<·<span·class="stringliteral">"POINTS·"</span>·<<·coords.size()·<<·<span·class="stringliteral">"·"</span>·<<·Dune::className<ctype>()·<<·std::endl;</div> | ||
Max diff block lines reached; 94262/116790 bytes (80.71%) of diff not shown. |
Offset 1, 349 lines modified | Offset 1, 442 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | gridglue | 8 | gridgluecommunicate.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | ||
17 | 6·*·Filename:·GridGlueVtkWriter.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Mar·5,·2009 | ||
20 | 9·*·Author:·Gerrit·Buse | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·Class·thought·to·make·graphical·debugging·of·couplings | ||
24 | easier. | ||
25 | 13·* | ||
26 | 14·*/ | ||
27 | 16 | 5#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | |
28 | 17 | 6#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | |
29 | 18 | 7 | |
19 | 13#include·<type_traits> | ||
20 | 14 | ||
21 | 15#include·<dune/common/bartonnackmanifcheck.hh> | ||
22 | 16#include·<dune/common/parallel/communicator.hh> | ||
23 | 17#include·<dune/grid/common/datahandleif.hh> | ||
24 | 18#include·<dune/grid/common/gridenums.hh> | ||
25 | 19 | ||
26 | 20 | ||
27 | 21namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
28 | 22·namespace·GridGlue·{ | ||
30 | 23 | 29 | 23 |
30 | _\x82_\x84·typedef·std::pair<int,·int>·_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r; | ||
31 | _\x82_\x85·struct·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·:·public·std::pair<RankPair,·unsigned·int> | ||
32 | 26·{ | ||
33 | _\x83_\x80·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d()·{ | ||
34 | 31·this->first.first·=·0; | ||
35 | 32·this->first.second·=·0; | ||
36 | 33·this->second·=·0; | ||
37 | 34·} | ||
38 | _\x83_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i)·{ | ||
39 | 39·this->first.first·=·i; | ||
40 | 40·this->first.second·=·i; | ||
41 | 41·this->second·=·0; | ||
42 | 42·} | ||
43 | _\x84_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i,·int·j,·unsigned·int·n)·{ | ||
44 | 49·this->first.first·=·std::min(i,j); | ||
45 | 50·this->first.second·=·std::max(i,j); | ||
46 | 51·this->second·=·n; | ||
47 | 52·} | ||
48 | 53·}; | ||
31 | 24#include·<fstream> | ||
32 | 25#include·<iomanip> | ||
33 | 26#include·<type_traits> | ||
34 | 27#include·<vector> | ||
35 | 28 | ||
36 | 29#include·<dune/common/classname.hh> | ||
37 | 30#include·<dune/geometry/type.hh> | ||
38 | 31#include·<dune/geometry/referenceelements.hh> | ||
39 | 32 | ||
40 | 33#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
41 | 34 | ||
42 | 35namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
43 | 36namespace·GridGlue·{ | ||
44 | 37 | ||
45 | _\x84_\x80class·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
46 | 41{ | ||
47 | 42 | ||
48 | 46·template·<class·Glue,·int·side> | ||
49 | 47·static·void·writeExtractedPart(const·Glue&·glue,·const·std::string& | ||
50 | filename) | ||
51 | 48·{ | ||
52 | 49·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
53 | 50 | ||
54 | 51·std::ofstream·fgrid; | ||
55 | 52 | ||
56 | 53·fgrid.open(filename.c_str()); | ||
57 | 54 | 49 | 54 |
58 | 55·using·GridView·=·typename·Glue::template·GridView<side>; | ||
59 | 56·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·=·typename·Glue::template·GridPatch<side>; | ||
60 | 57 | ||
61 | 58·typedef·typename·GridView::ctype·ctype; | ||
62 | 59 | ||
63 | 60·const·int·domdimw·=·GridView::dimensionworld; | ||
64 | 50 | _.5_.5·inline·std::ostream&·_.o_.p_.e_.r_.a_.t_.o_.r_.<_.<(std::ostream&·os,·const·_.G_.l_.o_.b_.a_.l_.I_.d·&·id) | |
51 | 56·{ | ||
52 | 57·os·<<·"(" | ||
53 | 58·<<·id.first.first·<<·","·<<·id.first.second·<<·"," | ||
54 | 59·<<·id.second·<<·")"; | ||
55 | 60·return·os; | ||
56 | 61·} | ||
65 | 62 | 57 | 62 |
58 | 75·template·<class·DataHandleImp,·class·DataTypeImp> | ||
59 | _\x87_\x86·class·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e | ||
60 | 77·{ | ||
61 | 78·public: | ||
62 | _\x88_\x80·typedef·DataTypeImp·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e; | ||
63 | 81 | ||
64 | 82·protected: | ||
65 | 83·//·one·should·not·create·an·explicit·instance·of·this·inteface·object | ||
66 | _\x88_\x84·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e()·{} | ||
66 | 63·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
67 | 64·std::string·coordinatePadding; | ||
68 | 65·for·(int·i=domdimw;·i<3;·i++) | ||
69 | 66·coordinatePadding·+=·"·0"; | ||
70 | 67 | ||
71 | 68·fgrid·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·filename·<<·"\nASCII" | ||
72 | <<·std::endl; | ||
73 | 69 | ||
74 | 70·//·WRITE·POINTS | ||
75 | 71·//·---------------- | ||
76 | 72·std::vector<typename·Extractor::Coords>·coords; | ||
77 | 73·glue.template·patch<side>()._\x8g_\x8e_\x8t_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(coords); | ||
78 | 74 | ||
79 | 75·fgrid·<<·((patchDim==3)·?·"DATASET·UNSTRUCTURED_GRID"·:·"DATASET·POLYDATA") | ||
80 | <<·std::endl; | ||
81 | 76·fgrid·<<·"POINTS·"·<<·coords.size()·<<·"·"·<<·Dune::className<ctype>()·<< | ||
82 | std::endl; | ||
83 | 77 | ||
Max diff block lines reached; 28284/32734 bytes (86.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-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionindexset.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 41 lines 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">intersectionindexset.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·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/grid-glue/adapter/intersection.hh</a>></code><br·/> | ||
82 | <p>Write·all·remote·intersections·to·a·AmiraMesh·file.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·<fstream></code><br·/> | ||
85 | <code>#include·<sstream></code><br·/> | ||
86 | <code>#include·<type_traits></code><br·/> | ||
87 | </div> | 84 | </div> |
88 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> |
89 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
90 | <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> |
91 | Classes</h2></td></tr> | 88 | 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="a0094 | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·></a></td></tr> |
93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes.··<a·href="a00946.html#details">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
97 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
98 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 96 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | </table> | 98 | </table> |
103 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
104 | <div·class="textblock"><p>Write·all·remote·intersections·to·a·AmiraMesh·file.·</p> | ||
105 | </div>< | 99 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 100 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 101 | <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 | 102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
109 | </small></address> | 103 | </small></address> |
110 | </body> | 104 | </body> |
111 | </html> | 105 | </html> |
Offset 2, 27 lines modified | Offset 2, 21 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | intersectionindexset.hh·File·Reference | ||
10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
11 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
9 | gridglueamirawriter.hh·File·Reference | ||
10 | Write·all·remote·intersections·to·a·AmiraMesh·file.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<sstream> | ||
13 | #include·<type_traits> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8·_\x8> | ||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8A_\x8m_\x8i_\x8r_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
17 | ·······Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes. | ||
18 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | 15 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 17 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 18 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 19 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 20 | ||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
26 | Write·all·remote·intersections·to·a·AmiraMesh·file. | ||
27 | =============================================================================== | 21 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 22 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionindexset.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 166 lines modified | Offset 74, 87 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">intersectionindexset.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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"><a·class="line"·href="a00942.html#a8d92c44719935a9e0bfd103f7b8a7e4a">····1</a></span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l0000 | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> |
86 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> |
87 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/grid-glue/adapter/intersection.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
88 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·ONLY_SIMPLEX_INTERSECTIONS</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">//·we·currently·support·only·one·intersection·type.·If·we·want·to·support·more,</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">//·we·have·to·think·about·the·semantics·of·our·IndexSet</span></div> | ||
89 | <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">#error·Not·Implemented</span></div> |
90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor"># | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> |
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
92 | <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="a00103.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="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>GridGlue·{</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_class"·href="a00926.html">GridGlue</a>·{</div> |
94 | <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="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
95 | <div·class="foldopen"·id="foldopen000 | 101 | <div·class="foldopen"·id="foldopen00019"·data-start="{"·data-end="};"> |
96 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00942.html">···19</a></span>········<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00942.html">IntersectionIndexSet</a></div> |
97 | <div·class="line"><a·id="l0002 | 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>············<span·class="keyword">friend</span>·class·::Dune::GridGlue::GridGlue<P0,P1>;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>············typedef·::Dune::GridGlue::GridGlue<P0,P1>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>;</div> | ||
98 | <div·class="line"><a·id="l0002 | 106 | <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>········<span·class="keyword">public</span>:</div> | ||
99 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>·<<span·class="keyword">class</span>·Glue,·<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
100 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·writeIntersections(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·filename)</div> | ||
101 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
102 | <div·class="line"><a·id="l0002 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">···27</a></span>············<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00926.ht[·...·truncated·by·diffoscope;·len:·155,·SHA:·4d4a796f80f61a8dc9ef8d035cb998080e48ac0a5a2201f3f8b7dc6309a46241·...·];</div> |
110 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">···29</a></span>············<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a>;</div> | ||
103 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>············<span·class="keyword">template</span><<span·class="keywordtype">int</span>·I,·<span·class="keywordtype">int</span>·O></div> | ||
113 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
114 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00942.html#a99675cfe98d9454136be2f2c3ea65cf1">···34</a></span>············<a·class="code·hl_typedef"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a>·<a·class="code·hl_function"·href="a00942.html#a99675cfe98d9454136be2f2c3ea65cf1">index</a>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00934.html">Intersection<P0,P1,I,O></a>·&·i)<span·class="keyword">·const</span></div> | ||
104 | <div·class="line"><a·id="l0003 | 115 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">············</span>{</div> |
116 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>················<span·class="keywordflow">return</span>·i.i_-><a·class="code·hl_variable"·href="a00930.html#acd2845472ab276c8ee95325a1ad8015a">index_</a>;</div> | ||
105 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>············}</div> |
118 | </div> | ||
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····fgrid.open(filename.c_str());</div> | ||
107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
108 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
109 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GridView::dimension;</div> | ||
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·domdimw·=·GridView::dimensionworld;</div> | ||
111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 119 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
120 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> | ||
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a00942.html#a1979718c2ed6fd5d90845577a20ce750">···41</a></span>············<a·class="code·hl_typedef"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a>·<a·class="code·hl_function"·href="a00942.html#a1979718c2ed6fd5d90845577a20ce750">size</a>·()<span·class="keyword">·const</span></div> | ||
112 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">············</span>{</div> |
123 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>················<span·class="keywordflow">return</span>·glue_-><a·class="code·hl_function"·href="a00926.html#af435516d26a24730729d2c827137b57d">size</a>();</div> | ||
113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····std::string·coordinatePadding;</div> | ||
114 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=domdimw;·i<3;·i++)</div> | ||
115 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> | ||
116 | <div·class="line"><a·id="l0004 | 124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>············}</div> |
117 | < | 125 | </div> |
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 126 | <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>·· | 127 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">private</span>:</div> |
120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 128 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
129 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>············<a·class="code·hl_class"·href="a00942.html">IntersectionIndexSet</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>·*·g)·:</div> | ||
130 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················glue_(g)·{}</div> | ||
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······fgrid·<<·<span·class="stringliteral">"#·HyperSurface·0.1·ASCII·\n"</span>·<<·std::endl;</div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······fgrid<<<span·class="stringliteral">"Parameters·{\n"</span>;</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······fgrid<<<span·class="stringliteral">"····Materials·{\n"</span>;</div> | ||
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······fgrid<<<span·class="stringliteral">"········outside·{\n"</span>;</div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······fgrid<<<span·class="stringliteral">"············Id·0\n"</span>;</div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······fgrid<<<span·class="stringliteral">"········}\n"</span>;</div> | ||
128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······fgrid<<<span·class="stringliteral">"········inside·{\n"</span>;</div> | ||
129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······fgrid<<<span·class="stringliteral">"············Id·1\n"</span>;</div> | ||
130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······fgrid<<<span·class="stringliteral">"········}\n"</span>;</div> | ||
131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······fgrid<<<span·class="stringliteral">"····}\n"</span>;</div> | ||
132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······fgrid<<<span·class="stringliteral">"}\n"</span>;</div> | ||
134 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
136 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keyword">const</span>·GridGlue·*·glue_;</div> |
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
138 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div> |
139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="comment">//use·dim·and·not·dim+1</span></div> | ||
140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······fgrid<<<span·class="stringliteral">"\nVertices·"</span><<·overlaps*(dim)<<<span·class="stringliteral">"\n"</span>;</div> | ||
141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keyword">auto</span>·isEnd·=·glue.template·iend<side>();</div> | ||
142 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt)</div> | ||
143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div> | ||
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·geometry·=·isIt->geometry();</div> | ||
145 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i)</div> | ||
146 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······}</div> | ||
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
150 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="comment">//···Write·triangles</span></div> | ||
151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······fgrid<<<span·class="stringliteral">"NBranchingPoints·0\n"</span>;</div> | ||
154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······fgrid<<<span·class="stringliteral">"NVerticesOnCurves·0\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······fgrid<<<span·class="stringliteral">"BoundaryCurves·0\n"</span>;</div> | ||
156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······fgrid<<<span·class="stringliteral">"Patches·1\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······fgrid<<<span·class="stringliteral">"{\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······fgrid<<<span·class="stringliteral">"InnerRegion·inside\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······fgrid<<<span·class="stringliteral">"OuterRegion·outside\n"</span>;</div> | ||
160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······fgrid<<<span·class="stringliteral">"BoundaryID·0\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······fgrid<<<span·class="stringliteral">"BranchingPoints·0"</span>;</div> | ||
162 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
163 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
Max diff block lines reached; 4314/37944 bytes (11.37%) of diff not shown. |
Offset 1, 165 lines modified | Offset 1, 105 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | intersectionindexset.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | _.1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 8#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
15 | 9#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
16 | 10 | ||
17 | 11#include·<fstream> | ||
18 | 12#include·<sstream> | ||
19 | 14 | 3#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | |
15 | 4#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
16 | 5 | ||
17 | 6#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
18 | 7#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
19 | 8 | ||
20 | 9#ifndef·ONLY_SIMPLEX_INTERSECTIONS | ||
21 | 10//·we·currently·support·only·one·intersection·type.·If·we·want·to·support | ||
22 | more, | ||
23 | 11//·we·have·to·think·about·the·semantics·of·our·IndexSet | ||
24 | 12#error·Not·Implemented | ||
25 | 13#endif | ||
20 | 14 | 26 | 14 |
21 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ | 27 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ |
22 | 16namespace·GridGlue·{ | 28 | 16·namespace·_.G_.r_.i_.d_.G_.l_.u_.e·{ |
23 | 17 | 29 | 17 |
30 | 18·template<typename·P0,·typename·P1> | ||
31 | _\x81_\x89·class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t | ||
24 | _\x82_\x80class·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8A_\x8m_\x8i_\x8r_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
25 | 21{ | ||
26 | 22 | ||
27 | 26·template·<class·Glue,·int·side> | ||
28 | 27·static·void·writeIntersections(const·Glue&·glue,·const·std::string& | ||
29 | filename) | ||
30 | 2 | 32 | 20·{ |
31 | 2 | 33 | 21·friend·class·::Dune::GridGlue::GridGlue<P0,P1>; |
34 | 22·typedef·::Dune::GridGlue::GridGlue<P0,P1>·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e; | ||
35 | 23 | ||
36 | 24·public: | ||
37 | 25 | ||
38 | _\x82_\x87·typedef·typename·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
39 | _\x82_\x89·typedef·size_t·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e; | ||
32 | 30 | 40 | 30 |
41 | 33·template<int·I,·int·O> | ||
42 | _\x83_\x84·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8i_\x8n_\x8d_\x8e_\x8x·(const·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8P_\x80_\x8,_\x8P_\x81_\x8,_\x8I_\x8,_\x8O_\x8>·&·i)·const | ||
43 | 35·{ | ||
44 | 36·return·i.i_->_\x8i_\x8n_\x8d_\x8e_\x8x_\x8_; | ||
45 | 37·} | ||
33 | 31·std::ofstream·fgrid; | ||
34 | 32 | ||
35 | 33·fgrid.open(filename.c_str()); | ||
36 | 34 | ||
37 | 35·using·GridView·=·typename·Glue::template·GridView<side>; | ||
38 | 36·const·int·dim·=·GridView::dimension; | ||
39 | 37·const·int·domdimw·=·GridView::dimensionworld; | ||
40 | 38 | 46 | 38 |
47 | _\x84_\x81·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e·()·const | ||
48 | 42·{ | ||
49 | 43·return·glue_->_\x8s_\x8i_\x8z_\x8e(); | ||
50 | 44·} | ||
41 | 39·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
42 | 40·std::string·coordinatePadding; | ||
43 | 41·for·(int·i=domdimw;·i<3;·i++) | ||
44 | 42·coordinatePadding·+=·"·0"; | ||
45 | 43 | ||
46 | 44·int·overlaps·=·glue.size(); | ||
47 | 45 | 51 | 45 |
48 | 46· | 52 | 46·private: |
49 | 47 | 53 | 47 |
54 | 49·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·*·g)·: | ||
55 | 50·glue_(g)·{} | ||
56 | 51 | ||
57 | 52·const·GridGlue·*·glue_; | ||
58 | 53·}; | ||
59 | 54 | ||
50 | 48·fgrid·<<·"#·HyperSurface·0.1·ASCII·\n"·<<·std::endl; | ||
51 | 49·fgrid<<"\n"; | ||
52 | 50·fgrid<<"Parameters·{\n"; | ||
53 | 51·fgrid<<"·Materials·{\n"; | ||
54 | 52·fgrid<<"·outside·{\n"; | ||
55 | 53·fgrid<<"·Id·0\n"; | ||
56 | 54·fgrid<<"·}\n"; | ||
57 | 55·fgrid<<"·inside·{\n"; | ||
58 | 56·fgrid<<"·Id·1\n"; | ||
59 | 57·fgrid<<"·}\n"; | ||
60 | 58·fgrid<<"·}\n"; | ||
61 | 59·fgrid<<"\n"; | ||
62 | 60·fgrid<<"}\n"; | ||
63 | 61 | ||
64 | 62·//·//////////////////////////////////////////// | ||
65 | 63·//·Write·vertices | ||
66 | 64·//·//////////////////////////////////////////// | ||
67 | 65 | ||
68 | 66·//use·dim·and·not·dim+1 | ||
69 | 67·fgrid<<"\nVertices·"<<·overlaps*(dim)<<"\n"; | ||
70 | 68·auto·isEnd·=·glue.template·iend<side>(); | ||
71 | 69·for·(auto·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt) | ||
72 | 70·{ | ||
73 | 71·const·auto&·geometry·=·isIt->geometry(); | ||
74 | 72·for·(int·i·=·0;·i·<·geometry.corners();·++i) | ||
75 | 73·fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl; | ||
76 | 74·} | ||
77 | 75 | ||
78 | 76·//·//////////////////////////////////////////// | ||
79 | 77·//·Write·triangles | ||
80 | 78·//·//////////////////////////////////////////// | ||
81 | 79 | ||
82 | 80·fgrid<<"NBranchingPoints·0\n"; | ||
83 | 81·fgrid<<"NVerticesOnCurves·0\n"; | ||
84 | 82·fgrid<<"BoundaryCurves·0\n"; | ||
85 | 83·fgrid<<"Patches·1\n"; | ||
86 | 84·fgrid<<"{\n"; | ||
87 | 85·fgrid<<"InnerRegion·inside\n"; | ||
88 | 86·fgrid<<"OuterRegion·outside\n"; | ||
89 | 87·fgrid<<"BoundaryID·0\n"; | ||
90 | 88·fgrid<<"BranchingPoints·0"; | ||
91 | 89·fgrid<<"\n"; | ||
92 | 90 | ||
93 | 91·fgrid<<"Triangles·"<<overlaps<<std::endl; | ||
Max diff block lines reached; 2898/9411 bytes (30.79%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·rangegenerators.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 73 lines modified | Offset 72, 41 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">rangegenerators.hh·File·Reference</div></div> |
82 | </div><!--header--> | 81 | </div><!--header--> |
83 | <div·class="contents"> | 82 | <div·class="contents"> |
84 | <p>Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·· | ||
85 | <a·href="#details">More...</a></p> | ||
86 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<dune/common/iteratorrange.hh></code><br·/> |
87 | <code>#include·<dune/common/bartonnackmanifcheck.hh></code><br·/> | ||
88 | <code>#include·<dune/common/parallel/communicator.hh></code><br·/> | ||
89 | <code>#include·<dune/grid/common/datahandleif.hh></code><br·/> | ||
90 | <code>#include·<dune/grid/common/gridenums.hh></code><br·/> | ||
91 | </div> | 84 | </div> |
92 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00023_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> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
95 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00950.html">Dune::GridGlue::GlobalId</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="a00954.html">Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">describes·the·features·of·a·data·handle·for·communication·in·parallel·runs·using·the·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5"·title="Communicate·information·on·the·MergedGrid·of·a·GridGlue.">GridGlue::communicate</a>·methods.··<a·href="a00954.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"> | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00986.html">Dune::GridGlue::Reverse<·reverse·></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="a00962.html">Dune::GridGlue::CommunicationOperator<·dir·></a></td></tr> | ||
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·requried·for·communication">CommInfo</a>·class··<a·href="a00962.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="a00966.html">Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·></a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">collects·all·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>·data·requried·for·communication··<a·href="a00966.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00970.html">Dune::CommPolicy<·::Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·></a></td></tr> | ||
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">specialization·of·the·CommPolicy·struct,·required·for·the·ParallelIndexsets··<a·href="a00970.html#details">More...</a><br·/></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
113 | <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> |
114 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
115 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 96 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
121 | Typedefs</h2></td></tr> | ||
122 | <tr·class="memitem:ad076ed124b9754babb07c5deb01dc429"·id="r_ad076ed124b9754babb07c5deb01dc429"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::pair<·int,·int·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">Dune::GridGlue::RankPair</a></td></tr> | ||
123 | <tr·class="separator:ad076ed124b9754babb07c5deb01dc429"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:a6770390b3ccbdf5947cf3d27d4aad2b2"·id="r_a6770390b3ccbdf5947cf3d27d4aad2b2"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00962.html">CommunicationOperator</a><·Dune::ForwardCommunication·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6770390b3ccbdf5947cf3d27d4aad2b2">Dune::GridGlue::ForwardOperator</a></td></tr> | ||
125 | <tr·class="separator:a6770390b3ccbdf5947cf3d27d4aad2b2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | <tr·class="memitem:a58e16fcb86a74aa1e91485fa37529db5"·id="r_a58e16fcb86a74aa1e91485fa37529db5"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00962.html">CommunicationOperator</a><·Dune::BackwardCommunication·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a58e16fcb86a74aa1e91485fa37529db5">Dune::GridGlue::BackwardOperator</a></td></tr> | ||
127 | <tr·class="separator:a58e16fcb86a74aa1e91485fa37529db5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | </table><table·class="memberdecls"> | ||
129 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
130 | Functions</h2></td></tr> | 100 | Functions</h2></td></tr> |
131 | <tr·class="memitem:a | 101 | <tr·class="memitem:ac6a31e555010d279de506e730906a26e"·id="r_ac6a31e555010d279de506e730906a26e"><td·class="memTemplParams"·colspan="2">template<...·>·</td></tr> |
102 | <tr·class="memitem:ac6a31e555010d279de506e730906a26e"><td·class="memTemplItemLeft"·align="right"·valign="top">IteratorRange<...·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ac6a31e555010d279de506e730906a26e">Dune::GridGlue::intersections</a>·(const·<a·class="el"·href="a00926.html">GridGlue</a><...·>·&glue,·const·<a·class="el"·href="a00986.html">Reverse</a><...·>·&reverse=!reversed)</td></tr> | ||
103 | <tr·class="memdesc:ac6a31e555010d279de506e730906a26e"><td·class="mdescLeft"> </td><td·class="mdescRight">Iterate·over·all·intersections·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.··<br·/></td></tr> | ||
132 | <tr·class="separator:a | 104 | <tr·class="separator:ac6a31e555010d279de506e730906a26e"><td·class="memSeparator"·colspan="2"> </td></tr> |
133 | </table> | 105 | </table> |
134 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
135 | <div·class="textblock"><p>Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·</p> | ||
136 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
137 | </div>< | 106 | </div><!--·contents·--> |
138 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
139 | <hr·class="footer"/><address·class="footer"><small> | 108 | <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 | 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 |
141 | </small></address> | 110 | </small></address> |
142 | </body> | 111 | </body> |
143 | </html> | 112 | </html> |
Offset 1, 61 lines modified | Offset 1, 27 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8 | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | rangegenerators.hh·File·Reference | ||
9 | gridgluecommunicate.hh·File·Reference | ||
10 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
11 | _\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | #include·<type_traits> | ||
13 | #include·<dune/common/bartonnackmanifcheck.hh> | ||
14 | #include·<dune/common/parallel/communicator.hh> | ||
15 | #include·<dune/ | 10 | #include·<dune/common/iteratorrange.hh> |
16 | #include·<dune/grid/common/gridenums.hh> | ||
17 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
18 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 13 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8R_.e_.v_.e_.r_.s_.e_.<_.·_.r_.e_.v_.e_.r_.s_.e_.·_.> |
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8<_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
22 | ········describes·the·features·of·a·data·handle·for·communication·in·parallel | ||
23 | ·········runs·using·the·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e·methods.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8r_\x8e_\x8a_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8<_\x8·_\x8D_\x8T_\x8·_\x8> | ||
26 | |||
27 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8·_\x8d_\x8i_\x8r_\x8·_\x8> | ||
28 | ········forward·gather·scatter·to·user·defined·_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o·class·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
31 | ········collects·all·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·data·requried·for·communication·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
33 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8P_\x8o_\x8l_\x8i_\x8c_\x8y_\x8<_\x8·_\x8:_\x8:_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8, | ||
34 | ·········_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8>_\x8·_\x8> | ||
35 | ········specialization·of·the·CommPolicy·struct,·required·for·the | ||
36 | ·········ParallelIndexsets·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
37 | 14 | ||
38 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
39 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 16 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
40 | 17 | ||
41 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
42 | 19 | ||
43 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
44 | ·······typedef·std::pair<·int,·int·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r | ||
45 | |||
46 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
47 | ··············ForwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8F_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
48 | |||
49 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
50 | ·············BackwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8B_\x8a_\x8c_\x8k_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
51 | |||
52 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
53 | std::ostream·& ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<·(std::ostream·&os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d | ||
54 | 21 | template<...·> | |
22 | IteratorRange<...·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e<...·>·&glue, | ||
23 | ·····················const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e<...·>·&reverse=!reversed) | ||
24 | ····················Iterate·over·all·intersections·of·a·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
55 | 25 | ||
56 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
58 | ··Author | ||
59 | ······Christian·Engwer | ||
60 | =============================================================================== | 26 | =============================================================================== |
61 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 27 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·rangegenerators.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 365 lines modified | Offset 74, 78 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</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">rangegenerators.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
86 | <div·class="line"><a·id="l0000 | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l0000 | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH</span></div> |
88 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/iteratorrange.hh></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
90 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
91 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/bartonnackmanifcheck.hh></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/parallel/communicator.hh></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/grid/common/datahandleif.hh></span></div> | ||
95 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">template</span><<span·class="keywordtype">bool</span>·reverse></div> |
94 | <div·class="foldopen"·id="foldopen00015"·data-start="{"·data-end="};"> | ||
95 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a00986.html">···15</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00986.html">Reverse</a></div> | ||
96 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··:·std::integral_constant<bool,·reverse></div> | ||
97 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> | ||
98 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00986.html#a46b00c5fbac6102307de0b1b5fe7c901">···18</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a00986.html">Reverse</a>·<a·class="code·hl_typedef"·href="a00986.html#a46b00c5fbac6102307de0b1b5fe7c901">type</a>;</div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 99 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
98 | <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="a00103.html">Dune</a>·{</div> | ||
99 | <div·class="line"><a·id="l0002 | 100 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">constexpr</span></div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">···24</a></span>····<span·class="keyword">typedef</span>·std::pair<int,·int>·<a·class="code·hl_typedef"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">RankPair</a>;</div> | ||
102 | <div·class="foldopen"·id="foldopen0002 | 101 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}"> |
102 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00986.html#a5332b99f6c70dc746df8f01afbdc353d">···21</a></span>··<a·class="code·hl_struct"·href="a00986.html">Reverse<!reverse></a>·<a·class="code·hl_function"·href="a00986.html#a5332b99f6c70dc746df8f01afbdc353d">operator!</a>()<span·class="keyword">·const</span></div> | ||
103 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·{};·}</div> | ||
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00950.html">···25</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00950.html">GlobalId</a>·:·<span·class="keyword">public</span>·std::pair<RankPair,·unsigned·int></div> | ||
104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····{</div> | ||
105 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="}"> | ||
106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00950.html#a554946da36cc0a933995fdfe12636319">···30</a></span>······<a·class="code·hl_function"·href="a00950.html#a554946da36cc0a933995fdfe12636319">GlobalId</a>()·{</div> | ||
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········this->first.first·=·0;</div> | ||
108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········this->first.second·=·0;</div> | ||
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········this->second·=·0;</div> | ||
110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······}</div> | ||
111 | </div> | 104 | </div> |
112 | <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00950.html#a315ab00f6d781f336ce5dbb028dbf022">···38</a></span>······<a·class="code·hl_function"·href="a00950.html#a315ab00f6d781f336ce5dbb028dbf022">GlobalId</a>(<span·class="keywordtype">int</span>·i)·{</div> | ||
114 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········this->first.first·=·i;</div> | ||
115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········this->first.second·=·i;</div> | ||
116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········this->second·=·0;</div> | ||
117 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>};</div> |
118 | </div> | 106 | </div> |
119 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00950.html#a642bf20f4bd76bbf0e979b6ef2893d55">···48</a></span>······<a·class="code·hl_function"·href="a00950.html#a642bf20f4bd76bbf0e979b6ef2893d55">GlobalId</a>(<span·class="keywordtype">int</span>·i,·<span·class="keywordtype">int</span>·j,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·n)·{</div> | ||
121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········this->first.first·=·std::min(i,j);</div> | ||
122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········this->first.second·=·std::max(i,j);</div> | ||
123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········this->second·=·n;</div> | ||
124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····};</div> | ||
127 | </div> | ||
128 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
129 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> | ||
130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00104.html#ae6bb46e80d5b6cbe71801fce426c311b">···55</a></span>····<span·class="keyword">inline</span>·std::ostream&·<a·class="code·hl_function"·href="a00104.html#ae6bb46e80d5b6cbe71801fce426c311b">operator<<</a>(std::ostream&·os,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a00950.html">GlobalId</a>·&·<span·class="keywordtype">id</span>)</div> | ||
131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> | ||
132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······os·<<·<span·class="stringliteral">"("</span></div> | ||
133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·········<<·<span·class="keywordtype">id</span>.first.first·<<·<span·class="stringliteral">","</span>·<<·<span·class="keywordtype">id</span>.first.second·<<·<span·class="stringliteral">","</span></div> | ||
134 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·········<<·<span·class="keywordtype">id</span>.second·<<·<span·class="stringliteral">")"</span>;</div> | ||
135 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div> |
136 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div> | ||
137 | </div> | ||
138 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
110 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a00986.html#a1c756191c71762dc7b2a3766336ad709">···31</a></span><span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a00986.html">Reverse<true></a>·<a·class="code·hl_variable"·href="a00986.html#a1c756191c71762dc7b2a3766336ad709">reversed</a>;</div> | ||
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·DataHandleImp,·<span·class="keyword">class</span>·DataTypeImp></div> | ||
140 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};"> | ||
141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00954.html">···76</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00954.html">CommDataHandle</a></div> | ||
142 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
112 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">template</span><...></div> | ||
113 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>IteratorRange<...></div> | ||
114 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00926.html#ac6a31e555010d279de506e730906a26e">···68</a></span><a·class="code·hl_function"·href="a00926.html#ac6a31e555010d279de506e730906a26e">intersections</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue<...></a>&·glue,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a00986.html">Reverse<...></a>&·reverse·=·!reversed);</div> | ||
115 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
143 | <div·class="line"><a·id="l0007 | 116 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">#else</span></div> |
144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00954.html#a54e8ccbd2ec2a7412a6f2deacd9a6170">···80</a></span>······<span·class="keyword">typedef</span>·DataTypeImp·<a·class="code·hl_typedef"·href="a00954.html#a54e8ccbd2ec2a7412a6f2deacd9a6170">DataType</a>;</div> | ||
145 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
146 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">namespace·</span>{</div> |
147 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="comment">//·one·should·not·create·an·explicit·instance·of·this·inteface·object</span></div> | ||
148 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a00986.html">Reverse<true></a>·reversed·=·{};</div> |
120 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>}·<span·class="comment">/*·namespace·*/</span></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><span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1,·<span·class="keywordtype">bool</span>·reverse·=·false></div> | ||
123 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>IteratorRange<·typename·GridGlue<P0,·P1>::template·IntersectionIterator<reverse·?·1·:·0>·></div> | ||
124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>(<span·class="keyword">const</span>·GridGlue<P0,·P1>&·glue,·<span·class="keyword">const</span>·Reverse<reverse>&·=·{})</div> | ||
125 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> | ||
126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·side·=·reverse·?·1·:·0;</div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordflow">return</span>·{glue.template·ibegin<side>(),·glue.template·iend<side>()};</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>}</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div> | ||
149 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | 131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
150 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span> | 132 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> |
133 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> | ||
151 | <div·class="line"><a·id="l0008 | 134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
152 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keyword">template</span><<span·class="keyword">class</span>·RISType></div> | ||
153 | <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}"> | ||
154 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00954.html#a0faf7abe58978001235d89c2e8d1516c">···92</a></span>······<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a00954.html#a0faf7abe58978001235d89c2e8d1516c">size</a>·(RISType&·i)<span·class="keyword">·const</span></div> | ||
155 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">······</span>{</div> | ||
Max diff block lines reached; 19242/79934 bytes (24.07%) of diff not shown. |
Offset 1, 442 lines modified | Offset 1, 88 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | rangegenerators.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 5#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | ||
17 | 14 | 3#ifndef·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH | |
15 | 4#define·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH | ||
16 | 5 | ||
17 | 6#include·<dune/common/iteratorrange.hh> | ||
18 | 7 | 18 | 7 |
19 | 13#include·<type_traits> | ||
20 | 14 | ||
21 | 15#include·<dune/common/bartonnackmanifcheck.hh> | ||
22 | 16#include·<dune/common/parallel/communicator.hh> | ||
23 | 17#include·<dune/grid/common/datahandleif.hh> | ||
24 | 19 | 8namespace·_.D_.u_.n_.e·{ | |
20 | 9namespace·GridGlue·{ | ||
21 | 10 | ||
22 | 14template<bool·reverse> | ||
23 | _\x81_\x85struct·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e | ||
24 | 16·:·std::integral_constant<bool,·reverse> | ||
25 | 17{ | ||
26 | _\x81_\x88·typedef·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e·_\x8t_\x8y_\x8p_\x8e; | ||
25 | 19 | 27 | 19 |
28 | 20·constexpr | ||
29 | _\x82_\x81·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8!_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8>·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!()·const | ||
30 | 22·{·return·{};·} | ||
31 | 23}; | ||
32 | 24 | ||
33 | 25#ifdef·DOXYGEN | ||
34 | 26 | ||
35 | _\x83_\x81const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8t_\x8r_\x8u_\x8e_\x8>·_\x8r_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8d; | ||
36 | 32 | ||
37 | 66template<...> | ||
38 | 67IteratorRange<...> | ||
39 | _\x86_\x88_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8<_\x8._\x8._\x8._\x8>&·glue,·const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8._\x8._\x8._\x8>&·reverse·= | ||
40 | !reversed); | ||
41 | 69 | ||
42 | 70#else | ||
43 | 71 | ||
44 | 72namespace·{ | ||
45 | 73const·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8t_\x8r_\x8u_\x8e_\x8>·reversed·=·{}; | ||
46 | 74}·/*·namespace·*/ | ||
47 | 75 | ||
48 | 76template<typename·P0,·typename·P1,·bool·reverse·=·false> | ||
49 | 77IteratorRange<·typename·GridGlue<P0,·P1>::template | ||
50 | IntersectionIterator<reverse·?·1·:·0>·> | ||
51 | 78_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·GridGlue<P0,·P1>&·glue,·const·Reverse<reverse>&·=·{}) | ||
52 | 79{ | ||
53 | 80·const·static·int·side·=·reverse·?·1·:·0; | ||
54 | 81·return·{glue.template·ibegin<side>(),·glue.template·iend<side>()}; | ||
55 | 82} | ||
56 | 83 | ||
57 | 84#endif·//·DOXYGEN | ||
26 | 20 | ||
27 | 21namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
28 | 22·namespace·GridGlue·{ | ||
29 | 23 | ||
30 | _\x82_\x84·typedef·std::pair<int,·int>·_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r; | ||
31 | _\x82_\x85·struct·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·:·public·std::pair<RankPair,·unsigned·int> | ||
32 | 26·{ | ||
33 | _\x83_\x80·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d()·{ | ||
34 | 31·this->first.first·=·0; | ||
35 | 32·this->first.second·=·0; | ||
36 | 33·this->second·=·0; | ||
37 | 34·} | ||
38 | _\x83_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i)·{ | ||
39 | 39·this->first.first·=·i; | ||
40 | 40·this->first.second·=·i; | ||
41 | 41·this->second·=·0; | ||
42 | 42·} | ||
43 | _\x84_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i,·int·j,·unsigned·int·n)·{ | ||
44 | 49·this->first.first·=·std::min(i,j); | ||
45 | 50·this->first.second·=·std::max(i,j); | ||
46 | 51·this->second·=·n; | ||
47 | 52·} | ||
48 | 53·}; | ||
49 | 54 | ||
50 | _\x85_\x85·inline·std::ostream&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<(std::ostream&·os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·&·id) | ||
51 | 56·{ | ||
52 | 57·os·<<·"(" | ||
53 | 58·<<·id.first.first·<<·","·<<·id.first.second·<<·"," | ||
54 | 59·<<·id.second·<<·")"; | ||
55 | 60·return·os; | ||
56 | 61·} | ||
57 | 62 | ||
58 | 75·template·<class·DataHandleImp,·class·DataTypeImp> | ||
59 | _\x87_\x86·class·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e | ||
60 | 77·{ | ||
61 | 78·public: | ||
62 | _\x88_\x80·typedef·DataTypeImp·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e; | ||
63 | 81 | ||
64 | 82·protected: | ||
65 | 83·//·one·should·not·create·an·explicit·instance·of·this·inteface·object | ||
66 | _\x88_\x84·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e()·{} | ||
67 | 85 | 58 | 85 |
59 | 86}·/*·namespace·GridGlue·*/ | ||
60 | 87}·/*·namespace·Dune·*/ | ||
61 | 88 | ||
68 | 86·public: | ||
69 | 87 | ||
70 | 91·template<class·RISType> | ||
71 | _\x89_\x82·size_t·_\x8s_\x8i_\x8z_\x8e·(RISType&·i)·const | ||
72 | 93·{ | ||
73 | 94·CHECK_INTERFACE_IMPLEMENTATION((asImp()._\x8s_\x8i_\x8z_\x8e(i))); | ||
74 | 95·return·asImp().size(i); | ||
75 | 96·} | ||
76 | 97 | ||
77 | 103·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
78 | _\x81_\x80_\x84·void·_\x8g_\x8a_\x8t_\x8h_\x8e_\x8r·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
79 | i)·const | ||
80 | 105·{ | ||
81 | 106·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
82 | 107·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp()._\x8g_\x8a_\x8t_\x8h_\x8e_\x8r(buffIF,e,i))); | ||
83 | 108·} | ||
84 | 109 | ||
Max diff block lines reached; 12864/24279 bytes (52.98%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·projectionwriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 41 lines modified | Offset 72, 45 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">projectionwriter.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·<ostream></code><br·/> | 82 | <div·class="textblock"><code>#include·<iostream></code><br·/> |
83 | <code>#include·<string></code><br·/> | 83 | <code>#include·<string></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> | ||
84 | <code>#include·"<a·class="el"·href="a000 | 85 | <code>#include·"<a·class="el"·href="a00032_source.html">projectionwriter_impl.hh</a>"</code><br·/> |
85 | </div> | 86 | </div> |
86 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
89 | Namespaces</h2></td></tr> | 90 | Namespaces</h2></td></tr> |
90 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 91 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 93 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
96 | Functions</h2></td></tr> | 97 | Functions</h2></td></tr> |
97 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
98 | <tr·class="memitem:a | 98 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> |
99 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
100 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
101 | <tr·class="separator:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"·id="r_a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
103 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6cd6ef06c8419ceef0432658a35d97bb">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·const·std::string·&filename)</td></tr> | ||
104 | <tr·class="memdesc:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
99 | <tr·class="separator:a | 105 | <tr·class="separator:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"·id="r_a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
101 | <tr·class="memitem:a | 106 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> |
107 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
108 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
102 | <tr·class="separator:a | 109 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"·id="r_ab4463688255524d5d7433ae6af851884"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | ||
104 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ab4463688255524d5d7433ae6af851884">Dune::GridGlue::write_glue_areas_vtk</a>·(const·Glue·&glue,·const·std::string·&base)</td></tr> | ||
105 | <tr·class="separator:ab4463688255524d5d7433ae6af851884"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | </table> | 110 | </table> |
107 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
108 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
109 | <hr·class="footer"/><address·class="footer"><small> | 113 | <hr·class="footer"/><address·class="footer"><small> |
110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.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 |
111 | </small></address> | 115 | </small></address> |
112 | </body> | 116 | </body> |
Offset 2, 31 lines modified | Offset 2, 36 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | 9 | projectionwriter.hh·File·Reference | |
10 | #include·<ostream> | 10 | #include·<iostream> |
11 | #include·<string> | 11 | #include·<string> |
12 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
12 | #include·"_\x8 | 13 | #include·"_\x8p_.r_.o_.j_.e_.c_.t_.i_.o_.n_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" |
13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 16 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
16 | 17 | ||
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
18 | 19 | ||
19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
20 | template<int·side,·typename·Glue·> | ||
21 | 21 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | |
22 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
23 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
24 | ·····write·projection·in·VTK·format | ||
22 | 25 | ||
23 | template<int·side,·typename·Glue·> | ||
24 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
25 | ····· | 26 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> |
27 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
28 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
29 | ·····write·projection·in·VTK·format | ||
26 | 30 | ||
27 | template<typename·Glue·> | ||
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
29 | ······ | 31 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> |
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
33 | ······Corners·&corners,·const·Normals·&normals) | ||
34 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
30 | 35 | ||
31 | =============================================================================== | 36 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 37 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·projectionwriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 47 lines modified | Offset 74, 57 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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">projectionwriter.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_ | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_ | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<ostream></span></div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<iostream></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/grid-glue/common/projection.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
91 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</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="keyword">namespace·</span>GridGlue·{</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><span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> | ||
95 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> |
97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">write</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
98 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
99 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>···········<span·class="keyword">const</span>·Normals&·normals,</div> | ||
96 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>···········std::ostream&·out);</div> |
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">write_glue_area_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·filename);</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
100 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Glue></div> | ||
101 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#ab4463688255524d5d7433ae6af851884">write_glue_areas_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·base);</div> | ||
102 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
102 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
103 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">write</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
104 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
105 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>···········<span·class="keyword">const</span>·Normals&·normals,</div> | ||
106 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>···········<span·class="keyword">const</span>·std::string&·filename);</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">print</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>···········<span·class="keyword">const</span>·Normals&·normals);</div> | ||
111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
103 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> |
104 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> |
105 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
106 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#include·"<a·class="code"·href="a00032.html">projectionwriter_impl.hh</a>"</span></div> |
107 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
108 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</span></div> |
109 | <div·class="ttc"·id="aa000 | 118 | <div·class="ttc"·id="aa00032_html"><div·class="ttname"><a·href="a00032.html">projectionwriter_impl.hh</a></div></div> |
119 | <div·class="ttc"·id="aa00035_html"><div·class="ttname"><a·href="a00035.html">projection.hh</a></div></div> | ||
110 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> | 120 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> |
111 | <div·class="ttc"·id="aa00104_html_a16ccdbde4466d3073eab2a0f25d78f4e"><div·class="ttname"><a·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a></div><div·class="ttdeci">void·write_glue_area_vtk(const·Glue·&glue,·std::ostream·&out)</div><div·class="ttdef"><b>Definition</b>·areawriter_impl.hh:84</div></div> | ||
112 | <div·class="ttc"·id="aa00104_html_a | 121 | <div·class="ttc"·id="aa00104_html_a4dcc05f4b64a511b2e9548e371e140a7"><div·class="ttname"><a·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a></div><div·class="ttdeci">void·write(const·Projection<·Coordinate·>·&projection,·const·Corners·&corners,·co[·...·truncated·by·diffoscope;·len:·173,·SHA:·2c01c85c2e70510ab5d6be18bee018e05b7f85e48b3aa3cbe067ea524aa3744e·...·]</div></div> |
122 | <div·class="ttc"·id="aa00104_html_ace9cbed627c90927e36d71a65a5498a3"><div·class="ttname"><a·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a></div><div·class="ttdeci">void·print(const·Projection<·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</div><div·class="ttdoc">Print·information·about·the·projection·to·std::cout·stream.</div><div·class="ttdef"><b>Definition</b>·projectionwriter_impl.hh:140</div></div> | ||
113 | </div><!--·fragment·--></div><!--·contents·--> | 123 | </div><!--·fragment·--></div><!--·contents·--> |
114 | <!--·start·footer·part·--> | 124 | <!--·start·footer·part·--> |
115 | <hr·class="footer"/><address·class="footer"><small> | 125 | <hr·class="footer"/><address·class="footer"><small> |
116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 126 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
117 | </small></address> | 127 | </small></address> |
118 | </body> | 128 | </body> |
119 | </html> | 129 | </html> |
Offset 1, 48 lines modified | Offset 1, 62 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | projectionwriter.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_ | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH |
15 | 4#define·DUNE_GRIDGLUE_COMMON_ | 15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH |
16 | 5 | 16 | 5 |
17 | 6#include·<ostream> | 17 | 6#include·<iostream> |
18 | 7#include·<string> | 18 | 7#include·<string> |
19 | 8 | 19 | 8 |
20 | 9#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | 10 | ||
20 | 22 | 11namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
21 | 1 | 23 | 12namespace·GridGlue·{ |
22 | 11 | ||
23 | 12template<int·side,·typename·Glue> | ||
24 | 13void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out); | ||
25 | 14 | ||
26 | 15template<int·side,·typename·Glue> | ||
27 | 16void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·const·std::string&·filename); | ||
28 | 17 | ||
29 | 37template<typename·Glue> | ||
30 | 38void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·const·std::string&·base); | ||
31 | 24 | 13 | |
25 | 28template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
26 | 29void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
27 | 30·const·Corners&·corners, | ||
28 | 31·const·Normals&·normals, | ||
29 | 32·std::ostream&·out); | ||
30 | 33 | ||
31 | 40template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
32 | 41void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
33 | 42·const·Corners&·corners, | ||
34 | 43·const·Normals&·normals, | ||
35 | 44·const·std::string&·filename); | ||
36 | 54template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
37 | 55void·_\x8p_\x8r_\x8i_\x8n_\x8t(const·Projection<Coordinate>&·projection, | ||
38 | 56·const·Corners&·corners, | ||
39 | 57·const·Normals&·normals); | ||
40 | 58 | ||
32 | 41 | 59}·/*·namespace·GridGlue·*/ | |
33 | 42 | 60}·/*·namespace·Dune·*/ | |
34 | 43 | 61 | |
35 | 44 | 62#include·"_.p_.r_.o_.j_.e_.c_.t_.i_.o_.n_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | |
36 | 45 | 63 | |
37 | 46 | 64#endif | |
38 | _\x8 | 47 | _\x8p_.r_.o_.j_.e_.c_.t_.i_.o_.n_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h |
48 | _\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h | ||
39 | _\x8D_\x8u_\x8n_\x8e | 49 | _\x8D_\x8u_\x8n_\x8e |
40 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 | 50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 |
41 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e | 51 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e |
42 | void·write | 52 | void·write(const·Projection<·Coordinate·>·&projection,·const·Corners·&corners, |
53 | const·Normals·&normals,·std::ostream·&out) | ||
54 | write·projection·in·VTK·format | ||
43 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n· | 55 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·projectionwriter_impl.hh:86 |
44 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k | ||
45 | 56 | _.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.p_.r_.i_.n_.t | |
57 | void·print(const·Projection<·Coordinate·>·&projection,·const·Corners·&corners, | ||
58 | const·Normals·&normals) | ||
59 | Print·information·about·the·projection·to·std::cout·stream. | ||
46 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n· | 60 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·projectionwriter_impl.hh:140 |
47 | =============================================================================== | 61 | =============================================================================== |
48 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 62 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·projectionwriter_impl.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 59 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">projectionwriter_impl.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·<fstream></code><br·/> | ||
83 | </div> | ||
82 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
85 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
86 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00107"·id="r_a00107"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">Dune::GridGlue::ProjectionWriterImplementation</a></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="func-members"·name="func-members"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
92 | Functions</h2></td></tr> | 96 | Functions</h2></td></tr> |
93 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"·id="r_acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplParams"·colspan="2">template<class·T·,·int·dim>·</td></tr> | ||
94 | <tr·class="memitem:a | 97 | <tr·class="memitem:a20f7b27dad92956efe88514a4a3970ad"·id="r_a20f7b27dad92956efe88514a4a3970ad"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·,·typename·Corners·>·</td></tr> |
98 | <tr·class="memitem:a20f7b27dad92956efe88514a4a3970ad"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a20f7b27dad92956efe88514a4a3970ad">Dune::GridGlue::ProjectionWriterImplementation::write_points</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·std::ostream·&out)</td></tr> | ||
99 | <tr·class="separator:a20f7b27dad92956efe88514a4a3970ad"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | <tr·class="memitem:a127c7fdc1ce8ef1da9e80e5e4dc6189d"·id="r_a127c7fdc1ce8ef1da9e80e5e4dc6189d"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·,·typename·Normals·>·</td></tr> | ||
101 | <tr·class="memitem:a127c7fdc1ce8ef1da9e80e5e4dc6189d"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">Dune::GridGlue::ProjectionWriterImplementation::write_normals</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
102 | <tr·class="separator:a127c7fdc1ce8ef1da9e80e5e4dc6189d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:a84bdedfab7dc7e7f9ed2f0ea09499414"·id="r_a84bdedfab7dc7e7f9ed2f0ea09499414"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·>·</td></tr> | ||
104 | <tr·class="memitem:a84bdedfab7dc7e7f9ed2f0ea09499414"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">Dune::GridGlue::ProjectionWriterImplementation::write_edge_intersection_points</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·std::ostream·&out)</td></tr> | ||
105 | <tr·class="separator:a84bdedfab7dc7e7f9ed2f0ea09499414"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:acba14119e369d32663687241e6abcca5"·id="r_acba14119e369d32663687241e6abcca5"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:acba14119e369d32663687241e6abcca5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#acba14119e369d32663687241e6abcca5">Dune::GridGlue::ProjectionWriterImplementation::write_edge_intersection_normals</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
108 | <tr·class="separator:acba14119e369d32663687241e6abcca5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:a38c6fb299869cdd0448404d39bfac63f"·id="r_a38c6fb299869cdd0448404d39bfac63f"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·>·</td></tr> | ||
110 | <tr·class="memitem:a38c6fb299869cdd0448404d39bfac63f"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">Dune::GridGlue::ProjectionWriterImplementation::write_success</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·std::ostream·&out)</td></tr> | ||
111 | <tr·class="separator:a38c6fb299869cdd0448404d39bfac63f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
113 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
95 | <tr·class="memdesc:a | 114 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> |
96 | <tr·class="separator:a | 115 | <tr·class="separator:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"·id="r_a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
117 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6cd6ef06c8419ceef0432658a35d97bb">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·const·std::string·&filename)</td></tr> | ||
118 | <tr·class="memdesc:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
119 | <tr·class="separator:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
121 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
122 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
123 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><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 2, 23 lines modified | Offset 2, 59 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | 9 | projectionwriter_impl.hh·File·Reference | |
10 | #include·<fstream> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 13 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 14 | ||
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
15 | 16 | ||
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
18 | |||
16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
17 | template<class·T·,·int·dim> | ||
18 | static·Dune::FieldVector<·T,·dim·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t·(const·Dune:: | ||
19 | ····································FieldVector<·T,·dim·>·&a,·const·Dune:: | ||
20 | ····································FieldVector<·T,·dim·>·&b) | ||
21 | 20 | template<unsigned·side,·typename·Coordinate·,·typename·Corners·> | |
21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const | ||
22 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Corners·&corners,·std:: | ||
23 | ······ostream·&out) | ||
24 | |||
25 | template<unsigned·side,·typename·Coordinate·,·typename·Normals·> | ||
26 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const | ||
27 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Normals·&normals,·std:: | ||
28 | ······ostream·&out) | ||
29 | |||
30 | template<typename·Coordinate·,·typename·Corners·> | ||
31 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
32 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
33 | ······&projection,·const·Corners·&corners,·std::ostream·&out) | ||
34 | |||
35 | template<typename·Coordinate·,·typename·Normals·> | ||
36 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
37 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
38 | ······&projection,·const·Normals·&normals,·std::ostream·&out) | ||
39 | |||
40 | template<unsigned·side,·typename·Coordinate·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s·(const | ||
42 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·std::ostream·&out) | ||
43 | |||
44 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
45 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
46 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
47 | ·····write·projection·in·VTK·format | ||
48 | |||
49 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
50 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
51 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
52 | ·····write·projection·in·VTK·format | ||
53 | |||
54 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
55 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
56 | ······Corners·&corners,·const·Normals·&normals) | ||
57 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
22 | 58 | ||
23 | =============================================================================== | 59 | =============================================================================== |
24 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 60 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·projectionwriter_impl.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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">projectionwriter_impl.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#i | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·<fstream></span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH·1</span></div> | ||
87 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span>·</div> |
88 | <div·class="line"><a·id="l0000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l0000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
91 | <div·class=" | 90 | <div·class="foldopen"·id="foldopen00008"·data-start="{"·data-end="}"> |
91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno"><a·class="line"·href="a00107.html">····8</a></span><span·class="keyword">namespace·</span>ProjectionWriterImplementation·{</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="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
92 | <div·class="foldopen"·id="foldopen0001 | 94 | <div·class="foldopen"·id="foldopen00011"·data-start="{"·data-end="}"> |
95 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno"><a·class="line"·href="a00107.html#a20f7b27dad92956efe88514a4a3970ad">···11</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a20f7b27dad92956efe88514a4a3970ad">write_points</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Corners&·corners,·std::ostream&·out)</div> | ||
93 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">···15</a></span><span·class="keyword">static</span>·Dune::FieldVector<T,dim>·<a·class="code·hl_function"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">crossProduct</a>(<span·class="keyword">const</span>·Dune::FieldVector<T,dim>&·a,</div> | ||
94 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·············································<span·class="keyword">const</span>·Dune::FieldVector<T,dim>&·b)</div> | ||
95 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div> |
97 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
96 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">using·</span>std::get;</div> |
97 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·other_side·=·1·-·side;</div> |
100 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
101 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·get<side>(corners))</div> | ||
102 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</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="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·i·:·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()))·{</div> | ||
105 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·global·=·interpolate(i,·get<other_side>(corners));</div> | ||
106 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····out·<<·global·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
98 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}</div> |
99 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··Dune::FieldVector<T,dim>·c;</div> | ||
100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··c[0]·=·a[1]*b[2]·-·a[2]*b[1];</div> | ||
101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··c[1]·=·a[2]*b[0]·-·a[0]*b[2];</div> | ||
102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span> | 108 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div> |
109 | </div> | ||
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 110 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
111 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Normals></div> | ||
112 | <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">···27</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">write_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
115 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
116 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">using·</span>std::get;</div> | ||
117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·other_side·=·1·-·side;</div> | ||
118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
119 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·n·:·get<side>(normals))</div> | ||
120 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····out·<<·n·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
121 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
122 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·x·:·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()))·{</div> | ||
123 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n·=·interpolate_unit_normals(x,·get<other_side>(normals));</div> | ||
124 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····out·<<·n·<<·<span·class="stringliteral">"\n"</span>;</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> | ||
128 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
129 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
130 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">···43</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">write_edge_intersection_points</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Corners&·corners,·std::ostream&·out)</div> | ||
132 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
104 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>std::get;</div> |
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····out·<<·interpolate(local[0],·get<0>(corners))·<<·<span·class="stringliteral">"\n"</span></div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<<·interpolate(local[1],·get<1>(corners))·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div> | ||
142 | </div> | ||
143 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
144 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Normals></div> | ||
145 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00107.html#acba14119e369d32663687241e6abcca5">···56</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#acba14119e369d32663687241e6abcca5">write_edge_intersection_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
147 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
148 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
149 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">using·</span>std::get;</div> | ||
150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
151 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
152 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n0·=·interpolate_unit_normals(local[0],·get<0>(normals));</div> | ||
154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n1·=·interpolate_unit_normals(local[1],·get<1>(normals));</div> | ||
155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····out·<<·n0·<<·<span·class="stringliteral">"\n"</span></div> | ||
157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<<·n1·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}</div> | ||
160 | </div> | ||
161 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
162 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate></div> | ||
163 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
164 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">···72</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">write_success</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·std::ostream&·out)</div> | ||
165 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> | ||
166 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">using·</span>std::get;</div> | ||
167 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
168 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··out·<<·side·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
169 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
170 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·success·=·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#a10ded8b4b7964b911b8a0e90eda4d485">success</a>());</div> | ||
171 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·success.size();·++i)</div> | ||
172 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····out·<<·(success[i]·?·<span·class="stringliteral">"1\n"</span>·:·<span·class="stringliteral">"0\n"</span>);</div> | ||
173 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}</div> | ||
174 | </div> | ||
175 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
176 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}·<span·class="comment">/*·namespace·ProjectionWriterImplementation·*/</span></div> | ||
177 | </div> | ||
Max diff block lines reached; 7150/42411 bytes (16.86%) of diff not shown. |
Offset 1, 49 lines modified | Offset 1, 238 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | projectionwriter_impl.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#include·<fstream> | ||
15 | 4 | ||
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH | ||
15 | 4#define·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH·1 | ||
16 | 5 | ||
17 | 16 | 5namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
18 | 17 | 6namespace·GridGlue·{ | |
19 | 8 | ||
20 | 14template·<class·T,·int·dim> | ||
21 | _\x81_\x85static·Dune::FieldVector<T,dim>·_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t(const·Dune::FieldVector<T,dim>& | ||
22 | a, | ||
23 | 16·const·Dune::FieldVector<T,dim>&·b) | ||
24 | 17{ | ||
25 | 18·if·(dim!=3) | ||
26 | 19·DUNE_THROW(Dune::NotImplemented,·"crossProduct·does·not·work·for·dimension·" | ||
27 | <<·dim); | ||
28 | 20 | ||
29 | 21·Dune::FieldVector<T,dim>·c; | ||
30 | 22·c[0]·=·a[1]*b[2]·-·a[2]*b[1]; | ||
31 | 23·c[1]·=·a[2]*b[0]·-·a[0]*b[2]; | ||
32 | 18 | 7 | |
19 | _\x88namespace·ProjectionWriterImplementation·{ | ||
20 | 9 | ||
21 | 10template<unsigned·side,·typename·Coordinate,·typename·Corners> | ||
22 | _\x81_\x81void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Corners& | ||
23 | corners,·std::ostream&·out) | ||
24 | 12{ | ||
25 | 13·using·namespace·ProjectionImplementation; | ||
26 | 14·using·std::get; | ||
27 | 15·const·unsigned·other_side·=·1·-·side; | ||
28 | 16 | ||
29 | 17·for·(const·auto&·c·:·get<side>(corners)) | ||
30 | 18·out·<<·c·<<·"\n"; | ||
31 | 19 | ||
32 | 20·for·(const·auto&·i·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
33 | 21·const·auto·global·=·interpolate(i,·get<other_side>(corners)); | ||
34 | 22·out·<<·global·<<·"\n"; | ||
35 | 23·} | ||
36 | 24} | ||
33 | 25 | 37 | 25 |
34 | 26·ret | 38 | 26template<unsigned·side,·typename·Coordinate,·typename·Normals> |
39 | _\x82_\x87void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Normals& | ||
40 | normals,·std::ostream&·out) | ||
41 | 28{ | ||
42 | 29·using·namespace·ProjectionImplementation; | ||
43 | 30·using·std::get; | ||
44 | 31·const·unsigned·other_side·=·1·-·side; | ||
45 | 32 | ||
46 | 33·for·(const·auto&·n·:·get<side>(normals)) | ||
47 | 34·out·<<·n·<<·"\n"; | ||
48 | 35 | ||
49 | 36·for·(const·auto&·x·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
50 | 37·const·auto·n·=·interpolate_unit_normals(x,·get<other_side>(normals)); | ||
51 | 38·out·<<·n·<<·"\n"; | ||
52 | 39·} | ||
53 | 40} | ||
54 | 41 | ||
55 | 42template<typename·Coordinate,·typename·Corners> | ||
56 | _\x84_\x83void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection, | ||
57 | const·Corners&·corners,·std::ostream&·out) | ||
58 | 44{ | ||
59 | 45·using·namespace·ProjectionImplementation; | ||
60 | 46·using·std::get; | ||
61 | 47 | ||
62 | 48·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
63 | 49·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
64 | 50·out·<<·interpolate(local[0],·get<0>(corners))·<<·"\n" | ||
65 | 51·<<·interpolate(local[1],·get<1>(corners))·<<·"\n"; | ||
66 | 52·} | ||
67 | 53} | ||
68 | 54 | ||
69 | 55template<typename·Coordinate,·typename·Normals> | ||
70 | _\x85_\x86void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>& | ||
71 | projection,·const·Normals&·normals,·std::ostream&·out) | ||
72 | 57{ | ||
73 | 58·using·namespace·ProjectionImplementation; | ||
74 | 59·using·std::get; | ||
75 | 60 | ||
76 | 61·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
77 | 62·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
78 | 63·const·auto·n0·=·interpolate_unit_normals(local[0],·get<0>(normals)); | ||
79 | 64·const·auto·n1·=·interpolate_unit_normals(local[1],·get<1>(normals)); | ||
80 | 65 | ||
81 | 66·out·<<·n0·<<·"\n" | ||
82 | 67·<<·n1·<<·"\n"; | ||
83 | 68·} | ||
84 | 69} | ||
85 | 70 | ||
86 | 71template<unsigned·side,·typename·Coordinate> | ||
87 | _\x87_\x82void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·std::ostream& | ||
88 | out) | ||
89 | 73{ | ||
90 | 74·using·std::get; | ||
91 | 75 | ||
92 | 76·out·<<·side·<<·"\n"; | ||
93 | 77 | ||
94 | 78·const·auto&·success·=·get<side>(projection._\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s()); | ||
95 | 79·for·(std::size_t·i·=·0;·i·<·success.size();·++i) | ||
96 | 80·out·<<·(success[i]·?·"1\n"·:·"0\n"); | ||
97 | 81} | ||
98 | 82 | ||
99 | 83}·/*·namespace·ProjectionWriterImplementation·*/ | ||
100 | 84 | ||
101 | 85template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
102 | _\x88_\x86void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection, | ||
103 | 87·const·Corners&·corners, | ||
104 | 88·const·Normals&·normals, | ||
105 | 89·std::ostream&·out) | ||
106 | 90{ | ||
107 | 91·using·namespace·ProjectionWriterImplementation; | ||
108 | 92 | ||
109 | 93·const·auto·numberOfEdgeIntersections·=·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
110 | (); | ||
111 | 94·const·auto·nPoints·=·12·+·2·*·numberOfEdgeIntersections; | ||
Max diff block lines reached; 4259/12473 bytes (34.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-grid-glue:·projection | 8 | <title>dune-grid-glue:·projection.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 47 lines modified | Offset 70, 41 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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>··</div> |
78 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title">projection | 79 | ··<div·class="headertitle"><div·class="title">projection.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·<array></code><br·/> |
83 | <code>#include·< | 83 | <code>#include·<bitset></code><br·/> |
84 | <code>#include·< | 84 | <code>#include·<tuple></code><br·/> |
85 | <code>#include·"<a·class="el"·href="a000 | 85 | <code>#include·"<a·class="el"·href="a00047_source.html">projection_impl.hh</a>"</code><br·/> |
86 | </div> | 86 | </div> |
87 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00035_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> | ||
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="a00994.html">Dune::GridGlue::Projection<·Coordinate·></a></td></tr> | ||
92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00994.html"·title="Projection·of·a·line·(triangle)·on·another·line·(triangle).">Projection</a>·of·a·line·(triangle)·on·another·line·(triangle).··<a·href="a00994.html#details">More...</a><br·/></td></tr> | ||
93 | <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="a00998.html">Dune::GridGlue::Projection<·Coordinate·>::EdgeIntersection</a></td></tr> | ||
95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·between·two·edges·of·a·triangle.··<a·href="a00998.html#details">More...</a><br·/></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | </table><table·class="memberdecls"> | ||
89 | <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> |
90 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
91 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 102 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
97 | Functions</h2></td></tr> | ||
98 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
99 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
100 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
101 | <tr·class="separator:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"·id="r_a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
103 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6cd6ef06c8419ceef0432658a35d97bb">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·const·std::string·&filename)</td></tr> | ||
104 | <tr·class="memdesc:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
105 | <tr·class="separator:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
108 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
109 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table> | 104 | </table> |
111 | </div><!--·contents·--> | 105 | </div><!--·contents·--> |
112 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
113 | <hr·class="footer"/><address·class="footer"><small> | 107 | <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 | 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 |
115 | </small></address> | 109 | </small></address> |
116 | </body> | 110 | </body> |
Offset 1, 37 lines modified | Offset 1, 28 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8 | 8 | _\x8C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_\x8s |
9 | projection | 9 | projection.hh·File·Reference |
10 | #include·<array> | ||
10 | #include·< | 11 | #include·<bitset> |
12 | #include·<tuple> | ||
11 | #include·<string> | ||
12 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
13 | #include·"_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8 | 13 | #include·"_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" |
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
16 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8> | ||
17 | ········_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·of·a·line·(triangle)·on·another·line·(triangle).·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
18 | |||
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8>_\x8:_\x8:_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
20 | ········_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·between·two·edges·of·a·triangle.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | |||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
17 | 24 | ||
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
19 | 26 | ||
20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
21 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
22 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
23 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
24 | ·····write·projection·in·VTK·format | ||
25 | |||
26 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
27 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
28 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
29 | ·····write·projection·in·VTK·format | ||
30 | |||
31 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
33 | ······Corners·&corners,·const·Normals·&normals) | ||
34 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
35 | |||
36 | =============================================================================== | 27 | =============================================================================== |
37 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·projection | 8 | <title>dune-grid-glue:·projection.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 57 lines modified | Offset 74, 137 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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">projection | 80 | ··<div·class="headertitle"><div·class="title">projection.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTION | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTION | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<bitset></span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<tuple></span></div> | ||
90 | <div·class="line"><a·id="l0000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/grid-glue/common/projection.hh</a>></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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</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="keyword">namespace·</span>GridGlue·{</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="l000 | 95 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate></div> |
97 | <div·class=" | 96 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="};"> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00994.html">···20</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00994.html">Projection</a></div> | ||
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div> | ||
98 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">public</span>:</div> |
99 | <div·class=" | 100 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> |
101 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00998.html">···28</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00998.html">EdgeIntersection</a></div> | ||
100 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div> |
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">···33</a></span>····std::array<unsigned,·2>·<a·class="code·hl_variable"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">edge</a>;</div> | ||
101 | <div·class="line"><a·id="l0003 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
105 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">···41</a></span>····std::array<Coordinate,·2>·<a·class="code·hl_variable"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">local</a>;</div> | ||
102 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
103 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">write</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
104 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
105 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>···········<span·class="keyword">const</span>·Normals&·normals,</div> | ||
106 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>···········<span·class="keyword">const</span>·std::string&·filename);</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">print</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>···········<span·class="keyword">const</span>·Normals&·normals);</div> | ||
111 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div> |
107 | </div> | ||
112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> | ||
113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> | ||
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#include·"<a·class="code"·href="a00038.html">projectionwriter_impl.hh</a>"</span></div> | ||
116 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
109 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00994.html#a91d2da705bff70610909307ff749fab4">···47</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·=·Coordinate::dimension;</div> | ||
110 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
111 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00994.html#a2a50b590e9f1253de65514d8a4dcaac1">···54</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<a·class="code·hl_variable"·href="a00994.html#a2a50b590e9f1253de65514d8a4dcaac1">maxEdgeIntersections</a>·=·<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·==·3·?·9·:·0;</div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">static_assert</span>(<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·==·2·||·<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·==·3,·<span·class="stringliteral">"Projection·only·implemented·for·dim=2·or·dim=3"</span>);</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Coordinate::field_type·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>;</div> | ||
116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
117 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">···70</a></span>··<span·class="keyword">typedef</span>·std::array<Coordinate,·dim>·<a·class="code·hl_typedef"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">Images</a>;</div> | ||
118 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
119 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00994.html#a2e1b079126baedc0be5ee999290cf88f">···78</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">Images</a>·<a·class="code·hl_typedef"·href="a00994.html#a2e1b079126baedc0be5ee999290cf88f">Preimages</a>;</div> | ||
120 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
121 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> | ||
122 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·m_overlap;</div> | ||
123 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
124 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·m_max_normal_product;</div> | ||
125 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
126 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·m_epsilon·=·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>(1e-12);</div> | ||
127 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | ||
128 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··std::tuple<Images,·Preimages>·m_images;</div> | ||
129 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
130 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··std::tuple<std::bitset<dim>,·std::bitset<dim>·>·m_success;</div> | ||
131 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
132 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordtype">unsigned</span>·m_number_of_edge_intersections;</div> | ||
133 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
134 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··std::array<EdgeIntersection,·maxEdgeIntersections>·m_edge_intersections;</div> | ||
135 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> | ||
136 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keywordtype">bool</span>·m_projection_valid;</div> | ||
137 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> | ||
138 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
139 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<span·class="keywordtype">void</span>·doProjection(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
140 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> | ||
141 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
142 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keywordtype">void</span>·doInverseProjection(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
143 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> | ||
144 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
145 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>··<span·class="keywordtype">void</span>·doEdgeIntersection(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
146 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> | ||
147 | <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
148 | <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·projectionFeasible(<span·class="keyword">const</span>·Coordinate&·x,·<span·class="keyword">const</span>·Coordinate&·nx,·<span·class="keyword">const</span>·Coordinate&·px,·<span·class="keyword">const</span>·Corners&·corners,·<span·class="keyword">const</span>·Normals&·normals)·<span·class="keyword">const</span>;</div> | ||
149 | <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div> | ||
150 | <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span><span·class="keyword">public</span>:</div> | ||
151 | <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>··<a·class="code·hl_class"·href="a00994.html">Projection</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·overlap·=·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>(0),·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·max_normal_product·=·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>(-0.1));</div> | ||
152 | <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>·</div> | ||
153 | <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00994.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">epsilon</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·<a·class="code·hl_function"·href="a00994.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">epsilon</a>);</div> | ||
154 | <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div> | ||
155 | <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
156 | <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00994.html#a62468271652b299cc094a58ca5a6e590">project</a>(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
157 | <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno">··214</span>·</div> | ||
158 | <div·class="foldopen"·id="foldopen00235"·data-start="{"·data-end="}"> | ||
159 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno"><a·class="line"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">··235</a></span>··<span·class="keyword">const</span>·std::tuple<Images,·Preimages>&·<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()<span·class="keyword">·const</span></div> | ||
160 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_images;·}</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div> | ||
163 | <div·class="foldopen"·id="foldopen00252"·data-start="{"·data-end="}"> | ||
164 | <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno"><a·class="line"·href="a00994.html#a10ded8b4b7964b911b8a0e90eda4d485">··252</a></span>··<span·class="keyword">const</span>·std::tuple<std::bitset<dim>,·std::bitset<dim>·>&·<a·class="code·hl_function"·href="a00994.html#a10ded8b4b7964b911b8a0e90eda4d485">success</a>()<span·class="keyword">·const</span></div> | ||
165 | <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_success;·}</div> | ||
166 | </div> | ||
167 | <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>·</div> | ||
168 | <div·class="foldopen"·id="foldopen00262"·data-start="{"·data-end="}"> | ||
Max diff block lines reached; 7037/32729 bytes (21.50%) of diff not shown. |
Offset 1, 62 lines modified | Offset 1, 175 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | projection | 8 | projection.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTION | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH |
15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTION | 15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH |
16 | 5 | 16 | 5 |
17 | 6#include·< | 17 | 6#include·<array> |
18 | 7#include·< | 18 | 7#include·<bitset> |
19 | 8#include·<tuple> | ||
20 | 9 | ||
19 | 8 | ||
20 | 9#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | 10 | ||
22 | 1 | 21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ |
23 | 1 | 22 | 11namespace·GridGlue·{ |
23 | 12 | ||
24 | 19template<typename·Coordinate> | ||
25 | _\x82_\x80class·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 21{ | ||
27 | 22public: | ||
28 | _\x82_\x88·struct·_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
29 | 29·{ | ||
30 | _\x83_\x83·std::array<unsigned,·2>·_\x8e_\x8d_\x8g_\x8e; | ||
31 | 34 | ||
32 | _\x84_\x81·std::array<Coordinate,·2>·_\x8l_\x8o_\x8c_\x8a_\x8l; | ||
33 | 42·}; | ||
34 | 43 | ||
35 | _\x84_\x87·constexpr·static·unsigned·_\x8d_\x8i_\x8m·=·Coordinate::dimension; | ||
36 | 48 | ||
37 | _\x85_\x84·constexpr·static·unsigned·_\x8m_\x8a_\x8x_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·=·_\x8d_\x8i_\x8m·==·3·?·9·:·0; | ||
38 | 55 | ||
39 | 56·static_assert(_\x8d_\x8i_\x8m·==·2·||·_\x8d_\x8i_\x8m·==·3,·"Projection·only·implemented·for·dim=2 | ||
40 | or·dim=3"); | ||
41 | 57 | ||
42 | _\x86_\x81·typedef·typename·Coordinate::field_type·_\x8F_\x8i_\x8e_\x8l_\x8d; | ||
43 | 62 | ||
44 | _\x87_\x80·typedef·std::array<Coordinate,·dim>·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
45 | 71 | ||
46 | _\x87_\x88·typedef·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s·_\x8P_\x8r_\x8e_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
47 | 79 | ||
48 | 80private: | ||
49 | 84·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_overlap; | ||
50 | 85 | ||
51 | 94·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_max_normal_product; | ||
52 | 95 | ||
53 | 101·_\x8F_\x8i_\x8e_\x8l_\x8d·m_epsilon·=·_\x8F_\x8i_\x8e_\x8l_\x8d(1e-12); | ||
54 | 102 | ||
55 | 104·std::tuple<Images,·Preimages>·m_images; | ||
56 | 105 | ||
57 | 107·std::tuple<std::bitset<dim>,·std::bitset<dim>·>·m_success; | ||
58 | 108 | ||
59 | 110·unsigned·m_number_of_edge_intersections; | ||
60 | 111 | ||
61 | 113·std::array<EdgeIntersection,·maxEdgeIntersections>·m_edge_intersections; | ||
62 | 114 | ||
63 | 126·bool·m_projection_valid; | ||
64 | 127 | ||
65 | 133·template<typename·Corners,·typename·Normals> | ||
66 | 134·void·doProjection(const·std::tuple<Corners&,·Corners&>&·corners,·const | ||
67 | std::tuple<Normals&,·Normals&>&·normals); | ||
24 | 13 | 68 | 135 |
25 | 28template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
26 | 29void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
27 | 30·const·Corners&·corners, | ||
28 | 31·const·Normals&·normals, | ||
29 | 32·std::ostream&·out); | ||
30 | 33 | ||
31 | 4 | 69 | 144·template<typename·Corners,·typename·Normals> |
70 | 145·void·doInverseProjection(const·std::tuple<Corners&,·Corners&>&·corners, | ||
71 | const·std::tuple<Normals&,·Normals&>&·normals); | ||
72 | 146 | ||
32 | 41void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
33 | 42·const·Corners&·corners, | ||
34 | 43·const·Normals&·normals, | ||
35 | 44·const·std::string&·filename); | ||
36 | 5 | 73 | 155·template<typename·Corners,·typename·Normals> |
37 | 55void·_\x8p_\x8r_\x8i_\x8n_\x8t(const·Projection<Coordinate>&·projection, | ||
38 | 56·const·Corners&·corners, | ||
39 | 57·const·Normals&·normals); | ||
40 | 5 | 74 | 156·void·doEdgeIntersection(const·std::tuple<Corners&,·Corners&>&·corners, |
75 | const·std::tuple<Normals&,·Normals&>&·normals); | ||
76 | 157 | ||
77 | 183·template<typename·Corners,·typename·Normals> | ||
78 | 184·inline·bool·projectionFeasible(const·Coordinate&·x,·const·Coordinate&·nx, | ||
79 | const·Coordinate&·px,·const·Corners&·corners,·const·Normals&·normals)·const; | ||
80 | 185 | ||
81 | 186public: | ||
82 | 191·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·_\x8F_\x8i_\x8e_\x8l_\x8d·overlap·=·_\x8F_\x8i_\x8e_\x8l_\x8d(0),·const·_\x8F_\x8i_\x8e_\x8l_\x8d·max_normal_product·= | ||
83 | _\x8F_\x8i_\x8e_\x8l_\x8d(-0.1)); | ||
84 | 192 | ||
85 | 198·void·_\x8e_\x8p_\x8s_\x8i_\x8l_\x8o_\x8n(const·_\x8F_\x8i_\x8e_\x8l_\x8d·_\x8e_\x8p_\x8s_\x8i_\x8l_\x8o_\x8n); | ||
86 | 199 | ||
87 | 212·template<typename·Corners,·typename·Normals> | ||
88 | 213·void·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t(const·std::tuple<Corners&,·Corners&>&·corners,·const·std:: | ||
89 | tuple<Normals&,·Normals&>&·normals); | ||
90 | 214 | ||
91 | _\x82_\x83_\x85·const·std::tuple<Images,·Preimages>&·_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()·const | ||
92 | 236·{·return·m_images;·} | ||
93 | 237 | ||
94 | _\x82_\x85_\x82·const·std::tuple<std::bitset<dim>,·std::bitset<dim>·>&·_\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s()·const | ||
95 | 253·{·return·m_success;·} | ||
96 | 254 | ||
97 | _\x82_\x86_\x82·unsigned·_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()·const | ||
98 | 263·{·return·m_number_of_edge_intersections;·} | ||
99 | 264 | ||
100 | _\x82_\x87_\x83·const·std::array<EdgeIntersection,·maxEdgeIntersections>&·_\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
101 | ()·const | ||
102 | 274·{·return·m_edge_intersections;·} | ||
103 | 275}; | ||
104 | 276 | ||
41 | 105 | 277}·/*·namespace·GridGlue·*/ | |
42 | 106 | 278}·/*·namespace·Dune·*/ | |
43 | 107 | 279 | |
44 | 108 | 280#include·"_.p_.r_.o_.j_.e_.c_.t_.i_.o_.n_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | |
45 | 63 | ||
46 | 109 | 281 | |
110 | 282#endif | ||
Max diff block lines reached; 4537/9741 bytes (46.58%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·crossproduct.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 59 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">crossproduct.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·<fstream></code><br·/> | ||
83 | </div> | ||
84 | <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 85 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 86 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 88 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00107"·id="r_a00107"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">Dune::GridGlue::ProjectionWriterImplementation</a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | </table><table·class="memberdecls"> | 90 | </table><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
96 | Functions</h2></td></tr> | 92 | Functions</h2></td></tr> |
93 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"·id="r_acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplParams"·colspan="2">template<class·T·,·int·dim>·</td></tr> | ||
94 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplItemLeft"·align="right"·valign="top">static·Dune::FieldVector<·T,·dim·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">Dune::GridGlue::crossProduct</a>·(const·Dune::FieldVector<·T,·dim·>·&a,·const·Dune::FieldVector<·T,·dim·>·&b)</td></tr> | ||
95 | <tr·class="memdesc:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="mdescLeft"> </td><td·class="mdescRight">compute·cross·product··<br·/></td></tr> | ||
97 | <tr·class="memitem:a20f7b27dad92956efe88514a4a3970ad"·id="r_a20f7b27dad92956efe88514a4a3970ad"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·,·typename·Corners·>·</td></tr> | ||
98 | <tr·class="memitem:a20f7b27dad92956efe88514a4a3970ad"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a20f7b27dad92956efe88514a4a3970ad">Dune::GridGlue::ProjectionWriterImplementation::write_points</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·std::ostream·&out)</td></tr> | ||
99 | <tr·class="separator:a20f7b27dad92956efe88514a4a3970ad"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | <tr·class="memitem:a127c7fdc1ce8ef1da9e80e5e4dc6189d"·id="r_a127c7fdc1ce8ef1da9e80e5e4dc6189d"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·,·typename·Normals·>·</td></tr> | ||
101 | <tr·class="memitem:a127c7fdc1ce8ef1da9e80e5e4dc6189d"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">Dune::GridGlue::ProjectionWriterImplementation::write_normals</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
102 | <tr·class="separator:a127c7fdc1ce8ef1da9e80e5e4dc6189d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:a84bdedfab7dc7e7f9ed2f0ea09499414"·id="r_a84bdedfab7dc7e7f9ed2f0ea09499414"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·>·</td></tr> | ||
104 | <tr·class="memitem:a84bdedfab7dc7e7f9ed2f0ea09499414"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">Dune::GridGlue::ProjectionWriterImplementation::write_edge_intersection_points</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·std::ostream·&out)</td></tr> | ||
105 | <tr·class="separator:a84bdedfab7dc7e7f9ed2f0ea09499414"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:acba14119e369d32663687241e6abcca5"·id="r_acba14119e369d32663687241e6abcca5"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:acba14119e369d32663687241e6abcca5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#acba14119e369d32663687241e6abcca5">Dune::GridGlue::ProjectionWriterImplementation::write_edge_intersection_normals</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
108 | <tr·class="separator:acba14119e369d32663687241e6abcca5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:a38c6fb299869cdd0448404d39bfac63f"·id="r_a38c6fb299869cdd0448404d39bfac63f"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·>·</td></tr> | ||
110 | <tr·class="memitem:a38c6fb299869cdd0448404d39bfac63f"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">Dune::GridGlue::ProjectionWriterImplementation::write_success</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·std::ostream·&out)</td></tr> | ||
111 | <tr·class="separator:a38c6fb299869cdd0448404d39bfac63f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
113 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
114 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
115 | <tr·class="separator:a | 96 | <tr·class="separator:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"·id="r_a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
117 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6cd6ef06c8419ceef0432658a35d97bb">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·const·std::string·&filename)</td></tr> | ||
118 | <tr·class="memdesc:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
119 | <tr·class="separator:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
121 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
122 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
123 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | </table> | 97 | </table> |
125 | </div><!--·contents·--> | 98 | </div><!--·contents·--> |
126 | <!--·start·footer·part·--> | 99 | <!--·start·footer·part·--> |
127 | <hr·class="footer"/><address·class="footer"><small> | 100 | <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 | 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 |
129 | </small></address> | 102 | </small></address> |
130 | </body> | 103 | </body> |
Offset 2, 59 lines modified | Offset 2, 23 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | crossproduct.hh·File·Reference | ||
9 | projectionwriter_impl.hh·File·Reference | ||
10 | #include·<fstream> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
13 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
14 | 13 | ||
15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
16 | 15 | ||
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
18 | |||
19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
17 | template<class·T·,·int·dim> | ||
18 | static·Dune::FieldVector<·T,·dim·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t·(const·Dune:: | ||
19 | ····································FieldVector<·T,·dim·>·&a,·const·Dune:: | ||
20 | ····································FieldVector<·T,·dim·>·&b) | ||
21 | ···································compute·cross·product | ||
20 | template<unsigned·side,·typename·Coordinate·,·typename·Corners·> | ||
21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const | ||
22 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Corners·&corners,·std:: | ||
23 | ······ostream·&out) | ||
24 | |||
25 | template<unsigned·side,·typename·Coordinate·,·typename·Normals·> | ||
26 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const | ||
27 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Normals·&normals,·std:: | ||
28 | ······ostream·&out) | ||
29 | |||
30 | template<typename·Coordinate·,·typename·Corners·> | ||
31 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
32 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
33 | ······&projection,·const·Corners·&corners,·std::ostream·&out) | ||
34 | |||
35 | template<typename·Coordinate·,·typename·Normals·> | ||
36 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
37 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
38 | ······&projection,·const·Normals·&normals,·std::ostream·&out) | ||
39 | |||
40 | template<unsigned·side,·typename·Coordinate·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s·(const | ||
42 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·std::ostream·&out) | ||
43 | |||
44 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
45 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
46 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
47 | ·····write·projection·in·VTK·format | ||
48 | |||
49 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
50 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
51 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
52 | ·····write·projection·in·VTK·format | ||
53 | |||
54 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
55 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
56 | ······Corners·&corners,·const·Normals·&normals) | ||
57 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
58 | 22 | ||
59 | =============================================================================== | 23 | =============================================================================== |
60 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 24 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·crossproduct.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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">crossproduct.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 83 | <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#in | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH·1</span></div> | ||
86 | <div·class="line"><a·id="l0000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
87 | <div·class="line"><a·id="l0000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
88 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
89 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·dim></div> | ||
90 | <div·class="foldopen"·id="foldopen00008"·data-start="{"·data-end="}"> | ||
91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno"><a·class="line"·href="a00107.html">····8</a></span><span·class="keyword">namespace·</span>ProjectionWriterImplementation·{</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="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
94 | <div·class="foldopen"·id="foldopen0001 | 92 | <div·class="foldopen"·id="foldopen00015"·data-start="{"·data-end="}"> |
95 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">···15</a></span><span·class="keyword">static</span>·Dune::FieldVector<T,dim>·<a·class="code·hl_function"·href="a00104.html#acbf555ac0358f96[·...·truncated·by·diffoscope;·len:·109,·SHA:·22b6b1d44e566a3f92436200af0ee11689227067dbfdcaf5134bfcce7389e97d·...·]</div> |
94 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·············································<span·class="keyword">const</span>·Dune::FieldVector<T,dim>&·b)</div> | ||
96 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> |
97 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
98 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keywordflow">if</span>·(dim!=3)</div> |
97 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"crossProduct·does·not·work·for·dimension·"</span>·<<·dim);</div> | ||
99 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·other_side·=·1·-·side;</div> | ||
100 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
101 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·get<side>(corners))</div> | ||
102 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</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="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·i·:·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()))·{</div> | ||
105 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·global·=·interpolate(i,·get<other_side>(corners));</div> | ||
106 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····out·<<·global·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
107 | <div·class="line"><a·id="l0002 | 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>··Dune::FieldVector<T,dim>·c;</div> | ||
100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··c[0]·=·a[1]*b[2]·-·a[2]*b[1];</div> | ||
101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··c[1]·=·a[2]*b[0]·-·a[0]*b[2];</div> | ||
108 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span> | 102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··c[2]·=·a[0]*b[1]·-·a[1]*b[0];</div> |
109 | </div> | ||
110 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
111 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Normals></div> | ||
112 | <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">···27</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">write_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
115 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
116 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">using·</span>std::get;</div> | ||
117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·other_side·=·1·-·side;</div> | ||
118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
119 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·n·:·get<side>(normals))</div> | ||
120 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····out·<<·n·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
121 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
122 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·x·:·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()))·{</div> | ||
123 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n·=·interpolate_unit_normals(x,·get<other_side>(normals));</div> | ||
124 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····out·<<·n·<<·<span·class="stringliteral">"\n"</span>;</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> | ||
128 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
129 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
130 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">···43</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">write_edge_intersection_points</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Corners&·corners,·std::ostream&·out)</div> | ||
132 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
134 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keywordflow">return</span>·c;</div> |
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····out·<<·interpolate(local[0],·get<0>(corners))·<<·<span·class="stringliteral">"\n"</span></div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<<·interpolate(local[1],·get<1>(corners))·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div> | ||
142 | </div> | ||
143 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
144 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Normals></div> | ||
145 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00107.html#acba14119e369d32663687241e6abcca5">···56</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#acba14119e369d32663687241e6abcca5">write_edge_intersection_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
147 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
148 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
149 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">using·</span>std::get;</div> | ||
150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
151 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
152 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n0·=·interpolate_unit_normals(local[0],·get<0>(normals));</div> | ||
154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n1·=·interpolate_unit_normals(local[1],·get<1>(normals));</div> | ||
155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····out·<<·n0·<<·<span·class="stringliteral">"\n"</span></div> | ||
157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<<·n1·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}</div> | ||
160 | </div> | ||
161 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
162 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate></div> | ||
163 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
164 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">···72</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">write_success</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·std::ostream&·out)</div> | ||
165 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> | ||
166 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">using·</span>std::get;</div> | ||
167 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
168 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··out·<<·side·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
169 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
170 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·success·=·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#a10ded8b4b7964b911b8a0e90eda4d485">success</a>());</div> | ||
171 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·success.size();·++i)</div> | ||
172 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····out·<<·(success[i]·?·<span·class="stringliteral">"1\n"</span>·:·<span·class="stringliteral">"0\n"</span>);</div> | ||
173 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}</div> | ||
174 | </div> | ||
175 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
176 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}·<span·class="comment">/*·namespace·ProjectionWriterImplementation·*/</span></div> | ||
Max diff block lines reached; 7150/42411 bytes (16.86%) of diff not shown. |
Offset 1, 238 lines modified | Offset 1, 49 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | crossproduct.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#include·<fstream> | ||
15 | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH | |
15 | 4#define·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH·1 | ||
16 | 5 | ||
16 | 17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
17 | 18 | 7namespace·GridGlue·{ | |
19 | 8 | ||
20 | 14template·<class·T,·int·dim> | ||
21 | _\x81_\x85static·Dune::FieldVector<T,dim>·_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t(const·Dune::FieldVector<T,dim>& | ||
22 | a, | ||
23 | 16·const·Dune::FieldVector<T,dim>&·b) | ||
24 | 17{ | ||
25 | 18·if·(dim!=3) | ||
26 | 19·DUNE_THROW(Dune::NotImplemented,·"crossProduct·does·not·work·for·dimension·" | ||
27 | <<·dim); | ||
28 | 20 | ||
29 | 21·Dune::FieldVector<T,dim>·c; | ||
30 | 22·c[0]·=·a[1]*b[2]·-·a[2]*b[1]; | ||
31 | 23·c[1]·=·a[2]*b[0]·-·a[0]*b[2]; | ||
32 | 24·c[2]·=·a[0]*b[1]·-·a[1]*b[0]; | ||
18 | 7 | ||
19 | _\x88namespace·ProjectionWriterImplementation·{ | ||
20 | 9 | ||
21 | 10template<unsigned·side,·typename·Coordinate,·typename·Corners> | ||
22 | _\x81_\x81void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Corners& | ||
23 | corners,·std::ostream&·out) | ||
24 | 12{ | ||
25 | 13·using·namespace·ProjectionImplementation; | ||
26 | 14·using·std::get; | ||
27 | 15·const·unsigned·other_side·=·1·-·side; | ||
28 | 16 | ||
29 | 17·for·(const·auto&·c·:·get<side>(corners)) | ||
30 | 18·out·<<·c·<<·"\n"; | ||
31 | 19 | ||
32 | 20·for·(const·auto&·i·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
33 | 21·const·auto·global·=·interpolate(i,·get<other_side>(corners)); | ||
34 | 22·out·<<·global·<<·"\n"; | ||
35 | 23·} | ||
36 | 24} | ||
37 | 25 | 33 | 25 |
34 | 26·return·c; | ||
38 | 26template<unsigned·side,·typename·Coordinate,·typename·Normals> | ||
39 | _\x82_\x87void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Normals& | ||
40 | normals,·std::ostream&·out) | ||
41 | 28{ | ||
42 | 29·using·namespace·ProjectionImplementation; | ||
43 | 30·using·std::get; | ||
44 | 31·const·unsigned·other_side·=·1·-·side; | ||
45 | 32 | ||
46 | 33·for·(const·auto&·n·:·get<side>(normals)) | ||
47 | 34·out·<<·n·<<·"\n"; | ||
48 | 35 | ||
49 | 36·for·(const·auto&·x·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
50 | 37·const·auto·n·=·interpolate_unit_normals(x,·get<other_side>(normals)); | ||
51 | 38·out·<<·n·<<·"\n"; | ||
52 | 39·} | ||
53 | 40} | ||
54 | 41 | ||
55 | 42template<typename·Coordinate,·typename·Corners> | ||
56 | _\x84_\x83void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection, | ||
57 | const·Corners&·corners,·std::ostream&·out) | ||
58 | 44{ | ||
59 | 45·using·namespace·ProjectionImplementation; | ||
60 | 46·using·std::get; | ||
61 | 47 | ||
62 | 48·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
63 | 49·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
64 | 50·out·<<·interpolate(local[0],·get<0>(corners))·<<·"\n" | ||
65 | 51·<<·interpolate(local[1],·get<1>(corners))·<<·"\n"; | ||
66 | 52·} | ||
67 | 53} | ||
68 | 54 | ||
69 | 55template<typename·Coordinate,·typename·Normals> | ||
70 | _\x85_\x86void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>& | ||
71 | projection,·const·Normals&·normals,·std::ostream&·out) | ||
72 | 57{ | ||
73 | 58·using·namespace·ProjectionImplementation; | ||
74 | 59·using·std::get; | ||
75 | 60 | ||
76 | 61·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
77 | 62·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
78 | 63·const·auto·n0·=·interpolate_unit_normals(local[0],·get<0>(normals)); | ||
79 | 64·const·auto·n1·=·interpolate_unit_normals(local[1],·get<1>(normals)); | ||
80 | 65 | ||
81 | 66·out·<<·n0·<<·"\n" | ||
82 | 67·<<·n1·<<·"\n"; | ||
83 | 68·} | ||
84 | 69} | ||
85 | 70 | ||
86 | 71template<unsigned·side,·typename·Coordinate> | ||
87 | _\x87_\x82void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·std::ostream& | ||
88 | out) | ||
89 | 73{ | ||
90 | 74·using·std::get; | ||
91 | 75 | ||
92 | 76·out·<<·side·<<·"\n"; | ||
93 | 77 | ||
94 | 78·const·auto&·success·=·get<side>(projection._\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s()); | ||
95 | 79·for·(std::size_t·i·=·0;·i·<·success.size();·++i) | ||
96 | 80·out·<<·(success[i]·?·"1\n"·:·"0\n"); | ||
97 | 81} | ||
98 | 82 | ||
99 | 83}·/*·namespace·ProjectionWriterImplementation·*/ | ||
100 | 84 | ||
101 | 85template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
102 | _\x88_\x86void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection, | ||
103 | 87·const·Corners&·corners, | ||
104 | 88·const·Normals&·normals, | ||
105 | 89·std::ostream&·out) | ||
106 | 90{ | ||
107 | 91·using·namespace·ProjectionWriterImplementation; | ||
108 | 92 | ||
109 | 93·const·auto·numberOfEdgeIntersections·=·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
110 | (); | ||
Max diff block lines reached; 4259/12473 bytes (34.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-grid-glue:·areawriter | 8 | <title>dune-grid-glue:·areawriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 47 lines modified | Offset 70, 34 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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>·| |
79 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">areawriter | 79 | ··<div·class="headertitle"><div·class="title">areawriter.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·<ostream></code><br·/> |
84 | <code>#include·< | 83 | <code>#include·<string></code><br·/> |
84 | <code>#include·"<a·class="el"·href="a00050_source.html">areawriter_impl.hh</a>"</code><br·/> | ||
85 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
86 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
88 | </div> | 85 | </div> |
89 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
90 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
92 | 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="a00990.html">Dune::GridGlue::AreaWriterImplementation::FacetLayout<·dimgrid·></a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table><table·class="memberdecls"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
97 | Namespaces</h2></td></tr> | 89 | Namespaces</h2></td></tr> |
98 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 90 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 92 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00105"·id="r_a00105"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00105.html">Dune::GridGlue::AreaWriterImplementation</a></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
106 | Functions</h2></td></tr> | 96 | Functions</h2></td></tr> |
107 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"·id="r_a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplParams"·colspan="2">template<typename·GridView·>·</td></tr> | ||
108 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">Dune::GridGlue::AreaWriterImplementation::write_facet_geometry</a>·(const·GridView·&gv,·std::ostream·&out)</td></tr> | ||
109 | <tr·class="separator:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | 97 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> |
111 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·std::ostream·&out)</td></tr> | 98 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·std::ostream·&out)</td></tr> |
112 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"·id="r_a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | 100 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"·id="r_a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> |
114 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a426e3cf8b8d851b1091af8ad0b2ff2de">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·const·std::string·&filename)</td></tr> | 101 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a426e3cf8b8d851b1091af8ad0b2ff2de">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·const·std::string·&filename)</td></tr> |
115 | <tr·class="separator:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"·id="r_ab4463688255524d5d7433ae6af851884"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | 103 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"·id="r_ab4463688255524d5d7433ae6af851884"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> |
Offset 1, 37 lines modified | Offset 1, 26 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8 | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | areawriter | 9 | areawriter.hh·File·Reference |
10 | #include·< | 10 | #include·<ostream> |
11 | #include·< | 11 | #include·<string> |
12 | #include·"_\x8a_\x8r_\x8e_\x8a_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
12 | #include·<dune/common/fvector.hh> | ||
13 | #include·<dune/geometry/type.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
17 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t_\x8<_\x8·_\x8d_\x8i_\x8m_\x8g_\x8r_\x8i_\x8d_\x8·_\x8> | ||
18 | |||
19 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
20 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 15 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
21 | 16 | ||
22 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
23 | 18 | ||
24 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
25 | |||
26 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
27 | template<typename·GridView·> | ||
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·(const | ||
29 | ······GridView·&gv,·std::ostream·&out) | ||
30 | |||
31 | template<int·side,·typename·Glue·> | 20 | template<int·side,·typename·Glue·> |
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) | 21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) |
33 | 22 | ||
34 | template<int·side,·typename·Glue·> | 23 | template<int·side,·typename·Glue·> |
35 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | 24 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string |
36 | ······&filename) | 25 | ······&filename) |
37 | 26 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·areawriter | 8 | <title>dune-grid-glue:·areawriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 183 lines modified | Offset 74, 47 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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">areawriter | 80 | ··<div·class="headertitle"><div·class="title">areawriter.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#in | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#in | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<ostream></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | ||
91 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
92 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</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="keyword">namespace·</span>GridGlue·{</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="foldopen"·id="foldopen00013"·data-start="{"·data-end="}"> | ||
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">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">write_glue_area_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·std::ostream&·out);</div> | ||
97 | <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">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">write_glue_area_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·filename);</div> | ||
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimgr<span·class="keywordtype">id</span>></div> | ||
99 | <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="};"> | ||
100 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a00990.html">···16</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00990.html">FacetLayout</a></div> | ||
101 | <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> |
102 | <div·class="foldopen"·id="foldopen00018"·data-start="{"·data-end="}"> | ||
103 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">···18</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">contains</a>(Dune::GeometryType·gt)<span·class="keyword">·const</span></div> | ||
104 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Glue></div> |
101 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#ab4463688255524d5d7433ae6af851884">write_glue_areas_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·base);</div> | ||
105 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>······<span·class="keywordflow">return</span>·gt.dim()·==·dimgrid·-·1;</div> | ||
106 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····}</div> | ||
107 | </div> | ||
108 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>};</div> | ||
109 | </div> | ||
110 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
111 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Gr<span·class="keywordtype">id</span>View></div> | ||
112 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">···25</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">write_facet_geometry</a>(<span·class="keyword">const</span>·GridView&·gv,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
115 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">using·</span>Coordinate·=·Dune::FieldVector<double,·3>;</div> | ||
116 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
117 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··std::vector<Coordinate>·corners;</div> | ||
118 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
119 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
120 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i)·{</div> | ||
121 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> |
122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·c0·=·geometry.corner(i);</div> | ||
123 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······Coordinate·c1;</div> | ||
124 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·0;·d·<·GridView::dimensionworld;·++d)</div> | ||
125 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········c1[d]·=·c0[d];</div> | ||
126 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d)</div> | ||
127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········c1[d]·=·<span·class="keywordtype">double</span>(0);</div> | ||
128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······corners.push_back(c1);</div> | ||
129 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···· | 104 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> |
130 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>· | 105 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 106 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·"<a·class="code"·href="a00050.html">areawriter_impl.hh</a>"</span></div> |
132 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>· | 107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····out·<<·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID\n"</span></div> | ||
134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<<·<span·class="stringliteral">"POINTS·"</span>·<<·corners.size()·<<·<span·class="stringliteral">"·double\n"</span>;</div> | ||
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·corners)</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> | ||
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····out·<<·<span·class="stringliteral">"CELLS·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"·"</span>·<<·(gv.size(1)·+·corners.size())·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::size_t·c·=·0;</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
143 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······out·<<·geometry.corners();</div> | ||
144 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i,·++c)</div> | ||
145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········out·<<·<span·class="stringliteral">"·"</span>·<<·c;</div> | ||
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······out·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> | ||
148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····out·<<·<span·class="stringliteral">"CELL_TYPES·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·type·=·facet.type();</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">if</span>·(type.isVertex())</div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········out·<<·<span·class="stringliteral">"1\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isLine())</div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········out·<<·<span·class="stringliteral">"2\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTriangle())</div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········out·<<·<span·class="stringliteral">"5\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isQuadrilateral())</div> | ||
160 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········out·<<·<span·class="stringliteral">"9\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTetrahedron())</div> | ||
162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········out·<<·<span·class="stringliteral">"10\n"</span>;</div> | ||
163 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#endif</span></div> |
109 | <div·class="ttc"·id="aa00050_html"><div·class="ttname"><a·href="a00050.html">areawriter_impl.hh</a></div></div> | ||
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"Unhandled·geometry·type"</span>);</div> | ||
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
166 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | ||
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> | ||
168 | </div> | ||
169 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
170 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">/*·namespace·AreaWriterImplementation·*/</span></div> | ||
171 | </div> | ||
172 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
173 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> | ||
174 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> | ||
175 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">···84</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">write_glue_area_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·std::ostream&·out)</div> | ||
176 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>{</div> | ||
177 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">using·</span>GridView·=·<span·class="keyword">typename</span>·std::decay<·<span·class="keyword">decltype</span>(glue.template·gridView<side>())·>::type;</div> | ||
178 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">using·</span>Mapper·=·Dune::MultipleCodimMultipleGeomTypeMapper<GridView,·AreaWriterImplementation::FacetLayout>;</div> | ||
Max diff block lines reached; 2596/32507 bytes (7.99%) of diff not shown. |
Offset 1, 184 lines modified | Offset 1, 48 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | areawriter | 8 | areawriter.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#include·<fstream> | ||
15 | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH | |
15 | 4#define·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH | ||
16 | 5 | 16 | 5 |
17 | 6#include·<ostream> | ||
18 | 7#include·<string> | ||
19 | 8 | ||
17 | 6#include·<dune/common/fvector.hh> | ||
18 | 7#include·<dune/geometry/type.hh> | ||
19 | 8#include·<dune/grid/common/mcmgmapper.hh> | ||
20 | 9 | ||
21 | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
22 | 1 | 21 | 10namespace·GridGlue·{ |
23 | 12 | ||
24 | 22 | 11 | |
23 | 12template<int·side,·typename·Glue> | ||
24 | 13void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out); | ||
25 | 14 | 25 | 14 |
26 | 15template<int·dimgrid> | ||
27 | _\x81_\x86struct·_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t | ||
28 | 17{ | ||
29 | _\x81_\x88·bool·_\x8c_\x8o_\x8n_\x8t_\x8a_\x8i_\x8n_\x8s(Dune::GeometryType·gt)·const | ||
30 | 19·{ | ||
31 | 20·return·gt.dim()·==·dimgrid·-·1; | ||
32 | 21·} | ||
33 | 22}; | ||
34 | 23 | ||
35 | 24template<typename·GridView> | ||
36 | _\x82_\x85void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y(const·GridView&·gv,·std::ostream&·out) | ||
37 | 26{ | ||
38 | 27·using·Coordinate·=·Dune::FieldVector<double,·3>; | ||
39 | 28 | ||
40 | 29·std::vector<Coordinate>·corners; | ||
41 | 30·for·(const·auto&·facet·:·facets(gv))·{ | ||
42 | 31·const·auto·geometry·=·facet.geometry(); | ||
43 | 32·for·(int·i·=·0;·i·<·geometry.corners();·++i)·{ | ||
44 | 33·/*·VTK·always·needs·3-dim·coordinates...·*/ | ||
45 | 34·const·auto·c0·=·geometry.corner(i); | ||
46 | 35·Coordinate·c1; | ||
47 | 36·for·(int·d·=·0;·d·<·GridView::dimensionworld;·++d) | ||
48 | 37·c1[d]·=·c0[d]; | ||
49 | 38·for·(int·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d) | ||
50 | 39·c1[d]·=·double(0); | ||
51 | 40·corners.push_back(c1); | ||
52 | 41·} | ||
53 | 42·} | ||
54 | 43 | ||
55 | 44·{ | ||
56 | 45·out·<<·"DATASET·UNSTRUCTURED_GRID\n" | ||
57 | 46·<<·"POINTS·"·<<·corners.size()·<<·"·double\n"; | ||
58 | 47·for·(const·auto&·c·:·corners) | ||
59 | 48·out·<<·c·<<·"\n"; | ||
60 | 49·} | ||
61 | 50·{ | ||
62 | 51·out·<<·"CELLS·"·<<·gv.size(1)·<<·"·"·<<·(gv.size(1)·+·corners.size())·<< | ||
63 | "\n"; | ||
64 | 52·std::size_t·c·=·0; | ||
65 | 53·for·(const·auto&·facet·:·facets(gv))·{ | ||
66 | 54·const·auto·geometry·=·facet.geometry(); | ||
67 | 55·out·<<·geometry.corners(); | ||
68 | 56·for·(int·i·=·0;·i·<·geometry.corners();·++i,·++c) | ||
69 | 57·out·<<·"·"·<<·c; | ||
70 | 58·out·<<·"\n"; | ||
71 | 59·} | ||
72 | 60·} | ||
73 | 61·{ | ||
74 | 62·out·<<·"CELL_TYPES·"·<<·gv.size(1)·<<·"\n"; | ||
75 | 63·for·(const·auto&·facet·:·facets(gv))·{ | ||
76 | 64·const·auto·type·=·facet.type(); | ||
77 | 65·if·(type.isVertex()) | ||
78 | 66·out·<<·"1\n"; | ||
79 | 67·else·if·(type.isLine()) | ||
80 | 68·out·<<·"2\n"; | ||
81 | 69·else·if·(type.isTriangle()) | ||
82 | 70·out·<<·"5\n"; | ||
83 | 71·else·if·(type.isQuadrilateral()) | ||
84 | 72·out·<<·"9\n"; | ||
85 | 73·else·if·(type.isTetrahedron()) | ||
86 | 74·out·<<·"10\n"; | ||
87 | 75·else | ||
88 | 76·DUNE_THROW(Dune::Exception,·"Unhandled·geometry·type"); | ||
89 | 77·} | ||
90 | 78·} | ||
91 | 79} | ||
92 | 80 | ||
93 | 81}·/*·namespace·AreaWriterImplementation·*/ | ||
94 | 82 | ||
95 | 83template<int·side,·typename·Glue> | ||
96 | _\x88_\x84void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out) | ||
97 | 85{ | ||
98 | 86·using·GridView·=·typename·std::decay<·decltype(glue.template·gridView<side> | ||
99 | ())·>::type; | ||
100 | 87·using·Mapper·=·Dune::MultipleCodimMultipleGeomTypeMapper<GridView, | ||
101 | AreaWriterImplementation::FacetLayout>; | ||
102 | 88·using·ctype·=·typename·GridView::ctype; | ||
103 | 89 | ||
104 | 90·const·GridView·gv·=·glue.template·gridView<side>(); | ||
105 | 91·Mapper·mapper(gv); | ||
106 | 92·std::vector<ctype>·coveredArea(mapper.size(),·ctype(0)); | ||
107 | 93·std::vector<ctype>·totalArea(mapper.size(),·ctype(1)); | ||
108 | 94 | ||
109 | 95·for·(const·auto&·in·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(glue,·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8s_\x8i_\x8d_\x8e_\x8·_\x8=_\x8=_\x8·_\x81_\x8>()))·{ | ||
110 | 96·const·auto·element·=·in.inside(); | ||
111 | 97·const·auto·index·=·mapper.subIndex(element,·in.indexInInside(),·1); | ||
112 | 98·coveredArea[index]·+=·in.geometryInInside().volume(); | ||
113 | 99 | ||
114 | 100·const·auto&·refElement·=·Dune::ReferenceElements<ctype,·GridView:: | ||
115 | dimension>::general(element.type()); | ||
116 | 101·const·auto&·subGeometry·=·refElement.template·geometry<1>(in.indexInInside | ||
117 | ()); | ||
118 | 102·totalArea[index]·=·subGeometry.volume(); | ||
119 | 103·} | ||
120 | 104 | ||
121 | 105·for·(std::size_t·i·=·0;·i·<·coveredArea.size();·++i) | ||
Max diff block lines reached; 1817/7831 bytes (23.20%) 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-grid-glue:· | 8 | <title>dune-grid-glue:·areawriter_impl.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 40 lines modified | Offset 71, 55 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">areawriter_impl.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·<fstream></code><br·/> |
83 | <code>#include·<bitset></code><br·/> | ||
84 | <code>#include·< | 84 | <code>#include·<vector></code><br·/> |
85 | <code>#include·& | 85 | <code>#include·<dune/common/fvector.hh></code><br·/> |
86 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
86 | </div> | 88 | </div> |
87 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00050_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"> | 93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00990.html">Dune::GridGlue::AreaWriterImplementation::FacetLayout<·dimgrid·></a></td></tr> |
92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00994.html"·title="Projection·of·a·line·(triangle)·on·another·line·(triangle).">Projection</a>·of·a·line·(triangle)·on·another·line·(triangle).··<a·href="a00994.html#details">More...</a><br·/></td></tr> | ||
93 | <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="a00998.html">Dune::GridGlue::Projection<·Coordinate·>::EdgeIntersection</a></td></tr> | ||
95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·between·two·edges·of·a·triangle.··<a·href="a00998.html#details">More...</a><br·/></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
98 | <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> |
99 | Namespaces</h2></td></tr> | 97 | Namespaces</h2></td></tr> |
100 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 98 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 100 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
103 | <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:a00105"·id="r_a00105"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00105.html">Dune::GridGlue::AreaWriterImplementation</a></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
106 | Functions</h2></td></tr> | ||
107 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"·id="r_a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplParams"·colspan="2">template<typename·GridView·>·</td></tr> | ||
108 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">Dune::GridGlue::AreaWriterImplementation::write_facet_geometry</a>·(const·GridView·&gv,·std::ostream·&out)</td></tr> | ||
109 | <tr·class="separator:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
111 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·std::ostream·&out)</td></tr> | ||
112 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"·id="r_a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
114 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a426e3cf8b8d851b1091af8ad0b2ff2de">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·const·std::string·&filename)</td></tr> | ||
115 | <tr·class="separator:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"·id="r_ab4463688255524d5d7433ae6af851884"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | ||
117 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ab4463688255524d5d7433ae6af851884">Dune::GridGlue::write_glue_areas_vtk</a>·(const·Glue·&glue,·const·std::string·&base)</td></tr> | ||
118 | <tr·class="separator:ab4463688255524d5d7433ae6af851884"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table> | 119 | </table> |
105 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 122 | <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 | 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 |
109 | </small></address> | 124 | </small></address> |
110 | </body> | 125 | </body> |
Offset 1, 28 lines modified | Offset 1, 43 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | areawriter_impl.hh·File·Reference | ||
9 | projection.hh·File·Reference | ||
10 | #include·<array> | ||
11 | #include·<bitset> | ||
12 | #include·<t | 10 | #include·<fstream> |
13 | #include· | 11 | #include·<vector> |
12 | #include·<dune/common/fvector.hh> | ||
13 | #include·<dune/geometry/type.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
17 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t_\x8<_\x8·_\x8d_\x8i_\x8m_\x8g_\x8r_\x8i_\x8d_\x8·_\x8> | ||
16 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8> | ||
17 | ········_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·of·a·line·(triangle)·on·another·line·(triangle).·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
18 | |||
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8>_\x8:_\x8:_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
20 | ········_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·between·two·edges·of·a·triangle.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 18 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 19 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 20 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 21 | ||
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 22 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
26 | 23 | ||
24 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
25 | |||
26 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
27 | template<typename·GridView·> | ||
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·(const | ||
29 | ······GridView·&gv,·std::ostream·&out) | ||
30 | |||
31 | template<int·side,·typename·Glue·> | ||
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) | ||
33 | |||
34 | template<int·side,·typename·Glue·> | ||
35 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
36 | ······&filename) | ||
37 | |||
38 | template<typename·Glue·> | ||
39 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
40 | ······&base) | ||
41 | |||
27 | =============================================================================== | 42 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 43 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·areawriter_impl.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 137 lines modified | Offset 74, 183 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.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">areawriter_impl.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 83 | <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#i | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·<fstream></span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor"># | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#include·<vector></span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·< | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</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="foldopen"·id="foldopen00013"·data-start="{"·data-end="}"> | ||
96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno"><a·class="line"·href="a00105.html">···13</a></span><span·class="keyword">namespace·</span>AreaWriterImplementation·{</div> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
95 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimgr<span·class="keywordtype">id</span>></div> |
96 | <div·class="foldopen"·id="foldopen000 | 99 | <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="};"> |
97 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a00990.html">···16</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00990.html">FacetLayout</a></div> |
98 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">public</span>:</div> | ||
100 | <div·class="foldopen"·id="foldopen000 | 102 | <div·class="foldopen"·id="foldopen00018"·data-start="{"·data-end="}"> |
101 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">···18</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">contain[·...·truncated·by·diffoscope;·len:·62,·SHA:·6e7dad2e6b5fd8e5d1da99a1ccffc4ade92629e628b229af6c5f8f5f7977d087·...·]></div> |
102 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">····</span>{</div> |
105 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>······<span·class="keywordflow">return</span>·gt.dim()·==·dimgrid·-·1;</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">···33</a></span>····std::array<unsigned,·2>·<a·class="code·hl_variable"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">edge</a>;</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">···41</a></span>····std::array<Coordinate,·2>·<a·class="code·hl_variable"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">local</a>;</div> | ||
106 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····}</div> |
107 | </div> | 107 | </div> |
108 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>};</div> | ||
109 | </div> | ||
110 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
111 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Gr<span·class="keywordtype">id</span>View></div> | ||
112 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">···25</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">write_facet_geometry</a>(<span·class="keyword">const</span>·GridView&·gv,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
115 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">using·</span>Coordinate·=·Dune::FieldVector<double,·3>;</div> | ||
116 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
117 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··std::vector<Coordinate>·corners;</div> | ||
118 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
119 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
120 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i)·{</div> | ||
121 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="comment">/*·VTK·always·needs·3-dim·coordinates...·*/</span></div> | ||
122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·c0·=·geometry.corner(i);</div> | ||
123 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······Coordinate·c1;</div> | ||
124 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·0;·d·<·GridView::dimensionworld;·++d)</div> | ||
125 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········c1[d]·=·c0[d];</div> | ||
126 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d)</div> | ||
127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········c1[d]·=·<span·class="keywordtype">double</span>(0);</div> | ||
128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······corners.push_back(c1);</div> | ||
129 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div> | ||
130 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> | ||
108 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
109 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00994.html#a91d2da705bff70610909307ff749fab4">···47</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·=·Coordinate::dimension;</div> | ||
110 | <div·class="line"><a·id="l0004 | 132 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> |
111 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····out·<<·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID\n"</span></div> |
134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<<·<span·class="stringliteral">"POINTS·"</span>·<<·corners.size()·<<·<span·class="stringliteral">"·double\n"</span>;</div> | ||
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·corners)</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> | ||
112 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div> |
113 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····out·<<·<span·class="stringliteral">"CELLS·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"·"</span>·<<·(gv.size(1)·+·corners.size())·<<·<span[·...·truncated·by·diffoscope;·len:·44,·SHA:·847b402df8cf3990f52e4fab46243775e2b0a74e56b25bcdb9153afff0c3e7d3·...·];</div> |
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::size_t·c·=·0;</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
143 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······out·<<·geometry.corners();</div> | ||
144 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i,·++c)</div> | ||
145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········out·<<·<span·class="stringliteral">"·"</span>·<<·c;</div> | ||
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······out·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
114 | <div·class="line"><a·id="l0005 | 147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> |
115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Coordinate::field_type·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>;</div> | ||
116 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> |
117 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">···70</a></span>··<span·class="keyword">typedef</span>·std::array<Coordinate,·dim>·<a·class="code·hl_typedef"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">Images</a>;</div> | ||
118 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> |
119 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····out·<<·<span·class="stringliteral">"CELL_TYPES·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"\n"</span>;</div> |
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·type·=·facet.type();</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">if</span>·(type.isVertex())</div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········out·<<·<span·class="stringliteral">"1\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isLine())</div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········out·<<·<span·class="stringliteral">"2\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTriangle())</div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········out·<<·<span·class="stringliteral">"5\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isQuadrilateral())</div> | ||
160 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········out·<<·<span·class="stringliteral">"9\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTetrahedron())</div> | ||
162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········out·<<·<span·class="stringliteral">"10\n"</span>;</div> | ||
163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">else</span></div> | ||
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"Unhandled·geometry·type"</span>);</div> | ||
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
166 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | ||
120 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span> | 167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> |
168 | </div> | ||
121 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span> | 169 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
122 | <div·class="line"><a·id="l0008 | 170 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">/*·namespace·AreaWriterImplementation·*/</span></div> |
171 | </div> | ||
172 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
173 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> | ||
174 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> | ||
175 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">···84</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">write_glue_area_vtk</a>(<span·class="keyword">const</span>·Glue&·glue,·std::ostream&·out)</div> | ||
123 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span> | 176 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>{</div> |
Max diff block lines reached; 23168/51102 bytes (45.34%) of diff not shown. |
Offset 1, 175 lines modified | Offset 1, 184 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | areawriter_impl.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | ||
15 | 14 | 3#include·<fstream> | |
15 | 4#include·<vector> | ||
16 | 5 | 16 | 5 |
17 | 6#include·<array> | ||
18 | 7#include·<bitset> | ||
19 | 17 | 6#include·<dune/common/fvector.hh> | |
18 | 7#include·<dune/geometry/type.hh> | ||
19 | 8#include·<dune/grid/common/mcmgmapper.hh> | ||
20 | 9 | 20 | 9 |
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | 21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ |
22 | 11namespace·GridGlue·{ | 22 | 11namespace·GridGlue·{ |
23 | 12 | 23 | 12 |
24 | _\x81_\x83namespace·AreaWriterImplementation·{ | ||
25 | 14 | ||
26 | 15template<int·dimgrid> | ||
27 | _\x81_\x86struct·_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t | ||
28 | 17{ | ||
29 | _\x81_\x88·bool·_\x8c_\x8o_\x8n_\x8t_\x8a_\x8i_\x8n_\x8s(Dune::GeometryType·gt)·const | ||
30 | 19·{ | ||
31 | 20·return·gt.dim()·==·dimgrid·-·1; | ||
32 | 21·} | ||
33 | 22}; | ||
34 | 23 | ||
24 | 35 | 24template<typename·GridView> | |
25 | _\x82_\x80class·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 21{ | ||
27 | 22public: | ||
28 | _\x82_\x88·struct·_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
29 | 29·{ | ||
30 | _\x83_\x83·std::array<unsigned,·2>·_\x8e_\x8d_\x8g_\x8e; | ||
31 | 34 | ||
32 | _\x8 | 36 | _\x82_.5void·_.w_.r_.i_.t_.e_.__.f_.a_.c_.e_.t_.__.g_.e_.o_.m_.e_.t_.r_.y(const·GridView&·gv,·std::ostream&·out) |
37 | 26{ | ||
38 | 27·using·Coordinate·=·Dune::FieldVector<double,·3>; | ||
39 | 28 | ||
40 | 29·std::vector<Coordinate>·corners; | ||
41 | 30·for·(const·auto&·facet·:·facets(gv))·{ | ||
42 | 31·const·auto·geometry·=·facet.geometry(); | ||
43 | 32·for·(int·i·=·0;·i·<·geometry.corners();·++i)·{ | ||
44 | 33·/*·VTK·always·needs·3-dim·coordinates...·*/ | ||
45 | 34·const·auto·c0·=·geometry.corner(i); | ||
46 | 35·Coordinate·c1; | ||
47 | 36·for·(int·d·=·0;·d·<·GridView::dimensionworld;·++d) | ||
48 | 37·c1[d]·=·c0[d]; | ||
49 | 38·for·(int·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d) | ||
50 | 39·c1[d]·=·double(0); | ||
51 | 40·corners.push_back(c1); | ||
52 | 41·} | ||
33 | 42·} | 53 | 42·} |
34 | 43 | 54 | 43 |
35 | _\x84_\x87·constexpr·static·unsigned·_\x8d_\x8i_\x8m·=·Coordinate::dimension; | ||
36 | 48 | ||
37 | _\x85_\x84·constexpr·static·unsigned·_\x8m_\x8a_\x8x_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·=·_\x8d_\x8i_\x8m·==·3·?·9·:·0; | ||
38 | 55 | ||
39 | 56·static_assert(_\x8d_\x8i_\x8m·==·2·||·_\x8d_\x8i_\x8m·==·3,·"Projection·only·implemented·for·dim=2 | ||
40 | or·dim=3"); | ||
41 | 57 | ||
42 | _\x86_\x81·typedef·typename·Coordinate::field_type·_\x8F_\x8i_\x8e_\x8l_\x8d; | ||
43 | 62 | ||
44 | _\x87_\x80·typedef·std::array<Coordinate,·dim>·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
45 | 71 | ||
46 | 55 | 44·{ | |
56 | 45·out·<<·"DATASET·UNSTRUCTURED_GRID\n" | ||
57 | 46·<<·"POINTS·"·<<·corners.size()·<<·"·double\n"; | ||
58 | 47·for·(const·auto&·c·:·corners) | ||
59 | 48·out·<<·c·<<·"\n"; | ||
60 | 49·} | ||
61 | 50·{ | ||
62 | 51·out·<<·"CELLS·"·<<·gv.size(1)·<<·"·"·<<·(gv.size(1)·+·corners.size())·<< | ||
63 | "\n"; | ||
64 | 52·std::size_t·c·=·0; | ||
65 | 53·for·(const·auto&·facet·:·facets(gv))·{ | ||
66 | 54·const·auto·geometry·=·facet.geometry(); | ||
67 | 55·out·<<·geometry.corners(); | ||
68 | 56·for·(int·i·=·0;·i·<·geometry.corners();·++i,·++c) | ||
69 | 57·out·<<·"·"·<<·c; | ||
70 | 58·out·<<·"\n"; | ||
71 | 59·} | ||
72 | 60·} | ||
73 | 61·{ | ||
74 | 62·out·<<·"CELL_TYPES·"·<<·gv.size(1)·<<·"\n"; | ||
75 | 63·for·(const·auto&·facet·:·facets(gv))·{ | ||
76 | 64·const·auto·type·=·facet.type(); | ||
77 | 65·if·(type.isVertex()) | ||
78 | 66·out·<<·"1\n"; | ||
79 | 67·else·if·(type.isLine()) | ||
80 | 68·out·<<·"2\n"; | ||
81 | 69·else·if·(type.isTriangle()) | ||
82 | 70·out·<<·"5\n"; | ||
83 | 71·else·if·(type.isQuadrilateral()) | ||
84 | 72·out·<<·"9\n"; | ||
85 | 73·else·if·(type.isTetrahedron()) | ||
86 | 74·out·<<·"10\n"; | ||
87 | 75·else | ||
88 | 76·DUNE_THROW(Dune::Exception,·"Unhandled·geometry·type"); | ||
89 | 77·} | ||
90 | 78·} | ||
47 | 79 | 91 | 79} |
48 | 80private: | ||
49 | 8 | 92 | 80 |
93 | 81}·/*·namespace·AreaWriterImplementation·*/ | ||
94 | 82 | ||
95 | 83template<int·side,·typename·Glue> | ||
96 | _\x88_\x84void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out) | ||
50 | 85 | 97 | 85{ |
51 | 94·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_max_normal_product; | ||
52 | 95 | ||
53 | 101·_\x8F_\x8i_\x8e_\x8l_\x8d·m_epsilon·=·_\x8F_\x8i_\x8e_\x8l_\x8d(1e-12); | ||
54 | 102 | ||
55 | 104·std::tuple<Images,·Preimages>·m_images; | ||
56 | 105 | ||
57 | 107·std::tuple<std::bitset<dim>,·std::bitset<dim>·>·m_success; | ||
58 | 108 | ||
Max diff block lines reached; 8794/14140 bytes (62.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-grid-glue:· | 8 | <title>dune-grid-glue:·vtksurfacewriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 62 lines modified | Offset 72, 42 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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">vtksurfacewriter.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>e | 82 | <p>helper·class·for·graphical·output·of·grids·in·generic·representation·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
85 | <code>#include·<map></code><br·/> | 85 | <code>#include·<iomanip></code><br·/> |
86 | <code>#include·< | 86 | <code>#include·<vector></code><br·/> |
87 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
88 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
89 | <code>#include·<dune/common/version.hh></code><br·/> | ||
90 | <code>#include·<dune/grid/common/geometry.hh></code><br·/> | ||
91 | <code>#include·< | 87 | <code>#include·<cstring></code><br·/> |
88 | <code>#include·"<a·class="el"·href="a00008_source.html">../adapter/gridgluevtkwriter.hh</a>"</code><br·/> | ||
92 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
93 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
94 | </div> | 89 | </div> |
95 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> |
96 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
97 | <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> |
98 | Classes</h2></td></tr> | 93 | 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="a010 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01062.html">Dune::GridGlue::VtkSurfaceWriter</a></td></tr> |
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Provides·codimension-independent·methods·for·grid·extraction.··<a·href="a01038.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="a01042.html">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo</a></td></tr> | ||
103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.··<a·href="a01042.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="a01046.html">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo</a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo</a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·a·vertex·pointer·and·an·index··<a·href="a01050.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo</a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·an·element·seed·and·an·index··<a·href="a01054.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo</a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.··<a·href="a01058.html#details">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
117 | <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> |
118 | Namespaces</h2></td></tr> | 98 | Namespaces</h2></td></tr> |
119 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 99 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 101 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | </table> | 103 | </table> |
124 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 104 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
125 | <div·class="textblock"><p>e | 105 | <div·class="textblock"><p>helper·class·for·graphical·output·of·grids·in·generic·representation·</p> |
126 | </div></div><!--·contents·--> | 106 | </div></div><!--·contents·--> |
127 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
128 | <hr·class="footer"/><address·class="footer"><small> | 108 | <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 | 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 |
130 | </small></address> | 110 | </small></address> |
131 | </body> | 111 | </body> |
132 | </html> | 112 | </html> |
Offset 2, 49 lines modified | Offset 2, 27 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | vtksurfacewriter.hh·File·Reference | |
10 | e | 10 | helper·class·for·graphical·output·of·grids·in·generic·representation·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
11 | #include·<vector> | 13 | #include·<vector> |
14 | #include·<cstring> | ||
15 | #include·"_\x8._\x8._\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8v_\x8t_\x8k_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8._\x8h_\x8h" | ||
12 | #include·<map> | ||
13 | #include·<algorithm> | ||
14 | #include·<dune/common/exceptions.hh> | ||
15 | #include·<dune/common/fvector.hh> | ||
16 | #include·<dune/common/version.hh> | ||
17 | #include·<dune/grid/common/geometry.hh> | ||
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<dune/grid/common/mcmgmapper.hh> | ||
20 | #include·<dune/geometry/multilineargeometry.hh> | ||
21 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
22 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
23 | 18 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.V_.t_.k_.S_.u_.r_.f_.a_.c_.e_.W_.r_.i_.t_.e_.r | |
24 | ········Provides·codimension-independent·methods·for·grid·extraction.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
25 | |||
26 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
27 | ········Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which | ||
28 | ·········it·is·associated·and·the·element's·corner·index;.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o | ||
31 | |||
32 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o | ||
33 | ········simple·struct·holding·a·vertex·pointer·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
34 | |||
35 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o | ||
36 | ········simple·struct·holding·an·element·seed·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
37 | |||
38 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o | ||
39 | ········Holds·some·information·about·an·element's·subentity·involved·in·a | ||
40 | ·········coupling.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
41 | 19 | ||
42 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
43 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
44 | 22 | ||
45 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
46 | 24 | ||
47 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
48 | e | 26 | helper·class·for·graphical·output·of·grids·in·generic·representation |
49 | =============================================================================== | 27 | =============================================================================== |
50 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·vtksurfacewriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 490 lines modified | Offset 74, 258 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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">vtksurfacewriter.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:···· | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····VtkSurfaceWriter.hh</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:·· | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Jan·16,·2009</span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······ | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Gerrit·Buse</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:· | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·helper·class·for·graphical·output·of·grids·in·generic·representation</span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH</span></div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_ | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH</span></div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·< | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<fstream></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<map></span></div> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iomanip></span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·< | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<vector></span></div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·< | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<cstring></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> | ||
106 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../adapter/gridgluevtkwriter.hh"</span></div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | ||
109 | <div·class="line"><a·id="l000 | 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">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
111 | <div·class=" | 111 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> |
112 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01062.html">···34</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01062.html">VtkSurfaceWriter</a></div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span> | 113 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> |
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 114 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div> |
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 115 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
115 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
117 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> | ||
118 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">···39</a></span>··<a·class="code·hl_function"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">VtkSurfaceWriter</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·filename)·:·filename_(filename)</div> | ||
119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{}</div> | ||
120 | </div> | ||
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
122 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}"> | ||
123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">···42</a></span>··<a·class="code·hl_function"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">~VtkSurfaceWriter</a>()</div> | ||
124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
116 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="} | 127 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> |
117 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a010 | 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01062.html#a4205baf198a974b148fbb4441ff32fe7">···45</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#a4205baf198a974b148fbb4441ff32fe7">setFilename</a>(<span·class="keyword">const</span>·<span·class="keywordtype"[·...·truncated·by·diffoscope;·len:·19,·SHA:·11eff431761ea7e2d52e624e44ccc652c1b459abb34fbdafaa4b57622f09d988·...·]</div> |
118 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> | 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div> |
119 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
120 | <div·class="line"><a·id="l0004 | 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">if</span>·(std::strlen(name)·>·0)</div> |
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······this->filename_·=·name;</div> | ||
121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> |
133 | </div> | ||
122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">···50</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·=·GV::dimensionworld;</div> | ||
123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">···51</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>······=·GV::dimension;</div> | ||
124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01038.html#a81546d6fc243df2658db228c02693832">···52</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>····=·cd;</div> | ||
125 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">···54</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">cube_corners</a>·=·1·<<·(<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>);</div> | ||
127 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">···56</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">GridView</a>;</div> | ||
129 | <div·class="line"><a·id="l0005 | 136 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·K></div> |
137 | <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}"> | ||
138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01062.html#ad89fffa4d275fc30715ca718a5f20372">···53</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#ad89fffa4d275fc30715ca718a5f20372">writeSurface</a>(<span·class="keyword">const</span>·std::vector<K>&·coords,·<span·class="keyword">const</span>·std::vector<unsigned·int>&·indices,·<span·class="keywordtype">int</span>·corners,·<span·class="keywordtype">int</span>·dim)</div> | ||
130 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{</div> |
131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01038.html#aaac747289d7b6803093e437b724858be">···59</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Grid::ctype·<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>;</div> | ||
132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01038.html#a8b5110ac52a4db2ffced63c8d9de018d">···60</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>·······················<a·class="code·hl_typedef"·href="a01038.html#a8b5110ac52a4db2ffced63c8d9de018d">Coords</a>;</div> | ||
133 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::ofstream·fos;</div> |
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">char</span>·buffer[64];</div> | ||
142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····sprintf(buffer,·<span·class="stringliteral">"%s.vtk"</span>,·this->filename_);</div> | ||
143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····fos.open(buffer);</div> | ||
144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····fos·<<·std::setprecision(8)·<<·std::setw(1);</div> | ||
145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·write·preamble</span></div> | ||
146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····fos·<<·<span·class="stringliteral">"#·vtk·DataFile·Version·2.0\nFilename:·"</span>·<<·buffer·<<·<span·class="stringliteral">"\nASCII"</span>·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····this-><a·class="code·hl_function"·href="a01062.html#ae13c610fac974c3230a076fed93d1c13">writePoints</a>(coords,·dim,·fos);</div> | ||
148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·polycount·=·indices.size()/corners;</div> | ||
149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordtype">int</span>·corner_count[polycount];</div> | ||
150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·polycount;·++i)</div> | ||
151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······corner_count[i]·=·corners;</div> | ||
152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····this-><a·class="code·hl_function"·href="a01062.html#ae2a651fc199ba41ad3719d9c7e6a64d8">writePolygons</a>(indices,·corner_count,·polycount,·dim,·fos);</div> | ||
153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fos.close();</div> | ||
134 | <div·class="line"><a·id="l0006 | 154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> |
155 | </div> | ||
135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">···63</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">Vertex</a>;</div> | ||
136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01038.html#ad2b182b19f4274782d00d2e04c7e9dc0">···64</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Vertex::EntitySeed·<a·class="code·hl_typedef"·href="a01038.html#ad2b182b19f4274782d00d2e04c7e9dc0">VertexSeed</a>;</div> | ||
137 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>;</div> | ||
139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::EntitySeed·<a·class="code·hl_typedef"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">ElementSeed</a>;</div> | ||
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">···69</a></span>··<span·class="keyword">typedef</span>·std::vector<unsigned·int>································<a·class="code·hl_typedef"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">VertexVector</a>;</div> | ||
142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 156 | <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><span·class="preprocessor">#if·DUNE_VERSION_NEWER(DUNE_GRID,·2,·6)</span></div> | ||
144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01038.html#a0d378426c67c759e1f97e06bc62f3a39">CellMapper</a>·=·MultipleCodimMultipleGeomTypeMapper<GridView>;</div> | ||
145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#else</span></div> | ||
146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01038.html#a0d378426c67c759e1f97e06bc62f3a39">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01038.html#a0d378426c67c759e1f97e06bc62f3a39">CellMapper</a>·=·MultipleCodimMultipleGeomTypeMapper<GridView,·MCMGElementLayout>;</div> | ||
147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#endif</span></div> | ||
148 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·typedef·typename·CellMapper::IndexType·······························IndexType;</span></div> | ||
149 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">···77</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>;</div> | ||
150 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</span>:</div> | ||
Max diff block lines reached; 29817/134807 bytes (22.12%) of diff not shown. |
Offset 1, 607 lines modified | Offset 1, 280 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | 8 | vtksurfacewriter.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:· | 17 | 6·*·Filename:·VtkSurfaceWriter.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:· | 19 | 8·*·Created·on:·Jan·16,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Gerrit·Buse |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:· | 23 | 12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic |
24 | representation | ||
24 | 13·* | 25 | 13·* |
25 | 14·*/ | 26 | 14·*/ |
26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 28 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
28 | 22 | 29 | 22 |
30 | 23#include·<fstream> | ||
31 | 24#include·<iomanip> | ||
29 | 2 | 32 | 25#include·<vector> |
33 | 26#include·<cstring> | ||
34 | 27 | ||
35 | 28#include·"../adapter/gridgluevtkwriter.hh" | ||
36 | 29 | ||
37 | 30namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
38 | 31 | ||
39 | 32·namespace·GridGlue·{ | ||
30 | 24#include·<map> | ||
31 | 25#include·<algorithm> | ||
32 | 26#include·<dune/common/exceptions.hh> | ||
33 | 27#include·<dune/common/fvector.hh> | ||
34 | 28#include·<dune/common/version.hh> | ||
35 | 29#include·<dune/grid/common/geometry.hh> | ||
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31#include·<dune/grid/common/mcmgmapper.hh> | ||
38 | 32#include·<dune/geometry/multilineargeometry.hh> | ||
39 | 33 | 40 | 33 |
40 | 34 | 41 | _.3_.4class·_.V_.t_.k_.S_.u_.r_.f_.a_.c_.e_.W_.r_.i_.t_.e_.r |
41 | 35 | 42 | 35{ |
42 | 36 | 43 | 36public: |
43 | 37 | 44 | 37 |
44 | 44template<typename·GV,·int·cd> | ||
45 | 45 | 38 | |
46 | _\x83_\x89·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r(const·char*·filename)·:·filename_(filename) | ||
47 | 40·{} | ||
48 | 41 | ||
49 | _\x84_\x82·_\x8~_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r() | ||
50 | 43·{} | ||
51 | 44 | ||
52 | _\x84_\x85·void·_\x8s_\x8e_\x8t_\x8F_\x8i_\x8l_\x8e_\x8n_\x8a_\x8m_\x8e(const·char*·name) | ||
46 | 46{ | 53 | 46·{ |
47 | 47 | ||
48 | 48public: | ||
49 | 49 | ||
50 | _\x85_\x80·static·constexpr·auto·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d·=·GV::dimensionworld; | ||
51 | _\x85_\x81·static·constexpr·auto·_\x8d_\x8i_\x8m·=·GV::dimension; | ||
52 | _\x85_\x82·static·constexpr·auto·_\x8c_\x8o_\x8d_\x8i_\x8m·=·cd; | ||
53 | 53 | ||
54 | _\x85_\x84·static·constexpr·int·_\x8c_\x8u_\x8b_\x8e_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s·=·1·<<·(_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m); | ||
55 | 55 | ||
56 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; | ||
57 | _\x85_\x87·typedef·typename·GridView::Grid·_\x8G_\x8r_\x8i_\x8d; | ||
58 | 58 | ||
59 | _\x85_\x89·typedef·typename·GV::Grid::ctype·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
60 | _\x86_\x80·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
61 | _\x86_\x81·typedef·Dune::FieldVector<ctype,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 62 | ||
63 | _\x86_\x83·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; | ||
64 | _\x86_\x84·typedef·typename·Vertex::EntitySeed·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8e_\x8e_\x8d; | ||
65 | 65 | ||
66 | _\x86_\x86·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; | ||
67 | _\x86_\x87·typedef·typename·Element::EntitySeed·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8S_\x8e_\x8e_\x8d; | ||
68 | 68 | ||
69 | 54 | 47·if·(std::strlen(name)·>·0) | |
55 | 48·this->filename_·=·name; | ||
56 | 49·} | ||
57 | 50 | ||
58 | 51 | ||
59 | 52·template<typename·K> | ||
60 | _\x85_\x83·void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e(const·std::vector<K>&·coords,·const·std::vector<unsigned | ||
61 | int>&·indices,·int·corners,·int·dim) | ||
62 | 54·{ | ||
63 | 55·std::ofstream·fos; | ||
64 | 56·char·buffer[64]; | ||
65 | 57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
66 | 58·fos.open(buffer); | ||
67 | 59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
68 | 60·//·write·preamble | ||
69 | 61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
70 | std::endl; | ||
71 | 62·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(coords,·dim,·fos); | ||
72 | 63·const·int·polycount·=·indices.size()/corners; | ||
73 | 64·int·corner_count[polycount]; | ||
74 | 65·for·(int·i·=·0;·i·<·polycount;·++i) | ||
75 | 66·corner_count[i]·=·corners; | ||
76 | 67·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8l_\x8y_\x8g_\x8o_\x8n_\x8s(indices,·corner_count,·polycount,·dim,·fos); | ||
77 | 68·fos.close(); | ||
78 | 69·} | ||
70 | 70 | 79 | 70 |
71 | 71#if·DUNE_VERSION_NEWER(DUNE_GRID,·2,·6) | ||
72 | 72·using·_\x8C_\x8e_\x8l_\x8l_\x8M_\x8a_\x8p_\x8p_\x8e_\x8r·=·MultipleCodimMultipleGeomTypeMapper<GridView>; | ||
73 | 73#else | ||
74 | _\x87_\x84·using·_\x8C_\x8e_\x8l_\x8l_\x8M_\x8a_\x8p_\x8p_\x8e_\x8r·=·MultipleCodimMultipleGeomTypeMapper<GridView, | ||
75 | MCMGElementLayout>; | ||
76 | 75#endif | ||
77 | 76·//·typedef·typename·CellMapper::IndexType·IndexType; | ||
78 | _\x87_\x87·typedef·int·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
79 | 78public: | ||
80 | 79 | ||
81 | 80·//·transformations | ||
82 | _\x88_\x81·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d>·_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
83 | _\x88_\x82·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
84 | 80 | 71 | |
81 | 72·template<typename·K,·typename·T> | ||
82 | _\x87_\x83·void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8D_\x8a_\x8t_\x8a(const·std::vector<K>&·coords,·const·std:: | ||
Max diff block lines reached; 31101/39077 bytes (79.59%) of diff not shown. |
Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
82 | <p>Mesh·grid·extractor·base·class.·· | 82 | <p>Mesh·grid·extractor·base·class.·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·<deque></code><br·/> | 84 | <div·class="textblock"><code>#include·<deque></code><br·/> |
85 | <code>#include·<functional></code><br·/> | 85 | <code>#include·<functional></code><br·/> |
86 | <code>#include·<dune/common/deprecated.hh></code><br·/> | 86 | <code>#include·<dune/common/deprecated.hh></code><br·/> |
87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | 87 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> |
88 | <code>#include·"<a·class="el"·href="a000 | 88 | <code>#include·"<a·class="el"·href="a00062_source.html">extractor.hh</a>"</code><br·/> |
89 | </div> | 89 | </div> |
90 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> |
91 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
93 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01030.html">Dune::GridGlue::Codim0Extractor<·GV·></a></td></tr> | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01030.html">Dune::GridGlue::Codim0Extractor<·GV·></a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 100, 15 lines modified | Offset 100, 15 lines modified | ||
100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<deque></span></div> | 101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<deque></span></div> |
102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<functional></span></div> | 102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<functional></span></div> |
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> |
105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | 105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"<a·class="code"·href="a000 | 107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"<a·class="code"·href="a00062.html">extractor.hh</a>"</span></div> |
108 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 108 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
109 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 109 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
110 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 110 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
111 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | 111 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
112 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 112 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
113 | <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> | 113 | <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> |
114 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> | 114 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> |
Offset 308, 15 lines modified | Offset 308, 15 lines modified | ||
308 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>}</div> | 308 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>}</div> |
309 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>·</div> | 309 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>·</div> |
310 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>}··<span·class="comment">//·namespace·GridGlue</span></div> | 310 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>}··<span·class="comment">//·namespace·GridGlue</span></div> |
311 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div> | 311 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div> |
312 | <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>}··<span·class="comment">//·namespace·Dune</span></div> | 312 | <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>}··<span·class="comment">//·namespace·Dune</span></div> |
313 | <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span>·</div> | 313 | <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span>·</div> |
314 | <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_EXTRACTORS_CODIM0EXTRACTOR_HH</span></div> | 314 | <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_EXTRACTORS_CODIM0EXTRACTOR_HH</span></div> |
315 | <div·class="ttc"·id="aa000 | 315 | <div·class="ttc"·id="aa00062_html"><div·class="ttname"><a·href="a00062.html">extractor.hh</a></div><div·class="ttdoc">extractor·base·class</div></div> |
316 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> | 316 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> |
317 | <div·class="ttc"·id="aa01030_html"><div·class="ttname"><a·href="a01030.html">Dune::GridGlue::Codim0Extractor</a></div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:40</div></div> | 317 | <div·class="ttc"·id="aa01030_html"><div·class="ttname"><a·href="a01030.html">Dune::GridGlue::Codim0Extractor</a></div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:40</div></div> |
318 | <div·class="ttc"·id="aa01030_html_a047c3fcd5be16fbf72627693e9e38e8d"><div·class="ttname"><a·href="a01030.html#a047c3fcd5be16fbf72627693e9e38e8d">Dune::GridGlue::Codim0Extractor::positiveNormalDirection</a></div><div·class="ttdeci">bool·&·positiveNormalDirection()</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:75</div></div> | 318 | <div·class="ttc"·id="aa01030_html_a047c3fcd5be16fbf72627693e9e38e8d"><div·class="ttname"><a·href="a01030.html#a047c3fcd5be16fbf72627693e9e38e8d">Dune::GridGlue::Codim0Extractor::positiveNormalDirection</a></div><div·class="ttdeci">bool·&·positiveNormalDirection()</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:75</div></div> |
319 | <div·class="ttc"·id="aa01030_html_a051aadae663ba27627905f1bd4702565"><div·class="ttname"><a·href="a01030.html#a051aadae663ba27627905f1bd4702565">Dune::GridGlue::Codim0Extractor::IndexType</a></div><div·class="ttdeci">Extractor<·GV,·0·>::IndexType·IndexType</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:49</div></div> | 319 | <div·class="ttc"·id="aa01030_html_a051aadae663ba27627905f1bd4702565"><div·class="ttname"><a·href="a01030.html#a051aadae663ba27627905f1bd4702565">Dune::GridGlue::Codim0Extractor::IndexType</a></div><div·class="ttdeci">Extractor<·GV,·0·>::IndexType·IndexType</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:49</div></div> |
320 | <div·class="ttc"·id="aa01030_html_a1cede53ffc3d371d667ec64881c7cc5a"><div·class="ttname"><a·href="a01030.html#a1cede53ffc3d371d667ec64881c7cc5a">Dune::GridGlue::Codim0Extractor::positiveNormalDirection</a></div><div·class="ttdeci">const·bool·&·positiveNormalDirection()·const</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:76</div></div> | 320 | <div·class="ttc"·id="aa01030_html_a1cede53ffc3d371d667ec64881c7cc5a"><div·class="ttname"><a·href="a01030.html#a1cede53ffc3d371d667ec64881c7cc5a">Dune::GridGlue::Codim0Extractor::positiveNormalDirection</a></div><div·class="ttdeci">const·bool·&·positiveNormalDirection()·const</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:76</div></div> |
321 | <div·class="ttc"·id="aa01030_html_a1f468ca162dec8d6a30e6cafffbb376e"><div·class="ttname"><a·href="a01030.html#a1f468ca162dec8d6a30e6cafffbb376e">Dune::GridGlue::Codim0Extractor::Vertex</a></div><div·class="ttdeci">GV::Traits::template·Codim<·dim·>::Entity·Vertex</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:51</div></div> | 321 | <div·class="ttc"·id="aa01030_html_a1f468ca162dec8d6a30e6cafffbb376e"><div·class="ttname"><a·href="a01030.html#a1f468ca162dec8d6a30e6cafffbb376e">Dune::GridGlue::Codim0Extractor::Vertex</a></div><div·class="ttdeci">GV::Traits::template·Codim<·dim·>::Entity·Vertex</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:51</div></div> |
322 | <div·class="ttc"·id="aa01030_html_a4c81edc90e61a678e27983a3103f1779"><div·class="ttname"><a·href="a01030.html#a4c81edc90e61a678e27983a3103f1779">Dune::GridGlue::Codim0Extractor::CoordinateInfo</a></div><div·class="ttdeci">Extractor<·GV,·0·>::CoordinateInfo·CoordinateInfo</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:59</div></div> | 322 | <div·class="ttc"·id="aa01030_html_a4c81edc90e61a678e27983a3103f1779"><div·class="ttname"><a·href="a01030.html#a4c81edc90e61a678e27983a3103f1779">Dune::GridGlue::Codim0Extractor::CoordinateInfo</a></div><div·class="ttdeci">Extractor<·GV,·0·>::CoordinateInfo·CoordinateInfo</div><div·class="ttdef"><b>Definition</b>·codim0extractor.hh:59</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-grid-glue:· | 8 | <title>dune-grid-glue:·codim1extractor.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 42 lines modified | Offset 72, 44 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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">codim1extractor.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 82 | <p>Grid·extractor·class·for·codim·1·subgrids.·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00062_source.html">extractor.hh</a>"</code><br·/> | ||
84 | <div·class="textblock"><code>#include·<fstream></code><br·/> | ||
85 | <code>#include·<iomanip></code><br·/> | ||
86 | <code>#include·< | 85 | <code>#include·<array></code><br·/> |
86 | <code>#include·<deque></code><br·/> | ||
87 | <code>#include·< | 87 | <code>#include·<functional></code><br·/> |
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
89 | <code>#include·<dune/common/version.hh></code><br·/> | ||
88 | <code>#include·& | 90 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> |
89 | </div> | 91 | </div> |
90 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00059_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="a010 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01034.html">Dune::GridGlue::Codim1Extractor<·GV·></a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
97 | <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> |
98 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
99 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 103 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | </table> | 105 | </table> |
104 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 106 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
105 | <div·class="textblock"><p> | 107 | <div·class="textblock"><p>Grid·extractor·class·for·codim·1·subgrids.·</p> |
106 | </div></div><!--·contents·--> | 108 | </div></div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 109 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 110 | <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 | 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 |
110 | </small></address> | 112 | </small></address> |
111 | </body> | 113 | </body> |
112 | </html> | 114 | </html> |
Offset 2, 27 lines modified | Offset 2, 29 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | vtksurfacewriter.hh·File·Reference | ||
10 | 9 | codim1extractor.hh·File·Reference | |
10 | Grid·extractor·class·for·codim·1·subgrids.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
11 | #include·< | 12 | #include·<array> |
13 | #include·<deque> | ||
12 | #include·<iomanip> | ||
13 | #include·<vector> | ||
14 | #include·< | 14 | #include·<functional> |
15 | #include· | 15 | #include·<dune/common/deprecated.hh> |
16 | #include·<dune/common/version.hh> | ||
17 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 18 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 19 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 20 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_.o_.d_.i_.m_.1_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.·_.G_.V_.·_.> |
19 | 21 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 24 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 26 | ||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 27 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
26 | 28 | Grid·extractor·class·for·codim·1·subgrids. | |
27 | =============================================================================== | 29 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 30 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·codim1extractor.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 258 lines modified | Offset 74, 415 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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">codim1extractor.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:···· | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····codim1extractor.hh</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··J | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Jun·23,·2009</span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······ | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Oliver·Sander,·Christian·Engwer</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:· | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·class·for·grid·extractors·extracting·surface·grids</span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH</span></div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_ | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH</span></div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·& | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"<a·class="code"·href="a00062.html">extractor.hh</a>"</span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·< | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<array></span></div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·< | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<deque></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<functional></span></div> | ||
104 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
105 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/grid-glue/common/crossproduct.hh</a>></span></div> | ||
106 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
107 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
108 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
109 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
110 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
114 | <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> | ||
111 | <div·class="foldopen"·id="foldopen000 | 115 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> |
112 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01034.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01034.html">Codim1Extractor</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·[·...·truncated·by·diffoscope;·len:·44,·SHA:·a9f242baf7566f87f2706e309956f8e12f89370c1f59d38ecd955db0842e2580·...·]</div> |
113 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
114 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> |
115 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
116 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
117 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> | ||
118 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">···39</a></span>··<a·class="code·hl_function"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">VtkSurfaceWriter</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·filename)·:·filename_(filename)</div> | ||
119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{}</div> | ||
120 | </div> | ||
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
122 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}"> | ||
123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">···42</a></span>··<a·class="code·hl_function"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">~VtkSurfaceWriter</a>()</div> | ||
124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">/*··E·X·P·O·R·T·E·D··T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S··*/</span></div> | ||
127 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> | ||
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01062.html#a4205baf198a974b148fbb4441ff32fe7">···45</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#a4205baf198a974b148fbb4441ff32fe7">setFilename</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·name)</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>· | 121 | <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">···47</span>····<span·class="keywordflow">if</span>·(std::strlen(name)·>·0)</div> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······this->filename_·=·name;</div> | ||
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> | ||
133 | </div> | 122 | <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="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5f[·...·truncated·by·diffoscope;·len:·30,·SHA:·03af538c11defbc2c88db7ba6d3beee7ce023b67534c5a8b0b28b22a2ae29e49·...·]/div> |
123 | <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="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">::dim</a>;</div> | ||
124 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">::codim</a>;</div> | ||
125 | <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="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">::cube_corners</a>;</div> | ||
126 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01034.html#a02655254528b7450f1dec4a224a723a4">···51</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">Extractor<GV,1>::IndexType</a>·<a·class="code·hl_typedef"·href="a01034.html#a02655254528b7450f1dec4a224a723a4">IndexType</a>;</div> | ||
134 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01034.html#a3b1e70f2e492cc8bb9680d26060da015">···54</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01034.html#a3b1e70f2e492cc8bb9680d26060da015">simplex_corners</a>·=·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>;</div> | ||
135 | <div·class="line"><a·id="l0005 | 129 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
130 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01034.html#a19f33b321676e22f2e361fa73be1ea5d">···56</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01034.html#a19f33b321676e22f2e361fa73be1ea5d">GridView</a>;</div> | ||
136 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·K></div> | ||
137 | <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}"> | ||
138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01062.html#ad89fffa4d275fc30715ca718a5f20372">···53</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#ad89fffa4d275fc30715ca718a5f20372">writeSurface</a>(<span·class="keyword">const</span>·std::vector<K>&·coords,·<span·class="keyword">const</span>·std::vector<unsigned·int>&·indices,·<span·class="keywordtype">int</span>·corners,·<span·class="keywordtype">int</span>·dim)</div> | ||
139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{</div> | ||
140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::ofstream·fos;</div> | ||
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">char</span>·buffer[64];</div> | ||
142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····sprintf(buffer,·<span·class="stringliteral">"%s.vtk"</span>,·this->filename_);</div> | ||
143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····fos.open(buffer);</div> | ||
144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····fos·<<·std::setprecision(8)·<<·std::setw(1);</div> | ||
145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·write·preamble</span></div> | ||
146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····fos·<<·<span·class="stringliteral">"#·vtk·DataFile·Version·2.0\nFilename:·"</span>·<<·buffer·<<·<span·class="stringliteral">"\nASCII"</span>·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····this-><a·class="code·hl_function"·href="a01062.html#ae13c610fac974c3230a076fed93d1c13">writePoints</a>(coords,·dim,·fos);</div> | ||
148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·polycount·=·indices.size()/corners;</div> | ||
149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordtype">int</span>·corner_count[polycount];</div> | ||
150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·polycount;·++i)</div> | ||
151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······corner_count[i]·=·corners;</div> | ||
152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····this-><a·class="code·hl_function"·href="a01062.html#ae2a651fc199ba41ad3719d9c7e6a64d8">writePolygons</a>(indices,·corner_count,·polycount,·dim,·fos);</div> | ||
153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fos.close();</div> | ||
154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> | ||
155 | </div> | ||
156 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
132 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01034.html#a28d708fe50cc1ba6162909be57acb2f7">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Grid::ctype·<a·class="code·hl_typedef"·href="a01034.html#a28d708fe50cc1ba6162909be57acb2f7">ctype</a>;</div> | ||
133 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01034.html#a239f089bccd0f2b59b66488403075285">···59</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>·······················<a·class="code·hl_typedef"·href="a01034.html#a239f089bccd0f2b59b66488403075285">Coords</a>;</div> | ||
134 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">Vertex</a>;</div> | ||
136 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01034.html#a1aa397a7b7514edaa712e90b2d4144c2">···62</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01034.html#a1aa397a7b7514edaa712e90b2d4144c2">Element</a>;</div> | ||
137 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">···63</a></span>··<span·class="keyword">typedef</span>·std::function<bool(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01034.html#a1aa397a7b7514edaa712e90b2d4144c2">Element</a>&,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·subentity)>·<a·class="code·hl_typedef"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">Predicate</a>;</div> | ||
138 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·import·typedefs·from·base·class</span></div> | ||
140 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01058.html">Extractor<GV,1>::SubEntityInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">SubEntityInfo</a>;</div> | ||
141 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01054.html">Extractor<GV,1>::ElementInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">ElementInfo</a>;</div> | ||
142 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">···68</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01050.html">Extractor<GV,1>::VertexInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">VertexInfo</a>;</div> | ||
143 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">···69</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01046.html">Extractor<GV,1>::CoordinateInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">CoordinateInfo</a>;</div> | ||
144 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">···70</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a8fb91fe46e58c67eb51f65ce086d9013">Extractor<GV,1>::VertexInfoMap</a>·<a·class="code·hl_typedef"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">VertexInfoMap</a>;</div> | ||
157 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 145 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
158 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span> | 146 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div> |
147 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
Max diff block lines reached; 80891/110776 bytes (73.02%) of diff not shown. |
Offset 1, 280 lines modified | Offset 1, 485 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | 8 | codim1extractor.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:· | 17 | 6·*·Filename:·codim1extractor.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:·J | 19 | 8·*·Created·on:·Jun·23,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Oliver·Sander,·Christian·Engwer |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:·class·for·grid·extractors·extracting·surface·grids | ||
23 | 12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic | ||
24 | representation | ||
25 | 13·* | 24 | 13·* |
26 | 14·*/ | 25 | 14·*/ |
27 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH |
28 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH |
29 | 22 | 28 | 22 |
30 | 23#include·<fstream> | ||
31 | 2 | 29 | 23#include·"_.e_.x_.t_.r_.a_.c_.t_.o_.r_.._.h_.h" |
30 | 24 | ||
32 | 25#include·< | 31 | 25#include·<array> |
33 | 26#include·<cstring> | ||
34 | 27 | ||
35 | 28#include·"../adapter/gridgluevtkwriter.hh" | ||
36 | 2 | 32 | 26#include·<deque> |
33 | 27#include·<functional> | ||
34 | 28 | ||
35 | 29#include·<dune/common/deprecated.hh> | ||
36 | 30#include·<dune/common/version.hh> | ||
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
38 | 32 | ||
37 | 3 | 39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ |
38 | 3 | 40 | 34 |
39 | 3 | 41 | 35·namespace·GridGlue·{ |
40 | 33 | ||
41 | _\x83_\x84class·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
42 | 3 | 42 | 36 |
43 | 40template<typename·GV> | ||
44 | _\x84_\x81class·_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·:·public·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1> | ||
45 | 42{ | ||
43 | 46 | 43public: | |
44 | 37 | ||
45 | 38 | ||
46 | _\x83_\x89·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r(const·char*·filename)·:·filename_(filename) | ||
47 | 40·{} | ||
48 | 41 | ||
49 | _\x84_\x82·_\x8~_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r() | ||
50 | 43·{} | ||
51 | 44 | 47 | 44 |
48 | 45·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
49 | 46 | ||
50 | 47·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; | ||
51 | 48·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m; | ||
52 | 49·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
53 | 50·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8u_\x8b_\x8e_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s; | ||
54 | _\x85_\x81·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
55 | 52 | ||
56 | _\x85_\x84·static·constexpr·int·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s·=·_\x8d_\x8i_\x8m; | ||
57 | 55 | ||
58 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; | ||
59 | 57 | ||
60 | _\x85_\x88·typedef·typename·GV::Grid::ctype·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
61 | _\x85_\x89·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 60 | ||
63 | _\x86_\x81·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; | ||
64 | _\x86_\x82·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; | ||
65 | _\x86_\x83·typedef·std::function<bool(const·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t&,·unsigned·int·subentity)> | ||
66 | _\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e; | ||
67 | 64 | ||
68 | 65·//·import·typedefs·from·base·class | ||
69 | _\x86_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o·_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o; | ||
70 | _\x86_\x87·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o; | ||
71 | _\x86_\x88·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o; | ||
72 | _\x86_\x89·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o; | ||
73 | _\x87_\x80·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p; | ||
52 | _\x84_\x85·void·_\x8s_\x8e_\x8t_\x8F_\x8i_\x8l_\x8e_\x8n_\x8a_\x8m_\x8e(const·char*·name) | ||
53 | 46·{ | ||
54 | 47·if·(std::strlen(name)·>·0) | ||
55 | 48·this->filename_·=·name; | ||
56 | 49·} | ||
57 | 50 | ||
58 | 51 | ||
59 | 52·template<typename·K> | ||
60 | _\x85_\x83·void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e(const·std::vector<K>&·coords,·const·std::vector<unsigned | ||
61 | int>&·indices,·int·corners,·int·dim) | ||
62 | 54·{ | ||
63 | 55·std::ofstream·fos; | ||
64 | 56·char·buffer[64]; | ||
65 | 57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
66 | 58·fos.open(buffer); | ||
67 | 59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
68 | 60·//·write·preamble | ||
69 | 61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
70 | std::endl; | ||
71 | 62·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(coords,·dim,·fos); | ||
72 | 63·const·int·polycount·=·indices.size()/corners; | ||
73 | 64·int·corner_count[polycount]; | ||
74 | 65·for·(int·i·=·0;·i·<·polycount;·++i) | ||
75 | 66·corner_count[i]·=·corners; | ||
76 | 67·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8l_\x8y_\x8g_\x8o_\x8n_\x8s(indices,·corner_count,·polycount,·dim,·fos); | ||
77 | 68·fos.close(); | ||
78 | 69·} | ||
79 | 70 | ||
80 | 71 | 74 | 71 |
75 | 72public: | ||
76 | 73 | ||
77 | 74·/*·C·O·N·S·T·R·U·C·T·O·R·S·A·N·D·D·E·S·T·R·U·C·T·O·R·S·*/ | ||
78 | 75 | ||
79 | _\x88_\x81·_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r(const·GV&·gv,·const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate) | ||
80 | 82·:·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>(gv) | ||
81 | 83·{ | ||
82 | 84·std::cout·<<·"This·is·Codim1Extractor·on·a·<"·<<·_\x8d_\x8i_\x8m | ||
83 | 85·<<·","·<<·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d·<<·">·grid!" | ||
81 | 72·template<typename·K,·typename·T> | ||
Max diff block lines reached; 25873/32392 bytes (79.87%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·extractor.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 44 lines modified | Offset 72, 62 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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">extractor.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 82 | <p>extractor·base·class·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·& | 84 | <div·class="textblock"><code>#include·<vector></code><br·/> |
85 | <code>#include·< | 85 | <code>#include·<map></code><br·/> |
86 | <code>#include·< | 86 | <code>#include·<algorithm></code><br·/> |
87 | <code>#include·< | 87 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
88 | <code>#include·<dune/common/ | 88 | <code>#include·<dune/common/fvector.hh></code><br·/> |
89 | <code>#include·<dune/common/version.hh></code><br·/> | 89 | <code>#include·<dune/common/version.hh></code><br·/> |
90 | <code>#include·< | 90 | <code>#include·<dune/grid/common/geometry.hh></code><br·/> |
91 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
92 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
93 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
91 | </div> | 94 | </div> |
92 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> |
93 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
94 | <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> |
95 | Classes</h2></td></tr> | 98 | 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="a0103 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01038.html">Dune::GridGlue::Extractor<·GV,·cd·></a></td></tr> |
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Provides·codimension-independent·methods·for·grid·extraction.··<a·href="a01038.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="a01042.html">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo</a></td></tr> | ||
103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.··<a·href="a01042.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="a01046.html">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo</a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo</a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·a·vertex·pointer·and·an·index··<a·href="a01050.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo</a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·an·element·seed·and·an·index··<a·href="a01054.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo</a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.··<a·href="a01058.html#details">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
100 | Namespaces</h2></td></tr> | 118 | Namespaces</h2></td></tr> |
101 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 119 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 121 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | </table> | 123 | </table> |
106 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 124 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
107 | <div·class="textblock"><p> | 125 | <div·class="textblock"><p>extractor·base·class·</p> |
108 | </div></div><!--·contents·--> | 126 | </div></div><!--·contents·--> |
109 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
110 | <hr·class="footer"/><address·class="footer"><small> | 128 | <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 | 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 |
112 | </small></address> | 130 | </small></address> |
113 | </body> | 131 | </body> |
114 | </html> | 132 | </html> |
Offset 2, 29 lines modified | Offset 2, 49 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | extractor.hh·File·Reference | |
10 | Grid·extractor·class·for·codim·1·subgrids.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | 10 | extractor·base·class·_.M_.o_.r_.e_.._.._.. | |
11 | #include·<vector> | ||
12 | #include·< | 12 | #include·<map> |
13 | #include·<deque> | ||
14 | #include·< | 13 | #include·<algorithm> |
14 | #include·<dune/common/exceptions.hh> | ||
15 | #include·<dune/common/ | 15 | #include·<dune/common/fvector.hh> |
16 | #include·<dune/common/version.hh> | 16 | #include·<dune/common/version.hh> |
17 | #include·< | 17 | #include·<dune/grid/common/geometry.hh> |
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<dune/grid/common/mcmgmapper.hh> | ||
20 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 21 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
19 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 22 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
20 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.: | 23 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.·_.G_.V_.,_.·_.c_.d_\x8·_\x8> |
24 | ········Provides·codimension-independent·methods·for·grid·extraction.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
25 | |||
26 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
27 | ········Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which | ||
28 | ·········it·is·associated·and·the·element's·corner·index;.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o | ||
31 | |||
32 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o | ||
33 | ········simple·struct·holding·a·vertex·pointer·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
34 | |||
35 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o | ||
36 | ········simple·struct·holding·an·element·seed·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
37 | |||
38 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o | ||
39 | ········Holds·some·information·about·an·element's·subentity·involved·in·a | ||
40 | ·········coupling.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 41 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 42 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 43 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 44 | ||
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 45 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
26 | 46 | ||
27 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 47 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
28 | 48 | extractor·base·class | |
29 | =============================================================================== | 49 | =============================================================================== |
30 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 50 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·extractor.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 415 lines modified | Offset 74, 490 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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">extractor.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:···· | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····extractor.hh</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:·· | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Oct·05,·2009</span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······ | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Christian·Engwer</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·class·for· | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·base·class·for·all·grid·extractors</span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH</span></div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_ | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH</span></div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·& | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<vector></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<map></span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<ar | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<algorithm></span></div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<de | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<functional></span></div> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
106 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> | ||
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/grid/common/geometry.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/ | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·< | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/geometry/multilineargeometry.hh></span></div> | ||
109 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
110 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
111 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
112 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
113 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
114 | <div·class="line"><a·id="l0004 | 115 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·cd></div> |
115 | <div·class="foldopen"·id="foldopen0004 | 116 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
117 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01038.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a></div> | ||
116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01034.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01034.html">Codim1Extractor</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1></div> | ||
117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> | ||
118 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> | ||
119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">/*··E·X·P·O·R·T·E·D··T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S··*/</span></div> | ||
121 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 118 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
122 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">::dimworld</a>;</div> | ||
123 | <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="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">::dim</a>;</div> | ||
124 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">::codim</a>;</div> | ||
125 | <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="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">::cube_corners</a>;</div> | ||
126 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> | ||
121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">···50</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·=·GV::dimensionworld;</div> | ||
123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">···51</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>······=·GV::dimension;</div> | ||
124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01038.html#a81546d6fc243df2658db228c02693832">···52</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>····=·cd;</div> | ||
127 | <div·class="line"><a·id="l0005 | 125 | <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"><a·class="line"·href="a0103 | 126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">···54</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">cub[·...·truncated·by·diffoscope;·len:·208,·SHA:·f8f2df2b24b2f1472a1b237ea52f9b692e681dbc72f2334ed3dd551f57b202af·...·];</div> |
129 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
130 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a0103 | 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">···56</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">GridView</a>;</div> |
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01038.html#a90fcf4ce8d5f00d5982d17577994220c">···57</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::Grid·<a·class="code·hl_typedef"·href="a01038.html#a90fcf4ce8d5f00d5982d17577994220c">Grid</a>;</div> | ||
131 | <div·class="line"><a·id="l0005 | 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
132 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01038.html#aaac747289d7b6803093e437b724858be">···59</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Grid::ctype·<a·class="code·hl_typedef"·href="a01[·...·truncated·by·diffoscope;·len:·42,·SHA:·102b2c2fb9341872d46953a2aea8708528310f1cbb041ff6e3a420d08c0adeeb·...·]">ctype</a>;</div> |
133 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01038.html#a8b5110ac52a4db2ffced63c8d9de018d">···60</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>·······················<a·class="code·hl_typedef"[·...·truncated·by·diffoscope;·len:·52,·SHA:·a77c75bbf8c982377530d6dfca188e531688a56eb19dfa709b99992f9b420de0·...·]">Coords</a>;</div> |
133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01038.html#a130ad6265af6aee38ec221760dbdb7de">···61</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dim>····························<a·class="code·hl_typedef"·href="a01038.html#a130ad6265af6aee38ec221760dbdb7de">LocalCoords</a>;</div> | ||
134 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">Vertex</a>;</div> | ||
136 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">···63</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·cla[·...·truncated·by·diffoscope;·len:·80,·SHA:·534f44f27afccf2eec2388c7ce43007cf4a58dd04643e6e7892239e607b81795·...·]</a>;</div> |
137 | <div·class="line"><a·id="l0006 | 136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01038.html#ad2b182b19f4274782d00d2e04c7e9dc0">···64</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Vertex::EntitySeed·<a·class="code·hl_typedef"·href="[·...·truncated·by·diffoscope;·len:·57,·SHA:·aa9b81d0531cba64a55638c15ae8f669b134ca89d6f448bb287adef914fd594d·...·]</a>;</div> |
138 | <div·class="line"><a·id="l0006 | 137 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>;</div> | ||
139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::EntitySeed·<a·class="code·hl_typedef"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">ElementSeed</a>;</div> | ||
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">···69</a></span>··<span·class="keyword">typedef</span>·std::vector<unsigned·int>································<a·class="code·hl_typedef"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">VertexVector</a>;</div> | ||
139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·import·typedefs·from·base·class</span></div> | ||
140 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01058.html">Extractor<GV,1>::SubEntityInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">SubEntityInfo</a>;</div> | ||
141 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01054.html">Extractor<GV,1>::ElementInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">ElementInfo</a>;</div> | ||
142 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">···68</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01050.html">Extractor<GV,1>::VertexInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">VertexInfo</a>;</div> | ||
143 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">···69</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01046.html">Extractor<GV,1>::CoordinateInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">CoordinateInfo</a>;</div> | ||
144 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">···70</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a8fb91fe46e58c67eb51f65ce086d9013">Extractor<GV,1>::VertexInfoMap</a>·<a·class="code·hl_typedef"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">VertexInfoMap</a>;</div> | ||
145 | <div·class="line"><a·id="l0007 | 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><span·class="preprocessor">#if·DUNE_VERSION_NEWER(DUNE_GRID,·2,·6)</span></div> | ||
144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01038.html#a0d378426c67c759e1f97e06bc62f3a39">CellMapper</a>·=·MultipleCodimMultipleGeomTypeMapper<GridView>;</div> | ||
145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#else</span></div> | ||
146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01038.html#a0d378426c67c759e1f97e06bc62f3a39">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01038.html#a0d378426c67c759e1f97e06bc62f3a39">CellMapper</a>·=·MultipleCodimMultipleGeomTypeMapper<GridView,·MCMGElementLayout>;</div> | ||
147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#endif</span></div> | ||
148 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·typedef·typename·CellMapper::IndexType·······························IndexType;</span></div> | ||
149 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">···77</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>;</div> | ||
146 | <div·class="line"><a·id="l0007 | 150 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</span>:</div> |
147 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
152 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="comment">//·transformations</span></div> | ||
153 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01038.html#a27d48b30fd7a77e90fa2ddcd1fff5c1b">···81</a></span>··<span·class="keyword">typedef</span>·Dune::MultiLinearGeometry<<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>,·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>>·<a·class="code·hl_typedef"·href="a01038.html#a27d48b30fd7a77e90fa2ddcd1fff5c1b">Geometry</a>;</div> | ||
154 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01038.html#af4bba8793d5faf9dacb277eaf6ea7862">···82</a></span>··<span·class="keyword">typedef</span>·Dune::MultiLinearGeometry<<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>>······<a·class="code·hl_typedef"·href="a01038.html#af4bba8793d5faf9dacb277eaf6ea7862">LocalGeometry</a>;</div> | ||
148 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">/*··C·O·N·S·T·R·U·C·T·O·R·S···A·N·D···D·E·S·T·R·U·C·T·O·R·S··*/</span></div> | ||
149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01034.html#a345b8a99c88d21d4af2ff7ad2ec12657">···81</a></span>··<a·class="code·hl_function"·href="a01034.html#a345b8a99c88d21d4af2ff7ad2ec12657">Codim1Extractor</a>(<span·class="keyword">const</span>·GV&·gv,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">Predicate</a>&·predicate)</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····:··<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1>(gv)</div> | ||
153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>· | 155 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::cout·<<·<span·class="stringliteral">"This·is·Codim1Extractor·on·a·<"</span>·<<·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a></div> | ||
155 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··············<<·<span·class="stringliteral">","</span>·<<·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·<<·<span·class="stringliteral">">·grid!"</span></div> | ||
156 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··············<<·std::endl;</div> | ||
157 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····update(predicate);</div> | ||
158 | <div·class="line"><a·id="l0008 | 156 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">protected</span>:</div> |
Max diff block lines reached; 127709/160685 bytes (79.48%) of diff not shown. |
Offset 1, 485 lines modified | Offset 1, 607 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | 8 | extractor.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:· | 17 | 6·*·Filename:·extractor.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:· | 19 | 8·*·Created·on:·Oct·05,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Christian·Engwer |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:·class·for· | 23 | 12·*·Description:·base·class·for·all·grid·extractors |
24 | 13·* | 24 | 13·* |
25 | 14·*/ | 25 | 14·*/ |
26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH |
27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH |
28 | 22 | 28 | 22 |
29 | 23#include·<vector> | ||
29 | 23#include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
30 | 24 | ||
31 | 2 | 30 | 24#include·<map> |
31 | 25#include·<algorithm> | ||
32 | 26#include·<dune/common/exceptions.hh> | ||
32 | 26#include·<deque> | ||
33 | 27#include·<functional> | ||
34 | 28 | ||
35 | 2 | 33 | 27#include·<dune/common/fvector.hh> |
36 | 34 | 28#include·<dune/common/version.hh> | |
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
38 | 35 | 29#include·<dune/grid/common/geometry.hh> | |
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31#include·<dune/grid/common/mcmgmapper.hh> | ||
38 | 32#include·<dune/geometry/multilineargeometry.hh> | ||
39 | 33 | ||
39 | 3 | 40 | 34namespace·_\x8D_\x8u_\x8n_\x8e·{ |
40 | 3 | 41 | 35 |
41 | 3 | 42 | 36·namespace·GridGlue·{ |
42 | 3 | 43 | 37 |
43 | 4 | 44 | 44template<typename·GV,·int·cd> |
44 | _\x84_\x81class·_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·:·public·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1> | ||
45 | 4 | 45 | _.4_.5class·_.E_.x_.t_.r_.a_.c_.t_.o_.r |
46 | 46{ | ||
47 | 47 | ||
46 | 4 | 48 | 48public: |
49 | 49 | ||
50 | _\x85_\x80·static·constexpr·auto·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d·=·GV::dimensionworld; | ||
51 | _\x85_\x81·static·constexpr·auto·_\x8d_\x8i_\x8m·=·GV::dimension; | ||
52 | _\x85_\x82·static·constexpr·auto·_\x8c_\x8o_\x8d_\x8i_\x8m·=·cd; | ||
53 | 53 | ||
47 | 44 | ||
48 | 45·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
49 | 46 | ||
50 | 47·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; | ||
51 | 48·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m; | ||
52 | 49·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
53 | 50·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8u_\x8b_\x8e_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s; | ||
54 | _\x85_\x81·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
55 | 52 | ||
56 | _\x85_\x84·static·constexpr·int·_\x8 | 54 | _\x85_\x84·static·constexpr·int·_\x8c_.u_.b_.e_.__.c_.o_.r_.n_.e_.r_.s·=·1·<<·(_.d_.i_.m-_.c_.o_.d_.i_.m); |
57 | 55 | 55 | 55 |
58 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; | 56 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; |
59 | 57 | 57 | _.5_.7·typedef·typename·GridView::Grid·_.G_.r_.i_.d; |
58 | 58 | ||
60 | _\x85_\x8 | 59 | _\x85_\x89·typedef·typename·GV::Grid::ctype·_\x8c_\x8t_\x8y_\x8p_\x8e; |
61 | _\x8 | 60 | _\x86_.0·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; |
62 | 6 | 61 | _.6_.1·typedef·Dune::FieldVector<ctype,·dim>·_.L_.o_.c_.a_.l_.C_.o_.o_.r_.d_.s; |
62 | 62 | ||
63 | _\x86_\x8 | 63 | _\x86_\x83·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; |
64 | _\x86_\x84·typedef·typename·Vertex::EntitySeed·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8e_\x8e_\x8d; | ||
65 | 65 | ||
64 | _\x86_\x8 | 66 | _\x86_\x86·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; |
65 | _\x86_\x83·typedef·std::function<bool(const·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t&,·unsigned·int·subentity)> | ||
66 | _\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e; | ||
67 | 64 | ||
68 | 65·//·import·typedefs·from·base·class | ||
69 | _\x86_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o·_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o; | ||
70 | _\x86_\x87·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o; | ||
71 | _\x86_\x88·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o; | ||
72 | _\x86_\x89·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o; | ||
73 | _\x87_\x80·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p; | ||
74 | 7 | 67 | _.6_.7·typedef·typename·Element::EntitySeed·_.E_.l_.e_.m_.e_.n_.t_.S_.e_.e_.d; |
68 | 68 | ||
69 | _\x86_\x89·typedef·std::vector<unsigned·int>·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
70 | 70 | ||
71 | 71#if·DUNE_VERSION_NEWER(DUNE_GRID,·2,·6) | ||
72 | 72·using·_\x8C_\x8e_\x8l_\x8l_\x8M_\x8a_\x8p_\x8p_\x8e_\x8r·=·MultipleCodimMultipleGeomTypeMapper<GridView>; | ||
73 | 73#else | ||
74 | _\x87_\x84·using·_\x8C_\x8e_\x8l_\x8l_\x8M_\x8a_\x8p_\x8p_\x8e_\x8r·=·MultipleCodimMultipleGeomTypeMapper<GridView, | ||
75 | MCMGElementLayout>; | ||
76 | 75#endif | ||
77 | 76·//·typedef·typename·CellMapper::IndexType·IndexType; | ||
78 | _\x87_\x87·typedef·int·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
75 | 7 | 79 | 78public: |
76 | 73 | ||
77 | 74·/*·C·O·N·S·T·R·U·C·T·O·R·S·A·N·D·D·E·S·T·R·U·C·T·O·R·S·*/ | ||
78 | 75 | ||
79 | _\x88_\x81·_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r(const·GV&·gv,·const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate) | ||
80 | 80 | 79 | |
81 | 80·//·transformations | ||
82 | _\x88_\x81·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d>·_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
83 | _\x88_\x82·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
84 | 83 | ||
85 | 84protected: | ||
86 | 85·/**************************·PRIVATE·SUBCLASSES·**********************/ | ||
87 | 86 | ||
88 | _\x89_\x81·struct·_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
89 | 92·{ | ||
90 | _\x89_\x83·unsigned·int·_\x8i_\x8d_\x8x·:·28; | ||
91 | _\x89_\x84·unsigned·int·_\x8n_\x8u_\x8m·:·4; | ||
92 | 95·}; | ||
93 | 96 | ||
94 | _\x89_\x87·struct·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o | ||
81 | 95 | 98·{ | |
96 | _\x89_\x89·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o() | ||
97 | 100·{} | ||
98 | 101 | ||
Max diff block lines reached; 41176/48165 bytes (85.49%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·computeintersection.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 69 lines modified | Offset 70, 27 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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"> | 78 | ··<div·class="headertitle"><div·class="title">computeintersection.cc·File·Reference</div></div> |
81 | </div><!--header--> | 79 | </div><!--header--> |
82 | <div·class="contents"> | 80 | <div·class="contents"> |
83 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
86 | Classes</h2></td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html">Dune::GridGlue::SimplexMethod<·dimWorld,·dim1,·dim2,·T·></a></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·0,·T·></a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01126.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·1,·T·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01130.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·2,·T·></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="a01134.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·3,·T·></a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01138.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·1,·T·></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="a01142.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·2,·T·></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="a01146.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·3,·T·></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="a01150.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·2,·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="a01154.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·3,·T·></a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01158.html">Dune::GridGlue::SimplexMethod<·dimWorld,·3,·3,·T·></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="namespaces"·name="namespaces"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 84 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 85 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 87 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | ||
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
118 | Functions</h2></td></tr> | ||
119 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"·id="r_acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
120 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·0·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
121 | <tr·class="separator:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"·id="r_a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
123 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a79ec8d88094aaf764ba7d3fc69f80bfb">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·1·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
124 | <tr·class="separator:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"·id="r_a686728cec3588405059fdbddc5e89168"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
126 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a686728cec3588405059fdbddc5e89168">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·2·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
127 | <tr·class="separator:a686728cec3588405059fdbddc5e89168"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"·id="r_a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
129 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a697e604ca453c314141e6b4c5efe3eab">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·3·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
130 | <tr·class="separator:a697e604ca453c314141e6b4c5efe3eab"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | </table> | 89 | </table> |
132 | </div><!--·contents·--> | 90 | </div><!--·contents·--> |
133 | <!--·start·footer·part·--> | 91 | <!--·start·footer·part·--> |
134 | <hr·class="footer"/><address·class="footer"><small> | 92 | <hr·class="footer"/><address·class="footer"><small> |
135 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 93 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
136 | </small></address> | 94 | </small></address> |
137 | </body> | 95 | </body> |
Offset 1, 65 lines modified | Offset 1, 17 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8 | 8 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_\x8s |
9 | 9 | computeintersection.cc·File·Reference | |
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
13 | |||
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x80_\x8,_\x8·_\x8T_\x8·_\x8> | ||
15 | |||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
17 | |||
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
19 | |||
20 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
21 | |||
22 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
23 | |||
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | |||
26 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
27 | |||
28 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
29 | |||
30 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
31 | |||
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x83_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
33 | |||
34 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
35 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
36 | 13 | ||
37 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
38 | 15 | ||
39 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
40 | template<int·dimworld,·typename·T·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·0·>, | ||
42 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
43 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
44 | ······std::vector<·int·>·>·&faceIds) | ||
45 | |||
46 | template<int·dimworld,·typename·T·> | ||
47 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·1·>, | ||
48 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
49 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
50 | ······std::vector<·int·>·>·&faceIds) | ||
51 | |||
52 | template<int·dimworld,·typename·T·> | ||
53 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·2·>, | ||
54 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
55 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
56 | ······std::vector<·int·>·>·&faceIds) | ||
57 | |||
58 | template<int·dimworld,·typename·T·> | ||
59 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·3·>, | ||
60 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
61 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
62 | ······std::vector<·int·>·>·&faceIds) | ||
63 | |||
64 | =============================================================================== | 16 | =============================================================================== |
65 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 17 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·computeintersection.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 1430 lines modified | Offset 74, 356 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">computeintersection.cc</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//****************************************************************************************</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">//·PUBLIC</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">//****************************************************************************************</span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,0>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,1>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,2>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,3>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
107 | <div·class="line"><a·id="l000 | 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">template</span><<span·class="keyword">class</span>·CM></div> | ||
96 | <div·class="foldopen"·id="foldopen00014"·data-start="{"·data-end="}"> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno"><a·class="line"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">···14</a></span><span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">IntersectionComputation<CM>::computeIntersection</a>(<span·class="keyword">const</span>·std::vector<V>&·X,</div> | ||
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>······················································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>······················································std::vector<std::vector<int>·>&·SX,</div> | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>······················································std::vector<std::vector<int>·>&·SY,</div> | ||
101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>······················································std::vector<V>&·P)·{</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>····std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY;</div> | ||
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····std::vector<std::vector<int>·>·faceIdsX,·faceIdsY;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM::grid2Dimension+1),·sP;</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····std::vector<std::vector<int>·>·sSX,·sSY;</div> | ||
108 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····CM::grid1_subdivisions(X,subElementsX,faceIdsX);</div> | ||
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····CM::grid2_subdivisions(Y,subElementsY,faceIdsY);</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 110 | <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="comment">//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS·***************************</span></div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimWorld,<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keyword">typename</span>·T></div> | ||
112 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};"> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01118.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01118.html">SimplexMethod</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>{</div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01118.html#a4b07cdfc467f3dc5decd96dd3709f2da">···31</a></span>····<span·class="keyword">static_assert</span>(dim1·>·dim2,·<span·class="stringliteral">"Specialization·missing"</span>);</div> | ||
115 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordtype">bool</span>·intersectionFound·=·<span·class="keyword">false</span>;</div> |
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·subElementsX.size();·++i)·{·<span·class="comment">//·iterate·over·all·X·subelements</span></div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·<span·class="comment">//·define·the·X·subelement</span></div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>············subElementX[ki]·=·X[subElementsX[i][ki]];</div> | ||
116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·0;·j·<·subElementsY.size();·++j)·{·<span·class="comment">//·iterate·over·all·Y·subelemetns</span></div> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·<span·class="comment">//·define·the·Y·subleement</span></div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>················subElementY[kj]·=·Y[subElementsY[j][kj]];</div> | ||
116 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>············sP.clear();</div> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">···34</a></span>····<span·class="keyword">typedef</span>·FieldVector<T,·dimWorld>·<a·class="code·hl_typedef"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">Vector</a>;</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">···35</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">grid1Dimension</a>·=·dim1;</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">···36</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">grid2Dimension</a>·=·dim2;</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">···37</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">intersectionDimension</a>·=·dim2;</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>············<span·class="comment">//·compute·the·intersection</span></div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>············<span·class="keywordtype">bool</span>·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP);</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>············intersectionFound·=·intersectionFound·||·b;</div> | ||
122 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> | ||
123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">···39</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">computeIntersectionPoints</a>(<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···X,</div> | ||
124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·················<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···Y,</div> | ||
125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·················std::vector<std::vector<int>·>·········&·SX,</div> | ||
126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·················std::vector<std::vector<int>·>·········&·SY,</div> | ||
127 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·················std::vector<FieldVector<T,dimWorld>·>·&·P)</div> | ||
128 | <div·class="line"><a·id="l0004 | 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
129 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>············<span·class="comment">//·only·insert·points·on·outer·faces</span></div> |
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·sSX.size();·++ki)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>················<span·class="keywordflow">if</span>·(faceIdsX[i][ki]·>=·0)·{</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{</div> | ||
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSX[ki][kii]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>························SX[faceIdsX[i][ki]].push_back(k);</div> | ||
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····················}</div> | ||
133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················}</div> | ||
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>············}</div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·sSY.size();·++kj)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordflow">if</span>·(faceIdsY[j][kj]·>=·0)·{</div> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kjj·=·0;·kjj·<·sSY[kj].size();·++kjj)·{</div> | ||
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSY[kj][kjj]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>························SY[faceIdsY[j][kj]].push_back(k);</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····················}</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>················}</div> | ||
142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············}</div> | ||
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div> | ||
130 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div> |
145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·intersectionFound;</div> | ||
147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> | ||
131 | </div> | 148 | </div> |
132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
133 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
134 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab49909d2d3a53b30becf262cd024e314">···48</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01118.html#ab49909d2d3a53b30becf262cd024e314">grid1_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>&·elementCorners,</div> | ||
135 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>···································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
Max diff block lines reached; 263194/288818 bytes (91.13%) of diff not shown. |
Offset 1, 1578 lines modified | Offset 1, 382 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | computeintersection.cc | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | 16 | 5 |
17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | 17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ |
18 | 7namespace·GridGlue·{ | 18 | 7namespace·GridGlue·{ |
19 | 8 | 19 | 8 |
20 | 9template·<int·dimworld,·typename·T> | ||
21 | 10inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,0>,const·std:: | ||
22 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
23 | 11·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
24 | 12·std::vector<std::vector<int>·>&·faceIds); | ||
25 | 13template·<int·dimworld,·typename·T> | ||
26 | 14inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,1>,const·std:: | ||
27 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
28 | 20 | 9// | |
21 | **************************************************************************************** | ||
22 | 10//·PUBLIC | ||
23 | 11// | ||
24 | **************************************************************************************** | ||
25 | 12 | ||
26 | 13template<class·CM> | ||
27 | _\x81_\x84bool·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8M_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>& | ||
28 | X, | ||
29 | 15·const·std::vector<V>&·Y, | ||
29 | 16·std::vector<std::vector<int>·>&· | 30 | 16·std::vector<std::vector<int>·>&·SX, |
30 | 17template·<int·dimworld,·typename·T> | ||
31 | 18inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,2>,const·std:: | ||
32 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
33 | 19·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
34 | 31 | 17·std::vector<std::vector<int>·>&·SY, | |
32 | 18·std::vector<V>&·P)·{ | ||
33 | 19 | ||
35 | 21template·<int·dimworld,·typename·T> | ||
36 | 22inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,3>,const·std:: | ||
37 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
38 | 2 | 34 | 20·std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY; |
39 | 2 | 35 | 21·std::vector<std::vector<int>·>·faceIdsX,·faceIdsY; |
40 | 25 | ||
41 | 2 | 36 | 22·std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM:: |
37 | grid2Dimension+1),·sP; | ||
38 | 23·std::vector<std::vector<int>·>·sSX,·sSY; | ||
39 | 24 | ||
40 | 25·CM::grid1_subdivisions(X,subElementsX,faceIdsX); | ||
41 | 26·CM::grid2_subdivisions(Y,subElementsY,faceIdsY); | ||
42 | 27 | 42 | 27 |
43 | 28//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS | ||
44 | *************************** | ||
45 | 29template<int·dimWorld,int·dim1,·int·dim2,·typename·T> | ||
46 | _\x83_\x80class·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·:·public·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>{ | ||
47 | _\x83_\x81·static_assert(dim1·>·dim2,·"Specialization·missing"); | ||
48 | 32·friend·class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>; | ||
49 | 33public: | ||
50 | _\x83_\x84·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
51 | _\x83_\x85·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
52 | _\x83_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
53 | 43 | 28·bool·intersectionFound·=·false; | |
44 | 29 | ||
45 | 30·for·(unsigned·int·i·=·0;·i·<·subElementsX.size();·++i)·{·//·iterate·over·all | ||
46 | X·subelements | ||
47 | 31·for·(unsigned·int·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·//·define·the·X | ||
48 | subelement | ||
49 | 32·subElementX[ki]·=·X[subElementsX[i][ki]]; | ||
50 | 33·for·(unsigned·int·j·=·0;·j·<·subElementsY.size();·++j)·{·//·iterate·over·all | ||
51 | Y·subelemetns | ||
52 | 34·for·(unsigned·int·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·//·define·the·Y | ||
53 | subleement | ||
54 | 35·subElementY[kj]·=·Y[subElementsY[j][kj]]; | ||
55 | 36 | ||
56 | 37·sP.clear(); | ||
54 | 38 | 57 | 38 |
55 | _\x83_\x89·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std:: | ||
56 | vector<FieldVector<T,dimWorld>·>&·X, | ||
57 | 40·const·std::vector<FieldVector<T,dimWorld>·>&·Y, | ||
58 | 41·std::vector<std::vector<int>·>·&·SX, | ||
59 | 42·std::vector<std::vector<int>·>·&·SY, | ||
60 | 43·std::vector<FieldVector<T,dimWorld>·>·&·P) | ||
61 | 44·{ | ||
62 | 45·return·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8T_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(Y,·X, | ||
63 | 58 | 39·//·compute·the·intersection | |
59 | 40·bool·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP); | ||
60 | 41·intersectionFound·=·intersectionFound·||·b; | ||
61 | 42 | ||
62 | 43·//·only·insert·points·on·outer·faces | ||
63 | 44·for·(unsigned·int·ki·=·0;·ki·<·sSX.size();·++ki)·{·//·iterate·over·all·faces | ||
64 | 45·if·(faceIdsX[i][ki]·>=·0)·{ | ||
65 | 46·for·(unsigned·int·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{ | ||
66 | 47·int·k·=·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t(sP[sSX[ki][kii]],P);·//·determine·index·in·P | ||
67 | 48·SX[faceIdsX[i][ki]].push_back(k); | ||
64 | 4 | 68 | 49·} |
65 | 47 | ||
66 | _\x84_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>&·elementCorners, | ||
67 | 49·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
68 | 50·std::vector<std::vector<int>·>&·faceIds) | ||
69 | 51·{ | ||
70 | 52·simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid1Dimension>(), | ||
71 | 53·elementCorners,subElements,·faceIds); | ||
72 | 5 | 69 | 50·} |
73 | 55 | ||
74 | _\x85_\x86·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>&·elementCorners, | ||
75 | 57·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
76 | 5 | 70 | 51·} |
71 | 52·for·(unsigned·int·kj·=·0;·kj·<·sSY.size();·++kj)·{·//·iterate·over·all·faces | ||
72 | 53·if·(faceIdsY[j][kj]·>=·0)·{ | ||
73 | 54·for·(unsigned·int·kjj·=·0;·kjj·<·sSY[kj].size();·++kjj)·{ | ||
74 | 55·int·k·=·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t(sP[sSY[kj][kjj]],P);·//·determine·index·in·P | ||
75 | 56·SY[faceIdsY[j][kj]].push_back(k); | ||
76 | 57·} | ||
77 | 58·} | ||
77 | 59· | 78 | 59·} |
78 | 60·simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid2Dimension>(), | ||
79 | 61·elementCorners,·subElements,·faceIds); | ||
80 | 6 | 79 | 60·} |
81 | 6 | 80 | 61·} |
81 | 62 | ||
Max diff block lines reached; 70841/77212 bytes (91.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-grid-glue:· | 8 | <title>dune-grid-glue:·contactmerge.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 140 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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="#define-members">Macros</a>·| | ||
80 | <a·href="#func-members">Functions</a>··</div> | ||
81 | ··<div·class="headertitle"><div·class="title"> | 78 | ··<div·class="headertitle"><div·class="title">contactmerge.cc·File·Reference</div></div> |
82 | </div><!--header--> | 79 | </div><!--header--> |
83 | <div·class="contents"> | 80 | <div·class="contents"> |
84 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· | ||
85 | <a·href="#details">More...</a></p> | ||
86 | <div·class="textblock"><code>#include·<iostream></code><br·/> | ||
87 | <code>#include·<iomanip></code><br·/> | ||
88 | <code>#include·<vector></code><br·/> | ||
89 | <code>#include·<stack></code><br·/> | ||
90 | <code>#include·<set></code><br·/> | ||
91 | <code>#include·<utility></code><br·/> | ||
92 | <code>#include·<map></code><br·/> | ||
93 | <code>#include·<memory></code><br·/> | ||
94 | <code>#include·<algorithm></code><br·/> | ||
95 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
96 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
97 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | ||
98 | <code>#include·<dune/common/timer.hh></code><br·/> | ||
99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
100 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
101 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
102 | <code>#include·<<a·class="el"·href="a000 | 81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00038_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> |
103 | <code>#include·<<a·class="el"·href="a000 | 82 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> |
104 | </div> | 83 | </div> |
105 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
108 | Classes</h2></td></tr> | ||
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01162.html">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> | ||
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.··<a·href="a01162.html#details">More...</a><br·/></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="namespaces"·name="namespaces"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
114 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
115 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
121 | Macros</h2></td></tr> | ||
122 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a>   extern</td></tr> | ||
123 | <tr·class="separator:ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:a4a2b0f7fb92723749fc6d5cca82a4297"·id="r_a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
125 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table><table·class="memberdecls"> | ||
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
128 | Functions</h2></td></tr> | ||
129 | <tr·class="memitem:a24cc77615b28d89c63bbf0bc56bd4c47"·id="r_a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a24cc77615b28d89c63bbf0bc56bd4c47">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·1,·1,·1)</td></tr> | ||
130 | <tr·class="separator:a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | <tr·class="memitem:aa5c636241cf52ea647e948fcd9339923"·id="r_aa5c636241cf52ea647e948fcd9339923"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa5c636241cf52ea647e948fcd9339923">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·2,·2,·2)</td></tr> | ||
132 | <tr·class="separator:aa5c636241cf52ea647e948fcd9339923"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
133 | <tr·class="memitem:aa1057477f7967001ea15f5928e90f84c"·id="r_aa1057477f7967001ea15f5928e90f84c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa1057477f7967001ea15f5928e90f84c">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·3,·3,·3)</td></tr> | ||
134 | <tr·class="separator:aa1057477f7967001ea15f5928e90f84c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
135 | </table> | 92 | </table> |
136 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
137 | <div·class="textblock"><p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·</p> | ||
138 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
139 | <a·id="ad5c7ca0181fea7823b37d06d5f61e9cd"·name="ad5c7ca0181fea7823b37d06d5f61e9cd"></a> | ||
140 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5c7ca0181fea7823b37d06d5f61e9cd">◆ </a></span>DECL</h2> | ||
141 | <div·class="memitem"> | ||
142 | <div·class="memproto"> | ||
143 | ······<table·class="memname"> | ||
144 | ········<tr> | ||
145 | ··········<td·class="memname">#define·DECL   extern</td> | ||
146 | ········</tr> | ||
147 | ······</table> | ||
148 | </div><div·class="memdoc"> | ||
149 | </div> | ||
150 | </div> | ||
151 | <a·id="a4a2b0f7fb92723749fc6d5cca82a4297"·name="a4a2b0f7fb92723749fc6d5cca82a4297"></a> | ||
152 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a2b0f7fb92723749fc6d5cca82a4297">◆ </a></span>STANDARD_MERGE_INSTANTIATE</h2> | ||
153 | <div·class="memitem"> | ||
154 | <div·class="memproto"> | ||
155 | ······<table·class="memname"> | ||
156 | ········<tr> | ||
157 | ··········<td·class="memname">#define·STANDARD_MERGE_INSTANTIATE</td> | ||
158 | ··········<td>(</td> | ||
159 | ··········<td·class="paramtype"> </td> | ||
160 | ··········<td·class="paramname">T,·</td> | ||
161 | ········</tr> | ||
162 | ········<tr> | ||
163 | ··········<td·class="paramkey"></td> | ||
164 | ··········<td></td> | ||
165 | ··········<td·class="paramtype"> </td> | ||
166 | ··········<td·class="paramname">A,·</td> | ||
167 | ········</tr> | ||
168 | ········<tr> | ||
169 | ··········<td·class="paramkey"></td> | ||
170 | ··········<td></td> | ||
171 | ··········<td·class="paramtype"> </td> | ||
172 | ··········<td·class="paramname">B,·</td> | ||
173 | ········</tr> | ||
174 | ········<tr> | ||
175 | ··········<td·class="paramkey"></td> | ||
176 | ··········<td></td> | ||
Max diff block lines reached; 271/11382 bytes (2.38%) of diff not shown. |
Offset 1, 79 lines modified | Offset 1, 19 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8 | 8 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_\x8s |
9 | 9 | contactmerge.cc·File·Reference | |
10 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
11 | that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | #include·<iostream> | ||
13 | #include·<iomanip> | ||
14 | #include·<vector> | ||
15 | #include·<stack> | ||
16 | #include·<set> | ||
17 | #include·<utility> | ||
18 | #include·<map> | ||
19 | #include·<memory> | ||
20 | #include·<algorithm> | ||
21 | #include·<dune/common/fvector.hh> | ||
22 | #include·<dune/common/bitsetvector.hh> | ||
23 | #include·<dune/common/stdstreams.hh> | ||
24 | #include·<dune/common/timer.hh> | ||
25 | #include·<dune/geometry/referenceelements.hh> | ||
26 | #include·<dune/grid/common/grid.hh> | ||
27 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
28 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_. | 10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_.o_.m_.m_.o_.n_./_.c_.r_.o_.s_.s_.p_.r_.o_.d_.u_.c_.t_\x8._\x8h_\x8h> |
29 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8 | 11 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_.o_.m_.m_.o_.n_./_.p_.r_.o_.j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> |
30 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
31 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
33 | ·······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
34 | ········entities·that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
35 | |||
36 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
37 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
38 | 15 | ||
39 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
40 | 17 | ||
41 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
42 | #define ·_\x8D_\x8E_\x8C_\x8L extern | ||
43 | |||
44 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
45 | |||
46 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
47 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
48 | |||
49 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
50 | |||
51 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
52 | |||
53 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
54 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
55 | that·m\x8ma\x8ay\x8y·intersect. | ||
56 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
58 | #define·DECL extern | ||
59 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
60 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
61 | ····································· ·A, | ||
62 | ····································· ·B, | ||
63 | ····································· ·C | ||
64 | ···································) | ||
65 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
66 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
67 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
68 | grid1Coords,·\ | ||
69 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
70 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
71 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
72 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
73 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
74 | ) | ||
75 | _\x8D_\x8E_\x8C_\x8L | ||
76 | #define·DECL | ||
77 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.hh:827 | ||
78 | =============================================================================== | 18 | =============================================================================== |
79 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 19 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·contactmerge.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 857 lines modified | Offset 74, 389 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">contactmerge.cc</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><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> | ||
88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> | ||
89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> | ||
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<vector></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<stack></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<set></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<utility></span></div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<map></span></div> | ||
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<memory></span></div> | ||
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/stdstreams.hh></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/timer.hh></span></div> | ||
105 | <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="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/grid-glue/merging/intersectionlist.hh</a>></span></div> | ||
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<<a·class="code"·href="a00077.html">dune/grid-glue/merging/merger.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/grid-glue/merging/computeintersection.hh</a>></span></div> | ||
112 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/grid-glue/common/crossproduct.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/grid-glue/common/projection.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
113 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
114 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keywordtype">void</span>·ContactMerge<dimworld,·T>::computeIntersections(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>···································std::bitset<(1<<dim)>&·neighborIntersects1,</div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>···································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>···································std::bitset<(1<<dim)>&·neighborIntersects2,</div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>···································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</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">using·</span>std::get;</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>····std::vector<std::array<LocalCoords,2>·>·polytopeCorners;</div> | ||
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·Initialize</span></div> | ||
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····neighborIntersects1.reset();</div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····neighborIntersects2.reset();</div> | ||
112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners1·=·grid1ElementCorners.size();</div> | ||
114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners2·=·grid2ElementCorners.size();</div> | ||
115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordflow">if</span>·(nCorners1·!=·dimworld)</div> | ||
117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"element1·must·have·"</span>·<<·dimworld·<<·<span·class="stringliteral">"·corners,·but·has·"</span>·<<·nCorners1);</div> | ||
118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">if</span>·(nCorners2·!=·dimworld)</div> | ||
119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"element2·must·have·"</span>·<<·dimworld·<<·<span·class="stringliteral">"·corners,·but·has·"</span>·<<·nCorners2);</div> | ||
115 | <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> |
116 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>1Dim,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>2Dim,·<span·class="keywordtype">int</span>·dimworld></div> | ||
117 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01162.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01162.html">StandardMerge</a></div> | ||
119 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·The·grid1·projection·directions</span></div> |
122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····std::vector<WorldCoords>·directions1(nCorners1);</div> | ||
123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<directions1.size();·i++)</div> | ||
124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_[grid1Index][i]];</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="comment">//·The·grid2·projection·directions</span></div> | ||
127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····std::vector<WorldCoords>·directions2(nCorners2);</div> | ||
128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<directions2.size();·i++)</div> | ||
129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_[grid2Index][i]];</div> | ||
120 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
121 | <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·difference·between·the·closest·point·projection·and·the·normal·projection·is·just·the·ordering</span></div> |
132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the·outer·normal·field·of·grid2</span></div> | ||
133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is·using·the·outer·normal·field</span></div> | ||
134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="comment">//·of·grid1·instead.</span></div> | ||
135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····std::array<<span·class="keyword">decltype</span>(std::cref(grid1ElementCorners)),2>·cornersRef·={std::cref(grid1ElementCorners),·std::cref(grid2ElementCorners)};</div> | ||
136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::array<<span·class="keyword">decltype</span>(std::cref(directions1)),2>·directionsRef·={std::cref(directions1),·std::cref(directions2)};</div> | ||
137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType,·grid2ElementType};</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="comment">//·Determine·which·is·the·grid·we·use·for·outer·normal·projection</span></div> | ||
140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1;</div> | ||
141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0;</div> | ||
122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
143 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="comment">//··Compute·all·corners·of·the·intersection·polytope</span></div> | ||
123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> | ||
124 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
125 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
126 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 144 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
127 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·corners·=·std::tie(cornersRef[domGrid].get(),cornersRef[tarGrid].get());</div> |
146 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·normals·=·std::tie(directionsRef[domGrid].get(),·directionsRef[tarGrid].get());</div> | ||
147 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····Projection<WorldCoords>·p(overlap_,·maxNormalProduct_);</div> | ||
148 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····p.project(corners,·normals);</div> | ||
128 | <div·class="line"><a·id="l0006 | 149 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
129 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">/*·projection·*/</span></div> |
130 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div> |
131 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"> | 152 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·success·=·get<0>(p.success());</div> |
Max diff block lines reached; 168248/206340 bytes (81.54%) of diff not shown. |
Offset 1, 989 lines modified | Offset 1, 439 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | contactmerge.cc | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | ||
16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
17 | 11#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
18 | 12 | ||
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<iomanip> | ||
22 | 16#include·<vector> | ||
23 | 17#include·<stack> | ||
24 | 18#include·<set> | ||
25 | 19#include·<utility> | ||
26 | 20#include·<map> | ||
27 | 21#include·<memory> | ||
28 | 22#include·<algorithm> | ||
29 | 23 | ||
30 | 24#include·<dune/common/fvector.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/stdstreams.hh> | ||
33 | 27#include·<dune/common/timer.hh> | ||
34 | 28 | ||
35 | 29#include·<dune/geometry/referenceelements.hh> | ||
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31 | ||
38 | 32#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
39 | 17 | 6#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.c_.o_.m_.m_.o_.n_./_.c_.r_.o_.s_.s_.p_.r_.o_.d_.u_.c_.t_\x8._\x8h_\x8h> | |
40 | 18 | 7#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.c_.o_.m_.m_.o_.n_./_.p_.r_.o_.j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | |
41 | 19 | 8 | |
42 | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
43 | 21 | 10namespace·GridGlue·{ | |
22 | 11 | ||
23 | 12template<int·dimworld,·typename·T> | ||
24 | 13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | ||
25 | GeometryType&·grid1ElementType, | ||
26 | 14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
27 | 15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
28 | 16·unsigned·int·grid1Index, | ||
29 | 17·const·Dune::GeometryType&·grid2ElementType, | ||
30 | 18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
31 | 19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
32 | 20·unsigned·int·grid2Index, | ||
33 | 21·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
34 | 22{ | ||
35 | 23·using·std::get; | ||
36 | 24 | ||
37 | 25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | ||
38 | 26 | ||
39 | 27·//·Initialize | ||
40 | 28·neighborIntersects1.reset(); | ||
41 | 29·neighborIntersects2.reset(); | ||
42 | 30 | ||
43 | 31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
44 | 32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
45 | 33 | ||
46 | 34·if·(nCorners1·!=·dimworld) | ||
47 | 35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
48 | but·has·"·<<·nCorners1); | ||
49 | 36·if·(nCorners2·!=·dimworld) | ||
50 | 37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
51 | but·has·"·<<·nCorners2); | ||
44 | 38 | 52 | 38 |
45 | 55template<class·T,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
46 | _\x85_\x86class·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e | ||
47 | 57·:·public·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r<T,grid1Dim,grid2Dim,dimworld> | ||
48 | 58{ | ||
49 | 53 | 39·//·The·grid1·projection·directions | |
54 | 40·std::vector<WorldCoords>·directions1(nCorners1); | ||
55 | 41·for·(size_t·i=0;·i<directions1.size();·i++) | ||
56 | 42·directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_ | ||
57 | [grid1Index][i]]; | ||
58 | 43 | ||
59 | 44·//·The·grid2·projection·directions | ||
60 | 45·std::vector<WorldCoords>·directions2(nCorners2); | ||
61 | 46·for·(size_t·i=0;·i<directions2.size();·i++) | ||
62 | 47·directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_ | ||
63 | [grid2Index][i]]; | ||
64 | 48 | ||
65 | 49·//·The·difference·between·the·closest·point·projection·and·the·normal | ||
66 | projection·is·just·the·ordering | ||
67 | 50·//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the | ||
68 | outer·normal·field·of·grid2 | ||
69 | 51·//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is | ||
70 | using·the·outer·normal·field | ||
71 | 52·//·of·grid1·instead. | ||
72 | 53·std::array<decltype(std::cref(grid1ElementCorners)),2>·cornersRef·={std:: | ||
73 | cref(grid1ElementCorners),·std::cref(grid2ElementCorners)}; | ||
74 | 54·std::array<decltype(std::cref(directions1)),2>·directionsRef·={std::cref | ||
75 | (directions1),·std::cref(directions2)}; | ||
76 | 55·std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType, | ||
77 | grid2ElementType}; | ||
78 | 56 | ||
79 | 57·//·Determine·which·is·the·grid·we·use·for·outer·normal·projection | ||
80 | 58·const·size_t·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1; | ||
81 | 59·const·size_t·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0; | ||
50 | 60 | 82 | 60 |
83 | 62·//·Compute·all·corners·of·the·intersection·polytope | ||
51 | 61public: | ||
52 | 62 | ||
53 | 63·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 64 | 84 | 64 |
55 | _\x86_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 67 | ||
57 | _\x86_\x89·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 70 | ||
59 | _\x87_\x82·using·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 73 | ||
61 | _\x87_\x85·using·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 76 | ||
63 | _\x87_\x87·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t; | ||
64 | 78 | ||
65 | 79protected: | ||
66 | 80 | ||
67 | _\x88_\x82·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r·= | ||
Max diff block lines reached; 49897/59780 bytes (83.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-grid-glue:·co | 8 | <title>dune-grid-glue:·contactmerge.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 28 lines modified | Offset 70, 56 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">co | 79 | ··<div·class="headertitle"><div·class="title">contactmerge.hh·File·Reference</div></div> |
79 | </div><!--header--> | 80 | </div><!--header--> |
80 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·<iostream></code><br·/> | ||
85 | <code>#include·<fstream></code><br·/> | ||
86 | <code>#include·<iomanip></code><br·/> | ||
87 | <code>#include·<vector></code><br·/> | ||
88 | <code>#include·<algorithm></code><br·/> | ||
89 | <code>#include·<limits></code><br·/> | ||
90 | <code>#include·<memory></code><br·/> | ||
91 | <code>#include·<functional></code><br·/> | ||
92 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
93 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
94 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
95 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
96 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
97 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
98 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
99 | <code>#include·"<a·class="el"·href="a00068_source.html">contactmerge.cc</a>"</code><br·/> | ||
100 | </div> | ||
81 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
104 | Classes</h2></td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01078.html">Dune::GridGlue::ContactMerge<·dimworld,·T·></a></td></tr> | ||
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart.··<a·href="a01078.html#details">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | </table><table·class="memberdecls"> | ||
83 | <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> |
84 | Namespaces</h2></td></tr> | 110 | Namespaces</h2></td></tr> |
85 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 111 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 113 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | </table> | 115 | </table> |
116 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
117 | <div·class="textblock"><p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·</p> | ||
90 | </div><!--·contents·--> | 118 | </div></div><!--·contents·--> |
91 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
92 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
93 | Generated·by <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 |
94 | </small></address> | 122 | </small></address> |
95 | </body> | 123 | </body> |
96 | </html> | 124 | </html> |
Offset 1, 17 lines modified | Offset 1, 41 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
9 | contactmerge.hh·File·Reference | ||
10 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iostream> | ||
12 | #include·<fstream> | ||
13 | #include·<iomanip> | ||
14 | #include·<vector> | ||
15 | #include·<algorithm> | ||
16 | #include·<limits> | ||
17 | #include·<memory> | ||
18 | #include·<functional> | ||
19 | #include·<dune/common/fvector.hh> | ||
20 | #include·<dune/common/exceptions.hh> | ||
21 | #include·<dune/common/bitsetvector.hh> | ||
22 | #include·<dune/common/deprecated.hh> | ||
23 | #include·<dune/grid/common/grid.hh> | ||
24 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
25 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
26 | #include·"_\x8c_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 27 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
28 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
29 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
30 | ·······Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart. | ||
31 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 34 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 35 | ||
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 36 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
15 | 37 | ||
38 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
39 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart. | ||
16 | =============================================================================== | 40 | =============================================================================== |
17 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 41 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·co | 8 | <title>dune-grid-glue:·contactmerge.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 356 lines modified | Offset 74, 235 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">co | 80 | ··<div·class="headertitle"><div·class="title">contactmerge.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//****************************************************************************************</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class=" | 87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 89 | <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">template</span><<span·class="keyword">class</span>·CM></div> | ||
96 | <div·class="foldopen"·id="foldopen00014"·data-start="{"·data-end="}"> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno"><a·class="line"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">···14</a></span><span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">IntersectionComputation<CM>::computeIntersection</a>(<span·class="keyword">const</span>·std::vector<V>&·X,</div> | ||
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>······················································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>······················································std::vector<std::vector<int>·>&·SX,</div> | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>······················································std::vector<std::vector<int>·>&·SY,</div> | ||
101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>······················································std::vector<V>&·P)·{</div> | ||
102 | <div·class="line"><a·id="l0001 | 90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY;</div> | ||
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····std::vector<std::vector<int>·>·faceIdsX,·faceIdsY;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM::grid2Dimension+1),·sP;</div> | ||
106 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> |
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<fstream></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<vector></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<limits></span></div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<memory></span></div> | ||
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<functional></span></div> | ||
107 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····CM::grid1_subdivisions(X,subElementsX,faceIdsX);</div> | ||
109 | <div·class="line"><a·id="l0002 | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> |
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·subElementsX.size();·++i)·{·<span·class="comment">//·iterate·over·all·X·subelements</span></div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·<span·class="comment">//·define·the·X·subelement</span></div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>············subElementX[ki]·=·X[subElementsX[i][ki]];</div> | ||
116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·0;·j·<·subElementsY.size();·++j)·{·<span·class="comment">//·iterate·over·all·Y·subelemetns</span></div> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·<span·class="comment">//·define·the·Y·subleement</span></div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>················subElementY[kj]·=·Y[subElementsY[j][kj]];</div> | ||
119 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
120 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
121 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>············<span·class="comment">//·compute·the·intersection</span></div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>············<span·class="keywordtype">bool</span>·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP);</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>· | 113 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> |
114 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};"> | ||
115 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01078.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01078.html">ContactMerge</a></div> | ||
116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge</a><T,dimworld-1,dimworld-1,dimworld></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="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim·=·dimworld-1;</div> | ||
125 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>············<span·class="comment">//·only·insert·points·on·outer·faces</span></div> | ||
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·sSX.size();·++ki)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
128 | <div·class="line"><a·id="l0004 | 120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">static_assert</span>(·dim==1·||·dim==2,</div> |
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>············<span·class="stringliteral">"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"</span>);</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{</div> | ||
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSX[ki][kii]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>························SX[faceIdsX[i][ki]].push_back(k);</div> | ||
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····················}</div> | ||
133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················}</div> | ||
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>············}</div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·sSY.size();·++kj)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordflow">if</span>·(faceIdsY[j][kj]·>=·0)·{</div> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kjj·=·0;·kjj·<·sSY[kj].size();·++kjj)·{</div> | ||
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSY[kj][kjj]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>························SY[faceIdsY[j][kj]].push_back(k);</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····················}</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>················}</div> | ||
142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············}</div> | ||
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div> | ||
144 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge<T,dim,dim,dimworld></a>·<a·class="code·hl_class"·href="a01162.html">Base</a>;</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | ||
145 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
146 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> |
147 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01078.html#a5766f4df22f84a6b07d6ad8e977bc650">···56</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01078.html#a5766f4df22f84a6b07d6ad8e977bc650">ctype</a>;</div> | ||
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
130 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">···59</a></span>····<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dimworld>··<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>;</div> | ||
131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01078.html#af0bcbcf0fecc063a6cc9f51de2fd9878">···62</a></span>····<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dim>··<a·class="code·hl_typedef"·href="a01078.html#af0bcbcf0fecc063a6cc9f51de2fd9878">LocalCoords</a>;</div> | ||
133 | <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"><a·class="line"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a99989c22f5a72f6601003cb8aefad178">···65</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·{<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a9bc838df987b26a05f9af8182d7b48cf">OUTER_NORMAL</a>,·<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a99989c22f5a72f6601003cb8aefad178">CLOSEST_POINT</a>};</div> | ||
135 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01078.html#a9c34cac3830aaafbdc1ca8ae8e302a46">···73</a></span>····<a·class="code·hl_function"·href="a01078.html#a9c34cac3830aaafbdc1ca8ae8e302a46">ContactMerge</a>(<span·class="keyword">const</span>·T·allowedOverlap=T(0),</div> | ||
137 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·················std::function<<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>(<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>)>·domainDirections=<span·class="keyword">nullptr</span>,</div> | ||
138 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·················std::function<<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>(<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>)>·targetDirections=<span·class="keyword">nullptr</span>,</div> | ||
139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·················<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·type·=·<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a9bc838df987b26a05f9af8182d7b48cf">OUTER_NORMAL</a>)</div> | ||
140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·domainDirections_(domainDirections),·targetDirections_(targetDirections),</div> | ||
141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········overlap_(allowedOverlap),·type_(type)</div> | ||
142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{}</div> | ||
Max diff block lines reached; 47150/95333 bytes (49.46%) of diff not shown. |
Offset 1, 382 lines modified | Offset 1, 304 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | co | 8 | contactmerge.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | ||
17 | 11#define·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | ||
16 | 5 | ||
17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
18 | 7namespace·GridGlue·{ | ||
19 | 8 | ||
20 | 9// | ||
21 | **************************************************************************************** | ||
22 | 10//·PUBLIC | ||
23 | 11// | ||
24 | **************************************************************************************** | ||
25 | 12 | 18 | 12 |
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<fstream> | ||
22 | 16#include·<iomanip> | ||
23 | 17#include·<vector> | ||
24 | 18#include·<algorithm> | ||
25 | 19#include·<limits> | ||
26 | 20#include·<memory> | ||
27 | 21#include·<functional> | ||
28 | 22 | ||
29 | 23#include·<dune/common/fvector.hh> | ||
30 | 24#include·<dune/common/exceptions.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
26 | 13template<class·CM> | ||
27 | _\x81_\x84bool·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8M_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>& | ||
28 | X, | ||
29 | 15·const·std::vector<V>&·Y, | ||
30 | 16·std::vector<std::vector<int>·>&·SX, | ||
31 | 17·std::vector<std::vector<int>·>&·SY, | ||
32 | 18·std::vector<V>&·P)·{ | ||
33 | 19 | ||
34 | 20·std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY; | ||
35 | 21·std::vector<std::vector<int>·>·faceIdsX,·faceIdsY; | ||
36 | 22·std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM:: | ||
37 | grid2Dimension+1),·sP; | ||
38 | 23·std::vector<std::vector<int>·>·sSX,·sSY; | ||
39 | 24 | ||
40 | 25·CM::grid1_subdivisions(X,subElementsX,faceIdsX); | ||
41 | 26·CM::grid2_subdivisions(Y,subElementsY,faceIdsY); | ||
42 | 27 | 33 | 27 |
43 | 28 | 34 | 28#include·<dune/grid/common/grid.hh> |
44 | 29 | 35 | 29 |
36 | 30#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
38 | 32 | ||
39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
40 | 34namespace·GridGlue·{ | ||
41 | 35 | ||
42 | 41template<int·dimworld,·typename·T·=·double> | ||
43 | _\x84_\x82class·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e | ||
44 | 43:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dimworld-1,dimworld-1,dimworld> | ||
45 | 44{ | ||
46 | 45·static·constexpr·int·dim·=·dimworld-1; | ||
47 | 46 | ||
48 | 47·static_assert(·dim==1·||·dim==2, | ||
49 | 48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
50 | 49 | ||
51 | 50·typedef·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>·_\x8B_\x8a_\x8s_\x8e; | ||
52 | 51public: | ||
53 | 52 | ||
54 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
55 | 54 | ||
56 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
57 | 57 | ||
58 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
59 | 60 | ||
60 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
61 | 63 | ||
62 | _\x86_\x85·enum·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·{_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L,·_\x8C_\x8L_\x8O_\x8S_\x8E_\x8S_\x8T_\x8__\x8P_\x8O_\x8I_\x8N_\x8T}; | ||
63 | _\x87_\x83·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap=T(0), | ||
64 | 74·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·domainDirections=nullptr, | ||
65 | 75·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections=nullptr, | ||
66 | 76·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type·=·_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L) | ||
67 | 77·:·domainDirections_(domainDirections),·targetDirections_(targetDirections), | ||
68 | 78·overlap_(allowedOverlap),·type_(type) | ||
69 | 79·{} | ||
70 | 80 | ||
71 | _\x88_\x86·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap,·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type) | ||
72 | 87·:·overlap_(allowedOverlap), | ||
73 | 88·type_(type) | ||
74 | 89·{} | ||
75 | 90 | ||
76 | 99·inline | ||
77 | _\x81_\x80_\x80·void·_\x8s_\x8e_\x8t_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)> | ||
78 | domainDirections, | ||
79 | 101·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections) | ||
45 | 30·for·(unsigned·int·i·=·0;·i·<·subElementsX.size();·++i)·{·//·iterate·over·all | ||
46 | X·subelements | ||
47 | 31·for·(unsigned·int·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·//·define·the·X | ||
48 | subelement | ||
49 | 32·subElementX[ki]·=·X[subElementsX[i][ki]]; | ||
50 | 33·for·(unsigned·int·j·=·0;·j·<·subElementsY.size();·++j)·{·//·iterate·over·all | ||
51 | Y·subelemetns | ||
52 | 34·for·(unsigned·int·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·//·define·the·Y | ||
53 | subleement | ||
54 | 35·subElementY[kj]·=·Y[subElementsY[j][kj]]; | ||
55 | 36 | ||
56 | 37·sP.clear(); | ||
57 | 38 | ||
58 | 39·//·compute·the·intersection | ||
59 | 40·bool·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP); | ||
60 | 41·intersectionFound·=·intersectionFound·||·b; | ||
61 | 42 | ||
62 | 43·//·only·insert·points·on·outer·faces | ||
63 | 44·for·(unsigned·int·ki·=·0;·ki·<·sSX.size();·++ki)·{·//·iterate·over·all·faces | ||
64 | 45·if·(faceIdsX[i][ki]·>=·0)·{ | ||
65 | 46·for·(unsigned·int·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{ | ||
66 | 47·int·k·=·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t(sP[sSX[ki][kii]],P);·//·determine·index·in·P | ||
67 | 48·SX[faceIdsX[i][ki]].push_back(k); | ||
Max diff block lines reached; 18553/26530 bytes (69.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-grid-glue:· | 8 | <title>dune-grid-glue:·standardmerge.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 139 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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>·| | ||
80 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">standardmerge.hh·File·Reference</div></div> |
80 | </div><!--header--> | 82 | </div><!--header--> |
81 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· | ||
85 | <a·href="#details">More...</a></p> | ||
82 | <div·class="textblock"><code>#include·< | 86 | <div·class="textblock"><code>#include·<iostream></code><br·/> |
83 | <code>#include·<type_traits></code><br·/> | ||
84 | <code>#include·< | 87 | <code>#include·<iomanip></code><br·/> |
85 | <code>#include·<vector></code><br·/> | 88 | <code>#include·<vector></code><br·/> |
89 | <code>#include·<stack></code><br·/> | ||
90 | <code>#include·<set></code><br·/> | ||
91 | <code>#include·<utility></code><br·/> | ||
92 | <code>#include·<map></code><br·/> | ||
93 | <code>#include·<memory></code><br·/> | ||
94 | <code>#include·<algorithm></code><br·/> | ||
86 | <code>#include·<dune/common/fvector.hh></code><br·/> | 95 | <code>#include·<dune/common/fvector.hh></code><br·/> |
96 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
97 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | ||
98 | <code>#include·<dune/common/timer.hh></code><br·/> | ||
99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
100 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
101 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
102 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/grid-glue/merging/merger.hh</a>></code><br·/> | ||
103 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
87 | </div> | 104 | </div> |
88 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
89 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
91 | Classes</h2></td></tr> | 108 | 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="a01 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01162.html">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> |
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.··<a·href="a01162.html#details">More...</a><br·/></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html">Dune::GridGlue::IntersectionList<·Local0,·Local1·></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="a01102.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></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">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection</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 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
102 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
103 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 115 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 117 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
121 | Macros</h2></td></tr> | ||
122 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a>   extern</td></tr> | ||
123 | <tr·class="separator:ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:a4a2b0f7fb92723749fc6d5cca82a4297"·id="r_a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
125 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table><table·class="memberdecls"> | ||
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
128 | Functions</h2></td></tr> | ||
129 | <tr·class="memitem:a24cc77615b28d89c63bbf0bc56bd4c47"·id="r_a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a24cc77615b28d89c63bbf0bc56bd4c47">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·1,·1,·1)</td></tr> | ||
130 | <tr·class="separator:a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | <tr·class="memitem:aa5c636241cf52ea647e948fcd9339923"·id="r_aa5c636241cf52ea647e948fcd9339923"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa5c636241cf52ea647e948fcd9339923">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·2,·2,·2)</td></tr> | ||
132 | <tr·class="separator:aa5c636241cf52ea647e948fcd9339923"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
133 | <tr·class="memitem:aa1057477f7967001ea15f5928e90f84c"·id="r_aa1057477f7967001ea15f5928e90f84c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa1057477f7967001ea15f5928e90f84c">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·3,·3,·3)</td></tr> | ||
134 | <tr·class="separator:aa1057477f7967001ea15f5928e90f84c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | </table> | 135 | </table> |
136 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
137 | <div·class="textblock"><p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·</p> | ||
138 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
139 | <a·id="ad5c7ca0181fea7823b37d06d5f61e9cd"·name="ad5c7ca0181fea7823b37d06d5f61e9cd"></a> | ||
140 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5c7ca0181fea7823b37d06d5f61e9cd">◆ </a></span>DECL</h2> | ||
141 | <div·class="memitem"> | ||
142 | <div·class="memproto"> | ||
143 | ······<table·class="memname"> | ||
144 | ········<tr> | ||
145 | ··········<td·class="memname">#define·DECL   extern</td> | ||
146 | ········</tr> | ||
147 | ······</table> | ||
148 | </div><div·class="memdoc"> | ||
149 | </div> | ||
150 | </div> | ||
151 | <a·id="a4a2b0f7fb92723749fc6d5cca82a4297"·name="a4a2b0f7fb92723749fc6d5cca82a4297"></a> | ||
152 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a2b0f7fb92723749fc6d5cca82a4297">◆ </a></span>STANDARD_MERGE_INSTANTIATE</h2> | ||
153 | <div·class="memitem"> | ||
154 | <div·class="memproto"> | ||
155 | ······<table·class="memname"> | ||
156 | ········<tr> | ||
157 | ··········<td·class="memname">#define·STANDARD_MERGE_INSTANTIATE</td> | ||
158 | ··········<td>(</td> | ||
159 | ··········<td·class="paramtype"> </td> | ||
160 | ··········<td·class="paramname">T,·</td> | ||
161 | ········</tr> | ||
162 | ········<tr> | ||
163 | ··········<td·class="paramkey"></td> | ||
164 | ··········<td></td> | ||
165 | ··········<td·class="paramtype"> </td> | ||
166 | ··········<td·class="paramname">A,·</td> | ||
167 | ········</tr> | ||
168 | ········<tr> | ||
169 | ··········<td·class="paramkey"></td> | ||
170 | ··········<td></td> | ||
Max diff block lines reached; 271/12481 bytes (2.17%) of diff not shown. |
Offset 1, 32 lines modified | Offset 1, 79 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | intersectionlist.hh·File·Reference | ||
10 | #include·<array> | ||
11 | #include·<type_traits> | ||
12 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.M_.a_.c_.r_.o_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s | |
9 | standardmerge.hh·File·Reference | ||
10 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
11 | that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | #include·<iostream> | ||
13 | #include·<iomanip> | ||
13 | #include·<vector> | 14 | #include·<vector> |
15 | #include·<stack> | ||
16 | #include·<set> | ||
17 | #include·<utility> | ||
18 | #include·<map> | ||
19 | #include·<memory> | ||
20 | #include·<algorithm> | ||
14 | #include·<dune/common/fvector.hh> | 21 | #include·<dune/common/fvector.hh> |
22 | #include·<dune/common/bitsetvector.hh> | ||
23 | #include·<dune/common/stdstreams.hh> | ||
24 | #include·<dune/common/timer.hh> | ||
25 | #include·<dune/geometry/referenceelements.hh> | ||
26 | #include·<dune/grid/common/grid.hh> | ||
27 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
28 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h> | ||
29 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 30 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 31 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
33 | ·······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
34 | ········entities·that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8L_\x80_\x8,_\x8·_\x8L_\x81_\x8·_\x8> | ||
18 | |||
19 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80_\x8,_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81_\x8·_\x8> | ||
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8> | ||
22 | |||
23 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8>_\x8:_\x8: | ||
24 | ·········_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
25 | 35 | ||
26 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 36 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
27 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 37 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
28 | 38 | ||
29 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 39 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
30 | 40 | ||
41 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
42 | #define ·_\x8D_\x8E_\x8C_\x8L extern | ||
43 | |||
44 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
45 | |||
46 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
47 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
48 | |||
49 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
50 | |||
51 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
52 | |||
53 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
54 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
55 | that·m\x8ma\x8ay\x8y·intersect. | ||
56 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
58 | #define·DECL extern | ||
59 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
60 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
61 | ····································· ·A, | ||
62 | ····································· ·B, | ||
63 | ····································· ·C | ||
64 | ···································) | ||
65 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
66 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
67 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
68 | grid1Coords,·\ | ||
69 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
70 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
71 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
72 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
73 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
74 | ) | ||
75 | _\x8D_\x8E_\x8C_\x8L | ||
76 | #define·DECL | ||
77 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.hh:827 | ||
31 | =============================================================================== | 78 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 79 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·standardmerge.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 857 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">standardmerge.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">//· | 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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> |
86 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<vector></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·<dune/common/fvector.hh></span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> | ||
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<vector></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<stack></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<set></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<utility></span></div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<map></span></div> | ||
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<memory></span></div> | ||
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/stdstreams.hh></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/timer.hh></span></div> | ||
105 | <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="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/grid-glue/merging/intersectionlist.hh</a>></span></div> | ||
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/grid-glue/merging/merger.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/grid-glue/merging/computeintersection.hh</a>></span></div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
95 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
96 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
97 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
98 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>1Dim,·<span·class="keywordtype">int</span>·gr<sp[·...·truncated·by·diffoscope;·len:·83,·SHA:·dcbd958d450816fb28b80e0c7b4e01533d7ddf2f3bb1c2f6f42fc76bcd14de4c·...·]></div> |
99 | <div·class="foldopen"·id="foldopen000 | 117 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> |
100 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01162.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01162.html">StandardMerge</a></div> |
119 | <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="a01110.html">Merger</a><T,grid1Dim,grid2Dim,dimworld></div> | ||
101 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> | ||
102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">public</span>:</div> | ||
103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">···28</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">Local0</a>·=·L0;</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">Local1</a>·=·L1;</div> | ||
107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·=·<span·class="keywordtype">unsigned</span>·int;</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">···43</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">size</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">···50</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">parents0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">···57</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">parents1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span> | 120 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> |
116 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01110.html">Base</a>·=·<a·class="code·hl_class"·href="a01110.html">Merger<T,·grid1Dim,·grid2Dim,·dimworld></a>;</div> |
117 | <div·class="line"><a·id="l0006 | 122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
118 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> |
124 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
125 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
119 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
120 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">···66</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">ctype</[·...·truncated·by·diffoscope;·len:·2,·SHA:·32a96eeb504f14877fb06762d0f3a09a298e249fe3339ff264a11cebf61b7a7e·...·];</div> |
128 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01162.html#a08e3749b28fa4f6db1f0323cbf5cc708">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#a08e3749b28fa4f6db1f0323cbf5cc708">Grid1Coords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">Base::Grid1Coords</a>;</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"><a·class="line"·href="a01162.html#aaebefd3766c125d855695972d55ea926">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#aaebefd3766c125d855695972d55ea926">Grid2Coords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Base::Grid2Coords</a>;</div> | ||
121 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
122 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01162.html#ae4b560a6c41b23a7365182fdac9531b8">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#ae4b560a6c41b23a7365182fdac9531b8">WorldCoords[·...·truncated·by·diffoscope;·len:·146,·SHA:·c04359a77dd448eaf3b13fc1ab8cad15b95e28eb44ea44fa0a326104dda8da13·...·];</div> |
134 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
135 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01162.html#a56c890ca85f1549350566810a218469c">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#a56c890ca85f1549350566810a218469c">IntersectionList</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a2b4e92fdb207acd9f974c9f85911a74f">Base::IntersectionList</a>;</div> | ||
136 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
137 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div> | ||
138 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
139 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01162.html#acddba05fcd574e70de3c1d321d3fd320">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01102.html">IntersectionListProvider</a>·=·<a·class="code·hl_class"·href="a01102.html">SimplicialIntersectionListProvider<grid1Dim,·grid2Dim></a>;</div> | ||
140 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">···83</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">SimplicialIntersection</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01106.html">IntersectionListProvider::SimplicialIntersection</a>;</div> | ||
141 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01162.html#acdc1d96fdbbb5e5aebcb95d73dac8979">···84</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#acdc1d96fdbbb5e5aebcb95d73dac8979">RemoteSimplicialIntersection</a>·=·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">SimplicialIntersection</a>;</div> | ||
142 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
143 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01162.html#ad1fc86773d689b1280f3e428e06db378">···86</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01162.html#ad1fc86773d689b1280f3e428e06db378">valid</a>·=·<span·class="keyword">false</span>;</div> | ||
144 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
145 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01162.html#ad7e4de26d4a61b8fd22d942d2fbd320a">···88</a></span>··<a·class="code·hl_function"·href="a01162.html#ad7e4de26d4a61b8fd22d942d2fbd320a">StandardMerge</a>()</div> | ||
147 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····:·<a·class="code·hl_variable"·href="a01162.html#a967ed0d99f41f2c9a1c77ea36e62ac13">intersectionListProvider_</a>(std::make_shared<<a·class="code·hl_class"·href="a01102.html">IntersectionListProvider</a>>())</div> | ||
148 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····,·<a·class="code·hl_variable"·href="a01162.html#a0867753ca060f8245d75f88a2cb20a48">intersectionList_</a>(std::make_shared<<a·class="code·hl_typedef"·href="a01162.html#a56c890ca85f1549350566810a218469c">IntersectionList</a>>(<a·class="code·hl_variable"·href="a01162.html#a967ed0d99f41f2c9a1c77ea36e62ac13">intersectionListProvider_</a>))</div> | ||
123 | <div·class="line"><a·id="l0009 | 149 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····{}</div> |
124 | </div> | 150 | </div> |
125 | <div·class="line"><a·id="l0009 | 151 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
126 | <div·class="line"><a·id="l0009 | 152 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01162.html#ac363042cbf058dd828e73e5b8fa37a39">···93</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01162.html#ac363042cbf058dd828e73e5b8fa37a39">~Standard[·...·truncated·by·diffoscope;·len:·55,·SHA:·a0978dda91e6f89dcdd8413e12b5c625b37d414349183b8f1ef7225722dd21e5·...·]</div> |
127 | <div·class="line"><a·id="l0009 | 153 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
154 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01162.html#a07176fafb7b4a8387f96b4794ea29814">···99</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01162.html#a07176fafb7b4a8387f96b4794ea29814">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
155 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
156 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>···································std::bitset<(1<<grid1Dim)>&·neighborIntersects1,</div> | ||
157 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
158 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>···································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
159 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
160 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>···································std::bitset<(1<<grid2Dim)>&·neighborIntersects2,</div> | ||
161 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
162 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>···································std::vector<SimplicialIntersection>&·intersections)·=·0;</div> | ||
Max diff block lines reached; 175728/203890 bytes (86.19%) of diff not shown. |
Offset 1, 357 lines modified | Offset 1, 989 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | standardmerge.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
14 | 16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | |
17 | 11#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
15 | 4#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1 | ||
16 | 5 | ||
17 | 6#include·<array> | ||
18 | 7#include·<type_traits> | ||
19 | 8#include·<utility> | ||
20 | 9#include·<vector> | ||
21 | 10 | ||
22 | 11#include·<dune/common/fvector.hh> | ||
23 | 12 | 18 | 12 |
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<iomanip> | ||
22 | 16#include·<vector> | ||
23 | 17#include·<stack> | ||
24 | 18#include·<set> | ||
25 | 19#include·<utility> | ||
26 | 20#include·<map> | ||
27 | 21#include·<memory> | ||
28 | 22#include·<algorithm> | ||
29 | 23 | ||
30 | 24#include·<dune/common/fvector.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/stdstreams.hh> | ||
33 | 27#include·<dune/common/timer.hh> | ||
34 | 28 | ||
35 | 29#include·<dune/geometry/referenceelements.hh> | ||
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31 | ||
38 | 32#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
39 | 33#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h> | ||
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
41 | 35 | ||
24 | 42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
25 | 43 | 37namespace·GridGlue·{ | |
26 | 15 | ||
27 | 44 | 38 | |
45 | 55template<class·T,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
46 | _\x85_\x86class·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e | ||
47 | 57·:·public·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r<T,grid1Dim,grid2Dim,dimworld> | ||
48 | 58{ | ||
49 | 59·using·_\x8B_\x8a_\x8s_\x8e·=·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>; | ||
50 | 60 | ||
51 | 61public: | ||
52 | 62 | ||
53 | 63·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 64 | ||
55 | _\x86_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 67 | ||
57 | _\x86_\x89·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 70 | ||
59 | _\x87_\x82·using·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 73 | ||
61 | _\x87_\x85·using·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 76 | ||
63 | _\x87_\x87·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t; | ||
64 | 78 | ||
65 | 79protected: | ||
66 | 80 | ||
28 | _\x8 | 67 | _\x88_.2·using·_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t_.P_.r_.o_.v_.i_.d_.e_.r·= |
68 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8>; | ||
69 | _\x88_\x83·using·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·typename·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8:_\x8: | ||
70 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
71 | _\x88_\x84·using·_\x8R_\x8e_\x8m_\x8o_\x8t_\x8e_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
72 | 85 | ||
73 | _\x88_\x86·bool·_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
74 | 87 | ||
75 | _\x88_\x88·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
76 | 89·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r>()) | ||
77 | 90·,·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t> | ||
78 | (_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_)) | ||
79 | 91·{} | ||
80 | 92 | ||
81 | _\x89_\x83·virtual·_\x8~_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e()·=·default; | ||
82 | 94 | ||
83 | _\x89_\x89·virtual·void·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·Dune::GeometryType& | ||
84 | grid1ElementType, | ||
85 | 100·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
86 | 101·std::bitset<(1<<grid1Dim)>&·neighborIntersects1, | ||
87 | 102·unsigned·int·grid1Index, | ||
88 | 103·const·Dune::GeometryType&·grid2ElementType, | ||
89 | 104·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
90 | 105·std::bitset<(1<<grid2Dim)>&·neighborIntersects2, | ||
91 | 106·unsigned·int·grid2Index, | ||
92 | 107·std::vector<SimplicialIntersection>&·intersections)·=·0; | ||
29 | 22{ | ||
30 | 23public: | ||
31 | 24 | ||
32 | _\x82_\x88·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·=·L0; | ||
33 | 29 | ||
34 | _\x83_\x83·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·=·L1; | ||
35 | 34 | ||
36 | _\x83_\x88·using·_\x8I_\x8n_\x8d_\x8e_\x8x·=·unsigned·int; | ||
37 | 39 | ||
38 | _\x84_\x83·virtual·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·=·0; | ||
39 | 44 | ||
40 | _\x85_\x80·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
41 | 51 | ||
42 | _\x85_\x87·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
43 | 58 | ||
44 | _\x86_\x85·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
45 | 66 | ||
46 | _\x87_\x83·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
47 | 74 | ||
48 | _\x88_\x82·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
49 | const·=·0; | ||
50 | 83 | ||
51 | _\x89_\x81·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
52 | const·=·0; | ||
53 | 92}; | ||
54 | 93 | ||
Max diff block lines reached; 56918/63240 bytes (90.00%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·merge | 8 | <title>dune-grid-glue:·standardmerge.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 39 lines modified | Offset 70, 110 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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="#define-members">Macros</a>·| | ||
79 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title">merge | 80 | ··<div·class="headertitle"><div·class="title">standardmerge.cc·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·"config.h"</code><br·/> |
83 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
84 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
85 | <code>#include·& | 84 | <code>#include·"<a·class="el"·href="a00074_source.html">standardmerge.hh</a>"</code><br·/> |
86 | </div> | ||
87 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> | ||
88 | <table·class="memberdecls"> | 85 | </div><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="a01110.html">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> | ||
92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.··<a·href="a01110.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> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
96 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
97 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
100 | <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"> | ||
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
94 | Macros</h2></td></tr> | ||
95 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a></td></tr> | ||
96 | <tr·class="separator:ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:a4a2b0f7fb92723749fc6d5cca82a4297"·id="r_a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
98 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><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:a24cc77615b28d89c63bbf0bc56bd4c47"·id="r_a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a24cc77615b28d89c63bbf0bc56bd4c47">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·1,·1,·1)</td></tr> | ||
103 | <tr·class="separator:a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:aa5c636241cf52ea647e948fcd9339923"·id="r_aa5c636241cf52ea647e948fcd9339923"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa5c636241cf52ea647e948fcd9339923">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·2,·2,·2)</td></tr> | ||
105 | <tr·class="separator:aa5c636241cf52ea647e948fcd9339923"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:aa1057477f7967001ea15f5928e90f84c"·id="r_aa1057477f7967001ea15f5928e90f84c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa1057477f7967001ea15f5928e90f84c">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·3,·3,·3)</td></tr> | ||
107 | <tr·class="separator:aa1057477f7967001ea15f5928e90f84c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | </table> | 108 | </table> |
109 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
110 | <a·id="ad5c7ca0181fea7823b37d06d5f61e9cd"·name="ad5c7ca0181fea7823b37d06d5f61e9cd"></a> | ||
111 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5c7ca0181fea7823b37d06d5f61e9cd">◆ </a></span>DECL</h2> | ||
112 | <div·class="memitem"> | ||
113 | <div·class="memproto"> | ||
114 | ······<table·class="memname"> | ||
115 | ········<tr> | ||
116 | ··········<td·class="memname">#define·DECL</td> | ||
117 | ········</tr> | ||
118 | ······</table> | ||
119 | </div><div·class="memdoc"> | ||
120 | </div> | ||
121 | </div> | ||
122 | <a·id="a4a2b0f7fb92723749fc6d5cca82a4297"·name="a4a2b0f7fb92723749fc6d5cca82a4297"></a> | ||
123 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a2b0f7fb92723749fc6d5cca82a4297">◆ </a></span>STANDARD_MERGE_INSTANTIATE</h2> | ||
124 | <div·class="memitem"> | ||
125 | <div·class="memproto"> | ||
126 | ······<table·class="memname"> | ||
127 | ········<tr> | ||
128 | ··········<td·class="memname">#define·STANDARD_MERGE_INSTANTIATE</td> | ||
129 | ··········<td>(</td> | ||
130 | ··········<td·class="paramtype"> </td> | ||
131 | ··········<td·class="paramname">T,·</td> | ||
132 | ········</tr> | ||
133 | ········<tr> | ||
134 | ··········<td·class="paramkey"></td> | ||
135 | ··········<td></td> | ||
136 | ··········<td·class="paramtype"> </td> | ||
137 | ··········<td·class="paramname">A,·</td> | ||
138 | ········</tr> | ||
139 | ········<tr> | ||
140 | ··········<td·class="paramkey"></td> | ||
141 | ··········<td></td> | ||
142 | ··········<td·class="paramtype"> </td> | ||
143 | ··········<td·class="paramname">B,·</td> | ||
144 | ········</tr> | ||
145 | ········<tr> | ||
146 | ··········<td·class="paramkey"></td> | ||
147 | ··········<td></td> | ||
148 | ··········<td·class="paramtype"> </td> | ||
149 | ··········<td·class="paramname">C </td> | ||
150 | ········</tr> | ||
151 | ········<tr> | ||
152 | ··········<td></td> | ||
153 | ··········<td>)</td> | ||
154 | ··········<td></td><td></td> | ||
155 | ········</tr> | ||
156 | ······</table> | ||
157 | </div><div·class="memdoc"> | ||
158 | <b>Value:</b><div·class="fragment"><div·class="line">··<a·class="code·hl_define"·href="a00077.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a>·template·\</div> | ||
159 | <div·class="line">··void·StandardMerge<T,A,B,C>::build(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,C>·>&·grid1_coords,·\</div> | ||
160 | <div·class="line">·····································<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,·\</div> | ||
161 | <div·class="line">·····································<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,·\</div> | ||
162 | <div·class="line">·····································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\</div> | ||
163 | <div·class="line">·····································<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,·\</div> | ||
164 | <div·class="line">·····································<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types·\</div> | ||
165 | <div·class="line">·····································)</div> | ||
166 | <div·class="ttc"·id="aa00077_html_ad5c7ca0181fea7823b37d06d5f61e9cd"><div·class="ttname"><a·href="a00077.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a></div><div·class="ttdeci">#define·DECL</div><div·class="ttdef"><b>Definition</b>·standardmerge.cc:12</div></div> | ||
Max diff block lines reached; 271/10020 bytes (2.70%) of diff not shown. |
Offset 1, 26 lines modified | Offset 1, 52 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8 | 8 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.M_.a_.c_.r_.o_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_\x8s |
9 | merge | 9 | standardmerge.cc·File·Reference |
10 | #include·"config.h" | ||
11 | #include·"_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h" | ||
10 | #include·<vector> | ||
11 | #include·<dune/common/fvector.hh> | ||
12 | #include·<dune/geometry/type.hh> | ||
13 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | ||
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8·_\x8c_\x8t_\x8y_\x8p_\x8e_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
17 | ·······Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets | ||
18 | ········of·intersections.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 13 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 14 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 16 | ||
17 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
18 | #define ·_\x8D_\x8E_\x8C_\x8L | ||
19 | |||
20 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
21 | |||
22 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
23 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
24 | |||
25 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
26 | |||
27 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
28 | |||
29 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
31 | #define·DECL | ||
32 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
33 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
34 | ····································· ·A, | ||
35 | ····································· ·B, | ||
36 | ····································· ·C | ||
37 | ···································) | ||
38 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
39 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
40 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
41 | grid1_coords,·\ | ||
42 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
43 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
44 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\ | ||
45 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
46 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
47 | ) | ||
48 | _\x8D_\x8E_\x8C_\x8L | ||
49 | #define·DECL | ||
50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.cc:12 | ||
25 | =============================================================================== | 51 | =============================================================================== |
26 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 52 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·overlappingmerge.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 110 lines modified | Offset 70, 47 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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>··</div> |
78 | <a·href="#define-members">Macros</a>·| | ||
79 | <a·href="#func-members">Functions</a>··</div> | ||
80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">overlappingmerge.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·<iostream></code><br·/> |
83 | <code>#include·<iomanip></code><br·/> | ||
84 | <code>#include·<vector></code><br·/> | ||
85 | <code>#include·<algorithm></code><br·/> | ||
86 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
87 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
88 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
89 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
90 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
84 | <code>#include·"<a·class="el"·href="a000 | 93 | <code>#include·"<a·class="el"·href="a00083_source.html">overlappingmerge.cc</a>"</code><br·/> |
94 | </div> | ||
95 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | ||
85 | < | 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="a01114.html">Dune::GridGlue::OverlappingMerge<·dim1,·dim2,·dimworld,·T·></a></td></tr> | ||
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Computing·overlapping·grid·intersections·for·grids·of·different·dimensions.··<a·href="a01114.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | </table><table·class="memberdecls"> | ||
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 105 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 107 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | ||
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
94 | Macros</h2></td></tr> | ||
95 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a></td></tr> | ||
96 | <tr·class="separator:ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:a4a2b0f7fb92723749fc6d5cca82a4297"·id="r_a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
98 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><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:a24cc77615b28d89c63bbf0bc56bd4c47"·id="r_a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a24cc77615b28d89c63bbf0bc56bd4c47">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·1,·1,·1)</td></tr> | ||
103 | <tr·class="separator:a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:aa5c636241cf52ea647e948fcd9339923"·id="r_aa5c636241cf52ea647e948fcd9339923"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa5c636241cf52ea647e948fcd9339923">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·2,·2,·2)</td></tr> | ||
105 | <tr·class="separator:aa5c636241cf52ea647e948fcd9339923"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:aa1057477f7967001ea15f5928e90f84c"·id="r_aa1057477f7967001ea15f5928e90f84c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa1057477f7967001ea15f5928e90f84c">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·3,·3,·3)</td></tr> | ||
107 | <tr·class="separator:aa1057477f7967001ea15f5928e90f84c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | </table> | 109 | </table> |
109 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
110 | <a·id="ad5c7ca0181fea7823b37d06d5f61e9cd"·name="ad5c7ca0181fea7823b37d06d5f61e9cd"></a> | ||
111 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5c7ca0181fea7823b37d06d5f61e9cd">◆ </a></span>DECL</h2> | ||
112 | <div·class="memitem"> | ||
113 | <div·class="memproto"> | ||
114 | ······<table·class="memname"> | ||
115 | ········<tr> | ||
116 | ··········<td·class="memname">#define·DECL</td> | ||
117 | ········</tr> | ||
118 | ······</table> | ||
119 | </div><div·class="memdoc"> | ||
120 | </div> | ||
121 | </div> | ||
122 | <a·id="a4a2b0f7fb92723749fc6d5cca82a4297"·name="a4a2b0f7fb92723749fc6d5cca82a4297"></a> | ||
123 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a2b0f7fb92723749fc6d5cca82a4297">◆ </a></span>STANDARD_MERGE_INSTANTIATE</h2> | ||
124 | <div·class="memitem"> | ||
125 | <div·class="memproto"> | ||
126 | ······<table·class="memname"> | ||
127 | ········<tr> | ||
128 | ··········<td·class="memname">#define·STANDARD_MERGE_INSTANTIATE</td> | ||
129 | ··········<td>(</td> | ||
130 | ··········<td·class="paramtype"> </td> | ||
131 | ··········<td·class="paramname">T,·</td> | ||
132 | ········</tr> | ||
133 | ········<tr> | ||
134 | ··········<td·class="paramkey"></td> | ||
135 | ··········<td></td> | ||
136 | ··········<td·class="paramtype"> </td> | ||
137 | ··········<td·class="paramname">A,·</td> | ||
138 | ········</tr> | ||
139 | ········<tr> | ||
140 | ··········<td·class="paramkey"></td> | ||
141 | ··········<td></td> | ||
142 | ··········<td·class="paramtype"> </td> | ||
143 | ··········<td·class="paramname">B,·</td> | ||
144 | ········</tr> | ||
145 | ········<tr> | ||
146 | ··········<td·class="paramkey"></td> | ||
147 | ··········<td></td> | ||
148 | ··········<td·class="paramtype"> </td> | ||
149 | ··········<td·class="paramname">C </td> | ||
150 | ········</tr> | ||
151 | ········<tr> | ||
152 | ··········<td></td> | ||
153 | ··········<td>)</td> | ||
154 | ··········<td></td><td></td> | ||
155 | ········</tr> | ||
156 | ······</table> | ||
157 | </div><div·class="memdoc"> | ||
158 | <b>Value:</b><div·class="fragment"><div·class="line">··<a·class="code·hl_define"·href="a00080.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a>·template·\</div> | ||
Max diff block lines reached; 271/10601 bytes (2.56%) of diff not shown. |
Offset 1, 52 lines modified | Offset 1, 34 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_\x8a_\x8c_\x8r_\x8o_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
9 | standardmerge.cc·File·Reference | ||
10 | #include·"config.h" | ||
11 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
9 | overlappingmerge.hh·File·Reference | ||
10 | #include·<iostream> | ||
11 | #include·<iomanip> | ||
12 | #include·<vector> | ||
13 | #include·<algorithm> | ||
14 | #include·<dune/common/fmatrix.hh> | ||
15 | #include·<dune/common/fvector.hh> | ||
16 | #include·<dune/geometry/referenceelements.hh> | ||
17 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
20 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | #include·"_\x8o_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
22 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | ||
23 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | ·······Computing·overlapping·grid·intersections·for·grids·of·different | ||
26 | ········dimensions.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
27 | |||
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 28 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
13 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 29 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
14 | 30 | ||
15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 31 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
16 | 32 | ||
17 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
18 | #define ·_\x8D_\x8E_\x8C_\x8L | ||
19 | |||
20 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
21 | |||
22 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
23 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
24 | |||
25 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
26 | |||
27 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
28 | |||
29 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
31 | #define·DECL | ||
32 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
33 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
34 | ····································· ·A, | ||
35 | ····································· ·B, | ||
36 | ····································· ·C | ||
37 | ···································) | ||
38 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
39 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
40 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
41 | grid1_coords,·\ | ||
42 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
43 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
44 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\ | ||
45 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
46 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
47 | ) | ||
48 | _\x8D_\x8E_\x8C_\x8L | ||
49 | #define·DECL | ||
50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.cc:12 | ||
51 | =============================================================================== | 33 | =============================================================================== |
52 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 34 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·overlappingmerge. | 8 | <title>dune-grid-glue:·overlappingmerge.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 47 lines modified | Offset 70, 49 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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="#define-members">Macros</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title">overlappingmerge. | 79 | ··<div·class="headertitle"><div·class="title">overlappingmerge.cc·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·<iostream></code><br·/> | ||
83 | <code>#include·<iomanip></code><br·/> | ||
84 | <code>#include·<vector></code><br·/> | ||
85 | <code>#include·<algorithm></code><br·/> | ||
86 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
87 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
88 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
89 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
90 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
93 | <code>#include·"<a·class="el"·href="a00092_source.html">overlappingmerge.cc</a>"</code><br·/> | ||
94 | </div> | ||
95 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> |
96 | <table·class="memberdecls"> | 83 | <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="a01114.html">Dune::GridGlue::OverlappingMerge<·dim1,·dim2,·dimworld,·T·></a></td></tr> | ||
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Computing·overlapping·grid·intersections·for·grids·of·different·dimensions.··<a·href="a01114.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | </table><table·class="memberdecls"> | ||
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
104 | Namespaces</h2></td></tr> | 85 | Namespaces</h2></td></tr> |
105 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 86 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 88 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | ||
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
92 | Macros</h2></td></tr> | ||
93 | <tr·class="memitem:ad63267c6d27a8f09d98506419b206db8"·id="r_ad63267c6d27a8f09d98506419b206db8"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#ad63267c6d27a8f09d98506419b206db8">DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</a></td></tr> | ||
94 | <tr·class="separator:ad63267c6d27a8f09d98506419b206db8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table> | 95 | </table> |
96 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
97 | <a·id="ad63267c6d27a8f09d98506419b206db8"·name="ad63267c6d27a8f09d98506419b206db8"></a> | ||
98 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad63267c6d27a8f09d98506419b206db8">◆ </a></span>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</h2> | ||
99 | <div·class="memitem"> | ||
100 | <div·class="memproto"> | ||
101 | ······<table·class="memname"> | ||
102 | ········<tr> | ||
103 | ··········<td·class="memname">#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</td> | ||
104 | ········</tr> | ||
105 | ······</table> | ||
106 | </div><div·class="memdoc"> | ||
107 | </div> | ||
108 | </div> | ||
110 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 111 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.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 |
114 | </small></address> | 113 | </small></address> |
115 | </body> | 114 | </body> |
116 | </html> | 115 | </html> |
Offset 1, 34 lines modified | Offset 1, 23 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8 | 8 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.M_.a_.c_.r_.o_\x8s |
9 | overlappingmerge. | 9 | overlappingmerge.cc·File·Reference |
10 | #include·<iostream> | ||
11 | #include·<iomanip> | ||
12 | #include·<vector> | ||
13 | #include·<algorithm> | ||
14 | #include·<dune/common/fmatrix.hh> | ||
15 | #include·<dune/common/fvector.hh> | ||
16 | #include·<dune/geometry/referenceelements.hh> | ||
17 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
20 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | #include·"_\x8o_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
22 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
23 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | ·······Computing·overlapping·grid·intersections·for·grids·of·different | ||
26 | ········dimensions.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
27 | |||
28 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
29 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
30 | 13 | ||
31 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
32 | 15 | ||
16 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
17 | #define ·_\x8D_\x8U_\x8N_\x8E_\x8__\x8G_\x8R_\x8I_\x8D_\x8G_\x8L_\x8U_\x8E_\x8__\x8O_\x8V_\x8E_\x8R_\x8L_\x8A_\x8P_\x8P_\x8I_\x8N_\x8G_\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8C_\x8C | ||
18 | |||
19 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
20 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DU\x8UN\x8NE\x8E_\x8_G\x8GR\x8RI\x8ID\x8DG\x8GL\x8LU\x8UE\x8E_\x8_O\x8OV\x8VE\x8ER\x8RL\x8LA\x8AP\x8PP\x8PI\x8IN\x8NG\x8GM\x8ME\x8ER\x8RG\x8GE\x8E_\x8_C\x8CC\x8C·*\x8**\x8**\x8**\x8**\x8* | ||
21 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
33 | =============================================================================== | 22 | =============================================================================== |
34 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 23 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·overlappingmerge. | 8 | <title>dune-grid-glue:·overlappingmerge.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 102 lines modified | Offset 74, 215 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">overlappingmerge. | 80 | ··<div·class="headertitle"><div·class="title">overlappingmerge.cc</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> | ||
89 | <div·class="line"><a·id="l0000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno"><a·class="line"·href="a00083.html#ad63267c6d27a8f09d98506419b206db8">····7</a></span><span·class="preprocessor">#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class=" | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//#include·<algorithm></span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span> | 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=" | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</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/fmatrix.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><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typena[·...·truncated·by·diffoscope;·len:·15,·SHA:·55f59c5b877711574427019443d94e711960e9c9e437300892febfd19cb86fb4·...·]</div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keywordtype">bool</span>·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std::vector<FieldVector<T,dimworld>·>&·points)·{</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>····T·eps·=·1e-8;</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="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/multilineargeometry.hh></span></div> | ||
100 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
101 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3);</div> |
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····assert(points.size()·==·4);</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="a00068.html">dune/grid-glue/merging/standardmerge.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>····FieldVector<T,dimworld>·v1·=·points[1]-points[0];</div> |
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····FieldVector<T,dimworld>·v2·=·points[2]-points[0];</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····FieldVector<T,dimworld>·v3·=·points[3]-points[0];</div> | ||
105 | <div·class="line"><a·id="l0002 | 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><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····FieldVector<T,dimworld>·v1xv2;</div> |
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1];</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2];</div> | ||
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0];</div> | ||
108 | <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="keywordflow">return</span>·(std::abs(v3.dot(v1xv2))·<·eps);</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> | ||
109 | <div·class="line"><a·id="l0003 | 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>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typena[·...·truncated·by·diffoscope;·len:·11,·SHA:·646586d2a6a7ea6ce590eaf6d12e894b5db4461a1afb85dd50973d3412c2f8a1·...·]></div> |
110 | <div·class="foldopen"·id="foldopen0003 | 116 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> |
111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01114.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01114.html">OverlappingMerge</a></div> | ||
112 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">···34</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">Overlappin[·...·truncated·by·diffoscope;·len:·138,·SHA:·bdcab12e687df8aeec6e5617dca76e2a3ef54f78bef8ed724548f9cf4da399f6·...·]</div> |
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>···············································std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>···············································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···············································std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···············································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</div> | ||
113 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> |
114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
115 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>std::min;</div> |
116 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01114.html#afb01dde845883251e7c0797c080fb207">···44</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01114.html#afb01dde845883251e7c0797c080fb207">ctype</a>;</div> | ||
120 | <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> |
121 | <div·class="line"><a·id="l0004 | 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····this->counter++;</div> |
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>.clear();</div> | ||
122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
123 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01118.html">SimplexMethod<dimworld,dim1,dim2,T></a>·CM;</div> |
124 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
125 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
126 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01114.html#a2b22b369b3cc6d8d41b29ee681396e23">···52</a></span>··<a·class="code·hl_function"·href="a01114.html#a2b22b369b3cc6d8d41b29ee681396e23">OverlappingMerge</a>()</div> | ||
127 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#ifndef·NDEBUG</span></div> |
128 | </div> | 135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement1·=·Dune::ReferenceElements<T,dim1>::general(grid1ElementType);</div> |
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement2·=·Dune::ReferenceElements<T,dim2>::general(grid2ElementType);</div> | ||
129 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·A·few·consistency·checks</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement1.size(dim1))·==·grid1ElementCorners.size());</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement2.size(dim2))·==·grid2ElementCorners.size());</div> | ||
130 | <div·class="line"><a·id="l0005 | 141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif</span></div> |
131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01114.html#a24e9e7ef401971aac09ba3d75af45494">···56</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">StandardMerge<T,dim1,dim2,dimworld>::SimplicialIntersection</a>·<a·class="code·hl_typedef"·href="a01114.html#a24e9e7ef401971aac09ba3d75af45494">SimplicialIntersection</a>;</div> | ||
132 | <div·class="line"><a·id="l0005 | 142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·Make·generic·geometries·representing·the·grid1-·and·grid2·element.</span></div> | ||
144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="comment">//·this·eases·computation·of·local·coordinates.</span></div> | ||
145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">typedef</span>·MultiLinearGeometry<T,dim1,dimworld>·Geometry1;</div> | ||
133 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
134 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
135 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>···························std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
136 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
137 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">typedef</span>·MultiLinearGeometry<T,dim2,dimworld>·Geometry2;</div> |
147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
148 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners);</div> | ||
149 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners);</div> | ||
138 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>···························std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
140 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
141 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···························std::vector<SimplicialIntersection>&·intersections);</div> | ||
142 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
151 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part·1/2)</span></div> | ||
152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners(grid1ElementCorners.size());</div> | ||
153 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners(grid2ElementCorners.size());</div> | ||
143 | <div·class="line"><a·id="l0007 | 154 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
144 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//·the·scaling·parameter·is·the·length·minimum·of·the·lengths·of·the·first·edge·in·the·grid1·geometry</span></div> |
156 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·and·the·first·edge·in·the·grid2·geometry</span></div> | ||
157 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····T·scaling·=·min((grid1ElementCorners[0]·-·grid1ElementCorners[1]).two_norm(),</div> | ||
158 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>············(grid2ElementCorners[0]·-·grid2ElementCorners[1]).two_norm());</div> | ||
159 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
Max diff block lines reached; 22254/47916 bytes (46.44%) of diff not shown. |
Offset 1, 127 lines modified | Offset 1, 244 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | overlappingmerge. | 8 | overlappingmerge.cc |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | ||
16 | 17 | 6#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | |
17 | 18 | _.7#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | |
18 | 7 | ||
19 | 8#include·<iostream> | ||
20 | 9#include·<iomanip> | ||
21 | 10#include·<vector> | ||
22 | 19 | 8//#include·<algorithm> | |
20 | 9 | ||
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
22 | 11namespace·GridGlue·{ | ||
23 | 12 | 23 | 12 |
24 | 13#include·<dune/common/fmatrix.hh> | ||
25 | 1 | 24 | 13template<int·dim1,·int·dim2,·int·dimworld,·typename·T> |
25 | 14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
26 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
26 | 15 | 27 | 15 |
27 | 16#include·<dune/geometry/referenceelements.hh> | ||
28 | 17#include·<dune/geometry/multilineargeometry.hh> | ||
29 | 18 | ||
30 | 1 | 28 | 16·T·eps·=·1e-8; |
29 | 17 | ||
30 | 18·assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3); | ||
31 | 19·assert(points.size()·==·4); | ||
31 | 20 | 32 | 20 |
32 | 21#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
33 | 22#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
34 | 23 | ||
35 | 24namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
36 | 25namespace·GridGlue·{ | ||
37 | 2 | 33 | 21·FieldVector<T,dimworld>·v1·=·points[1]-points[0]; |
34 | 22·FieldVector<T,dimworld>·v2·=·points[2]-points[0]; | ||
35 | 23·FieldVector<T,dimworld>·v3·=·points[3]-points[0]; | ||
36 | 24 | ||
37 | 25·FieldVector<T,dimworld>·v1xv2; | ||
38 | 26·v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1]; | ||
39 | 27·v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2]; | ||
40 | 28·v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0]; | ||
41 | 29 | ||
42 | 30·return·(std::abs(v3.dot(v1xv2))·<·eps); | ||
43 | 31} | ||
44 | 32 | ||
38 | 3 | 45 | 33template<int·dim1,·int·dim2,·int·dimworld,·typename·T> |
39 | _\x83_\x85class·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e | ||
40 | 36·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim1,dim2,dimworld> | ||
41 | 37{ | ||
42 | 38 | ||
43 | 39public: | ||
44 | 40 | ||
45 | 41·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
46 | 42 | ||
47 | _\x8 | 46 | _\x83_.4void·_.O_.v_.e_.r_.l_.a_.p_.p_.i_.n_.g_.M_.e_.r_.g_.e_.<_.d_.i_.m_.1_.,_.d_.i_.m_.2_.,_.d_.i_.m_.w_.o_.r_.l_.d_.,_.·_.T_.>_.:_.:_.c_.o_.m_.p_.u_.t_.e_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.s(const |
47 | Dune::GeometryType&·grid1ElementType, | ||
48 | 35·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
49 | 36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
50 | 37·unsigned·int·grid1Index, | ||
51 | 38·const·Dune::GeometryType&·grid2ElementType, | ||
52 | 39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
53 | 40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
54 | 41·unsigned·int·grid2Index, | ||
55 | 42·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
56 | 43{ | ||
57 | 44·using·std::min; | ||
48 | 45 | 58 | 45 |
49 | 59 | 46·this->counter++; | |
60 | 47·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s.clear(); | ||
50 | 48 | 61 | 48 |
51 | 50·//typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
52 | 51 | ||
53 | _\x85_\x82·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
54 | 62 | 49·typedef·_.S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.d_.i_.m_.w_.o_.r_.l_.d_.,_.d_.i_.m_.1_.,_.d_.i_.m_.2_.,_.T_.>·CM; | |
63 | 50 | ||
64 | 51#ifndef·NDEBUG | ||
65 | 52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
66 | (grid1ElementType); | ||
67 | 53·const·auto&·refElement2·=·Dune::ReferenceElements<T,dim2>::general | ||
68 | (grid2ElementType); | ||
55 | 54 | 69 | 54 |
56 | 55protected: | ||
57 | _\x85_\x86·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
58 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
59 | 57 | ||
60 | 70 | 55·//·A·few·consistency·checks | |
71 | 56·assert((unsigned·int)(refElement1.size(dim1))·==·grid1ElementCorners.size | ||
72 | ()); | ||
73 | 57·assert((unsigned·int)(refElement2.size(dim2))·==·grid2ElementCorners.size | ||
74 | ()); | ||
75 | 58#endif | ||
76 | 59 | ||
77 | 60·//·Make·generic·geometries·representing·the·grid1-·and·grid2·element. | ||
78 | 61·//·this·eases·computation·of·local·coordinates. | ||
79 | 62·typedef·MultiLinearGeometry<T,dim1,dimworld>·Geometry1; | ||
80 | 63·typedef·MultiLinearGeometry<T,dim2,dimworld>·Geometry2; | ||
81 | 64 | ||
82 | 65·Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners); | ||
83 | 66·Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners); | ||
84 | 67 | ||
85 | 68·//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part | ||
86 | 1/2) | ||
87 | 69·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners | ||
88 | (grid1ElementCorners.size()); | ||
61 | 70· | 89 | 70·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners |
62 | 71·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
63 | 72·unsigned·int·grid1Index, | ||
64 | 73·const·Dune::GeometryType&·grid2ElementType, | ||
65 | 74·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
66 | 75·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
67 | 76·unsigned·int·grid2Index, | ||
68 | 77·std::vector<SimplicialIntersection>&·intersections); | ||
69 | 78 | ||
70 | 79private: | ||
71 | 80·bool·inPlane(std::vector<FieldVector<T,dimworld>·>&·points); | ||
Max diff block lines reached; 8233/14786 bytes (55.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-grid-glue:· | 8 | <title>dune-grid-glue:·merger.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">merger.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·<vector></code><br·/> |
83 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
84 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a000 | 85 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> |
83 | </div> | 86 | </div> |
84 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00086_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="a01110.html">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> | ||
92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.··<a·href="a01110.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:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.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:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 99 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</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-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_.l_.a_.s_.s_.e_.s·|·_.N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | merger.hh·File·Reference | |
10 | #include·< | 10 | #include·<vector> |
11 | #include·<dune/common/fvector.hh> | ||
12 | #include·<dune/geometry/type.hh> | ||
11 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8 | 13 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_.e_.r_.g_.i_.n_.g_./_.i_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.l_.i_.s_.t_\x8._\x8h_\x8h> |
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8·_\x8c_\x8t_\x8y_\x8p_\x8e_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
17 | ·······Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets | ||
18 | ········of·intersections.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
15 | 22 | ||
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
17 | 24 | ||
18 | =============================================================================== | 25 | =============================================================================== |
19 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 26 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·merger.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 389 lines modified | Offset 74, 110 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">merger.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><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> | ||
87 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/grid-glue/common/crossproduct.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> |
90 | <div·class="line"><a·id="l0000 | 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/fvector.hh></span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/geometry/type.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="a00092.html">dune/grid-glue/merging/intersectionlist.hh</a>></span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
91 | <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><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
92 | <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>GridGlue·{</div> |
93 | <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="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·ctype,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>1Dim,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>2Dim,·<span·class="keywordtype">int</span>·dimworld></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="a01110.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01110.html">Merger</a></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keywordtype">void</span>·ContactMerge<dimworld,·T>::computeIntersections(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>···································std::bitset<(1<<dim)>&·neighborIntersects1,</div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>···································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>···································std::bitset<(1<<dim)>&·neighborIntersects2,</div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>···································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</div> | ||
104 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
105 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> |
106 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
107 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">···31</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid1Dim>··<a·class="code·hl_typedef"·href="a01110.html#a3[·...·truncated·by·diffoscope;·len:·48,·SHA:·54a6709b49fc906c95bfc6e2a42e907cf60ca2fa67419d0b832fae8d66db8e91·...·];</div> |
108 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">···34</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid2Dim>··<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Grid2Coords</a>;</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·Initialize</span></div> | ||
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····neighborIntersects1.reset();</div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····neighborIntersects2.reset();</div> | ||
112 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">···37</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>··<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">WorldCoords</a>;</div> | ||
113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners1·=·grid1ElementCorners.size();</div> | ||
114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners2·=·grid2ElementCorners.size();</div> | ||
115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordflow">if</span>·(nCorners1·!=·dimworld)</div> | ||
117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"element1·must·have·"</span>·<<·dimworld·<<·<span·class="stringliteral">"·corners,·but·has·"</span>·<<·nCorners1);</div> | ||
118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">if</span>·(nCorners2·!=·dimworld)</div> | ||
119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"element2·must·have·"</span>·<<·dimworld·<<·<span·class="stringliteral">"·corners,·but·has·"</span>·<<·nCorners2);</div> | ||
120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
112 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01110.html#a2b4e92fdb207acd9f974c9f85911a74f">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01098.html">IntersectionList</a>·=·<a·class="code·hl_class"·href="a01098.html">Dune::GridGlue::IntersectionList<Grid1Coords,·Grid2Coords></a>;</div> | ||
121 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·The·grid1·projection·directions</span></div> | ||
122 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····std::vector<WorldCoords>·directions1(nCorners1);</div> | ||
123 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<directions1.size();·i++)</div> | ||
124 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_[grid1Index][i]];</div> | ||
125 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">···54</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">build</a>(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid1_coords,</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····················<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords,</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,</div> | ||
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0;</div> | ||
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="comment">//·The·grid2·projection·directions</span></div> | ||
127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····std::vector<WorldCoords>·directions2(nCorners2);</div> | ||
128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<directions2.size();·i++)</div> | ||
129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_[grid2Index][i]];</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="comment">//·The·difference·between·the·closest·point·projection·and·the·normal·projection·is·just·the·ordering</span></div> | ||
132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the·outer·normal·field·of·grid2</span></div> | ||
133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is·using·the·outer·normal·field</span></div> | ||
134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="comment">//·of·grid1·instead.</span></div> | ||
135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····std::array<<span·class="keyword">decltype</span>(std::cref(grid1ElementCorners)),2>·cornersRef·={std::cref(grid1ElementCorners),·std::cref(grid2ElementCorners)};</div> | ||
136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::array<<span·class="keyword">decltype</span>(std::cref(directions1)),2>·directionsRef·={std::cref(directions1),·std::cref(directions2)};</div> | ||
137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType,·grid2ElementType};</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="comment">//·Determine·which·is·the·grid·we·use·for·outer·normal·projection</span></div> | ||
140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1;</div> | ||
141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0;</div> | ||
142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
143 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="comment">//··Compute·all·corners·of·the·intersection·polytope</span></div> | ||
144 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
145 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·corners·=·std::tie(cornersRef[domGrid].get(),cornersRef[tarGrid].get());</div> | ||
146 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·normals·=·std::tie(directionsRef[domGrid].get(),·directionsRef[tarGrid].get());</div> | ||
147 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····Projection<WorldCoords>·p(overlap_,·maxNormalProduct_);</div> | ||
148 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····p.project(corners,·normals);</div> | ||
149 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
150 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">/*·projection·*/</span></div> | ||
151 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div> | ||
152 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·success·=·get<0>(p.success());</div> | ||
153 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·images·=·get<0>(p.images());</div> | ||
154 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·i·=·0;·i·<·dimworld;·++i)·{</div> | ||
155 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">if</span>·(success[i])·{</div> | ||
156 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··········std::array<LocalCoords,·2>·<a·class="code·hl_function"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">corner</a>;</div> | ||
157 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··········<a·class="code·hl_function"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">corner</a>[domGrid]·=·localCornerCoords(i,·elementTypes[domGrid]);</div> | ||
158 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·j·=·0;·j·<·dim;·++j)</div> | ||
159 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>············corner[tarGrid][j]·=·images[i][j];</div> | ||
160 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··········polytopeCorners.push_back(corner);</div> | ||
161 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········}</div> | ||
162 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······}</div> | ||
163 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div> | ||
164 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
Max diff block lines reached; 9798/80357 bytes (12.19%) of diff not shown. |
Offset 1, 439 lines modified | Offset 1, 139 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | merger.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | ||
17 | 16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH | |
17 | 6#define·DUNE_GRIDGLUE_MERGING_MERGER_HH | ||
18 | 7 | ||
19 | 8#include·<vector> | ||
20 | 9 | ||
21 | 10#include·<dune/common/fvector.hh> | ||
22 | 11#include·<dune/geometry/type.hh> | ||
23 | 12 | ||
18 | 24 | 13#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.m_.e_.r_.g_.i_.n_.g_./_.i_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.l_.i_.s_.t_\x8._\x8h_\x8h> | |
19 | 25 | 14 | |
20 | 26 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
21 | 1 | 27 | 16namespace·GridGlue·{ |
28 | 17 | ||
29 | 25template·<class·ctype,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
30 | _\x82_\x86class·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r | ||
31 | 27{ | ||
32 | 28public: | ||
33 | 29 | ||
34 | _\x83_\x81·typedef·Dune::FieldVector<ctype,·grid1Dim>·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
35 | 32 | ||
36 | _\x83_\x84·typedef·Dune::FieldVector<ctype,·grid2Dim>·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
37 | 35 | ||
38 | _\x83_\x87·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
22 | 11 | ||
23 | 12template<int·dimworld,·typename·T> | ||
24 | 13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | ||
25 | GeometryType&·grid1ElementType, | ||
26 | 14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
27 | 15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
28 | 16·unsigned·int·grid1Index, | ||
29 | 17·const·Dune::GeometryType&·grid2ElementType, | ||
30 | 18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
31 | 19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
32 | 20·unsigned·int·grid2Index, | ||
33 | 21·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
34 | 22{ | ||
35 | 23·using·std::get; | ||
36 | 24 | ||
37 | 25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | ||
38 | 26 | ||
39 | 27·//·Initialize | ||
40 | 28·neighborIntersects1.reset(); | ||
41 | 29·neighborIntersects2.reset(); | ||
42 | 30 | ||
43 | 31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
44 | 32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
45 | 33 | ||
46 | 34·if·(nCorners1·!=·dimworld) | ||
47 | 35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
48 | but·has·"·<<·nCorners1); | ||
49 | 36·if·(nCorners2·!=·dimworld) | ||
50 | 37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
51 | but·has·"·<<·nCorners2); | ||
52 | 38 | 39 | 38 |
40 | _\x83_\x89·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8, | ||
41 | _\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8>; | ||
42 | 40 | ||
43 | _\x85_\x84·virtual·void·_\x8b_\x8u_\x8i_\x8l_\x8d(const·std::vector<Dune::FieldVector<ctype,dimworld>·>& | ||
44 | grid1_coords, | ||
45 | 55·const·std::vector<unsigned·int>&·grid1_elements, | ||
46 | 56·const·std::vector<Dune::GeometryType>&·grid1_element_types, | ||
47 | 57·const·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords, | ||
48 | 58·const·std::vector<unsigned·int>&·grid2_elements, | ||
49 | 59·const·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0; | ||
53 | 39·//·The·grid1·projection·directions | ||
54 | 40·std::vector<WorldCoords>·directions1(nCorners1); | ||
55 | 41·for·(size_t·i=0;·i<directions1.size();·i++) | ||
56 | 42·directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_ | ||
57 | [grid1Index][i]]; | ||
58 | 43 | ||
59 | 44·//·The·grid2·projection·directions | ||
60 | 45·std::vector<WorldCoords>·directions2(nCorners2); | ||
61 | 46·for·(size_t·i=0;·i<directions2.size();·i++) | ||
62 | 47·directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_ | ||
63 | [grid2Index][i]]; | ||
64 | 48 | ||
65 | 49·//·The·difference·between·the·closest·point·projection·and·the·normal | ||
66 | projection·is·just·the·ordering | ||
67 | 50·//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the | ||
68 | outer·normal·field·of·grid2 | ||
69 | 51·//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is | ||
70 | using·the·outer·normal·field | ||
71 | 52·//·of·grid1·instead. | ||
72 | 53·std::array<decltype(std::cref(grid1ElementCorners)),2>·cornersRef·={std:: | ||
73 | cref(grid1ElementCorners),·std::cref(grid2ElementCorners)}; | ||
74 | 54·std::array<decltype(std::cref(directions1)),2>·directionsRef·={std::cref | ||
75 | (directions1),·std::cref(directions2)}; | ||
76 | 55·std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType, | ||
77 | grid2ElementType}; | ||
78 | 56 | ||
79 | 57·//·Determine·which·is·the·grid·we·use·for·outer·normal·projection | ||
80 | 58·const·size_t·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1; | ||
81 | 59·const·size_t·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0; | ||
82 | 60 | 50 | 60 |
51 | _\x86_\x84·unsigned·int·_\x8n_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8e_\x8s()·const | ||
52 | 65·{·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->size();·} | ||
53 | 66 | ||
54 | _\x86_\x87·virtual·void·_\x8c_\x8l_\x8e_\x8a_\x8r()·=·0; | ||
55 | 68 | ||
56 | _\x87_\x84·virtual·std::shared_ptr<IntersectionList>·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()·const·=·0; | ||
57 | 75 | ||
58 | 79·template<int·n> | ||
59 | _\x88_\x80·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s(unsigned·int·idx)·const·{ | ||
60 | 81·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parents<n>(idx); | ||
83 | 62·//·Compute·all·corners·of·the·intersection·polytope | ||
84 | 64 | ||
85 | 65·const·auto·corners·=·std::tie(cornersRef[domGrid].get(),cornersRef | ||
86 | [tarGrid].get()); | ||
87 | 66·const·auto·normals·=·std::tie(directionsRef[domGrid].get(),·directionsRef | ||
88 | [tarGrid].get()); | ||
89 | 67·Projection<WorldCoords>·p(overlap_,·maxNormalProduct_); | ||
Max diff block lines reached; 16730/22898 bytes (73.06%) 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-grid-glue:·co | 8 | <title>dune-grid-glue:·computeintersection.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 55 lines modified | Offset 71, 47 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">co | 80 | ··<div·class="headertitle"><div·class="title">computeintersection.hh·File·Reference</div></div> |
80 | </div><!--header--> | 81 | </div><!--header--> |
81 | <div·class="contents"> | 82 | <div·class="contents"> |
82 | <p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·< | 83 | <div·class="textblock"><code>#include·<dune/common/fvector.hh></code><br·/> |
85 | <code>#include·<fstream></code><br·/> | ||
86 | <code>#include·<iomanip></code><br·/> | ||
87 | <code>#include·<vector></code><br·/> | ||
88 | <code>#include·<algorithm></code><br·/> | ||
89 | <code>#include·<limits></code><br·/> | ||
90 | <code>#include·<memory></code><br·/> | ||
91 | <code>#include·<functional></code><br·/> | ||
92 | <code>#include·<dune/common/f | 84 | <code>#include·<dune/common/fmatrix.hh></code><br·/> |
93 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
94 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
95 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
96 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
97 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
98 | <code>#include·& | 85 | <code>#include·"<a·class="el"·href="a00095_source.html">simplexintersection.cc</a>"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a000 | 86 | <code>#include·"<a·class="el"·href="a00065_source.html">computeintersection.cc</a>"</code><br·/> |
100 | </div> | 87 | </div> |
101 | <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> |
102 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
103 | <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> |
104 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a010 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01066.html">Dune::GridGlue::ComputationMethod<·dimWorld,·dim1,·dim2,·T·></a></td></tr> |
106 | <tr·class=" | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01070.html">Dune::GridGlue::IntersectionComputation<·CM·></a></td></tr> | ||
95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·computation·method·for·two·elements·of·arbitrary·dimension.··<a·href="a01070.html#details">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
109 | <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> |
110 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
111 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 102 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
114 | <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:a273266aab32afadee15bb5fcf71aa4ca"·id="r_a273266aab32afadee15bb5fcf71aa4ca"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
108 | <tr·class="memitem:a273266aab32afadee15bb5fcf71aa4ca"><td·class="memTemplItemLeft"·align="right"·valign="top">int </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">Dune::GridGlue::insertPoint</a>·(const·V·p,·std::vector<·V·>·&P)</td></tr> | ||
109 | <tr·class="separator:a273266aab32afadee15bb5fcf71aa4ca"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | </table> | 110 | </table> |
116 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
117 | <div·class="textblock"><p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·</p> | ||
118 | </div>< | 111 | </div><!--·contents·--> |
119 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
120 | <hr·class="footer"/><address·class="footer"><small> | 113 | <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 | 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 |
122 | </small></address> | 115 | </small></address> |
123 | </body> | 116 | </body> |
124 | </html> | 117 | </html> |
Offset 1, 41 lines modified | Offset 1, 32 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | computeintersection.hh·File·Reference | ||
9 | contactmerge.hh·File·Reference | ||
10 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iostream> | ||
12 | #include·<fstream> | ||
13 | #include·<iomanip> | ||
14 | #include·<vector> | ||
15 | #include·<algorithm> | ||
16 | #include·<limits> | ||
17 | #include·<memory> | ||
18 | #include·<functional> | ||
19 | #include·<dune/common/fvector.hh> | 10 | #include·<dune/common/fvector.hh> |
20 | #include·<dune/common/exceptions.hh> | ||
21 | #include·<dune/common/bitsetvector.hh> | ||
22 | #include·<dune/common/deprecated.hh> | ||
23 | #include·<dune/ | 11 | #include·<dune/common/fmatrix.hh> |
12 | #include·"_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
13 | #include·"_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
24 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
25 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
26 | #include·"_\x8c_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
27 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
28 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
29 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8 | 16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_.p_.u_.t_.a_.t_.i_.o_.n_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.d_.i_.m_.1_.,_.·_.d_.i_.m_.2_\x8,_\x8·_\x8T_\x8·_\x8> |
30 | | 17 | |
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8M_\x8·_\x8> | ||
19 | ·······_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·computation·method·for·two·elements·of·arbitrary | ||
31 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | 20 | ········dimension.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
32 | 21 | ||
33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
34 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
35 | 24 | ||
36 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
37 | 26 | ||
38 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
39 | 27 | F.Fu.un.nc.ct.ti.io.on.ns.s | |
28 | template<class·V·> | ||
29 | int ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t·(const·V·p,·std::vector<·V·>·&P) | ||
30 | |||
40 | =============================================================================== | 31 | =============================================================================== |
41 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·co | 8 | <title>dune-grid-glue:·computeintersection.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 235 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">co | 80 | ··<div·class="headertitle"><div·class="title">computeintersection.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
86 | <div·class="line"><a·id="l0000 | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH</span></div> |
88 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
89 | <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="keyword">template</span><<span·class="keywordtype">int</span>·dimWorld,·<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="};"> | ||
96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno"><a·class="line"·href="a01066.html">···13</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01066.html">ComputationMethod</a>·{</div> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">public</span>:</div> | ||
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a01066.html#a5da48113661738ad782fb01d824a68a2">···15</a></span>····<span·class="keyword">typedef</span>·FieldVector<T,·dimWorld>·<a·class="code·hl_typedef"·href="a01066.html#a5da48113661738ad782fb01d824a68a2">Vector</a>;</div> | ||
99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a01066.html#a61ef5903201969bc947f5928693ab79e">···16</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01066.html#a61ef5903201969bc947f5928693ab79e">grid1Dimension</a>·=·dim1;</div> | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a01066.html#acb47a8e6fa74296091703d7edb23290e">···17</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01066.html#acb47a8e6fa74296091703d7edb23290e">grid2Dimension</a>·=·dim2;</div> | ||
101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a01066.html#ad16b24503d5b7550f76f2ce81ca3d544">···18</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01066.html#ad16b24503d5b7550f76f2ce81ca3d544">intersectionDimension</a>·=·(dim1·<·dim2)?(dim1):(dim2);</div> | ||
90 | <div·class="line"><a·id="l0001 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> | ||
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<fstream></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<vector></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<limits></span></div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<memory></span></div> | ||
98 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a01066.html#a4ccf836519152bee09ab75f6dd58f537">···20</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01066.html#a4ccf[·...·truncated·by·diffoscope;·len:·123,·SHA:·047a19220d23b5eb3d68bb73b3dfe7e150c3e55be99f51b4f1d51b7ae8106779·...·]</div> |
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··················································<span·class="keyword">const</span>·std::vector<Vector>·Y,</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··················································std::vector<std::vector<int>·>&·SX,</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··················································std::vector<std::vector<int>·>&·SY,</div> | ||
107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··················································std::vector<Vector>&·P);</div> | ||
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01066.html#a86c46c7655b6e75487f7e07cd9afadd7">···25</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01066.html#a86c46c7655b6e75487f7e07cd9afadd7">grid1_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>·elementCorners,</div> | ||
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·····································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·····································std::vector<std::vector<int>·>&·faceIds);</div> | ||
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01066.html#a432bc1ce2807ba11a0117f0846ccba19">···28</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01066.html#a432bc1ce2807ba11a0117f0846ccba19">grid2_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>·elementCorners,</div> | ||
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·····································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·····································std::vector<std::vector<int>·>&·faceIds);</div> | ||
99 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>};</div> |
115 | </div> | ||
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></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="preprocessor">#include·<<a·class="code"·href="a00068.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 116 | <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">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
111 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> |
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
113 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
114 | <div·class="foldopen"·id="foldopen000 | 118 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> |
115 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01070.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01070.html">IntersectionComputation</a>·{</div> |
116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge</a><T,dimworld-1,dimworld-1,dimworld></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="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim·=·dimworld-1;</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
120 | <div·class="line"><a·id="l0004 | 120 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">private</span>:</div> |
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>············<span·class="stringliteral">"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"</span>);</div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
123 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·CM::Vector·V;</div> |
122 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dimWorld·=·V::dimension;</div> | ||
123 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim1·=·CM::grid1Dimension;</div> | ||
124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim2·=·CM::grid2Dimension;</div> | ||
124 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> |
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
126 | <div·class="line"><a·id="l0005 | 126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">computeIntersection</a>(<span·class="keywor[·...·truncated·by·diffoscope;·len:·44,·SHA:·3d80e95214c0cb6ffb9d3a54687b7414b49e3ad20994edd8e9f13ef7830e5dcf·...·]</div> |
127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
128 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····································std::vector<std::vector<int>·>&·SX,</div> | ||
129 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····································std::vector<std::vector<int>·>&·SY,</div> | ||
130 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····································std::vector<V>&·P);</div> | ||
127 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
132 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">template</span><<span·class="keywordtype">int</span>·isDim,·<span·class="keywordtype">int</span>·dW></div> | ||
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01078.html#a5766f4df22f84a6b07d6ad8e977bc650">···56</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01078.html#a5766f4df22f84a6b07d6ad8e977bc650">ctype</a>;</div> | ||
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
130 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">···59</a></span>····<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dimworld>··<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>;</div> | ||
131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01078.html#af0bcbcf0fecc063a6cc9f51de2fd9878">···62</a></span>····<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dim>··<a·class="code·hl_typedef"·href="a01078.html#af0bcbcf0fecc063a6cc9f51de2fd9878">LocalCoords</a>;</div> | ||
133 | <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"><a·class="line"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a99989c22f5a72f6601003cb8aefad178">···65</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·{<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a9bc838df987b26a05f9af8182d7b48cf">OUTER_NORMAL</a>,·<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a99989c22f5a72f6601003cb8aefad178">CLOSEST_POINT</a>};</div> | ||
135 | <div·class="foldopen"·id="foldopen0007 | 133 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> |
134 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">···75</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">orderPoints</a>(<span·class="keyword">const</span>·V&·centroid,</div> | ||
135 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
136 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
137 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····························<span·class="keyword">const</span>·std::vector<V>&·P,</div> | ||
138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····························std::vector<std::vector<int>·>&·H)</div> | ||
136 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01078.html#a9c34cac3830aaafbdc1ca8ae8e302a46">···73</a></span>····<a·class="code·hl_function"·href="a01078.html#a9c34cac3830aaafbdc1ca8ae8e302a46">ContactMerge</a>(<span·class="keyword">const</span>·T·allowedOverlap=T(0),</div> | ||
137 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·················std::function<<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>(<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>)>·domainDirections=<span·class="keyword">nullptr</span>,</div> | ||
138 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·················std::function<<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>(<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>)>·targetDirections=<span·class="keyword">nullptr</span>,</div> | ||
139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·················<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·type·=·<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a9bc838df987b26a05f9af8182d7b48cf">OUTER_NORMAL</a>)</div> | ||
140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·domainDirections_(domainDirections),·targetDirections_(targetDirections),</div> | ||
141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········overlap_(allowedOverlap),·type_(type)</div> | ||
142 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div> |
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>·(isDim·>·1)</div> | ||
141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>············orderPoints_(std::integral_constant<int,isDim>(),std::integral_constant<int,dW>(),</div> | ||
Max diff block lines reached; 15928/77301 bytes (20.61%) of diff not shown. |
Offset 1, 304 lines modified | Offset 1, 214 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | co | 8 | computeintersection.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | |
17 | 15 | 4#define·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | |
16 | 5 | ||
18 | 12 | ||
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<fstream> | ||
22 | 16#include·<iomanip> | ||
23 | 17#include·<vector> | ||
24 | 18#include·<algorithm> | ||
25 | 19#include·<limits> | ||
26 | 20#include·<memory> | ||
27 | 21#include·<functional> | ||
28 | 22 | ||
29 | 17 | 6#include·<dune/common/fvector.hh> | |
30 | 24#include·<dune/common/exceptions.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
33 | 27 | ||
34 | 18 | 7#include·<dune/common/fmatrix.hh> | |
35 | 29 | ||
36 | 30#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
37 | 19 | 8 | |
20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
21 | 10namespace·GridGlue·{ | ||
22 | 11 | ||
23 | 12template<int·dimWorld,·int·dim1,·int·dim2,·typename·T·=·double> | ||
24 | _\x81_\x83class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·{ | ||
25 | 14public: | ||
26 | _\x81_\x85·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
27 | _\x81_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
28 | _\x81_\x87·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
29 | _\x81_\x88·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·(dim1·<·dim2)?(dim1):(dim2); | ||
30 | 19 | ||
31 | _\x82_\x80·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std::vector<Vector>·X, | ||
32 | 21·const·std::vector<Vector>·Y, | ||
33 | 22·std::vector<std::vector<int>·>&·SX, | ||
34 | 23·std::vector<std::vector<int>·>&·SY, | ||
35 | 24·std::vector<Vector>&·P); | ||
36 | _\x82_\x85·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
37 | 26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
38 | 27·std::vector<std::vector<int>·>&·faceIds); | ||
39 | _\x82_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
40 | 29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
41 | 30·std::vector<std::vector<int>·>&·faceIds); | ||
42 | 31}; | ||
38 | 32 | 43 | 32 |
44 | 38template<class·CM> | ||
45 | _\x83_\x89class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n·{ | ||
46 | 40private: | ||
47 | 41·typedef·typename·CM::Vector·V; | ||
48 | 42·const·int·dimWorld·=·V::dimension; | ||
49 | 43·const·int·dim1·=·CM::grid1Dimension; | ||
50 | 44·const·int·dim2·=·CM::grid2Dimension; | ||
39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
40 | 34namespace·GridGlue·{ | ||
41 | 35 | ||
42 | 41template<int·dimworld,·typename·T·=·double> | ||
43 | _\x84_\x82class·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e | ||
44 | 43:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dimworld-1,dimworld-1,dimworld> | ||
45 | 44{ | ||
46 | 45·static·constexpr·int·dim·=·dimworld-1; | ||
47 | 46 | ||
48 | 47·static_assert(·dim==1·||·dim==2, | ||
49 | 48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
50 | 49 | ||
51 | 50·typedef·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>·_\x8B_\x8a_\x8s_\x8e; | ||
52 | 51 | 45public: | |
52 | 59·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>&·X, | ||
53 | 60·const·std::vector<V>&·Y, | ||
54 | 61·std::vector<std::vector<int>·>&·SX, | ||
55 | 62·std::vector<std::vector<int>·>&·SY, | ||
56 | 63·std::vector<V>&·P); | ||
53 | 52 | ||
54 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
55 | 54 | ||
56 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
57 | 57 | ||
58 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
59 | 60 | ||
60 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
61 | 63 | ||
62 | _\x86_\x85·enum·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·{_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L,·_\x8C_\x8L_\x8O_\x8S_\x8E_\x8S_\x8T_\x8__\x8P_\x8O_\x8I_\x8N_\x8T}; | ||
63 | _\x87_\x83·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap=T(0), | ||
64 | 74·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·domainDirections=nullptr, | ||
65 | 75·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections=nullptr, | ||
66 | 76·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type·=·_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L) | ||
67 | 77·:·domainDirections_(domainDirections),·targetDirections_(targetDirections), | ||
68 | 78·overlap_(allowedOverlap),·type_(type) | ||
69 | 79·{} | ||
70 | 80 | ||
71 | _\x88_\x86·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap,·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type) | ||
72 | 87·:·overlap_(allowedOverlap), | ||
73 | 88·type_(type) | ||
74 | 89·{} | ||
75 | 90 | ||
76 | 99·inline | ||
77 | _\x81_\x80_\x80·void·_\x8s_\x8e_\x8t_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)> | ||
78 | domainDirections, | ||
79 | 101·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections) | ||
80 | 102·{ | ||
81 | 103·domainDirections_·=·domainDirections; | ||
82 | 104·targetDirections_·=·targetDirections; | ||
83 | 105·this->_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
84 | 106·} | ||
85 | 107 | ||
86 | _\x81_\x80_\x89·void·_\x8s_\x8e_\x8t_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p(T·overlap) | ||
87 | 110·{ | ||
88 | 111·overlap_·=·overlap; | ||
89 | 112·} | ||
90 | 113 | ||
91 | _\x81_\x81_\x85·T·_\x8g_\x8e_\x8t_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p()·const | ||
Max diff block lines reached; 11271/24812 bytes (45.43%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionlist.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 49 lines modified | Offset 70, 45 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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>··</div> |
78 | <a·href="#define-members">Macros</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">intersectionlist.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·<array></code><br·/> | ||
83 | <code>#include·<type_traits></code><br·/> | ||
84 | <code>#include·<utility></code><br·/> | ||
85 | <code>#include·<vector></code><br·/> | ||
86 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
87 | </div> | ||
82 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <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="a01082.html">Dune::GridGlue::IntersectionListProvider<·L0,·L1·></a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html">Dune::GridGlue::IntersectionList<·Local0,·Local1·></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="a01102.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></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">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection</a></td></tr> | ||
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | </table><table·class="memberdecls"> | ||
84 | <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> |
85 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
86 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 105 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | ||
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
92 | Macros</h2></td></tr> | ||
93 | <tr·class="memitem:ad63267c6d27a8f09d98506419b206db8"·id="r_ad63267c6d27a8f09d98506419b206db8"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html#ad63267c6d27a8f09d98506419b206db8">DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</a></td></tr> | ||
94 | <tr·class="separator:ad63267c6d27a8f09d98506419b206db8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table> | 107 | </table> |
96 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
97 | <a·id="ad63267c6d27a8f09d98506419b206db8"·name="ad63267c6d27a8f09d98506419b206db8"></a> | ||
98 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad63267c6d27a8f09d98506419b206db8">◆ </a></span>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</h2> | ||
99 | <div·class="memitem"> | ||
100 | <div·class="memproto"> | ||
101 | ······<table·class="memname"> | ||
102 | ········<tr> | ||
103 | ··········<td·class="memname">#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</td> | ||
104 | ········</tr> | ||
105 | ······</table> | ||
106 | </div><div·class="memdoc"> | ||
107 | </div> | ||
108 | </div> | ||
109 | </div><!--·contents·--> | 108 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 109 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 110 | <hr·class="footer"/><address·class="footer"><small> |
112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
113 | </small></address> | 112 | </small></address> |
114 | </body> | 113 | </body> |
115 | </html> | 114 | </html> |
Offset 1, 23 lines modified | Offset 1, 32 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_\x8a_\x8c_\x8r_\x8o_\x8s | ||
9 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
9 | intersectionlist.hh·File·Reference | ||
10 | #include·<array> | ||
11 | #include·<type_traits> | ||
12 | #include·<utility> | ||
13 | #include·<vector> | ||
14 | #include·<dune/common/fvector.hh> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
17 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8L_\x80_\x8,_\x8·_\x8L_\x81_\x8·_\x8> | ||
18 | |||
19 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80_\x8,_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81_\x8·_\x8> | ||
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8> | ||
22 | |||
23 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8>_\x8:_\x8: | ||
24 | ·········_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
25 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 26 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 27 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 28 | ||
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 29 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
15 | 30 | ||
16 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
17 | #define ·_\x8D_\x8U_\x8N_\x8E_\x8__\x8G_\x8R_\x8I_\x8D_\x8G_\x8L_\x8U_\x8E_\x8__\x8O_\x8V_\x8E_\x8R_\x8L_\x8A_\x8P_\x8P_\x8I_\x8N_\x8G_\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8C_\x8C | ||
18 | |||
19 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
20 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DU\x8UN\x8NE\x8E_\x8_G\x8GR\x8RI\x8ID\x8DG\x8GL\x8LU\x8UE\x8E_\x8_O\x8OV\x8VE\x8ER\x8RL\x8LA\x8AP\x8PP\x8PI\x8IN\x8NG\x8GM\x8ME\x8ER\x8RG\x8GE\x8E_\x8_C\x8CC\x8C·*\x8**\x8**\x8**\x8**\x8* | ||
21 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
22 | =============================================================================== | 31 | =============================================================================== |
23 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionlist.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 215 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">intersectionlist.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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
86 | <div·class="line"><a·id="l0000 | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH</span></div> | ||
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1</span></div> | ||
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#i | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno"> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class=" | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<vector></span></div> | ||
91 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/fvector.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="keyword">template</span><<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></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="a00103.html">Dune</a>·{</div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>GridGlue·{</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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·L0,·<span·class="keyword">typename</span>·L1></div> | ||
99 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="};"> | ||
100 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01082.html">···21</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01082.html">IntersectionListProvider</a></div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>····T·eps·=·1e-8;</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>····assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3);</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····assert(points.size()·==·4);</div> | ||
102 | <div·class="line"><a·id="l0002 | 101 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> |
102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">public</span>:</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····FieldVector<T,dimworld>·v1·=·points[1]-points[0];</div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····FieldVector<T,dimworld>·v2·=·points[2]-points[0];</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····FieldVector<T,dimworld>·v3·=·points[3]-points[0];</div> | ||
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">···28</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">Local0</a>·=·L0;</div> | ||
107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····FieldVector<T,dimworld>·v1xv2;</div> | ||
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1];</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2];</div> | ||
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0];</div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">Local1</a>·=·L1;</div> | ||
112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·(std::abs(v3.dot(v1xv2))·<·eps);</div> | ||
113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}</div> | ||
114 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·=·<span·class="keywordtype">unsigned</span>·int;</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>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
116 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">···34</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">OverlappingMerge<dim1,dim2,dimworld,·T>::computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>···············································std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>···············································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···············································std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···············································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</div> | ||
126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>std::min;</div> | ||
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····this->counter++;</div> | ||
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>.clear();</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">typedef</span>·<a·class="code·hl_class"·href="a01118.html">SimplexMethod<dimworld,dim1,dim2,T></a>·CM;</div> | ||
133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#ifndef·NDEBUG</span></div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement1·=·Dune::ReferenceElements<T,dim1>::general(grid1ElementType);</div> | ||
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement2·=·Dune::ReferenceElements<T,dim2>::general(grid2ElementType);</div> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·A·few·consistency·checks</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement1.size(dim1))·==·grid1ElementCorners.size());</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement2.size(dim2))·==·grid2ElementCorners.size());</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif</span></div> | ||
142 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">···43</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">size</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·Make·generic·geometries·representing·the·grid1-·and·grid2·element.</span></div> | ||
144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="comment">//·this·eases·computation·of·local·coordinates.</span></div> | ||
145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">typedef</span>·MultiLinearGeometry<T,dim1,dimworld>·Geometry1;</div> | ||
146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">typedef</span>·MultiLinearGeometry<T,dim2,dimworld>·Geometry2;</div> | ||
147 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">···50</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">parents0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
148 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners);</div> | ||
149 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners);</div> | ||
150 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
151 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part·1/2)</span></div> | ||
152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners(grid1ElementCorners.size());</div> | ||
153 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners(grid2ElementCorners.size());</div> | ||
154 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">···57</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">parents1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
155 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//·the·scaling·parameter·is·the·length·minimum·of·the·lengths·of·the·first·edge·in·the·grid1·geometry</span></div> | ||
156 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·and·the·first·edge·in·the·grid2·geometry</span></div> | ||
157 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····T·scaling·=·min((grid1ElementCorners[0]·-·grid1ElementCorners[1]).two_norm(),</div> | ||
158 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>············(grid2ElementCorners[0]·-·grid2ElementCorners[1]).two_norm());</div> | ||
159 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
160 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="comment">//·scale·the·coordinates·according·to·scaling·parameter</span></div> | ||
161 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·grid1ElementCorners.size();·++i)·{</div> | ||
162 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········scaledGrid1ElementCorners[i]·=·grid1ElementCorners[i];</div> | ||
163 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········scaledGrid1ElementCorners[i]·*=·(1.0/scaling);</div> | ||
164 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····}</div> | ||
165 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·grid2ElementCorners.size();·++i)·{</div> | ||
166 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········scaledGrid2ElementCorners[i]·=·grid2ElementCorners[i];</div> | ||
167 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········scaledGrid2ElementCorners[i]·*=·(1.0/scaling);</div> | ||
168 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div> | ||
Max diff block lines reached; 64991/90448 bytes (71.85%) of diff not shown. |
Offset 1, 244 lines modified | Offset 1, 357 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | intersectionlist.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH | ||
15 | 4#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1 | ||
16 | 5 | 16 | 5 |
17 | 6#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
18 | _\x87#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
19 | 8//#include·<algorithm> | ||
20 | 9 | ||
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
22 | 17 | 6#include·<array> | |
18 | 7#include·<type_traits> | ||
19 | 8#include·<utility> | ||
20 | 9#include·<vector> | ||
21 | 10 | ||
22 | 11#include·<dune/common/fvector.hh> | ||
23 | 12 | 23 | 12 |
24 | 13namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
25 | 14namespace·GridGlue·{ | ||
24 | 13template<int·dim1,·int·dim2,·int·dimworld,·typename·T> | ||
25 | 14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
26 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
27 | 15 | 26 | 15 |
27 | 20template<typename·L0,·typename·L1> | ||
28 | _\x82_\x81class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | ||
29 | 22{ | ||
30 | 23public: | ||
28 | 16·T·eps·=·1e-8; | ||
29 | 17 | ||
30 | 18·assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3); | ||
31 | 19·assert(points.size()·==·4); | ||
32 | 20 | ||
33 | 21·FieldVector<T,dimworld>·v1·=·points[1]-points[0]; | ||
34 | 22·FieldVector<T,dimworld>·v2·=·points[2]-points[0]; | ||
35 | 23·FieldVector<T,dimworld>·v3·=·points[3]-points[0]; | ||
36 | 24 | 31 | 24 |
32 | _\x82_\x88·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·=·L0; | ||
37 | 25·FieldVector<T,dimworld>·v1xv2; | ||
38 | 26·v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1]; | ||
39 | 27·v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2]; | ||
40 | 28·v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0]; | ||
41 | 29 | 33 | 29 |
34 | _\x83_\x83·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·=·L1; | ||
35 | 34 | ||
36 | _\x83_\x88·using·_\x8I_\x8n_\x8d_\x8e_\x8x·=·unsigned·int; | ||
37 | 39 | ||
38 | _\x84_\x83·virtual·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·=·0; | ||
39 | 44 | ||
40 | _\x85_\x80·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
41 | 51 | ||
42 | _\x85_\x87·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
43 | 58 | ||
44 | _\x86_\x85·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
45 | 66 | ||
46 | _\x87_\x83·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
47 | 74 | ||
48 | _\x88_\x82·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
49 | const·=·0; | ||
50 | 83 | ||
51 | _\x89_\x81·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
52 | const·=·0; | ||
53 | 92}; | ||
42 | 30·return·(std::abs(v3.dot(v1xv2))·<·eps); | ||
43 | 31} | ||
44 | 32 | ||
45 | 33template<int·dim1,·int·dim2,·int·dimworld,·typename·T> | ||
46 | _\x83_\x84void·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const | ||
47 | Dune::GeometryType&·grid1ElementType, | ||
48 | 35·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
49 | 36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
50 | 37·unsigned·int·grid1Index, | ||
51 | 38·const·Dune::GeometryType&·grid2ElementType, | ||
52 | 39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
53 | 40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
54 | 41·unsigned·int·grid2Index, | ||
55 | 42·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
56 | 43{ | ||
57 | 44·using·std::min; | ||
58 | 45 | ||
59 | 46·this->counter++; | ||
60 | 47·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s.clear(); | ||
61 | 48 | ||
62 | 49·typedef·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8T_\x8>·CM; | ||
63 | 50 | ||
64 | 51#ifndef·NDEBUG | ||
65 | 52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
66 | (grid1ElementType); | ||
67 | 53·const·auto&·refElement2·=·Dune::ReferenceElements<T,dim2>::general | ||
68 | (grid2ElementType); | ||
69 | 54 | ||
70 | 55·//·A·few·consistency·checks | ||
71 | 56·assert((unsigned·int)(refElement1.size(dim1))·==·grid1ElementCorners.size | ||
72 | ()); | ||
73 | 57·assert((unsigned·int)(refElement2.size(dim2))·==·grid2ElementCorners.size | ||
74 | ()); | ||
75 | 58#endif | ||
76 | 59 | ||
77 | 60·//·Make·generic·geometries·representing·the·grid1-·and·grid2·element. | ||
78 | 61·//·this·eases·computation·of·local·coordinates. | ||
79 | 62·typedef·MultiLinearGeometry<T,dim1,dimworld>·Geometry1; | ||
80 | 63·typedef·MultiLinearGeometry<T,dim2,dimworld>·Geometry2; | ||
81 | 64 | ||
82 | 65·Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners); | ||
83 | 66·Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners); | ||
84 | 67 | ||
85 | 68·//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part | ||
86 | 1/2) | ||
87 | 69·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners | ||
88 | (grid1ElementCorners.size()); | ||
89 | 70·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners | ||
90 | (grid2ElementCorners.size()); | ||
91 | 71 | ||
92 | 72·//·the·scaling·parameter·is·the·length·minimum·of·the·lengths·of·the·first | ||
93 | edge·in·the·grid1·geometry | ||
Max diff block lines reached; 24042/30049 bytes (80.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-grid-glue:· | 8 | <title>dune-grid-glue:·simplexintersection.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 47 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">simplexintersection.cc·File·Reference</div></div> |
80 | </div><!--header--> | 81 | </div><!--header--> |
81 | <div·class="contents"> | 82 | <div·class="contents"> |
82 | <p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·<iomanip></code><br·/> | ||
85 | <code>#include·<vector></code><br·/> | ||
86 | <code>#include·<algorithm></code><br·/> | ||
87 | <code>#include·<bitset></code><br·/> | ||
88 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
89 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | </div> | ||
93 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> |
94 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
96 | Classes</h2></td></tr> | 86 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html">Dune::GridGlue::SimplexMethod<·dimWorld,·dim1,·dim2,·T·></a></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·0,·T·></a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01126.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·1,·T·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01130.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·2,·T·></a></td></tr> | ||
94 | <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 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01134.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·3,·T·></a></td></tr> |
98 | <tr·class=" | 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="a01138.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·1,·T·></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="a01142.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·2,·T·></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="a01146.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·3,·T·></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="a01150.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·2,·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="a01154.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·3,·T·></a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01158.html">Dune::GridGlue::SimplexMethod<·dimWorld,·3,·3,·T·></a></td></tr> | ||
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
101 | <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> |
102 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
103 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 112 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 114 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | ||
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
118 | Functions</h2></td></tr> | ||
119 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"·id="r_acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
120 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·0·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
121 | <tr·class="separator:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"·id="r_a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
123 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a79ec8d88094aaf764ba7d3fc69f80bfb">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·1·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
124 | <tr·class="separator:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"·id="r_a686728cec3588405059fdbddc5e89168"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
126 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a686728cec3588405059fdbddc5e89168">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·2·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
127 | <tr·class="separator:a686728cec3588405059fdbddc5e89168"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"·id="r_a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
129 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a697e604ca453c314141e6b4c5efe3eab">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·3·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
130 | <tr·class="separator:a697e604ca453c314141e6b4c5efe3eab"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | </table> | 131 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
109 | <div·class="textblock"><p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·</p> | ||
110 | </div>< | 132 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 133 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 134 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 135 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
114 | </small></address> | 136 | </small></address> |
115 | </body> | 137 | </body> |
116 | </html> | 138 | </html> |
Offset 1, 32 lines modified | Offset 1, 65 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | simplexintersection.cc·File·Reference | ||
9 | conformingmerge.hh·File·Reference | ||
10 | Implementation·of·the·Merger·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iomanip> | ||
12 | #include·<vector> | ||
13 | #include·<algorithm> | ||
14 | #include·<bitset> | ||
15 | #include·<dune/common/fmatrix.hh> | ||
16 | #include·<dune/common/fvector.hh> | ||
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
13 | |||
21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.0_.,_.·_.0_\x8,_\x8·_\x8T_\x8·_\x8> |
22 | | 15 | |
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
17 | |||
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
19 | |||
20 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
21 | |||
22 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
23 | |||
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | |||
26 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
27 | |||
28 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
29 | |||
30 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
31 | |||
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x83_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
23 | 33 | ||
24 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 34 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 35 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
26 | 36 | ||
27 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 37 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
28 | 38 | ||
29 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | 39 | F.Fu.un.nc.ct.ti.io.on.ns.s | |
40 | template<int·dimworld,·typename·T·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·0·>, | ||
42 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
43 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
44 | ······std::vector<·int·>·>·&faceIds) | ||
45 | |||
46 | template<int·dimworld,·typename·T·> | ||
47 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·1·>, | ||
48 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
49 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
50 | ······std::vector<·int·>·>·&faceIds) | ||
51 | |||
52 | template<int·dimworld,·typename·T·> | ||
53 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·2·>, | ||
54 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
55 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
56 | ······std::vector<·int·>·>·&faceIds) | ||
57 | |||
58 | template<int·dimworld,·typename·T·> | ||
59 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·3·>, | ||
60 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
61 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
62 | ······std::vector<·int·>·>·&faceIds) | ||
63 | |||
31 | =============================================================================== | 64 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 65 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:· | 8 | <title>dune-grid-glue:·simplexintersection.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 220 lines modified | Offset 74, 1430 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">simplexintersection.cc</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····conformingmerge.hh</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Sep·14,·2009</span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Oliver·Sander</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·implementation·of·the·Merger·concept·for·conforming·interfaces</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | ||
97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH</span></div> | ||
98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH</span></div> | ||
99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<vector></span></div> | ||
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<bitset></span></div> | ||
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00068.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
112 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,0>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,1>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,2>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,3>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·····································································std::vector<std::vector<int>·>&·faceIds);</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> | ||
113 | <div·class="line"><a·id="l000 | 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="comment">//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS·***************************</span></div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimWorld,<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keyword">typename</span>·T></div> | ||
112 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};"> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01118.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01118.html">SimplexMethod</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>{</div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01118.html#a4b07cdfc467f3dc5decd96dd3709f2da">···31</a></span>····<span·class="keyword">static_assert</span>(dim1·>·dim2,·<span·class="stringliteral">"Specialization·missing"</span>);</div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>;</div> | ||
114 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div> |
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">···34</a></span>····<span·class="keyword">typedef</span>·FieldVector<T,·dimWorld>·<a·class="code·hl_typedef"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">Vector</a>;</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">···35</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">grid1Dimension</a>·=·dim1;</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">···36</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">grid2Dimension</a>·=·dim2;</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">···37</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">intersectionDimension</a>·=·dim2;</div> | ||
115 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
116 | <div·class=" | 122 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> |
123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">···39</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">computeIntersectionPoints</a>(<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···X,</div> | ||
124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·················<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···Y,</div> | ||
125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·················std::vector<std::vector<int>·>·········&·SX,</div> | ||
126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·················std::vector<std::vector<int>·>·········&·SY,</div> | ||
127 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·················std::vector<FieldVector<T,dimWorld>·>·&·P)</div> | ||
128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····{</div> | ||
129 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">SimplexMethod<dimWorld,dim2,dim1,T>::computeIntersectionPoints</a>(Y,·X,·SY,·SX,·P);</div> | ||
130 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> | ||
131 | </div> | ||
132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
117 | <div·class="foldopen"·id="foldopen0004 | 133 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> |
118 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01074.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01074.html">ConformingMerge</a></div> | ||
119 | <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="a01162.html">StandardMerge</a><T,dim,dim,dimworld></div> | ||
120 | <div·class="line"><a·id="l0004 | 134 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab49909d2d3a53b30becf262cd024e314">···48</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01118.html#ab499[·...·truncated·by·diffoscope;·len:·134,·SHA:·7829892f8fc870192be8610a30f03d782d3ffd41b927f3eecc71f9a56449161e·...·]</div> |
135 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>···································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
136 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>···································std::vector<std::vector<int>·>&·faceIds)</div> | ||
121 | <div·class="line"><a·id="l0005 | 137 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div> |
138 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid1Dimension>(),</div> | ||
139 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·······································elementCorners,subElements,·faceIds);</div> | ||
122 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | ||
123 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
124 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
125 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 140 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> |
126 | < | 141 | </div> |
127 | <div·class="line"><a·id="l0005 | 142 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
128 | <div·class="line"><a·id="l0005 | 143 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01122.html#a7cfadf5a9bc8595aaaaeaed96048c4ae">···56</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01118.html#ae97f[·...·truncated·by·diffoscope;·len:·134,·SHA:·b6060c274534d0b80eff44dd25e54c92f91603509879ba509ce7403dbccac428·...·]</div> |
144 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>···································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
145 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···································std::vector<std::vector<int>·>&·faceIds)</div> | ||
146 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> | ||
147 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid2Dimension>(),</div> | ||
148 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·······································elementCorners,·subElements,·faceIds);</div> | ||
129 | <div·class="line"><a·id="l0006 | 149 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> |
130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01074.html#a1dba3cda61513dffe89eb33d45e92ff9">···62</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dim>··<a·class="code·hl_typedef"·href="a01074.html#a1dba3cda61513dffe89eb33d45e92ff9">LocalCoords</a>;</div> | ||
131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 150 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>};</div> |
151 | </div> | ||
132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span> | 152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
Max diff block lines reached; 240902/271231 bytes (88.82%) of diff not shown. |
Offset 1, 253 lines modified | Offset 1, 1578 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | simplexintersection.cc | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | ||
16 | 5/* | ||
17 | 6·*·Filename:·conformingmerge.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Sep·14,·2009 | ||
20 | 9·*·Author:·Oliver·Sander | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
24 | interfaces | ||
25 | 13·* | ||
26 | 14·*/ | ||
27 | 21#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | ||
28 | 22#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | ||
29 | 23 | ||
30 | 24#include·<iomanip> | ||
31 | 25#include·<vector> | ||
32 | 26#include·<algorithm> | ||
33 | 27#include·<bitset> | ||
34 | 28 | ||
35 | 29#include·<dune/common/fmatrix.hh> | ||
36 | 30#include·<dune/common/fvector.hh> | ||
37 | 31 | ||
38 | 32#include·<dune/geometry/referenceelements.hh> | ||
39 | 33 | ||
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
41 | 35 | ||
42 | 17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
43 | 37 | ||
44 | 18 | 7namespace·GridGlue·{ | |
45 | 19 | 8 | |
46 | 20 | 9template·<int·dimworld,·typename·T> | |
47 | _\x84_\x87class·_\x8C_\x8o_\x8n_\x8f_\x8o_\x8r_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e | ||
48 | 48·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim,dim,dimworld> | ||
49 | 49{ | ||
50 | 21 | 10inline·void·_.s_.i_.m_.p_.l_.e_.x_.S_.u_.b_.d_.i_.v_.i_.s_.i_.o_.n(std::integral_constant<int,0>,const·std:: | |
22 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
23 | 11·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
24 | 12·std::vector<std::vector<int>·>&·faceIds); | ||
25 | 13template·<int·dimworld,·typename·T> | ||
26 | 14inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,1>,const·std:: | ||
27 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
28 | 15·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
29 | 16·std::vector<std::vector<int>·>&·faceIds); | ||
30 | 17template·<int·dimworld,·typename·T> | ||
31 | 18inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,2>,const·std:: | ||
32 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
33 | 19·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
34 | 20·std::vector<std::vector<int>·>&·faceIds); | ||
35 | 21template·<int·dimworld,·typename·T> | ||
36 | 22inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,3>,const·std:: | ||
37 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
38 | 23·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
39 | 24·std::vector<std::vector<int>·>&·faceIds); | ||
40 | 25 | ||
41 | 26 | ||
42 | 27 | ||
43 | 28//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS | ||
44 | *************************** | ||
45 | 29template<int·dimWorld,int·dim1,·int·dim2,·typename·T> | ||
46 | _\x83_\x80class·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·:·public·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>{ | ||
47 | _\x83_\x81·static_assert(dim1·>·dim2,·"Specialization·missing"); | ||
48 | 32·friend·class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>; | ||
51 | 49 | 33public: | |
52 | 52 | ||
53 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 54 | ||
55 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 57 | ||
57 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 60 | ||
59 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 63 | ||
61 | 50 | _.3_.4·typedef·FieldVector<T,·dimWorld>·_.V_.e_.c_.t_.o_.r; | |
51 | _\x83_\x85·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
52 | _\x83_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
53 | _\x83_\x87·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
54 | 38 | ||
55 | _\x83_\x89·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std:: | ||
56 | vector<FieldVector<T,dimWorld>·>&·X, | ||
57 | 40·const·std::vector<FieldVector<T,dimWorld>·>&·Y, | ||
58 | 41·std::vector<std::vector<int>·>·&·SX, | ||
59 | 42·std::vector<std::vector<int>·>·&·SY, | ||
60 | 43·std::vector<FieldVector<T,dimWorld>·>·&·P) | ||
61 | 44·{ | ||
62 | 45·return·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8T_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(Y,·X, | ||
63 | SY,·SX,·P); | ||
64 | 46·} | ||
65 | 47 | ||
66 | _\x84_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>&·elementCorners, | ||
67 | 49·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
68 | 50·std::vector<std::vector<int>·>&·faceIds) | ||
69 | 51·{ | ||
70 | 52·simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid1Dimension>(), | ||
71 | 53·elementCorners,subElements,·faceIds); | ||
72 | 54·} | ||
73 | 55 | ||
74 | _\x85_\x86·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>&·elementCorners, | ||
75 | 57·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
76 | 58·std::vector<std::vector<int>·>&·faceIds) | ||
77 | 59·{ | ||
78 | 60·simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid2Dimension>(), | ||
79 | 61·elementCorners,·subElements,·faceIds); | ||
80 | 62·} | ||
81 | 63}; | ||
82 | 64 | ||
62 | 65 | 83 | 65 |
63 | 66·/*·M·E·M·B·E·R·V·A·R·I·A·B·L·E·S·*/ | ||
64 | 67 | ||
65 | 69·T·tolerance_; | ||
66 | 70 | ||
67 | 71·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
Max diff block lines reached; 68358/75444 bytes (90.61%) 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-grid-glue:·co | 8 | <title>dune-grid-glue:·conformingmerge.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 47 lines modified | Offset 71, 47 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">co | 79 | ··<div·class="headertitle"><div·class="title">conformingmerge.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·· | ||
83 | <a·href="#details">More...</a></p> | ||
83 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<iomanip></code><br·/> |
85 | <code>#include·<vector></code><br·/> | ||
86 | <code>#include·<algorithm></code><br·/> | ||
87 | <code>#include·<bitset></code><br·/> | ||
84 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | 88 | <code>#include·<dune/common/fmatrix.hh></code><br·/> |
89 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
85 | <code>#include·& | 91 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> |
86 | <code>#include·"<a·class="el"·href="a00071_source.html">computeintersection.cc</a>"</code><br·/> | ||
87 | </div> | 92 | </div> |
88 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00098_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">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a010 | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01074.html">Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·></a></td></tr> |
98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Implementation·of·the·<a·class="el"·href="a01110.html"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.">Merger</a>·concept·for·conforming·interfaces.··<a·href="a01074.html#details">More...</a><br·/></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01070.html">Dune::GridGlue::IntersectionComputation<·CM·></a></td></tr> | ||
95 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·computation·method·for·two·elements·of·arbitrary·dimension.··<a·href="a01070.html#details">More...</a><br·/></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
98 | <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> |
99 | Namespaces</h2></td></tr> | 102 | Namespaces</h2></td></tr> |
100 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 103 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</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> |
102 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 105 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <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:a273266aab32afadee15bb5fcf71aa4ca"·id="r_a273266aab32afadee15bb5fcf71aa4ca"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
108 | <tr·class="memitem:a273266aab32afadee15bb5fcf71aa4ca"><td·class="memTemplItemLeft"·align="right"·valign="top">int </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">Dune::GridGlue::insertPoint</a>·(const·V·p,·std::vector<·V·>·&P)</td></tr> | ||
109 | <tr·class="separator:a273266aab32afadee15bb5fcf71aa4ca"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table> | 107 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
109 | <div·class="textblock"><p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·</p> | ||
111 | </div><!--·contents·--> | 110 | </div></div><!--·contents·--> |
112 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
113 | <hr·class="footer"/><address·class="footer"><small> | 112 | <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 | 113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
115 | </small></address> | 114 | </small></address> |
116 | </body> | 115 | </body> |
117 | </html> | 116 | </html> |
Offset 1, 32 lines modified | Offset 1, 32 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | computeintersection.hh·File·Reference | ||
10 | 9 | conformingmerge.hh·File·Reference | |
10 | Implementation·of·the·Merger·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iomanip> | ||
12 | #include·<vector> | ||
13 | #include·<algorithm> | ||
14 | #include·<bitset> | ||
11 | #include·<dune/common/fmatrix.hh> | 15 | #include·<dune/common/fmatrix.hh> |
12 | #include·"_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
13 | #include· | 16 | #include·<dune/common/fvector.hh> |
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8 | 21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8n_.f_.o_.r_.m_.i_.n_.g_.M_.e_.r_.g_.e_.<_.·_.d_.i_.m_.,_.·_.d_.i_.m_.w_.o_.r_.l_.d_\x8,_\x8·_\x8T_\x8·_\x8> |
22 | ·······Implementation·of·the·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | |||
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8M_\x8·_\x8> | ||
19 | ·······_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·computation·method·for·two·elements·of·arbitrary | ||
20 | ········dimension.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 23 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 24 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 26 | ||
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 27 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
26 | 28 | ||
29 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | Implementation·of·the·Merger·concept·for·conforming·interfaces. | ||
27 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
28 | template<class·V·> | ||
29 | int ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t·(const·V·p,·std::vector<·V·>·&P) | ||
30 | |||
31 | =============================================================================== | 31 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·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-grid-glue:·co | 8 | <title>dune-grid-glue:·conformingmerge.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 220 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">co | 80 | ··<div·class="headertitle"><div·class="title">conformingmerge.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">//· | 83 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····conformingmerge.hh</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Sep·14,·2009</span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Oliver·Sander</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·implementation·of·the·Merger·concept·for·conforming·interfaces</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | ||
85 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH</span></div> |
86 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH</span></div> |
87 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<vector></span></div> | ||
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<bitset></span></div> | ||
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
88 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimWorld,·<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="};"> | ||
96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno"><a·class="line"·href="a01066.html">···13</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01066.html">ComputationMethod</a>·{</div> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">public</span>:</div> | ||
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a01066.html#a5da48113661738ad782fb01d824a68a2">···15</a></span>····<span·class="keyword">typedef</span>·FieldVector<T,·dimWorld>·<a·class="code·hl_typedef"·href="a01066.html#a5da48113661738ad782fb01d824a68a2">Vector</a>;</div> | ||
99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a01066.html#a61ef5903201969bc947f5928693ab79e">···16</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01066.html#a61ef5903201969bc947f5928693ab79e">grid1Dimension</a>·=·dim1;</div> | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a01066.html#acb47a8e6fa74296091703d7edb23290e">···17</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01066.html#acb47a8e6fa74296091703d7edb23290e">grid2Dimension</a>·=·dim2;</div> | ||
101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a01066.html#ad16b24503d5b7550f76f2ce81ca3d544">···18</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01066.html#ad16b24503d5b7550f76f2ce81ca3d544">intersectionDimension</a>·=·(dim1·<·dim2)?(dim1):(dim2);</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"><a·class="line"·href="a01066.html#a4ccf836519152bee09ab75f6dd58f537">···20</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01066.html#a4ccf836519152bee09ab75f6dd58f537">computeIntersectionPoints</a>(<span·class="keyword">const</span>·std::vector<Vector>·X,</div> | ||
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··················································<span·class="keyword">const</span>·std::vector<Vector>·Y,</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··················································std::vector<std::vector<int>·>&·SX,</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··················································std::vector<std::vector<int>·>&·SY,</div> | ||
107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··················································std::vector<Vector>&·P);</div> | ||
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01066.html#a86c46c7655b6e75487f7e07cd9afadd7">···25</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01066.html#a86c46c7655b6e75487f7e07cd9afadd7">grid1_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>·elementCorners,</div> | ||
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·····································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·····································std::vector<std::vector<int>·>&·faceIds);</div> | ||
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01066.html#a432bc1ce2807ba11a0117f0846ccba19">···28</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01066.html#a432bc1ce2807ba11a0117f0846ccba19">grid2_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>·elementCorners,</div> | ||
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·····································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·····································std::vector<std::vector<int>·>&·faceIds);</div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
112 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
113 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
117 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> | ||
118 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01074.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01074.html">ConformingMerge</a></div> | ||
119 | <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="a01162.html">StandardMerge</a><T,dim,dim,dimworld></div> | ||
120 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> | ||
121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
122 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | ||
123 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
124 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
125 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01074.html#aaba987241a7ef77198515890b9b4676d">···56</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01074.html#aaba987241a7ef77198515890b9b4676d">ctype</a>;</div> | ||
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"><a·class="line"·href="a01074.html#a1de4c7f04e1e8e716cee141898ba50c1">···59</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dimworld>··<a·class="code·hl_typedef"·href="a01074.html#a1de4c7f04e1e8e716cee141898ba50c1">WorldCoords</a>;</div> | ||
129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01074.html#a1dba3cda61513dffe89eb33d45e92ff9">···62</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dim>··<a·class="code·hl_typedef"·href="a01074.html#a1dba3cda61513dffe89eb33d45e92ff9">LocalCoords</a>;</div> | ||
131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> | ||
133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
134 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="comment">/*···M·E·M·B·E·R···V·A·R·I·A·B·L·E·S···*/</span></div> | ||
135 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
136 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··T·tolerance_;</div> | ||
137 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">StandardMerge<T,dim,dim,dimworld>::SimplicialIntersection</a>·SimplicialIntersection;</div> | ||
139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keywordtype">void</span>·computeIntersections(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>···································std::bitset<(1<<dim)>&·neighborIntersects1,</div> | ||
143 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
144 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>···································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
145 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
146 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>···································std::bitset<(1<<dim)>&·neighborIntersects2,</div> | ||
147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···································std::vector<SimplicialIntersection>&·intersections);</div> | ||
149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">public</span>:</div> | ||
151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
152 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01074.html#a781458efe934eb027a344d88e5977cc9">···89</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·T·<a·class="code·hl_variable"·href="a01074.html#a781458efe934eb027a344d88e5977cc9">default_tolerance</a>·=·1e-4;</div> | ||
153 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
154 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="}"> | ||
155 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01074.html#ade7a18912a2d8b3f56fe1f8f432ef502">···91</a></span>··<a·class="code·hl_function"·href="a01074.html#ade7a18912a2d8b3f56fe1f8f432ef502">ConformingMerge</a>(T·tolerance·=·<a·class="code·hl_variable"·href="a01074.html#a781458efe934eb027a344d88e5977cc9">default_tolerance</a>)·:</div> | ||
156 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····tolerance_(tolerance)</div> | ||
157 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> | ||
115 | </div> | 158 | </div> |
Max diff block lines reached; 27717/68353 bytes (40.55%) of diff not shown. |
Offset 1, 214 lines modified | Offset 1, 253 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | co | 8 | conformingmerge.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | ||
17 | 6·*·Filename:·conformingmerge.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Sep·14,·2009 | ||
20 | 9·*·Author:·Oliver·Sander | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
24 | interfaces | ||
25 | 13·* | ||
26 | 14·*/ | ||
14 | 27 | 21#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | |
15 | 28 | 22#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | |
16 | 5 | ||
17 | 29 | 23 | |
30 | 24#include·<iomanip> | ||
31 | 25#include·<vector> | ||
32 | 26#include·<algorithm> | ||
33 | 27#include·<bitset> | ||
34 | 28 | ||
18 | 35 | 29#include·<dune/common/fmatrix.hh> | |
19 | 36 | 30#include·<dune/common/fvector.hh> | |
37 | 31 | ||
38 | 32#include·<dune/geometry/referenceelements.hh> | ||
39 | 33 | ||
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
41 | 35 | ||
20 | 42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
43 | 37 | ||
21 | 44 | 38·namespace·GridGlue·{ | |
22 | 45 | 39 | |
23 | 46 | 46template<int·dim,·int·dimworld,·typename·T·=·double> | |
24 | _\x8 | 47 | _\x84_.7class·_.C_.o_.n_.f_.o_.r_.m_.i_.n_.g_.M_.e_.r_.g_.e |
48 | 48·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim,dim,dimworld> | ||
49 | 49{ | ||
50 | 50 | ||
25 | 51 | 51public: | |
52 | 52 | ||
53 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 54 | ||
55 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 57 | ||
57 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 60 | ||
59 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 63 | ||
26 | _\x81_\x85·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
27 | _\x81_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
28 | _\x81_\x87·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
29 | _\x81_\x88·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·(dim1·<·dim2)?(dim1):(dim2); | ||
30 | 19 | ||
31 | _\x82_\x80·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std::vector<Vector>·X, | ||
32 | 21·const·std::vector<Vector>·Y, | ||
33 | 22·std::vector<std::vector<int>·>&·SX, | ||
34 | 23·std::vector<std::vector<int>·>&·SY, | ||
35 | 24·std::vector<Vector>&·P); | ||
36 | _\x82_\x85·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
37 | 26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
38 | 27·std::vector<std::vector<int>·>&·faceIds); | ||
39 | _\x82_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
40 | 29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
41 | 30·std::vector<std::vector<int>·>&·faceIds); | ||
42 | 31}; | ||
43 | 32 | ||
44 | 38template<class·CM> | ||
45 | _\x83_\x89class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n·{ | ||
46 | 61 | 64private: | |
47 | 41·typedef·typename·CM::Vector·V; | ||
48 | 42·const·int·dimWorld·=·V::dimension; | ||
49 | 43·const·int·dim1·=·CM::grid1Dimension; | ||
50 | 62 | 65 | |
63 | 66·/*·M·E·M·B·E·R·V·A·R·I·A·B·L·E·S·*/ | ||
64 | 67 | ||
65 | 69·T·tolerance_; | ||
66 | 70 | ||
67 | 71·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
68 | SimplicialIntersection; | ||
69 | 72 | ||
70 | 77·void·computeIntersections(const·Dune::GeometryType&·grid1ElementType, | ||
71 | 78·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
72 | 79·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
73 | 80·unsigned·int·grid1Index, | ||
74 | 81·const·Dune::GeometryType&·grid2ElementType, | ||
75 | 82·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
76 | 83·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
77 | 84·unsigned·int·grid2Index, | ||
78 | 85·std::vector<SimplicialIntersection>&·intersections); | ||
79 | 86 | ||
51 | 80 | 87public: | |
81 | 88 | ||
82 | _\x88_\x89·static·constexpr·T·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8t_\x8o_\x8l_\x8e_\x8r_\x8a_\x8n_\x8c_\x8e·=·1e-4; | ||
83 | 90 | ||
84 | _\x89_\x81·_\x8C_\x8o_\x8n_\x8f_\x8o_\x8r_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e(T·tolerance·=·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8t_\x8o_\x8l_\x8e_\x8r_\x8a_\x8n_\x8c_\x8e)·: | ||
85 | 92·tolerance_(tolerance) | ||
86 | 93·{} | ||
87 | 94}; | ||
88 | 95 | ||
89 | 96template<int·dim,·int·dimworld,·typename·T> | ||
90 | 97constexpr·T·_\x8C_\x8o_\x8n_\x8f_\x8o_\x8r_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8d_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8>_\x8:_\x8:_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8t_\x8o_\x8l_\x8e_\x8r_\x8a_\x8n_\x8c_\x8e; | ||
91 | 98 | ||
92 | 99template<int·dim,·int·dimworld,·typename·T> | ||
93 | 100void·ConformingMerge<dim,·dimworld,·T>::computeIntersections(const·Dune:: | ||
94 | GeometryType&·grid1ElementType, | ||
95 | 101·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
96 | 102·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
97 | 103·unsigned·int·grid1Index, | ||
98 | 104·const·Dune::GeometryType&·grid2ElementType, | ||
99 | 105·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
100 | 106·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
101 | 107·unsigned·int·grid2Index, | ||
102 | 108·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
103 | 109{ | ||
Max diff block lines reached; 10416/19451 bytes (53.55%) of diff not shown. |
Offset 1531, 15 lines modified | Offset 1531, 15 lines modified | ||
1531 | </div><div·class="memdoc"> | 1531 | </div><div·class="memdoc"> |
1532 | </div> | 1532 | </div> |
1533 | </div> | 1533 | </div> |
1534 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1534 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1535 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> | 1535 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> |
1536 | <li><a·class="el"·href="a00011_source.html">gridglue.cc</a></li> | 1536 | <li><a·class="el"·href="a00011_source.html">gridglue.cc</a></li> |
1537 | <li><a·class="el"·href="a000 | 1537 | <li><a·class="el"·href="a00023_source.html">rangegenerators.hh</a></li> |
1538 | </ul> | 1538 | </ul> |
1539 | </div><!--·contents·--> | 1539 | </div><!--·contents·--> |
1540 | <!--·start·footer·part·--> | 1540 | <!--·start·footer·part·--> |
1541 | <hr·class="footer"/><address·class="footer"><small> | 1541 | <hr·class="footer"/><address·class="footer"><small> |
1542 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1542 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1543 | </small></address> | 1543 | </small></address> |
1544 | </body> | 1544 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
79 | <a·href="a00939.html">List·of·all·members</a>··</div> | 79 | <a·href="a00939.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·>·Class·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·>·Class·Template·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="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00020_source.html">dune/grid-glue/adapter/intersectionindexset.hh</a>></code></p> |
84 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
86 | Public·Types</h2></td></tr> | 86 | Public·Types</h2></td></tr> |
87 | <tr·class="memitem:a3ac00fc1735a79e44041c3fa9856e8f7"·id="r_a3ac00fc1735a79e44041c3fa9856e8f7"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00926.html#a1b4f3fb839fea223e126c0279c14bbcb">GridGlue::IndexType</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a></td></tr> | 87 | <tr·class="memitem:a3ac00fc1735a79e44041c3fa9856e8f7"·id="r_a3ac00fc1735a79e44041c3fa9856e8f7"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00926.html#a1b4f3fb839fea223e126c0279c14bbcb">GridGlue::IndexType</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a></td></tr> |
88 | <tr·class="memdesc:a3ac00fc1735a79e44041c3fa9856e8f7"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·used·for·the·indices.··<br·/></td></tr> | 88 | <tr·class="memdesc:a3ac00fc1735a79e44041c3fa9856e8f7"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·used·for·the·indices.··<br·/></td></tr> |
89 | <tr·class="separator:a3ac00fc1735a79e44041c3fa9856e8f7"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:a3ac00fc1735a79e44041c3fa9856e8f7"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:ac41e66c2413e2e13424ca9a6ce1790be"·id="r_ac41e66c2413e2e13424ca9a6ce1790be"><td·class="memItemLeft"·align="right"·valign="top">typedef·size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a></td></tr> | 90 | <tr·class="memitem:ac41e66c2413e2e13424ca9a6ce1790be"·id="r_ac41e66c2413e2e13424ca9a6ce1790be"><td·class="memItemLeft"·align="right"·valign="top">typedef·size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a></td></tr> |
Offset 199, 15 lines modified | Offset 199, 15 lines modified | ||
199 | <p>Return·total·number·of·intersections.·</p> | 199 | <p>Return·total·number·of·intersections.·</p> |
200 | </div> | 200 | </div> |
201 | </div> | 201 | </div> |
202 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 202 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
203 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> | 203 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> |
204 | <li><a·class="el"·href="a000 | 204 | <li><a·class="el"·href="a00020_source.html">intersectionindexset.hh</a></li> |
205 | </ul> | 205 | </ul> |
206 | </div><!--·contents·--> | 206 | </div><!--·contents·--> |
207 | <!--·start·footer·part·--> | 207 | <!--·start·footer·part·--> |
208 | <hr·class="footer"/><address·class="footer"><small> | 208 | <hr·class="footer"/><address·class="footer"><small> |
209 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 209 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
210 | </small></address> | 210 | </small></address> |
211 | </body> | 211 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GridGlueAmiraWriter·Class·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GridGlueAmiraWriter·Class·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes.·· | 82 | <p>Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes.·· |
83 | ·<a·href="a00946.html#details">More...</a></p> | 83 | ·<a·href="a00946.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/grid-glue/adapter/gridglueamirawriter.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-static-methods"·name="pub-static-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
87 | Static·Public·Member·Functions</h2></td></tr> | 87 | Static·Public·Member·Functions</h2></td></tr> |
88 | <tr·class="memitem:a193d68202d4b2be1ac1c6ef9608df974"·id="r_a193d68202d4b2be1ac1c6ef9608df974"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | 88 | <tr·class="memitem:a193d68202d4b2be1ac1c6ef9608df974"·id="r_a193d68202d4b2be1ac1c6ef9608df974"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> |
89 | <tr·class="memitem:a193d68202d4b2be1ac1c6ef9608df974"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00946.html#a193d68202d4b2be1ac1c6ef9608df974">write</a>·(const·Glue·&glue,·const·std::string·&path,·int·appendix=1)</td></tr> | 89 | <tr·class="memitem:a193d68202d4b2be1ac1c6ef9608df974"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00946.html#a193d68202d4b2be1ac1c6ef9608df974">write</a>·(const·Glue·&glue,·const·std::string·&path,·int·appendix=1)</td></tr> |
90 | <tr·class="separator:a193d68202d4b2be1ac1c6ef9608df974"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a193d68202d4b2be1ac1c6ef9608df974"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table> | 91 | </table> |
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·class·was·generated·from·the·following·file:<ul> | 140 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
141 | <li><a·class="el"·href="a000 | 141 | <li><a·class="el"·href="a00005_source.html">gridglueamirawriter.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-methods">Public·Member·Functions</a>·| | 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
78 | <a·href="a00947.html">List·of·all·members</a>··</div> | 78 | <a·href="a00947.html">List·of·all·members</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GlobalId·Struct·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GlobalId·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="a000 | 82 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/grid-glue/adapter/gridgluecommunicate.hh</a>></code></p> |
83 | <div·class="dynheader"> | 83 | <div·class="dynheader"> |
84 | Inheritance·diagram·for·Dune::GridGlue::GlobalId:</div> | 84 | Inheritance·diagram·for·Dune::GridGlue::GlobalId:</div> |
85 | <div·class="dyncontent"> | 85 | <div·class="dyncontent"> |
86 | <div·class="center"><img·src="a00949.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_global_id_inherit__map"·alt="Inheritance·graph"/></div> | 86 | <div·class="center"><img·src="a00949.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_global_id_inherit__map"·alt="Inheritance·graph"/></div> |
87 | <map·name="a_dune_1_1_grid_glue_1_1_global_id_inherit__map"·id="a_dune_1_1_grid_glue_1_1_global_id_inherit__map"> | 87 | <map·name="a_dune_1_1_grid_glue_1_1_global_id_inherit__map"·id="a_dune_1_1_grid_glue_1_1_global_id_inherit__map"> |
88 | <area·shape="rect"·title="·"·alt=""·coords="5,93,188,119"/> | 88 | <area·shape="rect"·title="·"·alt=""·coords="5,93,188,119"/> |
89 | <area·shape="rect"·title="·"·alt=""·coords="21,5,172,45"/> | 89 | <area·shape="rect"·title="·"·alt=""·coords="21,5,172,45"/> |
Offset 202, 15 lines modified | Offset 202, 15 lines modified | ||
202 | ··</table> | 202 | ··</table> |
203 | ··</dd> | 203 | ··</dd> |
204 | </dl> | 204 | </dl> |
205 | </div> | 205 | </div> |
206 | </div> | 206 | </div> |
207 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 207 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
208 | <li><a·class="el"·href="a000 | 208 | <li><a·class="el"·href="a00017_source.html">gridgluecommunicate.hh</a></li> |
209 | </ul> | 209 | </ul> |
210 | </div><!--·contents·--> | 210 | </div><!--·contents·--> |
211 | <!--·start·footer·part·--> | 211 | <!--·start·footer·part·--> |
212 | <hr·class="footer"/><address·class="footer"><small> | 212 | <hr·class="footer"/><address·class="footer"><small> |
213 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 213 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
214 | </small></address> | 214 | </small></address> |
215 | </body> | 215 | </body> |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·>·Class·Template·Reference</div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>describes·the·features·of·a·data·handle·for·communication·in·parallel·runs·using·the·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5"·title="Communicate·information·on·the·MergedGrid·of·a·GridGlue.">GridGlue::communicate</a>·methods.·· | 84 | <p>describes·the·features·of·a·data·handle·for·communication·in·parallel·runs·using·the·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5"·title="Communicate·information·on·the·MergedGrid·of·a·GridGlue.">GridGlue::communicate</a>·methods.·· |
85 | ·<a·href="a00954.html#details">More...</a></p> | 85 | ·<a·href="a00954.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/grid-glue/adapter/gridgluecommunicate.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:a54e8ccbd2ec2a7412a6f2deacd9a6170"·id="r_a54e8ccbd2ec2a7412a6f2deacd9a6170"><td·class="memItemLeft"·align="right"·valign="top">typedef·DataTypeImp </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00954.html#a54e8ccbd2ec2a7412a6f2deacd9a6170">DataType</a></td></tr> | 90 | <tr·class="memitem:a54e8ccbd2ec2a7412a6f2deacd9a6170"·id="r_a54e8ccbd2ec2a7412a6f2deacd9a6170"><td·class="memItemLeft"·align="right"·valign="top">typedef·DataTypeImp </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00954.html#a54e8ccbd2ec2a7412a6f2deacd9a6170">DataType</a></td></tr> |
91 | <tr·class="memdesc:a54e8ccbd2ec2a7412a6f2deacd9a6170"><td·class="mdescLeft"> </td><td·class="mdescRight">data·type·of·data·to·communicate··<br·/></td></tr> | 91 | <tr·class="memdesc:a54e8ccbd2ec2a7412a6f2deacd9a6170"><td·class="mdescLeft"> </td><td·class="mdescRight">data·type·of·data·to·communicate··<br·/></td></tr> |
92 | <tr·class="separator:a54e8ccbd2ec2a7412a6f2deacd9a6170"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:a54e8ccbd2ec2a7412a6f2deacd9a6170"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
Offset 315, 15 lines modified | Offset 315, 15 lines modified | ||
315 | </table> | 315 | </table> |
316 | </div><div·class="memdoc"> | 316 | </div><div·class="memdoc"> |
317 | <p>how·many·objects·of·type·DataType·have·to·be·sent·for·a·given·intersection·Note:·Both·sender·and·receiver·side·need·to·know·this·size.·</p> | 317 | <p>how·many·objects·of·type·DataType·have·to·be·sent·for·a·given·intersection·Note:·Both·sender·and·receiver·side·need·to·know·this·size.·</p> |
318 | </div> | 318 | </div> |
319 | </div> | 319 | </div> |
320 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 320 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
321 | <li><a·class="el"·href="a000 | 321 | <li><a·class="el"·href="a00017_source.html">gridgluecommunicate.hh</a></li> |
322 | </ul> | 322 | </ul> |
323 | </div><!--·contents·--> | 323 | </div><!--·contents·--> |
324 | <!--·start·footer·part·--> | 324 | <!--·start·footer·part·--> |
325 | <hr·class="footer"/><address·class="footer"><small> | 325 | <hr·class="footer"/><address·class="footer"><small> |
326 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 326 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
327 | </small></address> | 327 | </small></address> |
328 | </body> | 328 | </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="#pub-attribs">Public·Attributes</a>·| | 79 | <a·href="#pub-attribs">Public·Attributes</a>·| |
80 | <a·href="a00955.html">List·of·all·members</a>··</div> | 80 | <a·href="a00955.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::StreamingMessageBuffer<·DT·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::StreamingMessageBuffer<·DT·>·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="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/grid-glue/adapter/gridgluecommunicate.hh</a>></code></p> |
85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
86 | Inheritance·diagram·for·Dune::GridGlue::StreamingMessageBuffer<·DT·>:</div> | 86 | Inheritance·diagram·for·Dune::GridGlue::StreamingMessageBuffer<·DT·>:</div> |
87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
88 | <div·class="center"><img·src="a00957.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_streaming_message_buffer_3_01_d_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a00957.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_streaming_message_buffer_3_01_d_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
89 | <map·name="a_dune_1_1_grid_glue_1_1_streaming_message_buffer_3_01_d_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_streaming_message_buffer_3_01_d_t_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_grid_glue_1_1_streaming_message_buffer_3_01_d_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_streaming_message_buffer_3_01_d_t_01_4_inherit__map"> |
90 | <area·shape="rect"·title="·"·alt=""·coords="13,5,209,45"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="13,5,209,45"/> |
91 | <area·shape="rect"·href="a00958.html"·title="·"·alt=""·coords="5,108,216,148"/> | 91 | <area·shape="rect"·href="a00958.html"·title="·"·alt=""·coords="5,108,216,148"/> |
Offset 341, 15 lines modified | Offset 341, 15 lines modified | ||
341 | ··</tr> | 341 | ··</tr> |
342 | </table> | 342 | </table> |
343 | </div><div·class="memdoc"> | 343 | </div><div·class="memdoc"> |
344 | </div> | 344 | </div> |
345 | </div> | 345 | </div> |
346 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 346 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
347 | <li><a·class="el"·href="a000 | 347 | <li><a·class="el"·href="a00017_source.html">gridgluecommunicate.hh</a></li> |
348 | </ul> | 348 | </ul> |
349 | </div><!--·contents·--> | 349 | </div><!--·contents·--> |
350 | <!--·start·footer·part·--> | 350 | <!--·start·footer·part·--> |
351 | <hr·class="footer"/><address·class="footer"><small> | 351 | <hr·class="footer"/><address·class="footer"><small> |
352 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 352 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
353 | </small></address> | 353 | </small></address> |
354 | </body> | 354 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::CommunicationOperator<·dir·>·Class·Template·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::CommunicationOperator<·dir·>·Class·Template·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·requried·for·communication">CommInfo</a>·class·· | 82 | <p>forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·requried·for·communication">CommInfo</a>·class·· |
83 | ·<a·href="a00962.html#details">More...</a></p> | 83 | ·<a·href="a00962.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/grid-glue/adapter/gridgluecommunicate.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-static-methods"·name="pub-static-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
87 | Static·Public·Member·Functions</h2></td></tr> | 87 | Static·Public·Member·Functions</h2></td></tr> |
88 | <tr·class="memitem:a8b8aa5e79a5ef76897b741003024bbcb"·id="r_a8b8aa5e79a5ef76897b741003024bbcb"><td·class="memTemplParams"·colspan="2">template<class·<a·class="el"·href="a00966.html">CommInfo</a>·>·</td></tr> | 88 | <tr·class="memitem:a8b8aa5e79a5ef76897b741003024bbcb"·id="r_a8b8aa5e79a5ef76897b741003024bbcb"><td·class="memTemplParams"·colspan="2">template<class·<a·class="el"·href="a00966.html">CommInfo</a>·>·</td></tr> |
89 | <tr·class="memitem:a8b8aa5e79a5ef76897b741003024bbcb"><td·class="memTemplItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00966.html#a36338c5d6716f27bfe007ef4656fde48">CommInfo::DataType</a>·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00962.html#a8b8aa5e79a5ef76897b741003024bbcb">gather</a>·(const·<a·class="el"·href="a00966.html">CommInfo</a>·&commInfo,·size_t·i,·size_t·j=0)</td></tr> | 89 | <tr·class="memitem:a8b8aa5e79a5ef76897b741003024bbcb"><td·class="memTemplItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00966.html#a36338c5d6716f27bfe007ef4656fde48">CommInfo::DataType</a>·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00962.html#a8b8aa5e79a5ef76897b741003024bbcb">gather</a>·(const·<a·class="el"·href="a00966.html">CommInfo</a>·&commInfo,·size_t·i,·size_t·j=0)</td></tr> |
90 | <tr·class="separator:a8b8aa5e79a5ef76897b741003024bbcb"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a8b8aa5e79a5ef76897b741003024bbcb"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a0449d8227596ab09cf6a26df7d46f86a"·id="r_a0449d8227596ab09cf6a26df7d46f86a"><td·class="memTemplParams"·colspan="2">template<class·<a·class="el"·href="a00966.html">CommInfo</a>·>·</td></tr> | 91 | <tr·class="memitem:a0449d8227596ab09cf6a26df7d46f86a"·id="r_a0449d8227596ab09cf6a26df7d46f86a"><td·class="memTemplParams"·colspan="2">template<class·<a·class="el"·href="a00966.html">CommInfo</a>·>·</td></tr> |
Offset 197, 15 lines modified | Offset 197, 15 lines modified | ||
197 | ··</tr> | 197 | ··</tr> |
198 | </table> | 198 | </table> |
199 | </div><div·class="memdoc"> | 199 | </div><div·class="memdoc"> |
200 | </div> | 200 | </div> |
201 | </div> | 201 | </div> |
202 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 202 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
203 | <li><a·class="el"·href="a000 | 203 | <li><a·class="el"·href="a00017_source.html">gridgluecommunicate.hh</a></li> |
204 | </ul> | 204 | </ul> |
205 | </div><!--·contents·--> | 205 | </div><!--·contents·--> |
206 | <!--·start·footer·part·--> | 206 | <!--·start·footer·part·--> |
207 | <hr·class="footer"/><address·class="footer"><small> | 207 | <hr·class="footer"/><address·class="footer"><small> |
208 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
209 | </small></address> | 209 | </small></address> |
210 | </body> | 210 | </body> |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·Struct·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·Struct·Template·Reference</div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>collects·all·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>·data·requried·for·communication·· | 84 | <p>collects·all·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>·data·requried·for·communication·· |
85 | ·<a·href="a00966.html#details">More...</a></p> | 85 | ·<a·href="a00966.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/grid-glue/adapter/gridgluecommunicate.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:a34178c39b730eb1758c54e51faecc00f"·id="r_a34178c39b730eb1758c54e51faecc00f"><td·class="memItemLeft"·align="right"·valign="top">typedef·DataTypeImp </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00966.html#a34178c39b730eb1758c54e51faecc00f">value_type</a></td></tr> | 90 | <tr·class="memitem:a34178c39b730eb1758c54e51faecc00f"·id="r_a34178c39b730eb1758c54e51faecc00f"><td·class="memItemLeft"·align="right"·valign="top">typedef·DataTypeImp </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00966.html#a34178c39b730eb1758c54e51faecc00f">value_type</a></td></tr> |
91 | <tr·class="separator:a34178c39b730eb1758c54e51faecc00f"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a34178c39b730eb1758c54e51faecc00f"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a4c7c77eaa8bc9d5441c60a9cb7602b51"·id="r_a4c7c77eaa8bc9d5441c60a9cb7602b51"><td·class="memItemLeft"·align="right"·valign="top">typedef·GG </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00966.html#a4c7c77eaa8bc9d5441c60a9cb7602b51">GridGlue</a></td></tr> | 92 | <tr·class="memitem:a4c7c77eaa8bc9d5441c60a9cb7602b51"·id="r_a4c7c77eaa8bc9d5441c60a9cb7602b51"><td·class="memItemLeft"·align="right"·valign="top">typedef·GG </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00966.html#a4c7c77eaa8bc9d5441c60a9cb7602b51">GridGlue</a></td></tr> |
93 | <tr·class="separator:a4c7c77eaa8bc9d5441c60a9cb7602b51"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:a4c7c77eaa8bc9d5441c60a9cb7602b51"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 290, 15 lines modified | Offset 290, 15 lines modified | ||
290 | ········</tr> | 290 | ········</tr> |
291 | ······</table> | 291 | ······</table> |
292 | </div><div·class="memdoc"> | 292 | </div><div·class="memdoc"> |
293 | </div> | 293 | </div> |
294 | </div> | 294 | </div> |
295 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 295 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
296 | <li><a·class="el"·href="a000 | 296 | <li><a·class="el"·href="a00017_source.html">gridgluecommunicate.hh</a></li> |
297 | </ul> | 297 | </ul> |
298 | </div><!--·contents·--> | 298 | </div><!--·contents·--> |
299 | <!--·start·footer·part·--> | 299 | <!--·start·footer·part·--> |
300 | <hr·class="footer"/><address·class="footer"><small> | 300 | <hr·class="footer"/><address·class="footer"><small> |
301 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 301 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
302 | </small></address> | 302 | </small></address> |
303 | </body> | 303 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::CommPolicy<·::Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·>·Struct·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::CommPolicy<·::Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·>·Struct·Template·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>specialization·of·the·CommPolicy·struct,·required·for·the·ParallelIndexsets·· | 83 | <p>specialization·of·the·CommPolicy·struct,·required·for·the·ParallelIndexsets·· |
84 | ·<a·href="a00970.html#details">More...</a></p> | 84 | ·<a·href="a00970.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/grid-glue/adapter/gridgluecommunicate.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-types"·name="pub-types"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
88 | Public·Types</h2></td></tr> | 88 | Public·Types</h2></td></tr> |
89 | <tr·class="memitem:a59a39f808519ccf7d305ca2366a3e713"·id="r_a59a39f808519ccf7d305ca2366a3e713"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00966.html">::Dune::GridGlue::CommInfo</a><·GG,·DataHandleImp,·DataTypeImp·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00970.html#a59a39f808519ccf7d305ca2366a3e713">Type</a></td></tr> | 89 | <tr·class="memitem:a59a39f808519ccf7d305ca2366a3e713"·id="r_a59a39f808519ccf7d305ca2366a3e713"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00966.html">::Dune::GridGlue::CommInfo</a><·GG,·DataHandleImp,·DataTypeImp·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00970.html#a59a39f808519ccf7d305ca2366a3e713">Type</a></td></tr> |
90 | <tr·class="memdesc:a59a39f808519ccf7d305ca2366a3e713"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·the·GridGlueCommInfo.··<br·/></td></tr> | 90 | <tr·class="memdesc:a59a39f808519ccf7d305ca2366a3e713"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·the·GridGlueCommInfo.··<br·/></td></tr> |
91 | <tr·class="separator:a59a39f808519ccf7d305ca2366a3e713"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:a59a39f808519ccf7d305ca2366a3e713"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a546bc90a4dd1b70dad7b7cdf7fe299f9"·id="r_a546bc90a4dd1b70dad7b7cdf7fe299f9"><td·class="memItemLeft"·align="right"·valign="top">typedef·DataTypeImp </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00970.html#a546bc90a4dd1b70dad7b7cdf7fe299f9">IndexedType</a></td></tr> | 92 | <tr·class="memitem:a546bc90a4dd1b70dad7b7cdf7fe299f9"·id="r_a546bc90a4dd1b70dad7b7cdf7fe299f9"><td·class="memItemLeft"·align="right"·valign="top">typedef·DataTypeImp </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00970.html#a546bc90a4dd1b70dad7b7cdf7fe299f9">IndexedType</a></td></tr> |
Offset 200, 15 lines modified | Offset 200, 15 lines modified | ||
200 | </div><div·class="memdoc"> | 200 | </div><div·class="memdoc"> |
201 | <p>Get·the·number·of·objects·at·an·intersection.·</p> | 201 | <p>Get·the·number·of·objects·at·an·intersection.·</p> |
202 | </div> | 202 | </div> |
203 | </div> | 203 | </div> |
204 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 204 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
205 | <li><a·class="el"·href="a000 | 205 | <li><a·class="el"·href="a00017_source.html">gridgluecommunicate.hh</a></li> |
206 | </ul> | 206 | </ul> |
207 | </div><!--·contents·--> | 207 | </div><!--·contents·--> |
208 | <!--·start·footer·part·--> | 208 | <!--·start·footer·part·--> |
209 | <hr·class="footer"/><address·class="footer"><small> | 209 | <hr·class="footer"/><address·class="footer"><small> |
210 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 210 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
211 | </small></address> | 211 | </small></address> |
212 | </body> | 212 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GridGlueVtkWriter·Class·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GridGlueVtkWriter·Class·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Write·remote·intersections·to·a·vtk·file·for·debugging·purposes.·· | 82 | <p>Write·remote·intersections·to·a·vtk·file·for·debugging·purposes.·· |
83 | ·<a·href="a00974.html#details">More...</a></p> | 83 | ·<a·href="a00974.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00008_source.html">dune/grid-glue/adapter/gridgluevtkwriter.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-static-methods"·name="pub-static-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
87 | Static·Public·Member·Functions</h2></td></tr> | 87 | Static·Public·Member·Functions</h2></td></tr> |
88 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"·id="r_acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | 88 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"·id="r_acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> |
89 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00974.html#acf41d8fa1f905cb3c6afe530fce66772">write</a>·(const·Glue·&glue,·const·std::string·&filenameTrunk)</td></tr> | 89 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00974.html#acf41d8fa1f905cb3c6afe530fce66772">write</a>·(const·Glue·&glue,·const·std::string·&filenameTrunk)</td></tr> |
90 | <tr·class="separator:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table> | 91 | </table> |
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="a00008_source.html">gridgluevtkwriter.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 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="#related">Related·Symbols</a>·| | 79 | <a·href="#related">Related·Symbols</a>·| |
80 | <a·href="a00983.html">List·of·all·members</a>··</div> | 80 | <a·href="a00983.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Reverse<·reverse·>·Struct·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Reverse<·reverse·>·Struct·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="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00023_source.html">dune/grid-glue/adapter/rangegenerators.hh</a>></code></p> |
85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
86 | Inheritance·diagram·for·Dune::GridGlue::Reverse<·reverse·>:</div> | 86 | Inheritance·diagram·for·Dune::GridGlue::Reverse<·reverse·>:</div> |
87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
88 | <div·class="center"><img·src="a00985.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_reverse_3_01reverse_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a00985.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_reverse_3_01reverse_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
89 | <map·name="a_dune_1_1_grid_glue_1_1_reverse_3_01reverse_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_reverse_3_01reverse_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_grid_glue_1_1_reverse_3_01reverse_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_reverse_3_01reverse_01_4_inherit__map"> |
90 | <area·shape="rect"·title="·"·alt=""·coords="5,93,188,133"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="5,93,188,133"/> |
91 | <area·shape="rect"·title="·"·alt=""·coords="15,5,178,45"/> | 91 | <area·shape="rect"·title="·"·alt=""·coords="15,5,178,45"/> |
Offset 182, 15 lines modified | Offset 182, 15 lines modified | ||
182 | </table> | 182 | </table> |
183 | </div><div·class="memdoc"> | 183 | </div><div·class="memdoc"> |
184 | <p>Static·tag·representing·reversal·of·in-·and·outside·of·intersections.·</p> | 184 | <p>Static·tag·representing·reversal·of·in-·and·outside·of·intersections.·</p> |
185 | </div> | 185 | </div> |
186 | </div> | 186 | </div> |
187 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 187 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
188 | <li><a·class="el"·href="a000 | 188 | <li><a·class="el"·href="a00023_source.html">rangegenerators.hh</a></li> |
189 | </ul> | 189 | </ul> |
190 | </div><!--·contents·--> | 190 | </div><!--·contents·--> |
191 | <!--·start·footer·part·--> | 191 | <!--·start·footer·part·--> |
192 | <hr·class="footer"/><address·class="footer"><small> | 192 | <hr·class="footer"/><address·class="footer"><small> |
193 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 193 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
194 | </small></address> | 194 | </small></address> |
195 | </body> | 195 | </body> |
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="a00987.html">List·of·all·members</a>··</div> | 78 | <a·href="a00987.html">List·of·all·members</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::AreaWriterImplementation::FacetLayout<·dimgrid·>·Struct·Template·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::AreaWriterImplementation::FacetLayout<·dimgrid·>·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="a00050_source.html">dune/grid-glue/common/areawriter_impl.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:a0b798955dfeaee197a8fa79acc46d85d"·id="r_a0b798955dfeaee197a8fa79acc46d85d"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">contains</a>·(Dune::GeometryType·gt)·const</td></tr> | 86 | <tr·class="memitem:a0b798955dfeaee197a8fa79acc46d85d"·id="r_a0b798955dfeaee197a8fa79acc46d85d"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">contains</a>·(Dune::GeometryType·gt)·const</td></tr> |
87 | <tr·class="separator:a0b798955dfeaee197a8fa79acc46d85d"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:a0b798955dfeaee197a8fa79acc46d85d"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | </table> | 88 | </table> |
89 | <h2·class="groupheader">Member·Function·Documentation</h2> | 89 | <h2·class="groupheader">Member·Function·Documentation</h2> |
Offset 113, 15 lines modified | Offset 113, 15 lines modified | ||
113 | ··</tr> | 113 | ··</tr> |
114 | </table> | 114 | </table> |
115 | </div><div·class="memdoc"> | 115 | </div><div·class="memdoc"> |
116 | </div> | 116 | </div> |
117 | </div> | 117 | </div> |
118 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 118 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
119 | <li><a·class="el"·href="a000 | 119 | <li><a·class="el"·href="a00050_source.html">areawriter_impl.hh</a></li> |
120 | </ul> | 120 | </ul> |
121 | </div><!--·contents·--> | 121 | </div><!--·contents·--> |
122 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
123 | <hr·class="footer"/><address·class="footer"><small> | 123 | <hr·class="footer"/><address·class="footer"><small> |
124 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.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 |
125 | </small></address> | 125 | </small></address> |
126 | </body> | 126 | </body> |
Offset 82, 15 lines modified | Offset 82, 15 lines modified | ||
82 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Projection<·Coordinate·>·Class·Template·Reference</div></div> | 82 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Projection<·Coordinate·>·Class·Template·Reference</div></div> |
83 | </div><!--header--> | 83 | </div><!--header--> |
84 | <div·class="contents"> | 84 | <div·class="contents"> |
85 | <p><a·class="el"·href="a00994.html"·title="Projection·of·a·line·(triangle)·on·another·line·(triangle).">Projection</a>·of·a·line·(triangle)·on·another·line·(triangle).·· | 85 | <p><a·class="el"·href="a00994.html"·title="Projection·of·a·line·(triangle)·on·another·line·(triangle).">Projection</a>·of·a·line·(triangle)·on·another·line·(triangle).·· |
86 | ·<a·href="a00994.html#details">More...</a></p> | 86 | ·<a·href="a00994.html#details">More...</a></p> |
87 | <p><code>#include·<<a·class="el"·href="a000 | 87 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/grid-glue/common/projection.hh</a>></code></p> |
88 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
90 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00998.html">EdgeIntersection</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="a00998.html">EdgeIntersection</a></td></tr> |
92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·between·two·edges·of·a·triangle.··<a·href="a00998.html#details">More...</a><br·/></td></tr> | 92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·between·two·edges·of·a·triangle.··<a·href="a00998.html#details">More...</a><br·/></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
Offset 492, 15 lines modified | Offset 492, 15 lines modified | ||
492 | <p>maximum·number·of·edge-edge·intersections·</p> | 492 | <p>maximum·number·of·edge-edge·intersections·</p> |
493 | <p>See·also·\seealso·<a·class="el"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5"·title="Edge-edge·intersections.">edgeIntersections()</a>·</p> | 493 | <p>See·also·\seealso·<a·class="el"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5"·title="Edge-edge·intersections.">edgeIntersections()</a>·</p> |
494 | </div> | 494 | </div> |
495 | </div> | 495 | </div> |
496 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 496 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
497 | <li><a·class="el"·href="a000 | 497 | <li><a·class="el"·href="a00035_source.html">projection.hh</a></li> |
498 | <li><a·class="el"·href="a00047_source.html">projection_impl.hh</a></li> | 498 | <li><a·class="el"·href="a00047_source.html">projection_impl.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> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Projection<·Coordinate·>::EdgeIntersection·Struct·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Projection<·Coordinate·>::EdgeIntersection·Struct·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·between·two·edges·of·a·triangle.·· | 82 | <p><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·between·two·edges·of·a·triangle.·· |
83 | ·<a·href="a00998.html#details">More...</a></p> | 83 | ·<a·href="a00998.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/grid-glue/common/projection.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-attribs"·name="pub-attribs"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
87 | Public·Attributes</h2></td></tr> | 87 | Public·Attributes</h2></td></tr> |
88 | <tr·class="memitem:ab90b76190e394936843aa6b2660daa4b"·id="r_ab90b76190e394936843aa6b2660daa4b"><td·class="memItemLeft"·align="right"·valign="top">std::array<·unsigned,·2·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">edge</a></td></tr> | 88 | <tr·class="memitem:ab90b76190e394936843aa6b2660daa4b"·id="r_ab90b76190e394936843aa6b2660daa4b"><td·class="memItemLeft"·align="right"·valign="top">std::array<·unsigned,·2·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">edge</a></td></tr> |
89 | <tr·class="memdesc:ab90b76190e394936843aa6b2660daa4b"><td·class="mdescLeft"> </td><td·class="mdescRight">Edge·numbers·in·image·and·preimage·triangle.··<br·/></td></tr> | 89 | <tr·class="memdesc:ab90b76190e394936843aa6b2660daa4b"><td·class="mdescLeft"> </td><td·class="mdescRight">Edge·numbers·in·image·and·preimage·triangle.··<br·/></td></tr> |
90 | <tr·class="separator:ab90b76190e394936843aa6b2660daa4b"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:ab90b76190e394936843aa6b2660daa4b"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a9f56ba8b83f7c78628392e802a09da36"·id="r_a9f56ba8b83f7c78628392e802a09da36"><td·class="memItemLeft"·align="right"·valign="top">std::array<·Coordinate,·2·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">local</a></td></tr> | 91 | <tr·class="memitem:a9f56ba8b83f7c78628392e802a09da36"·id="r_a9f56ba8b83f7c78628392e802a09da36"><td·class="memItemLeft"·align="right"·valign="top">std::array<·Coordinate,·2·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">local</a></td></tr> |
Offset 133, 15 lines modified | Offset 133, 15 lines modified | ||
133 | <p>Local·coordinates·of·intersection·and·distance·along·normals.·</p> | 133 | <p>Local·coordinates·of·intersection·and·distance·along·normals.·</p> |
134 | <p>Local·coordinate·of·intersection·point·in·barycentric·coordinates·with·respect·to·image·and·preimage·triangle.·</p> | 134 | <p>Local·coordinate·of·intersection·point·in·barycentric·coordinates·with·respect·to·image·and·preimage·triangle.·</p> |
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="a00035_source.html">projection.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 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | <a·href="#pro-types">Protected·Types</a>·| | 80 | <a·href="#pro-types">Protected·Types</a>·| |
81 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 81 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
82 | <a·href="a01031.html">List·of·all·members</a>··</div> | 82 | <a·href="a01031.html">List·of·all·members</a>··</div> |
83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Codim1Extractor<·GV·>·Class·Template·Reference</div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Codim1Extractor<·GV·>·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="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00059_source.html">dune/grid-glue/extractors/codim1extractor.hh</a>></code></p> |
87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
88 | Inheritance·diagram·for·Dune::GridGlue::Codim1Extractor<·GV·>:</div> | 88 | Inheritance·diagram·for·Dune::GridGlue::Codim1Extractor<·GV·>:</div> |
89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
90 | <div·class="center"><img·src="a01033.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01033.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
91 | <map·name="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"> |
92 | <area·shape="rect"·title="·"·alt=""·coords="5,197,244,237"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="5,197,244,237"/> |
93 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="31,108,219,148"/> | 93 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="31,108,219,148"/> |
Offset 1336, 15 lines modified | Offset 1336, 15 lines modified | ||
1336 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> | 1336 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> |
1337 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> | 1337 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> |
1338 | </div> | 1338 | </div> |
1339 | </div> | 1339 | </div> |
1340 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1340 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1341 | <li><a·class="el"·href="a000 | 1341 | <li><a·class="el"·href="a00059_source.html">codim1extractor.hh</a></li> |
1342 | </ul> | 1342 | </ul> |
1343 | </div><!--·contents·--> | 1343 | </div><!--·contents·--> |
1344 | <!--·start·footer·part·--> | 1344 | <!--·start·footer·part·--> |
1345 | <hr·class="footer"/><address·class="footer"><small> | 1345 | <hr·class="footer"/><address·class="footer"><small> |
1346 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1346 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1347 | </small></address> | 1347 | </small></address> |
1348 | </body> | 1348 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>·Class·Template·Reference</div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>·Class·Template·Reference</div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Provides·codimension-independent·methods·for·grid·extraction.·· | 87 | <p>Provides·codimension-independent·methods·for·grid·extraction.·· |
88 | ·<a·href="a01038.html#details">More...</a></p> | 88 | ·<a·href="a01038.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a000 | 89 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
91 | Inheritance·diagram·for·Dune::GridGlue::Extractor<·GV,·cd·>:</div> | 91 | Inheritance·diagram·for·Dune::GridGlue::Extractor<·GV,·cd·>:</div> |
92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
93 | <div·class="center"><img·src="a01037.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01037.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
94 | <map·name="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"> |
95 | <area·shape="rect"·title="Provides·codimension-independent·methods·for·grid·extraction."·alt=""·coords="149,5,337,45"/> | 95 | <area·shape="rect"·title="Provides·codimension-independent·methods·for·grid·extraction."·alt=""·coords="149,5,337,45"/> |
96 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="44,108,232,148"/> | 96 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="44,108,232,148"/> |
Offset 1230, 15 lines modified | Offset 1230, 15 lines modified | ||
1230 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> | 1230 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> |
1231 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> | 1231 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> |
1232 | </div> | 1232 | </div> |
1233 | </div> | 1233 | </div> |
1234 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1234 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1235 | <li><a·class="el"·href="a000 | 1235 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
1236 | </ul> | 1236 | </ul> |
1237 | </div><!--·contents·--> | 1237 | </div><!--·contents·--> |
1238 | <!--·start·footer·part·--> | 1238 | <!--·start·footer·part·--> |
1239 | <hr·class="footer"/><address·class="footer"><small> | 1239 | <hr·class="footer"/><address·class="footer"><small> |
1240 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1240 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1241 | </small></address> | 1241 | </small></address> |
1242 | </body> | 1242 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo·Struct·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo·Struct·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.·· | 82 | <p>Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.·· |
83 | ·<a·href="a01042.html#details">More...</a></p> | 83 | ·<a·href="a01042.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.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-attribs"·name="pub-attribs"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
87 | Public·Attributes</h2></td></tr> | 87 | Public·Attributes</h2></td></tr> |
88 | <tr·class="memitem:a3b8d1d0d696b92822fbc1157a64b5844"·id="r_a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a3b8d1d0d696b92822fbc1157a64b5844">idx</a>:·28</td></tr> | 88 | <tr·class="memitem:a3b8d1d0d696b92822fbc1157a64b5844"·id="r_a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a3b8d1d0d696b92822fbc1157a64b5844">idx</a>:·28</td></tr> |
89 | <tr·class="memdesc:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="mdescLeft"> </td><td·class="mdescRight">index·of·the·vertex··<br·/></td></tr> | 89 | <tr·class="memdesc:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="mdescLeft"> </td><td·class="mdescRight">index·of·the·vertex··<br·/></td></tr> |
90 | <tr·class="separator:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a502e35e622af6a8101e9aa1a765f60d2"·id="r_a502e35e622af6a8101e9aa1a765f60d2"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a502e35e622af6a8101e9aa1a765f60d2">num</a>:·4</td></tr> | 91 | <tr·class="memitem:a502e35e622af6a8101e9aa1a765f60d2"·id="r_a502e35e622af6a8101e9aa1a765f60d2"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a502e35e622af6a8101e9aa1a765f60d2">num</a>:·4</td></tr> |
Offset 131, 15 lines modified | Offset 131, 15 lines modified | ||
131 | </div><div·class="memdoc"> | 131 | </div><div·class="memdoc"> |
132 | <p>element·corner·</p> | 132 | <p>element·corner·</p> |
133 | </div> | 133 | </div> |
134 | </div> | 134 | </div> |
135 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 135 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
136 | <li><a·class="el"·href="a000 | 136 | <li><a·class="el"·href="a00062_source.html">extractor.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 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="a01043.html">List·of·all·members</a>··</div> | 79 | <a·href="a01043.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo·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="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
84 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
86 | Public·Member·Functions</h2></td></tr> | 86 | Public·Member·Functions</h2></td></tr> |
87 | <tr·class="memitem:a7e31ac588316151d0ea70e79a0ff5c86"·id="r_a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a7e31ac588316151d0ea70e79a0ff5c86">CoordinateInfo</a>·()</td></tr> | 87 | <tr·class="memitem:a7e31ac588316151d0ea70e79a0ff5c86"·id="r_a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a7e31ac588316151d0ea70e79a0ff5c86">CoordinateInfo</a>·()</td></tr> |
88 | <tr·class="separator:a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a06fec45f891707a747e8390ce49a1961"·id="r_a06fec45f891707a747e8390ce49a1961"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a06fec45f891707a747e8390ce49a1961">CoordinateInfo</a>·(unsigned·int·index_,·<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·vtxindex_)</td></tr> | 89 | <tr·class="memitem:a06fec45f891707a747e8390ce49a1961"·id="r_a06fec45f891707a747e8390ce49a1961"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a06fec45f891707a747e8390ce49a1961">CoordinateInfo</a>·(unsigned·int·index_,·<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·vtxindex_)</td></tr> |
90 | <tr·class="separator:a06fec45f891707a747e8390ce49a1961"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a06fec45f891707a747e8390ce49a1961"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 220, 15 lines modified | Offset 220, 15 lines modified | ||
220 | </div><div·class="memdoc"> | 220 | </div><div·class="memdoc"> |
221 | <p>the·index·of·the·parent·element·(from·index·set)·</p> | 221 | <p>the·index·of·the·parent·element·(from·index·set)·</p> |
222 | </div> | 222 | </div> |
223 | </div> | 223 | </div> |
224 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 224 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
225 | <li><a·class="el"·href="a000 | 225 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
226 | </ul> | 226 | </ul> |
227 | </div><!--·contents·--> | 227 | </div><!--·contents·--> |
228 | <!--·start·footer·part·--> | 228 | <!--·start·footer·part·--> |
229 | <hr·class="footer"/><address·class="footer"><small> | 229 | <hr·class="footer"/><address·class="footer"><small> |
230 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 230 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
231 | </small></address> | 231 | </small></address> |
232 | </body> | 232 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>simple·struct·holding·a·vertex·pointer·and·an·index·· | 83 | <p>simple·struct·holding·a·vertex·pointer·and·an·index·· |
84 | ·<a·href="a01050.html#details">More...</a></p> | 84 | ·<a·href="a01050.html#details">More...</a></p> |
85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.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:a5932db102261d9fb7233d66f3b3e3b3a"·id="r_a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html#a5932db102261d9fb7233d66f3b3e3b3a">VertexInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">Vertex</a>·&p_)</td></tr> | 89 | <tr·class="memitem:a5932db102261d9fb7233d66f3b3e3b3a"·id="r_a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html#a5932db102261d9fb7233d66f3b3e3b3a">VertexInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">Vertex</a>·&p_)</td></tr> |
90 | <tr·class="separator:a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 170, 15 lines modified | Offset 170, 15 lines modified | ||
170 | ········</tr> | 170 | ········</tr> |
171 | ······</table> | 171 | ······</table> |
172 | </div><div·class="memdoc"> | 172 | </div><div·class="memdoc"> |
173 | </div> | 173 | </div> |
174 | </div> | 174 | </div> |
175 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 175 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
176 | <li><a·class="el"·href="a000 | 176 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
177 | </ul> | 177 | </ul> |
178 | </div><!--·contents·--> | 178 | </div><!--·contents·--> |
179 | <!--·start·footer·part·--> | 179 | <!--·start·footer·part·--> |
180 | <hr·class="footer"/><address·class="footer"><small> | 180 | <hr·class="footer"/><address·class="footer"><small> |
181 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 181 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
182 | </small></address> | 182 | </small></address> |
183 | </body> | 183 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>simple·struct·holding·an·element·seed·and·an·index·· | 83 | <p>simple·struct·holding·an·element·seed·and·an·index·· |
84 | ·<a·href="a01054.html#details">More...</a></p> | 84 | ·<a·href="a01054.html#details">More...</a></p> |
85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.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:acf8db29446405385691d936f984225bf"·id="r_acf8db29446405385691d936f984225bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html#acf8db29446405385691d936f984225bf">ElementInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>·&p_,·unsigned·int·f_)</td></tr> | 89 | <tr·class="memitem:acf8db29446405385691d936f984225bf"·id="r_acf8db29446405385691d936f984225bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html#acf8db29446405385691d936f984225bf">ElementInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>·&p_,·unsigned·int·f_)</td></tr> |
90 | <tr·class="separator:acf8db29446405385691d936f984225bf"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:acf8db29446405385691d936f984225bf"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 203, 15 lines modified | Offset 203, 15 lines modified | ||
203 | </div><div·class="memdoc"> | 203 | </div><div·class="memdoc"> |
204 | <p>the·entity·seed·for·the·element·</p> | 204 | <p>the·entity·seed·for·the·element·</p> |
205 | </div> | 205 | </div> |
206 | </div> | 206 | </div> |
207 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 207 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
208 | <li><a·class="el"·href="a000 | 208 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
209 | </ul> | 209 | </ul> |
210 | </div><!--·contents·--> | 210 | </div><!--·contents·--> |
211 | <!--·start·footer·part·--> | 211 | <!--·start·footer·part·--> |
212 | <hr·class="footer"/><address·class="footer"><small> | 212 | <hr·class="footer"/><address·class="footer"><small> |
213 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 213 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
214 | </small></address> | 214 | </small></address> |
215 | </body> | 215 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.·· | 83 | <p>Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.·· |
84 | ·<a·href="a01058.html#details">More...</a></p> | 84 | ·<a·href="a01058.html#details">More...</a></p> |
85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.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:ac8b5c632a49c15163dc585688791480a"·id="r_ac8b5c632a49c15163dc585688791480a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#ac8b5c632a49c15163dc585688791480a">SubEntityInfo</a>·()</td></tr> | 89 | <tr·class="memitem:ac8b5c632a49c15163dc585688791480a"·id="r_ac8b5c632a49c15163dc585688791480a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#ac8b5c632a49c15163dc585688791480a">SubEntityInfo</a>·()</td></tr> |
90 | <tr·class="separator:ac8b5c632a49c15163dc585688791480a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:ac8b5c632a49c15163dc585688791480a"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a446bf736e9a759c5e306195b494bc9bf"·id="r_a446bf736e9a759c5e306195b494bc9bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#a446bf736e9a759c5e306195b494bc9bf">SubEntityInfo</a>·(<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·parent_,·unsigned·int·num_in_parent_,·const·Dune::GeometryType·&geometryType)</td></tr> | 91 | <tr·class="memitem:a446bf736e9a759c5e306195b494bc9bf"·id="r_a446bf736e9a759c5e306195b494bc9bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#a446bf736e9a759c5e306195b494bc9bf">SubEntityInfo</a>·(<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·parent_,·unsigned·int·num_in_parent_,·const·Dune::GeometryType·&geometryType)</td></tr> |
92 | <tr·class="separator:a446bf736e9a759c5e306195b494bc9bf"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:a446bf736e9a759c5e306195b494bc9bf"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 284, 15 lines modified | Offset 284, 15 lines modified | ||
284 | </div><div·class="memdoc"> | 284 | </div><div·class="memdoc"> |
285 | <p>the·index·of·the·parent·element·(from·index·set)·</p> | 285 | <p>the·index·of·the·parent·element·(from·index·set)·</p> |
286 | </div> | 286 | </div> |
287 | </div> | 287 | </div> |
288 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 288 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
289 | <li><a·class="el"·href="a000 | 289 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
290 | </ul> | 290 | </ul> |
291 | </div><!--·contents·--> | 291 | </div><!--·contents·--> |
292 | <!--·start·footer·part·--> | 292 | <!--·start·footer·part·--> |
293 | <hr·class="footer"/><address·class="footer"><small> | 293 | <hr·class="footer"/><address·class="footer"><small> |
294 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 294 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
295 | </small></address> | 295 | </small></address> |
296 | </body> | 296 | </body> |
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="#pro-methods">Protected·Member·Functions</a>·| | 78 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
79 | <a·href="a01059.html">List·of·all·members</a>··</div> | 79 | <a·href="a01059.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::VtkSurfaceWriter·Class·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::VtkSurfaceWriter·Class·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="a0005 | 83 | <p><code>#include·<<a·class="el"·href="a00053_source.html">dune/grid-glue/extractors/vtksurfacewriter.hh</a>></code></p> |
84 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
86 | Public·Member·Functions</h2></td></tr> | 86 | Public·Member·Functions</h2></td></tr> |
87 | <tr·class="memitem:ac46ef37ddfd4e02737c09fedb8d0bdfb"·id="r_ac46ef37ddfd4e02737c09fedb8d0bdfb"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">VtkSurfaceWriter</a>·(const·char·*filename)</td></tr> | 87 | <tr·class="memitem:ac46ef37ddfd4e02737c09fedb8d0bdfb"·id="r_ac46ef37ddfd4e02737c09fedb8d0bdfb"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">VtkSurfaceWriter</a>·(const·char·*filename)</td></tr> |
88 | <tr·class="separator:ac46ef37ddfd4e02737c09fedb8d0bdfb"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:ac46ef37ddfd4e02737c09fedb8d0bdfb"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a9eb66d05bf2ea43ca182838c2ef91b9a"·id="r_a9eb66d05bf2ea43ca182838c2ef91b9a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">~VtkSurfaceWriter</a>·()</td></tr> | 89 | <tr·class="memitem:a9eb66d05bf2ea43ca182838c2ef91b9a"·id="r_a9eb66d05bf2ea43ca182838c2ef91b9a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">~VtkSurfaceWriter</a>·()</td></tr> |
90 | <tr·class="separator:a9eb66d05bf2ea43ca182838c2ef91b9a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a9eb66d05bf2ea43ca182838c2ef91b9a"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 563, 15 lines modified | Offset 563, 15 lines modified | ||
563 | ··</tr> | 563 | ··</tr> |
564 | </table> | 564 | </table> |
565 | </div><div·class="memdoc"> | 565 | </div><div·class="memdoc"> |
566 | </div> | 566 | </div> |
567 | </div> | 567 | </div> |
568 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 568 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
569 | <li><a·class="el"·href="a0005 | 569 | <li><a·class="el"·href="a00053_source.html">vtksurfacewriter.hh</a></li> |
570 | </ul> | 570 | </ul> |
571 | </div><!--·contents·--> | 571 | </div><!--·contents·--> |
572 | <!--·start·footer·part·--> | 572 | <!--·start·footer·part·--> |
573 | <hr·class="footer"/><address·class="footer"><small> | 573 | <hr·class="footer"/><address·class="footer"><small> |
574 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 574 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
575 | </small></address> | 575 | </small></address> |
576 | </body> | 576 | </body> |
Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
78 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 78 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 79 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
80 | <a·href="a01063.html">List·of·all·members</a>··</div> | 80 | <a·href="a01063.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ComputationMethod<·dimWorld,·dim1,·dim2,·T·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ComputationMethod<·dimWorld,·dim1,·dim2,·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="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00089_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code></p> |
85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
86 | Inheritance·diagram·for·Dune::GridGlue::ComputationMethod<·dimWorld,·dim1,·dim2,·T·>:</div> | 86 | Inheritance·diagram·for·Dune::GridGlue::ComputationMethod<·dimWorld,·dim1,·dim2,·T·>:</div> |
87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
88 | <div·class="center"><img·src="a01065.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_computation_method_3_01dim_world_00_01dim1_00_01dim2_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01065.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_computation_method_3_01dim_world_00_01dim1_00_01dim2_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
89 | <map·name="a_dune_1_1_grid_glue_1_1_computation_method_3_01dim_world_00_01dim1_00_01dim2_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_computation_method_3_01dim_world_00_01dim1_00_01dim2_00_01_t_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_grid_glue_1_1_computation_method_3_01dim_world_00_01dim1_00_01dim2_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_computation_method_3_01dim_world_00_01dim1_00_01dim2_00_01_t_01_4_inherit__map"> |
90 | <area·shape="rect"·title="·"·alt=""·coords="5,333,219,388"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="5,333,219,388"/> |
91 | <area·shape="rect"·href="a01066.html"·title="·"·alt=""·coords="461,5,675,60"/> | 91 | <area·shape="rect"·href="a01066.html"·title="·"·alt=""·coords="461,5,675,60"/> |
Offset 391, 15 lines modified | Offset 391, 15 lines modified | ||
391 | ··</tr> | 391 | ··</tr> |
392 | </table> | 392 | </table> |
393 | </div><div·class="memdoc"> | 393 | </div><div·class="memdoc"> |
394 | </div> | 394 | </div> |
395 | </div> | 395 | </div> |
396 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 396 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
397 | <li><a·class="el"·href="a000 | 397 | <li><a·class="el"·href="a00089_source.html">computeintersection.hh</a></li> |
398 | </ul> | 398 | </ul> |
399 | </div><!--·contents·--> | 399 | </div><!--·contents·--> |
400 | <!--·start·footer·part·--> | 400 | <!--·start·footer·part·--> |
401 | <hr·class="footer"/><address·class="footer"><small> | 401 | <hr·class="footer"/><address·class="footer"><small> |
402 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 402 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
403 | </small></address> | 403 | </small></address> |
404 | </body> | 404 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionComputation<·CM·>·Class·Template·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionComputation<·CM·>·Class·Template·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·computation·method·for·two·elements·of·arbitrary·dimension.·· | 82 | <p><a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Intersection</a>·computation·method·for·two·elements·of·arbitrary·dimension.·· |
83 | ·<a·href="a01070.html#details">More...</a></p> | 83 | ·<a·href="a01070.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00089_source.html">dune/grid-glue/merging/computeintersection.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-static-methods"·name="pub-static-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
87 | Static·Public·Member·Functions</h2></td></tr> | 87 | Static·Public·Member·Functions</h2></td></tr> |
88 | <tr·class="memitem:af0e7174467aa9c3bbda479bdfdcabf48"·id="r_af0e7174467aa9c3bbda479bdfdcabf48"><td·class="memItemLeft"·align="right"·valign="top">static·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">computeIntersection</a>·(const·std::vector<·V·>·&X,·const·std::vector<·V·>·&Y,·std::vector<·std::vector<·int·>·>·&SX,·std::vector<·std::vector<·int·>·>·&SY,·std::vector<·V·>·&P)</td></tr> | 88 | <tr·class="memitem:af0e7174467aa9c3bbda479bdfdcabf48"·id="r_af0e7174467aa9c3bbda479bdfdcabf48"><td·class="memItemLeft"·align="right"·valign="top">static·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">computeIntersection</a>·(const·std::vector<·V·>·&X,·const·std::vector<·V·>·&Y,·std::vector<·std::vector<·int·>·>·&SX,·std::vector<·std::vector<·int·>·>·&SY,·std::vector<·V·>·&P)</td></tr> |
89 | <tr·class="memdesc:af0e7174467aa9c3bbda479bdfdcabf48"><td·class="mdescLeft"> </td><td·class="mdescRight">Compute·the·intersection·of·two·elements·X·and·Y·Compute·the·intersection·of·two·elements·X·and·Y,·where·X·is·of·dimension·dim1·and·Y·is·of·dimension·dim2·and·return·a·vector·P·containing·the·corner·points·of·the·intersection·polyhedron.··<br·/></td></tr> | 89 | <tr·class="memdesc:af0e7174467aa9c3bbda479bdfdcabf48"><td·class="mdescLeft"> </td><td·class="mdescRight">Compute·the·intersection·of·two·elements·X·and·Y·Compute·the·intersection·of·two·elements·X·and·Y,·where·X·is·of·dimension·dim1·and·Y·is·of·dimension·dim2·and·return·a·vector·P·containing·the·corner·points·of·the·intersection·polyhedron.··<br·/></td></tr> |
90 | <tr·class="separator:af0e7174467aa9c3bbda479bdfdcabf48"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:af0e7174467aa9c3bbda479bdfdcabf48"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a2553ca6100ff95dad59ca1355a080250"·id="r_a2553ca6100ff95dad59ca1355a080250"><td·class="memTemplParams"·colspan="2">template<int·isDim,·int·dW>·</td></tr> | 91 | <tr·class="memitem:a2553ca6100ff95dad59ca1355a080250"·id="r_a2553ca6100ff95dad59ca1355a080250"><td·class="memTemplParams"·colspan="2">template<int·isDim,·int·dW>·</td></tr> |
Offset 248, 16 lines modified | Offset 248, 16 lines modified | ||
248 | ··</table> | 248 | ··</table> |
249 | ··</dd> | 249 | ··</dd> |
250 | </dl> | 250 | </dl> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 253 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
254 | <li><a·class="el"·href="a000 | 254 | <li><a·class="el"·href="a00089_source.html">computeintersection.hh</a></li> |
255 | <li><a·class="el"·href="a000 | 255 | <li><a·class="el"·href="a00065_source.html">computeintersection.cc</a></li> |
256 | </ul> | 256 | </ul> |
257 | </div><!--·contents·--> | 257 | </div><!--·contents·--> |
258 | <!--·start·footer·part·--> | 258 | <!--·start·footer·part·--> |
259 | <hr·class="footer"/><address·class="footer"><small> | 259 | <hr·class="footer"/><address·class="footer"><small> |
260 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 260 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
261 | </small></address> | 261 | </small></address> |
262 | </body> | 262 | </body> |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 85 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
86 | </div><!--header--> | 86 | </div><!--header--> |
87 | <div·class="contents"> | 87 | <div·class="contents"> |
88 | <p>Implementation·of·the·<a·class="el"·href="a01110.html"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.">Merger</a>·concept·for·conforming·interfaces.·· | 88 | <p>Implementation·of·the·<a·class="el"·href="a01110.html"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.">Merger</a>·concept·for·conforming·interfaces.·· |
89 | ·<a·href="a01074.html#details">More...</a></p> | 89 | ·<a·href="a01074.html#details">More...</a></p> |
90 | <p><code>#include·<<a·class="el"·href="a0009 | 90 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/conformingmerge.hh</a>></code></p> |
91 | <div·class="dynheader"> | 91 | <div·class="dynheader"> |
92 | Inheritance·diagram·for·Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·>:</div> | 92 | Inheritance·diagram·for·Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·>:</div> |
93 | <div·class="dyncontent"> | 93 | <div·class="dyncontent"> |
94 | <div·class="center"><img·src="a01073.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_conforming_merge_3_01dim_00_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 94 | <div·class="center"><img·src="a01073.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_conforming_merge_3_01dim_00_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
95 | <map·name="a_dune_1_1_grid_glue_1_1_conforming_merge_3_01dim_00_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_conforming_merge_3_01dim_00_01dimworld_00_01_t_01_4_inherit__map"> | 95 | <map·name="a_dune_1_1_grid_glue_1_1_conforming_merge_3_01dim_00_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_conforming_merge_3_01dim_00_01dimworld_00_01_t_01_4_inherit__map"> |
96 | <area·shape="rect"·title="Implementation·of·the·Merger·concept·for·conforming·interfaces."·alt=""·coords="16,345,221,385"/> | 96 | <area·shape="rect"·title="Implementation·of·the·Merger·concept·for·conforming·interfaces."·alt=""·coords="16,345,221,385"/> |
97 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="5,241,232,296"/> | 97 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="5,241,232,296"/> |
Offset 1147, 15 lines modified | Offset 1147, 15 lines modified | ||
1147 | ··</tr> | 1147 | ··</tr> |
1148 | </table> | 1148 | </table> |
1149 | </div><div·class="memdoc"> | 1149 | </div><div·class="memdoc"> |
1150 | </div> | 1150 | </div> |
1151 | </div> | 1151 | </div> |
1152 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1152 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1153 | <li><a·class="el"·href="a0009 | 1153 | <li><a·class="el"·href="a00098_source.html">conformingmerge.hh</a></li> |
1154 | </ul> | 1154 | </ul> |
1155 | </div><!--·contents·--> | 1155 | </div><!--·contents·--> |
1156 | <!--·start·footer·part·--> | 1156 | <!--·start·footer·part·--> |
1157 | <hr·class="footer"/><address·class="footer"><small> | 1157 | <hr·class="footer"/><address·class="footer"><small> |
1158 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1158 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1159 | </small></address> | 1159 | </small></address> |
1160 | </body> | 1160 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ContactMerge<·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ContactMerge<·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart.·· | 87 | <p>Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart.·· |
88 | ·<a·href="a01078.html#details">More...</a></p> | 88 | ·<a·href="a01078.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a000 | 89 | <p><code>#include·<<a·class="el"·href="a00071_source.html">dune/grid-glue/merging/contactmerge.hh</a>></code></p> |
90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
91 | Inheritance·diagram·for·Dune::GridGlue::ContactMerge<·dimworld,·T·>:</div> | 91 | Inheritance·diagram·for·Dune::GridGlue::ContactMerge<·dimworld,·T·>:</div> |
92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
93 | <div·class="center"><img·src="a01077.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01077.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
94 | <map·name="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"> |
95 | <area·shape="rect"·title="Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart."·alt=""·coords="9,345,229,385"/> | 95 | <area·shape="rect"·title="Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart."·alt=""·coords="9,345,229,385"/> |
96 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="5,241,232,296"/> | 96 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="5,241,232,296"/> |
Offset 1636, 16 lines modified | Offset 1636, 16 lines modified | ||
1636 | ··</tr> | 1636 | ··</tr> |
1637 | </table> | 1637 | </table> |
1638 | </div><div·class="memdoc"> | 1638 | </div><div·class="memdoc"> |
1639 | </div> | 1639 | </div> |
1640 | </div> | 1640 | </div> |
1641 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1641 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1642 | <li><a·class="el"·href="a000 | 1642 | <li><a·class="el"·href="a00071_source.html">contactmerge.hh</a></li> |
1643 | <li><a·class="el"·href="a000 | 1643 | <li><a·class="el"·href="a00068_source.html">contactmerge.cc</a></li> |
1644 | </ul> | 1644 | </ul> |
1645 | </div><!--·contents·--> | 1645 | </div><!--·contents·--> |
1646 | <!--·start·footer·part·--> | 1646 | <!--·start·footer·part·--> |
1647 | <hr·class="footer"/><address·class="footer"><small> | 1647 | <hr·class="footer"/><address·class="footer"><small> |
1648 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1648 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1649 | </small></address> | 1649 | </small></address> |
1650 | </body> | 1650 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
79 | <a·href="a01079.html">List·of·all·members</a>··</div> | 79 | <a·href="a01079.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionListProvider<·L0,·L1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionListProvider<·L0,·L1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p><code>#include·<<a·class="el"·href="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
84 | <div·class="dynheader"> | 84 | <div·class="dynheader"> |
85 | Inheritance·diagram·for·Dune::GridGlue::IntersectionListProvider<·L0,·L1·>:</div> | 85 | Inheritance·diagram·for·Dune::GridGlue::IntersectionListProvider<·L0,·L1·>:</div> |
86 | <div·class="dyncontent"> | 86 | <div·class="dyncontent"> |
87 | <div·class="center"><img·src="a01081.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 87 | <div·class="center"><img·src="a01081.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
88 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"> | 88 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"> |
89 | <area·shape="rect"·title="·"·alt=""·coords="5,29,212,69"/> | 89 | <area·shape="rect"·title="·"·alt=""·coords="5,29,212,69"/> |
90 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> | 90 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> |
Offset 490, 15 lines modified | Offset 490, 15 lines modified | ||
490 | <p>number·of·intersections·in·the·merged·grid·</p> | 490 | <p>number·of·intersections·in·the·merged·grid·</p> |
491 | <p>Implemented·in·<a·class="el"·href="a01102.html#abbf975e9e3adf037c90de482be902bcc">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></a>.</p> | 491 | <p>Implemented·in·<a·class="el"·href="a01102.html#abbf975e9e3adf037c90de482be902bcc">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></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="a00092_source.html">intersectionlist.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 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
79 | <a·href="a01095.html">List·of·all·members</a>··</div> | 79 | <a·href="a01095.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionList<·Local0,·Local1·>·Class·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionList<·Local0,·Local1·>·Class·Template·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="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
84 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
86 | Public·Types</h2></td></tr> | 86 | Public·Types</h2></td></tr> |
87 | <tr·class="memitem:ad01c4cc4461ee3be66a76111d7e61473"·id="r_ad01c4cc4461ee3be66a76111d7e61473"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#ad01c4cc4461ee3be66a76111d7e61473">Provider</a>·=·<a·class="el"·href="a01082.html">IntersectionListProvider</a><·Local0,·Local1·></td></tr> | 87 | <tr·class="memitem:ad01c4cc4461ee3be66a76111d7e61473"·id="r_ad01c4cc4461ee3be66a76111d7e61473"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#ad01c4cc4461ee3be66a76111d7e61473">Provider</a>·=·<a·class="el"·href="a01082.html">IntersectionListProvider</a><·Local0,·Local1·></td></tr> |
88 | <tr·class="separator:ad01c4cc4461ee3be66a76111d7e61473"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:ad01c4cc4461ee3be66a76111d7e61473"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a5a12d1065228a0cf9b5a4306c73e4ee8"·id="r_a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#a5a12d1065228a0cf9b5a4306c73e4ee8">Index</a>·=·typename·<a·class="el"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Provider::Index</a></td></tr> | 89 | <tr·class="memitem:a5a12d1065228a0cf9b5a4306c73e4ee8"·id="r_a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#a5a12d1065228a0cf9b5a4306c73e4ee8">Index</a>·=·typename·<a·class="el"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Provider::Index</a></td></tr> |
90 | <tr·class="separator:a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 361, 15 lines modified | Offset 361, 15 lines modified | ||
361 | </table> | 361 | </table> |
362 | </div><div·class="memdoc"> | 362 | </div><div·class="memdoc"> |
363 | <p>number·of·intersections·in·the·merged·grid·</p> | 363 | <p>number·of·intersections·in·the·merged·grid·</p> |
364 | </div> | 364 | </div> |
365 | </div> | 365 | </div> |
366 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 366 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
367 | <li><a·class="el"·href="a000 | 367 | <li><a·class="el"·href="a00092_source.html">intersectionlist.hh</a></li> |
368 | </ul> | 368 | </ul> |
369 | </div><!--·contents·--> | 369 | </div><!--·contents·--> |
370 | <!--·start·footer·part·--> | 370 | <!--·start·footer·part·--> |
371 | <hr·class="footer"/><address·class="footer"><small> | 371 | <hr·class="footer"/><address·class="footer"><small> |
372 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
373 | </small></address> | 373 | </small></address> |
374 | </body> | 374 | </body> |
Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
78 | <a·href="#pub-types">Public·Types</a>·| | 78 | <a·href="#pub-types">Public·Types</a>·| |
79 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 79 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
80 | <a·href="a01099.html">List·of·all·members</a>··</div> | 80 | <a·href="a01099.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
86 | Inheritance·diagram·for·Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>:</div> | 86 | Inheritance·diagram·for·Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>:</div> |
87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
88 | <div·class="center"><img·src="a01101.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01101.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
89 | <map·name="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"> |
90 | <area·shape="rect"·title="·"·alt=""·coords="681,22,875,77"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="681,22,875,77"/> |
91 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> | 91 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> |
Offset 633, 15 lines modified | Offset 633, 15 lines modified | ||
633 | <p>number·of·intersections·in·the·merged·grid·</p> | 633 | <p>number·of·intersections·in·the·merged·grid·</p> |
634 | <p>Implements·<a·class="el"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">Dune::GridGlue::IntersectionListProvider<·FieldVector<·double,·dim0·>,·FieldVector<·double,·dim1·>·></a>.</p> | 634 | <p>Implements·<a·class="el"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">Dune::GridGlue::IntersectionListProvider<·FieldVector<·double,·dim0·>,·FieldVector<·double,·dim1·>·></a>.</p> |
635 | </div> | 635 | </div> |
636 | </div> | 636 | </div> |
637 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 637 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
638 | <li><a·class="el"·href="a000 | 638 | <li><a·class="el"·href="a00092_source.html">intersectionlist.hh</a></li> |
639 | </ul> | 639 | </ul> |
640 | </div><!--·contents·--> | 640 | </div><!--·contents·--> |
641 | <!--·start·footer·part·--> | 641 | <!--·start·footer·part·--> |
642 | <hr·class="footer"/><address·class="footer"><small> | 642 | <hr·class="footer"/><address·class="footer"><small> |
643 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 643 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
644 | </small></address> | 644 | </small></address> |
645 | </body> | 645 | </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="#pub-attribs">Public·Attributes</a>·| | 79 | <a·href="#pub-attribs">Public·Attributes</a>·| |
80 | <a·href="a01103.html">List·of·all·members</a>··</div> | 80 | <a·href="a01103.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection·Struct·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection·Struct·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="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/grid-glue/merging/intersectionlist.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:a22ee503958e3501c70236ab62558cbaa"·id="r_a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplParams"·colspan="2">template<int·I>·</td></tr> | 88 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"·id="r_a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplParams"·colspan="2">template<int·I>·</td></tr> |
89 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01106.html#a22ee503958e3501c70236ab62558cbaa">Corners</a>·=·std::array<·<a·class="el"·href="a01102.html#aa1a102616f2b5e28a796786d5987b4e1">Local</a><·I·>,·nVertices·></td></tr> | 89 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01106.html#a22ee503958e3501c70236ab62558cbaa">Corners</a>·=·std::array<·<a·class="el"·href="a01102.html#aa1a102616f2b5e28a796786d5987b4e1">Local</a><·I·>,·nVertices·></td></tr> |
90 | <tr·class="separator:a22ee503958e3501c70236ab62558cbaa"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a22ee503958e3501c70236ab62558cbaa"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
Offset 263, 15 lines modified | Offset 263, 15 lines modified | ||
263 | ······</table> | 263 | ······</table> |
264 | </div><div·class="memdoc"> | 264 | </div><div·class="memdoc"> |
265 | <p>list·of·parent·entities·for·embeddings·into·the·second·grid·</p> | 265 | <p>list·of·parent·entities·for·embeddings·into·the·second·grid·</p> |
266 | </div> | 266 | </div> |
267 | </div> | 267 | </div> |
268 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 268 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
269 | <li><a·class="el"·href="a000 | 269 | <li><a·class="el"·href="a00092_source.html">intersectionlist.hh</a></li> |
270 | </ul> | 270 | </ul> |
271 | </div><!--·contents·--> | 271 | </div><!--·contents·--> |
272 | <!--·start·footer·part·--> | 272 | <!--·start·footer·part·--> |
273 | <hr·class="footer"/><address·class="footer"><small> | 273 | <hr·class="footer"/><address·class="footer"><small> |
274 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 274 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
275 | </small></address> | 275 | </small></address> |
276 | </body> | 276 | </body> |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.·· | 84 | <p>Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.·· |
85 | ·<a·href="a01110.html#details">More...</a></p> | 85 | ·<a·href="a01110.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00086_source.html">dune/grid-glue/merging/merger.hh</a>></code></p> |
87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
88 | Inheritance·diagram·for·Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>:</div> | 88 | Inheritance·diagram·for·Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>:</div> |
89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
90 | <div·class="center"><img·src="a01109.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01109.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
91 | <map·name="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"> |
92 | <area·shape="rect"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections."·alt=""·coords="5,139,219,193"/> | 92 | <area·shape="rect"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections."·alt=""·coords="5,139,219,193"/> |
93 | <area·shape="rect"·href="a01162.html"·title="·"·alt=""·coords="1190,5,1382,60"/> | 93 | <area·shape="rect"·href="a01162.html"·title="·"·alt=""·coords="1190,5,1382,60"/> |
Offset 576, 15 lines modified | Offset 576, 15 lines modified | ||
576 | <p>Counts·the·number·of·times·the·computeIntersection·method·has·been·called.·</p> | 576 | <p>Counts·the·number·of·times·the·computeIntersection·method·has·been·called.·</p> |
577 | <p>Used·temporarily·to·speed·up·the·implementation·</p> | 577 | <p>Used·temporarily·to·speed·up·the·implementation·</p> |
578 | </div> | 578 | </div> |
579 | </div> | 579 | </div> |
580 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 580 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
581 | <li><a·class="el"·href="a000 | 581 | <li><a·class="el"·href="a00086_source.html">merger.hh</a></li> |
582 | </ul> | 582 | </ul> |
583 | </div><!--·contents·--> | 583 | </div><!--·contents·--> |
584 | <!--·start·footer·part·--> | 584 | <!--·start·footer·part·--> |
585 | <hr·class="footer"/><address·class="footer"><small> | 585 | <hr·class="footer"/><address·class="footer"><small> |
586 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 586 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
587 | </small></address> | 587 | </small></address> |
588 | </body> | 588 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::OverlappingMerge<·dim1,·dim2,·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::OverlappingMerge<·dim1,·dim2,·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Computing·overlapping·grid·intersections·for·grids·of·different·dimensions.·· | 87 | <p>Computing·overlapping·grid·intersections·for·grids·of·different·dimensions.·· |
88 | ·<a·href="a01114.html#details">More...</a></p> | 88 | ·<a·href="a01114.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a0008 | 89 | <p><code>#include·<<a·class="el"·href="a00080_source.html">dune/grid-glue/merging/overlappingmerge.hh</a>></code></p> |
90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
91 | Inheritance·diagram·for·Dune::GridGlue::OverlappingMerge<·dim1,·dim2,·dimworld,·T·>:</div> | 91 | Inheritance·diagram·for·Dune::GridGlue::OverlappingMerge<·dim1,·dim2,·dimworld,·T·>:</div> |
92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
93 | <div·class="center"><img·src="a01113.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_overlapping_merge_3_01dim1_00_01dim2_00_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01113.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_overlapping_merge_3_01dim1_00_01dim2_00_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
94 | <map·name="a_dune_1_1_grid_glue_1_1_overlapping_merge_3_01dim1_00_01dim2_00_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_overlapping_merge_3_01dim1_00_01dim2_00_01dimworld_00_01_t_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_grid_glue_1_1_overlapping_merge_3_01dim1_00_01dim2_00_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_overlapping_merge_3_01dim1_00_01dim2_00_01dimworld_00_01_t_01_4_inherit__map"> |
95 | <area·shape="rect"·title="Computing·overlapping·grid·intersections·for·grids·of·different·dimensions."·alt=""·coords="5,345,257,385"/> | 95 | <area·shape="rect"·title="Computing·overlapping·grid·intersections·for·grids·of·different·dimensions."·alt=""·coords="5,345,257,385"/> |
96 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="18,241,245,296"/> | 96 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="18,241,245,296"/> |
Offset 1220, 16 lines modified | Offset 1220, 16 lines modified | ||
1220 | ··</tr> | 1220 | ··</tr> |
1221 | </table> | 1221 | </table> |
1222 | </div><div·class="memdoc"> | 1222 | </div><div·class="memdoc"> |
1223 | </div> | 1223 | </div> |
1224 | </div> | 1224 | </div> |
1225 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1225 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1226 | <li><a·class="el"·href="a0008 | 1226 | <li><a·class="el"·href="a00080_source.html">overlappingmerge.hh</a></li> |
1227 | <li><a·class="el"·href="a000 | 1227 | <li><a·class="el"·href="a00083_source.html">overlappingmerge.cc</a></li> |
1228 | </ul> | 1228 | </ul> |
1229 | </div><!--·contents·--> | 1229 | </div><!--·contents·--> |
1230 | <!--·start·footer·part·--> | 1230 | <!--·start·footer·part·--> |
1231 | <hr·class="footer"/><address·class="footer"><small> | 1231 | <hr·class="footer"/><address·class="footer"><small> |
1232 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1232 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1233 | </small></address> | 1233 | </small></address> |
1234 | </body> | 1234 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00095_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· | 87 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· |
88 | ·<a·href="a01162.html#details">More...</a></p> | 88 | ·<a·href="a01162.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a000 | 89 | <p><code>#include·<<a·class="el"·href="a00074_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code></p> |
90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
91 | Inheritance·diagram·for·Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·>:</div> | 91 | Inheritance·diagram·for·Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·>:</div> |
92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
93 | <div·class="center"><img·src="a01161.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_standard_merge_3_01_t_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01161.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_standard_merge_3_01_t_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
94 | <map·name="a_dune_1_1_grid_glue_1_1_standard_merge_3_01_t_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_standard_merge_3_01_t_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_grid_glue_1_1_standard_merge_3_01_t_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_standard_merge_3_01_t_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"> |
95 | <area·shape="rect"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="669,162,896,217"/> | 95 | <area·shape="rect"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="669,162,896,217"/> |
96 | <area·shape="rect"·href="a01074.html"·title="Implementation·of·the·Merger·concept·for·conforming·interfaces."·alt=""·coords="1147,5,1353,45"/> | 96 | <area·shape="rect"·href="a01074.html"·title="Implementation·of·the·Merger·concept·for·conforming·interfaces."·alt=""·coords="1147,5,1353,45"/> |
Offset 1138, 15 lines modified | Offset 1138, 15 lines modified | ||
1138 | ··</tr> | 1138 | ··</tr> |
1139 | </table> | 1139 | </table> |
1140 | </div><div·class="memdoc"> | 1140 | </div><div·class="memdoc"> |
1141 | </div> | 1141 | </div> |
1142 | </div> | 1142 | </div> |
1143 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1143 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1144 | <li><a·class="el"·href="a000 | 1144 | <li><a·class="el"·href="a00074_source.html">standardmerge.hh</a></li> |
1145 | </ul> | 1145 | </ul> |
1146 | </div><!--·contents·--> | 1146 | </div><!--·contents·--> |
1147 | <!--·start·footer·part·--> | 1147 | <!--·start·footer·part·--> |
1148 | <hr·class="footer"/><address·class="footer"><small> | 1148 | <hr·class="footer"/><address·class="footer"><small> |
1149 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1149 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1150 | </small></address> | 1150 | </small></address> |
1151 | </body> | 1151 | </body> |
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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>extractors·→·adapter·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/extractors</th><th·class="dirtab">Includes·file·in·dune/grid-glue/adapter</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a0005 | 75 | <h3>extractors·→·adapter·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/extractors</th><th·class="dirtab">Includes·file·in·dune/grid-glue/adapter</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00053.html">vtksurfacewriter.hh</a></td><td·class="dirtab"><a·class="el"·href="a00008.html">gridgluevtkwriter.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>extractors·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/extractors</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>extractors·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/extractors</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00059.html">codim1extractor.hh</a></td><td·class="dirtab"><a·class="el"·href="a00038.html">crossproduct.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>grid-glue·→·adapter·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/adapter</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00011.html">gridglue.cc</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>grid-glue·→·adapter·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/adapter</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00011.html">gridglue.cc</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00017.html">gridgluecommunicate.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00014.html">intersection.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><[·...·truncated·by·diffoscope;·len:·730,·SHA:·69ba96b2885f8825860682e5228d065aedd87513aacf1ed044f44a97d4a624d6·...·].html">gridgluevtkwriter.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>grid-glue·→·merging·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/merging</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>grid-glue·→·merging·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/merging</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00086.html">merger.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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>merging·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/merging</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>merging·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/merging</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00068.html">contactmerge.cc</a></td><td·class="dirtab"><a·class="el"·href="a00038.html">crossproduct.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00068.html">contactmerge.cc</a></td><td·class="dirtab"><a·class="el"·href="a00035.html">projection.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 87, 40 lines modified | Offset 87, 40 lines modified | ||
87 | <area·shape="rect"·href="dir_000005_000001.html"·title="2"·alt=""·coords="70,100,80,114"/> | 87 | <area·shape="rect"·href="dir_000005_000001.html"·title="2"·alt=""·coords="70,100,80,114"/> |
88 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,117,161"/> | 88 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,117,161"/> |
89 | </map> | 89 | </map> |
90 | </div> | 90 | </div> |
91 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
93 | Files</h2></td></tr> | 93 | Files</h2></td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 94 | <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">computeintersection.cc</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 96 | <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">computeintersection.hh</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0009 | 98 | <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">conformingmerge.hh</a></td></tr> |
99 | <tr·class="memdesc:a0009 | 99 | <tr·class="memdesc:a00098"><td·class="mdescLeft"> </td><td·class="mdescRight">Implementation·of·the·Merger·concept·for·conforming·interfaces.·<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 | <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="a00068_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">contactmerge.cc</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="a00071_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html">contactmerge.hh</a></td></tr> |
104 | <tr·class="memdesc:a000 | 104 | <tr·class="memdesc:a00071"><td·class="mdescLeft"> </td><td·class="mdescRight">Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·<br·/></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="a000 | 106 | <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">intersectionlist.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="a000 | 108 | <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">merger.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="a00083_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html">overlappingmerge.cc</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="a0008 | 112 | <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">overlappingmerge.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="a00095_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">simplexintersection.cc</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"><span·class="icondoc"></span> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html">standardmerge.cc</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 118 | <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">standardmerge.hh</a></td></tr> |
119 | <tr·class="memdesc:a000 | 119 | <tr·class="memdesc:a00074"><td·class="mdescLeft"> </td><td·class="mdescRight">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·<br·/></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | </table> | 121 | </table> |
122 | </div><!--·contents·--> | 122 | </div><!--·contents·--> |
123 | <!--·start·footer·part·--> | 123 | <!--·start·footer·part·--> |
124 | <hr·class="footer"/><address·class="footer"><small> | 124 | <hr·class="footer"/><address·class="footer"><small> |
125 | Generated·by <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 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
126 | </small></address> | 126 | </small></address> |
Offset 91, 32 lines modified | Offset 91, 32 lines modified | ||
91 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
93 | Files</h2></td></tr> | 93 | Files</h2></td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00011_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">gridglue.cc</a></td></tr> | 94 | <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">gridglue.cc</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a01963_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01963.html">gridglue.hh</a></td></tr> | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a01963_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01963.html">gridglue.hh</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 98 | <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">gridglueamirawriter.hh</a></td></tr> |
99 | <tr·class="memdesc:a000 | 99 | <tr·class="memdesc:a00005"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·all·remote·intersections·to·a·AmiraMesh·file.·<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 | <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="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">gridgluecommunicate.hh</a></td></tr> |
102 | <tr·class="memdesc:a000 | 102 | <tr·class="memdesc:a00017"><td·class="mdescLeft"> </td><td·class="mdescRight">Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·<br·/></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="a000 | 104 | <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">gridgluevtkwriter.hh</a></td></tr> |
105 | <tr·class="memdesc:a000 | 105 | <tr·class="memdesc:a00008"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·all·remote·intersections·to·a·vtk·file·for·debugging.·<br·/></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="a00014_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">intersection.hh</a></td></tr> | 107 | <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">intersection.hh</a></td></tr> |
108 | <tr·class="memdesc:a00014"><td·class="mdescLeft"> </td><td·class="mdescRight">Model·of·the·Intersection·concept·provided·by·GridGlue.·<br·/></td></tr> | 108 | <tr·class="memdesc:a00014"><td·class="mdescLeft"> </td><td·class="mdescRight">Model·of·the·Intersection·concept·provided·by·GridGlue.·<br·/></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="a00020_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.html">intersectionindexset.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="a00026_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">intersectioniterator.hh</a></td></tr> | 112 | <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">intersectioniterator.hh</a></td></tr> |
113 | <tr·class="memdesc:a00026"><td·class="mdescLeft"> </td><td·class="mdescRight">Implement·iterators·over·GridGlue·intersections.·<br·/></td></tr> | 113 | <tr·class="memdesc:a00026"><td·class="mdescLeft"> </td><td·class="mdescRight">Implement·iterators·over·GridGlue·intersections.·<br·/></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="a00023_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">rangegenerators.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 | </table> | 117 | </table> |
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> |
Offset 84, 27 lines modified | Offset 84, 27 lines modified | ||
84 | <area·shape="rect"·href="dir_65f347cff0208f20f00d27c542208238.html"·title="common"·alt=""·coords="27,52,106,77"/> | 84 | <area·shape="rect"·href="dir_65f347cff0208f20f00d27c542208238.html"·title="common"·alt=""·coords="27,52,106,77"/> |
85 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,117,88"/> | 85 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,117,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="a00041_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.html">areawriter.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="a00050_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.html">areawriter_impl.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 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0003 | 95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00038_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html">crossproduct.hh</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <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="a00035_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">projection.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="a00047_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.html">projection_impl.hh</a></td></tr> | 99 | <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">projection_impl.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="a00029_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">projectionwriter.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="a0003 | 103 | <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">projectionwriter_impl.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="a00044_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">ringcomm.hh</a></td></tr> | 105 | <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">ringcomm.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 | </table> | 107 | </table> |
108 | </div><!--·contents·--> | 108 | </div><!--·contents·--> |
109 | <!--·start·footer·part·--> | 109 | <!--·start·footer·part·--> |
110 | <hr·class="footer"/><address·class="footer"><small> | 110 | <hr·class="footer"/><address·class="footer"><small> |
Offset 93, 22 lines modified | Offset 93, 22 lines modified | ||
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="a00056_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">codim0extractor.hh</a></td></tr> | 97 | <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">codim0extractor.hh</a></td></tr> |
98 | <tr·class="memdesc:a00056"><td·class="mdescLeft"> </td><td·class="mdescRight">Mesh·grid·extractor·base·class.·<br·/></td></tr> | 98 | <tr·class="memdesc:a00056"><td·class="mdescLeft"> </td><td·class="mdescRight">Mesh·grid·extractor·base·class.·<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 | <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="a00059_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">codim1extractor.hh</a></td></tr> |
101 | <tr·class="memdesc:a000 | 101 | <tr·class="memdesc:a00059"><td·class="mdescLeft"> </td><td·class="mdescRight">Grid·extractor·class·for·codim·1·subgrids.·<br·/></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="a00062_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">extractor.hh</a></td></tr> |
104 | <tr·class="memdesc:a000 | 104 | <tr·class="memdesc:a00062"><td·class="mdescLeft"> </td><td·class="mdescRight">extractor·base·class·<br·/></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="a0005 | 106 | <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">vtksurfacewriter.hh</a></td></tr> |
107 | <tr·class="memdesc:a0005 | 107 | <tr·class="memdesc:a00053"><td·class="mdescLeft"> </td><td·class="mdescRight">helper·class·for·graphical·output·of·grids·in·generic·representation·<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 | </table> | 109 | </table> |
110 | </div><!--·contents·--> | 110 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 112 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
114 | </small></address> | 114 | </small></address> |
Offset 9, 36 lines modified | Offset 9, 36 lines modified | ||
9 | ····<includes·id="a00044"·name="ringcomm.hh"·local="yes"·import="no"·module="no"·objc="no">../common/ringcomm.hh</includes> | 9 | ····<includes·id="a00044"·name="ringcomm.hh"·local="yes"·import="no"·module="no"·objc="no">../common/ringcomm.hh</includes> |
10 | ····<namespace>Dune</namespace> | 10 | ····<namespace>Dune</namespace> |
11 | ····<namespace>Dune::GridGlue</namespace> | 11 | ····<namespace>Dune::GridGlue</namespace> |
12 | ··</compound> | 12 | ··</compound> |
13 | ··<compound·kind="file"> | 13 | ··<compound·kind="file"> |
14 | ····<name>gridglueamirawriter.hh</name> | 14 | ····<name>gridglueamirawriter.hh</name> |
15 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 15 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
16 | ····<filename>a000 | 16 | ····<filename>a00005.html</filename> |
17 | ····<class·kind="class">Dune::GridGlue::GridGlueAmiraWriter</class> | 17 | ····<class·kind="class">Dune::GridGlue::GridGlueAmiraWriter</class> |
18 | ····<namespace>Dune</namespace> | 18 | ····<namespace>Dune</namespace> |
19 | ····<namespace>Dune::GridGlue</namespace> | 19 | ····<namespace>Dune::GridGlue</namespace> |
20 | ··</compound> | 20 | ··</compound> |
21 | ··<compound·kind="file"> | 21 | ··<compound·kind="file"> |
22 | ····<name>gridgluecommunicate.hh</name> | 22 | ····<name>gridgluecommunicate.hh</name> |
23 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 23 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
24 | ····<filename>a000 | 24 | ····<filename>a00017.html</filename> |
25 | ····<class·kind="struct">Dune::GridGlue::GlobalId</class> | 25 | ····<class·kind="struct">Dune::GridGlue::GlobalId</class> |
26 | ····<class·kind="class">Dune::GridGlue::CommDataHandle</class> | 26 | ····<class·kind="class">Dune::GridGlue::CommDataHandle</class> |
27 | ····<class·kind="class">Dune::GridGlue::StreamingMessageBuffer</class> | 27 | ····<class·kind="class">Dune::GridGlue::StreamingMessageBuffer</class> |
28 | ····<class·kind="class">Dune::GridGlue::CommunicationOperator</class> | 28 | ····<class·kind="class">Dune::GridGlue::CommunicationOperator</class> |
29 | ····<class·kind="struct">Dune::GridGlue::CommInfo</class> | 29 | ····<class·kind="struct">Dune::GridGlue::CommInfo</class> |
30 | ····<class·kind="struct">Dune::CommPolicy<·::Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·></class> | 30 | ····<class·kind="struct">Dune::CommPolicy<·::Dune::GridGlue::CommInfo<·GG,·DataHandleImp,·DataTypeImp·>·></class> |
31 | ····<namespace>Dune</namespace> | 31 | ····<namespace>Dune</namespace> |
32 | ····<namespace>Dune::GridGlue</namespace> | 32 | ····<namespace>Dune::GridGlue</namespace> |
33 | ··</compound> | 33 | ··</compound> |
34 | ··<compound·kind="file"> | 34 | ··<compound·kind="file"> |
35 | ····<name>gridgluevtkwriter.hh</name> | 35 | ····<name>gridgluevtkwriter.hh</name> |
36 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 36 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
37 | ····<filename>a000 | 37 | ····<filename>a00008.html</filename> |
38 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> | 38 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> |
39 | ····<class·kind="class">Dune::GridGlue::GridGlueVtkWriter</class> | 39 | ····<class·kind="class">Dune::GridGlue::GridGlueVtkWriter</class> |
40 | ····<namespace>Dune</namespace> | 40 | ····<namespace>Dune</namespace> |
41 | ····<namespace>Dune::GridGlue</namespace> | 41 | ····<namespace>Dune::GridGlue</namespace> |
42 | ··</compound> | 42 | ··</compound> |
43 | ··<compound·kind="file"> | 43 | ··<compound·kind="file"> |
44 | ····<name>intersection.hh</name> | 44 | ····<name>intersection.hh</name> |
Offset 57, 15 lines modified | Offset 57, 15 lines modified | ||
57 | ······<anchor>aac752eae6e9ad7d1e576f1fe3f7c8a6b</anchor> | 57 | ······<anchor>aac752eae6e9ad7d1e576f1fe3f7c8a6b</anchor> |
58 | ······<arglist/> | 58 | ······<arglist/> |
59 | ····</member> | 59 | ····</member> |
60 | ··</compound> | 60 | ··</compound> |
61 | ··<compound·kind="file"> | 61 | ··<compound·kind="file"> |
62 | ····<name>intersectionindexset.hh</name> | 62 | ····<name>intersectionindexset.hh</name> |
63 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 63 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
64 | ····<filename>a000 | 64 | ····<filename>a00020.html</filename> |
65 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> | 65 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> |
66 | ····<includes·id="a00014"·name="intersection.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/adapter/intersection.hh</includes> | 66 | ····<includes·id="a00014"·name="intersection.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/adapter/intersection.hh</includes> |
67 | ····<class·kind="class">Dune::GridGlue::IntersectionIndexSet</class> | 67 | ····<class·kind="class">Dune::GridGlue::IntersectionIndexSet</class> |
68 | ····<namespace>Dune</namespace> | 68 | ····<namespace>Dune</namespace> |
69 | ····<namespace>Dune::GridGlue</namespace> | 69 | ····<namespace>Dune::GridGlue</namespace> |
70 | ··</compound> | 70 | ··</compound> |
71 | ··<compound·kind="file"> | 71 | ··<compound·kind="file"> |
Offset 76, 47 lines modified | Offset 76, 47 lines modified | ||
76 | ····<class·kind="class">Dune::GridGlue::IntersectionIterator</class> | 76 | ····<class·kind="class">Dune::GridGlue::IntersectionIterator</class> |
77 | ····<namespace>Dune</namespace> | 77 | ····<namespace>Dune</namespace> |
78 | ····<namespace>Dune::GridGlue</namespace> | 78 | ····<namespace>Dune::GridGlue</namespace> |
79 | ··</compound> | 79 | ··</compound> |
80 | ··<compound·kind="file"> | 80 | ··<compound·kind="file"> |
81 | ····<name>rangegenerators.hh</name> | 81 | ····<name>rangegenerators.hh</name> |
82 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 82 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
83 | ····<filename>a000 | 83 | ····<filename>a00023.html</filename> |
84 | ····<class·kind="struct">Dune::GridGlue::Reverse</class> | 84 | ····<class·kind="struct">Dune::GridGlue::Reverse</class> |
85 | ····<namespace>Dune</namespace> | 85 | ····<namespace>Dune</namespace> |
86 | ····<namespace>Dune::GridGlue</namespace> | 86 | ····<namespace>Dune::GridGlue</namespace> |
87 | ··</compound> | 87 | ··</compound> |
88 | ··<compound·kind="file"> | 88 | ··<compound·kind="file"> |
89 | ····<name>areawriter.hh</name> | 89 | ····<name>areawriter.hh</name> |
90 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 90 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
91 | ····<filename>a000 | 91 | ····<filename>a00041.html</filename> |
92 | ····<includes·id="a000 | 92 | ····<includes·id="a00050"·name="areawriter_impl.hh"·local="yes"·import="no"·module="no"·objc="no">areawriter_impl.hh</includes> |
93 | ····<namespace>Dune</namespace> | 93 | ····<namespace>Dune</namespace> |
94 | ····<namespace>Dune::GridGlue</namespace> | 94 | ····<namespace>Dune::GridGlue</namespace> |
95 | ··</compound> | 95 | ··</compound> |
96 | ··<compound·kind="file"> | 96 | ··<compound·kind="file"> |
97 | ····<name>areawriter_impl.hh</name> | 97 | ····<name>areawriter_impl.hh</name> |
98 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 98 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
99 | ····<filename>a000 | 99 | ····<filename>a00050.html</filename> |
100 | ····<class·kind="struct">Dune::GridGlue::AreaWriterImplementation::FacetLayout</class> | 100 | ····<class·kind="struct">Dune::GridGlue::AreaWriterImplementation::FacetLayout</class> |
101 | ····<namespace>Dune</namespace> | 101 | ····<namespace>Dune</namespace> |
102 | ····<namespace>Dune::GridGlue</namespace> | 102 | ····<namespace>Dune::GridGlue</namespace> |
103 | ····<namespace>Dune::GridGlue::AreaWriterImplementation</namespace> | 103 | ····<namespace>Dune::GridGlue::AreaWriterImplementation</namespace> |
104 | ··</compound> | 104 | ··</compound> |
105 | ··<compound·kind="file"> | 105 | ··<compound·kind="file"> |
106 | ····<name>crossproduct.hh</name> | 106 | ····<name>crossproduct.hh</name> |
107 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 107 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
108 | ····<filename>a0003 | 108 | ····<filename>a00038.html</filename> |
109 | ····<namespace>Dune</namespace> | 109 | ····<namespace>Dune</namespace> |
110 | ····<namespace>Dune::GridGlue</namespace> | 110 | ····<namespace>Dune::GridGlue</namespace> |
111 | ··</compound> | 111 | ··</compound> |
112 | ··<compound·kind="file"> | 112 | ··<compound·kind="file"> |
113 | ····<name>projection.hh</name> | 113 | ····<name>projection.hh</name> |
114 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 114 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
115 | ····<filename>a000 | 115 | ····<filename>a00035.html</filename> |
116 | ····<includes·id="a00047"·name="projection_impl.hh"·local="yes"·import="no"·module="no"·objc="no">projection_impl.hh</includes> | 116 | ····<includes·id="a00047"·name="projection_impl.hh"·local="yes"·import="no"·module="no"·objc="no">projection_impl.hh</includes> |
117 | ····<class·kind="class">Dune::GridGlue::Projection</class> | 117 | ····<class·kind="class">Dune::GridGlue::Projection</class> |
118 | ····<class·kind="struct">Dune::GridGlue::Projection::EdgeIntersection</class> | 118 | ····<class·kind="struct">Dune::GridGlue::Projection::EdgeIntersection</class> |
119 | ····<namespace>Dune</namespace> | 119 | ····<namespace>Dune</namespace> |
120 | ····<namespace>Dune::GridGlue</namespace> | 120 | ····<namespace>Dune::GridGlue</namespace> |
121 | ··</compound> | 121 | ··</compound> |
122 | ··<compound·kind="file"> | 122 | ··<compound·kind="file"> |
Offset 126, 24 lines modified | Offset 126, 24 lines modified | ||
126 | ····<namespace>Dune</namespace> | 126 | ····<namespace>Dune</namespace> |
127 | ····<namespace>Dune::GridGlue</namespace> | 127 | ····<namespace>Dune::GridGlue</namespace> |
128 | ····<namespace>Dune::GridGlue::ProjectionImplementation</namespace> | 128 | ····<namespace>Dune::GridGlue::ProjectionImplementation</namespace> |
129 | ··</compound> | 129 | ··</compound> |
130 | ··<compound·kind="file"> | 130 | ··<compound·kind="file"> |
131 | ····<name>projectionwriter.hh</name> | 131 | ····<name>projectionwriter.hh</name> |
132 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 132 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
133 | ····<filename>a000 | 133 | ····<filename>a00029.html</filename> |
134 | ····<includes·id="a000 | 134 | ····<includes·id="a00035"·name="projection.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/common/projection.hh</includes> |
135 | ····<includes·id="a0003 | 135 | ····<includes·id="a00032"·name="projectionwriter_impl.hh"·local="yes"·import="no"·module="no"·objc="no">projectionwriter_impl.hh</includes> |
136 | ····<namespace>Dune</namespace> | 136 | ····<namespace>Dune</namespace> |
137 | ····<namespace>Dune::GridGlue</namespace> | 137 | ····<namespace>Dune::GridGlue</namespace> |
138 | ··</compound> | 138 | ··</compound> |
139 | ··<compound·kind="file"> | 139 | ··<compound·kind="file"> |
140 | ····<name>projectionwriter_impl.hh</name> | 140 | ····<name>projectionwriter_impl.hh</name> |
141 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 141 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
142 | ····<filename>a0003 | 142 | ····<filename>a00032.html</filename> |
143 | ····<namespace>Dune</namespace> | 143 | ····<namespace>Dune</namespace> |
144 | ····<namespace>Dune::GridGlue</namespace> | 144 | ····<namespace>Dune::GridGlue</namespace> |
145 | ····<namespace>Dune::GridGlue::ProjectionWriterImplementation</namespace> | 145 | ····<namespace>Dune::GridGlue::ProjectionWriterImplementation</namespace> |
146 | ··</compound> | 146 | ··</compound> |
147 | ··<compound·kind="file"> | 147 | ··<compound·kind="file"> |
148 | ····<name>ringcomm.hh</name> | 148 | ····<name>ringcomm.hh</name> |
149 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> | 149 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/common/</path> |
Offset 158, 168 lines modified | Offset 158, 168 lines modified | ||
158 | ······<arglist>(A,·B)</arglist> | 158 | ······<arglist>(A,·B)</arglist> |
Max diff block lines reached; 16346/23336 bytes (70.05%) of diff not shown. |
Offset 75, 48 lines modified | Offset 75, 48 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_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</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_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr> |
78 | <tr·id="row_0_0_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_0_"·class="arrow"·onclick="toggleFolder('0_0_')">▼</span><span·id="img_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_')"> </span><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·target="_self">grid-glue</a></td><td·class="desc"></td></tr> | 78 | <tr·id="row_0_0_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_0_"·class="arrow"·onclick="toggleFolder('0_0_')">▼</span><span·id="img_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_')"> </span><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·target="_self">grid-glue</a></td><td·class="desc"></td></tr> |
79 | <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_0_"·class="arrow"·onclick="toggleFolder('0_0_0_')">▼</span><span·id="img_0_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_0_')"> </span><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html"·target="_self">adapter</a></td><td·class="desc"></td></tr> | 79 | <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_0_"·class="arrow"·onclick="toggleFolder('0_0_0_')">▼</span><span·id="img_0_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_0_')"> </span><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html"·target="_self">adapter</a></td><td·class="desc"></td></tr> |
80 | <tr·id="row_0_0_0_0_"·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">gridglue.cc</a></td><td·class="desc"></td></tr> | 80 | <tr·id="row_0_0_0_0_"·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">gridglue.cc</a></td><td·class="desc"></td></tr> |
81 | <tr·id="row_0_0_0_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a01963_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01963.html"·target="_self">gridglue.hh</a></td><td·class="desc"></td></tr> | 81 | <tr·id="row_0_0_0_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a01963_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01963.html"·target="_self">gridglue.hh</a></td><td·class="desc"></td></tr> |
82 | <tr·id="row_0_0_0_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 82 | <tr·id="row_0_0_0_2_"·class="odd"><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">gridglueamirawriter.hh</a></td><td·class="desc">Write·all·remote·intersections·to·a·AmiraMesh·file·</td></tr> |
83 | <tr·id="row_0_0_0_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 83 | <tr·id="row_0_0_0_3_"·class="even"><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">gridgluecommunicate.hh</a></td><td·class="desc">Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>·</td></tr> |
84 | <tr·id="row_0_0_0_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 84 | <tr·id="row_0_0_0_4_"·class="odd"><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">gridgluevtkwriter.hh</a></td><td·class="desc">Write·all·remote·intersections·to·a·vtk·file·for·debugging·</td></tr> |
85 | <tr·id="row_0_0_0_5_"·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">intersection.hh</a></td><td·class="desc">Model·of·the·Intersection·concept·provided·by·GridGlue·</td></tr> | 85 | <tr·id="row_0_0_0_5_"·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">intersection.hh</a></td><td·class="desc">Model·of·the·Intersection·concept·provided·by·GridGlue·</td></tr> |
86 | <tr·id="row_0_0_0_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 86 | <tr·id="row_0_0_0_6_"·class="odd"><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">intersectionindexset.hh</a></td><td·class="desc"></td></tr> |
87 | <tr·id="row_0_0_0_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">intersectioniterator.hh</a></td><td·class="desc">Implement·iterators·over·GridGlue·intersections·</td></tr> | 87 | <tr·id="row_0_0_0_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">intersectioniterator.hh</a></td><td·class="desc">Implement·iterators·over·GridGlue·intersections·</td></tr> |
88 | <tr·id="row_0_0_0_8_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 88 | <tr·id="row_0_0_0_8_"·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">rangegenerators.hh</a></td><td·class="desc"></td></tr> |
89 | <tr·id="row_0_0_1_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_1_"·class="arrow"·onclick="toggleFolder('0_0_1_')">▼</span><span·id="img_0_0_1_"·class="iconfopen"·onclick="toggleFolder('0_0_1_')"> </span><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html"·target="_self">common</a></td><td·class="desc"></td></tr> | 89 | <tr·id="row_0_0_1_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_1_"·class="arrow"·onclick="toggleFolder('0_0_1_')">▼</span><span·id="img_0_0_1_"·class="iconfopen"·onclick="toggleFolder('0_0_1_')"> </span><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html"·target="_self">common</a></td><td·class="desc"></td></tr> |
90 | <tr·id="row_0_0_1_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 90 | <tr·id="row_0_0_1_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">areawriter.hh</a></td><td·class="desc"></td></tr> |
91 | <tr·id="row_0_0_1_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 91 | <tr·id="row_0_0_1_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.html"·target="_self">areawriter_impl.hh</a></td><td·class="desc"></td></tr> |
92 | <tr·id="row_0_0_1_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0003 | 92 | <tr·id="row_0_0_1_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.html"·target="_self">crossproduct.hh</a></td><td·class="desc"></td></tr> |
93 | <tr·id="row_0_0_1_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 93 | <tr·id="row_0_0_1_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">projection.hh</a></td><td·class="desc"></td></tr> |
94 | <tr·id="row_0_0_1_4_"·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">projection_impl.hh</a></td><td·class="desc"></td></tr> | 94 | <tr·id="row_0_0_1_4_"·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">projection_impl.hh</a></td><td·class="desc"></td></tr> |
95 | <tr·id="row_0_0_1_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 95 | <tr·id="row_0_0_1_5_"·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">projectionwriter.hh</a></td><td·class="desc"></td></tr> |
96 | <tr·id="row_0_0_1_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0003 | 96 | <tr·id="row_0_0_1_6_"·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">projectionwriter_impl.hh</a></td><td·class="desc"></td></tr> |
97 | <tr·id="row_0_0_1_7_"·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">ringcomm.hh</a></td><td·class="desc"></td></tr> | 97 | <tr·id="row_0_0_1_7_"·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">ringcomm.hh</a></td><td·class="desc"></td></tr> |
98 | <tr·id="row_0_0_2_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_2_"·class="arrow"·onclick="toggleFolder('0_0_2_')">▼</span><span·id="img_0_0_2_"·class="iconfopen"·onclick="toggleFolder('0_0_2_')"> </span><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html"·target="_self">extractors</a></td><td·class="desc"></td></tr> | 98 | <tr·id="row_0_0_2_"·class="odd"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_2_"·class="arrow"·onclick="toggleFolder('0_0_2_')">▼</span><span·id="img_0_0_2_"·class="iconfopen"·onclick="toggleFolder('0_0_2_')"> </span><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html"·target="_self">extractors</a></td><td·class="desc"></td></tr> |
99 | <tr·id="row_0_0_2_0_"·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">codim0extractor.hh</a></td><td·class="desc">Mesh·grid·extractor·base·class·</td></tr> | 99 | <tr·id="row_0_0_2_0_"·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">codim0extractor.hh</a></td><td·class="desc">Mesh·grid·extractor·base·class·</td></tr> |
100 | <tr·id="row_0_0_2_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 100 | <tr·id="row_0_0_2_1_"·class="odd"><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">codim1extractor.hh</a></td><td·class="desc">Grid·extractor·class·for·codim·1·subgrids·</td></tr> |
101 | <tr·id="row_0_0_2_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 101 | <tr·id="row_0_0_2_2_"·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">extractor.hh</a></td><td·class="desc">Extractor·base·class·</td></tr> |
102 | <tr·id="row_0_0_2_3_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0005 | 102 | <tr·id="row_0_0_2_3_"·class="odd"><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">vtksurfacewriter.hh</a></td><td·class="desc">Helper·class·for·graphical·output·of·grids·in·generic·representation·</td></tr> |
103 | <tr·id="row_0_0_3_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_3_"·class="arrow"·onclick="toggleFolder('0_0_3_')">▼</span><span·id="img_0_0_3_"·class="iconfopen"·onclick="toggleFolder('0_0_3_')"> </span><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html"·target="_self">merging</a></td><td·class="desc"></td></tr> | 103 | <tr·id="row_0_0_3_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_0_0_3_"·class="arrow"·onclick="toggleFolder('0_0_3_')">▼</span><span·id="img_0_0_3_"·class="iconfopen"·onclick="toggleFolder('0_0_3_')"> </span><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html"·target="_self">merging</a></td><td·class="desc"></td></tr> |
104 | <tr·id="row_0_0_3_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 104 | <tr·id="row_0_0_3_0_"·class="odd"><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">computeintersection.cc</a></td><td·class="desc"></td></tr> |
105 | <tr·id="row_0_0_3_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 105 | <tr·id="row_0_0_3_1_"·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">computeintersection.hh</a></td><td·class="desc"></td></tr> |
106 | <tr·id="row_0_0_3_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0009 | 106 | <tr·id="row_0_0_3_2_"·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">conformingmerge.hh</a></td><td·class="desc">Implementation·of·the·Merger·concept·for·conforming·interfaces·</td></tr> |
107 | <tr·id="row_0_0_3_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 107 | <tr·id="row_0_0_3_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">contactmerge.cc</a></td><td·class="desc"></td></tr> |
108 | <tr·id="row_0_0_3_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 108 | <tr·id="row_0_0_3_4_"·class="odd"><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">contactmerge.hh</a></td><td·class="desc">Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart·</td></tr> |
109 | <tr·id="row_0_0_3_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 109 | <tr·id="row_0_0_3_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.html"·target="_self">intersectionlist.hh</a></td><td·class="desc"></td></tr> |
110 | <tr·id="row_0_0_3_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 110 | <tr·id="row_0_0_3_6_"·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">merger.hh</a></td><td·class="desc"></td></tr> |
111 | <tr·id="row_0_0_3_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 111 | <tr·id="row_0_0_3_7_"·class="even"><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">overlappingmerge.cc</a></td><td·class="desc"></td></tr> |
112 | <tr·id="row_0_0_3_8_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0008 | 112 | <tr·id="row_0_0_3_8_"·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">overlappingmerge.hh</a></td><td·class="desc"></td></tr> |
113 | <tr·id="row_0_0_3_9_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 113 | <tr·id="row_0_0_3_9_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">simplexintersection.cc</a></td><td·class="desc"></td></tr> |
114 | <tr·id="row_0_0_3_10_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><span·class="icondoc"></span><a·class="el"·href="a000 | 114 | <tr·id="row_0_0_3_10_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><span·class="icondoc"></span><a·class="el"·href="a00077.html"·target="_self">standardmerge.cc</a></td><td·class="desc"></td></tr> |
115 | <tr·id="row_0_0_3_11_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 115 | <tr·id="row_0_0_3_11_"·class="even"><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">standardmerge.hh</a></td><td·class="desc">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect·</td></tr> |
116 | <tr·id="row_0_0_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00002_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00002.html"·target="_self">gridglue.hh</a></td><td·class="desc">Central·component·of·the·module·implementing·the·coupling·of·two·grids·</td></tr> | 116 | <tr·id="row_0_0_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00002_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00002.html"·target="_self">gridglue.hh</a></td><td·class="desc">Central·component·of·the·module·implementing·the·coupling·of·two·grids·</td></tr> |
117 | </table> | 117 | </table> |
118 | </div><!--·directory·--> | 118 | </div><!--·directory·--> |
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 |
Offset 67, 18 lines modified | Offset 67, 18 lines modified | ||
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <div·class="textblock">Here·is·a·list·of·all·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>CheckMPIStatus : <a·class="el"·href="a00044.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> | 72 | <li>CheckMPIStatus : <a·class="el"·href="a00044.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> |
73 | <li>DECL : <a·class="el"·href="a000 | 73 | <li>DECL : <a·class="el"·href="a00077.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a00074.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.hh</a></li> |
74 | <li>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC : <a·class="el"·href="a000 | 74 | <li>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC : <a·class="el"·href="a00083.html#ad63267c6d27a8f09d98506419b206db8">overlappingmerge.cc</a></li> |
75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a00014.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">intersection.hh</a></li> | 75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a00014.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">intersection.hh</a></li> |
76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a000 | 76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a00077.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a00074.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.hh</a></li> |
77 | </ul> | 77 | </ul> |
78 | </div><!--·contents·--> | 78 | </div><!--·contents·--> |
79 | <!--·start·footer·part·--> | 79 | <!--·start·footer·part·--> |
80 | <hr·class="footer"/><address·class="footer"><small> | 80 | <hr·class="footer"/><address·class="footer"><small> |
81 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 81 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
82 | </small></address> | 82 | </small></address> |
83 | </body> | 83 | </body> |
Offset 67, 18 lines modified | Offset 67, 18 lines modified | ||
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <div·class="textblock">Here·is·a·list·of·all·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>CheckMPIStatus : <a·class="el"·href="a00044.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> | 72 | <li>CheckMPIStatus : <a·class="el"·href="a00044.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> |
73 | <li>DECL : <a·class="el"·href="a000 | 73 | <li>DECL : <a·class="el"·href="a00077.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a00074.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.hh</a></li> |
74 | <li>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC : <a·class="el"·href="a000 | 74 | <li>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC : <a·class="el"·href="a00083.html#ad63267c6d27a8f09d98506419b206db8">overlappingmerge.cc</a></li> |
75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a00014.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">intersection.hh</a></li> | 75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a00014.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">intersection.hh</a></li> |
76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a000 | 76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a00077.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a00074.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.hh</a></li> |
77 | </ul> | 77 | </ul> |
78 | </div><!--·contents·--> | 78 | </div><!--·contents·--> |
79 | <!--·start·footer·part·--> | 79 | <!--·start·footer·part·--> |
80 | <hr·class="footer"/><address·class="footer"><small> | 80 | <hr·class="footer"/><address·class="footer"><small> |
81 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 81 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
82 | </small></address> | 82 | </small></address> |
83 | </body> | 83 | </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-grid-glue:· | 8 | <title>dune-grid-glue:·overlappingmerge.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 110 lines modified | Offset 74, 102 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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</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">overlappingmerge.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a000 | 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><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_ | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_ | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<iostream></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
90 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<vector></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/fvector.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·<algorithm></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·< | 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/common/fvector.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> |
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="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/multilineargeometry.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·<dune/grid/common/grid.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="a00074.html">dune/grid-glue/merging/standardmerge.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="a00089.html">dune/grid-glue/merging/computeintersection.hh</a>></span></div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
97 | <div·class="line"><a·id="l000 | 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="a00103.html">Dune</a>·{</div> |
98 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
100 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typen[·...·truncated·by·diffoscope;·len:·54,·SHA:·51a34d3d58d2fdae4ff54a94002f3fc8d5cecda65de3ba1ab916563df1f4347a·...·]></div> |
101 | <div·class="foldopen"·id="foldopen000 | 110 | <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="};"> |
102 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01114.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01114.html">OverlappingMerge</a></div> |
112 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge</a><T,dim1,dim2,dimworld></div> | ||
103 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">···31</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid1Dim>··<a·class="code·hl_typedef"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">Grid1Coords</a>;</div> | ||
107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">···34</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid2Dim>··<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Grid2Coords</a>;</div> | ||
109 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">···37</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>··<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">WorldCoords</a>;</div> | ||
111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
112 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"> | 115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> |
113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 116 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">···54</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">build</a>(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid1_coords,</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····················<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords,</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,</div> | ||
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0;</div> | ||
120 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01114.html#afb01dde845883251e7c0797c080fb207">···44</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01114.html#afb01dde845883251e7c0797c080fb207">ctype</a>;</div> | ||
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
121 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01114.html#ae253f08e3f2eb7ce23d4c38a044e1695">···47</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dimworld>··<a·class="code·hl_typedef"·href="a01114.html#ae253f08e3f2eb7ce23d4c38a044e1695">WorldCoords</a>;</div> | ||
122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//typedef·Dune::FieldVector<T,·dim>··LocalCoords;</span></div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
121 | <div·class="foldopen"·id="foldopen000 | 125 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> |
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01110.html#ac7427a29f68f03ff10e7c8261929c726">···64</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01110.html#ac7427a29f68f03ff10e7c8261929c726">nSimplices</a>()<span·class="keyword">·const</span></div> | ||
123 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01114.html#a2b22b369b3cc6d8d41b29ee681396e23">···52</a></span>··<a·class="code·hl_function"·href="a01114.html#a2b22b369b3cc6d8d41b29ee681396e23">OverlappingMerge</a>()</div> |
127 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> | ||
124 | </div> | 128 | </div> |
125 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
126 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01110.html#a14bd1727a9cd9229196fcfc3f412e174">···67</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a14bd1727a9cd9229196fcfc3f412e174">clear</a>()·=·0;</div> | ||
127 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">···74</a></span>··<span·class="keyword">virtual</span>·std::shared_ptr<IntersectionList>·<a·class="code·hl_function"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">intersectionList</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
129 | <div·class="line"><a·id="l000 | 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="keyword">protected</span>:</div> | ||
131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01114.html#a24e9e7ef401971aac09ba3d75af45494">···56</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">StandardMerge<T,dim1,dim2,dimworld>::SimplicialIntersection</a>·<a·class="code·hl_typedef"·href="a01114.html#a24e9e7ef401971aac09ba3d75af45494">SimplicialIntersection</a>;</div> | ||
132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
133 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
134 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
135 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>···························std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
136 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
137 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···························<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
138 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>···························std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
140 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
141 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···························std::vector<SimplicialIntersection>&·intersections);</div> | ||
142 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
130 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span> | 143 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">private</span>:</div> |
144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keywordtype">bool</span>·inPlane(std::vector<FieldVector<T,dimworld>·>&·points);</div> | ||
145 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
131 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
132 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01110.html#ae6aa2864b031049f432e062e360b8fba">···80</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01110.html#ae6aa2864b031049f432e062e360b8fba">parents</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·idx)<span·class="keyword">·const·</span>{</div> | ||
133 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">intersectionList</a>()->template·parents<n>(idx);</div> | ||
134 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span> | 146 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>};</div> |
135 | </div> | 147 | </div> |
136 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</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="comment">/*·namespace·Dune::GridGlue·*/</span></div> | ||
137 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·n></div> | ||
138 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="}"> | ||
139 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01110.html#a0adfa6bb38c3754eb91e09e70050f07c">···91</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01110.html#a0adfa6bb38c3754eb91e09e70050f07c">parent</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·idx,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·parId·=·0)<span·class="keyword">·const</span></div> | ||
140 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> |
141 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">intersectionList</a>()->template·parent<n>(idx,·parId);</div> | ||
142 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
143 | </div> | 152 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#include·"<a·class="code"·href="a00083.html">overlappingmerge.cc</a>"</span></div> |
153 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
144 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> | ||
156 | <div·class="ttc"·id="aa00074_html"><div·class="ttname"><a·href="a00074.html">standardmerge.hh</a></div><div·class="ttdoc">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect.</div></div> | ||
Max diff block lines reached; 8837/35659 bytes (24.78%) of diff not shown. |
Offset 1, 139 lines modified | Offset 1, 127 lines modified | ||
1 | dune-grid-glue 2.9 | 1 | dune-grid-glue 2.9 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | overlappingmerge.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
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//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_ | 16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH |
17 | 6#define·DUNE_GRIDGLUE_MERGING_ | 17 | 6#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH |
18 | 7 | 18 | 7 |
19 | 8#include·<iostream> | ||
20 | 9#include·<iomanip> | ||
19 | 21 | 10#include·<vector> | |
22 | 11#include·<algorithm> | ||
20 | 9 | ||
21 | 10#include·<dune/common/fvector.hh> | ||
22 | 11#include·<dune/geometry/type.hh> | ||
23 | 12 | 23 | 12 |
24 | 13#include·<dune/common/fmatrix.hh> | ||
25 | 14#include·<dune/common/fvector.hh> | ||
26 | 15 | ||
27 | 16#include·<dune/geometry/referenceelements.hh> | ||
28 | 17#include·<dune/geometry/multilineargeometry.hh> | ||
29 | 18 | ||
30 | 19#include·<dune/grid/common/grid.hh> | ||
31 | 20 | ||
32 | 21#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
24 | 33 | 22#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.m_.e_.r_.g_.i_.n_.g_./_.c_.o_.m_.p_.u_.t_.e_.i_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_\x8._\x8h_\x8h> | |
25 | 34 | 23 | |
26 | 35 | 24namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
27 | 36 | 25namespace·GridGlue·{ | |
37 | 26 | ||
38 | 34template<int·dim1,·int·dim2,·int·dimworld,·typename·T·=·double> | ||
39 | _\x83_\x85class·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e | ||
40 | 36·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim1,dim2,dimworld> | ||
41 | 37{ | ||
28 | 17 | ||
29 | 25template·<class·ctype,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
30 | _\x82_\x86class·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r | ||
31 | 27{ | ||
32 | 28public: | ||
33 | 29 | ||
34 | _\x83_\x81·typedef·Dune::FieldVector<ctype,·grid1Dim>·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
35 | 32 | ||
36 | _\x83_\x84·typedef·Dune::FieldVector<ctype,·grid2Dim>·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
37 | 35 | ||
38 | _\x83_\x87·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
39 | 38 | 42 | 38 |
43 | 39public: | ||
40 | _\x83_\x89·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8, | ||
41 | _\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8>; | ||
42 | 40 | 44 | 40 |
43 | _\x85_\x84·virtual·void·_\x8b_\x8u_\x8i_\x8l_\x8d(const·std::vector<Dune::FieldVector<ctype,dimworld>·>& | ||
44 | grid1_coords, | ||
45 | 45 | 41·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | |
46 | 42 | ||
47 | _\x84_\x84·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
48 | 45 | ||
49 | _\x84_\x87·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
50 | 48 | ||
51 | 50·//typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
52 | 51 | ||
53 | _\x85_\x82·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
54 | 53·{} | ||
55 | 54 | ||
56 | 55protected: | ||
57 | _\x85_\x86·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
58 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
59 | 57 | ||
60 | 69·void·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·Dune::GeometryType&·grid1ElementType, | ||
61 | 70·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
62 | 71·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
63 | 72·unsigned·int·grid1Index, | ||
46 | 64 | 73·const·Dune::GeometryType&·grid2ElementType, | |
47 | 65 | 74·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | |
66 | 75·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
67 | 76·unsigned·int·grid2Index, | ||
68 | 77·std::vector<SimplicialIntersection>&·intersections); | ||
69 | 78 | ||
70 | 79private: | ||
71 | 80·bool·inPlane(std::vector<FieldVector<T,dimworld>·>&·points); | ||
72 | 81 | ||
48 | 58·const·std::vector<unsigned·int>&·grid2_elements, | ||
49 | 59·const·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0; | ||
50 | 60 | ||
51 | _\x86_\x84·unsigned·int·_\x8n_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8e_\x8s()·const | ||
52 | 65·{·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->size();·} | ||
53 | 66 | ||
54 | _\x86_\x87·virtual·void·_\x8c_\x8l_\x8e_\x8a_\x8r()·=·0; | ||
55 | 68 | ||
56 | _\x87_\x84·virtual·std::shared_ptr<IntersectionList>·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()·const·=·0; | ||
57 | 75 | ||
58 | 79·template<int·n> | ||
59 | _\x88_\x80·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s(unsigned·int·idx)·const·{ | ||
60 | 81·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parents<n>(idx); | ||
61 | 82 | 73 | 82}; |
62 | 83 | 74 | 83 |
63 | 90·template<int·n> | ||
64 | _\x89_\x81·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t(unsigned·int·idx,·unsigned·int·parId·=·0)·const | ||
65 | 92·{ | ||
66 | 93·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parent<n>(idx,·parId); | ||
67 | 94·} | ||
68 | 95 | ||
69 | 104·template<int·n> | ||
70 | _\x81_\x80_\x85·auto·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8L_\x8o_\x8c_\x8a_\x8l(unsigned·int·idx,·unsigned·int·corner,·unsigned·int·parId | ||
71 | =·0)·const | ||
72 | 106·{ | ||
73 | 107·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·corner<n>(idx,·corner,·parId); | ||
74 | 108·} | ||
75 | 109 | ||
76 | _\x81_\x81_\x84·unsigned·int·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r; | ||
77 | 115}; | ||
78 | 116 | ||
79 | 75 | 84}·/*·namespace·Dune::GridGlue·*/ | |
80 | 76 | 85}·/*·namespace·Dune·*/ | |
81 | 119 | ||
82 | 120#endif | ||
83 | 77 | 86 | |
78 | 87#include·"_\x8o_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
Max diff block lines reached; 5997/11922 bytes (50.30%) of diff not shown. |